ItemFixedAssets

   ''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get ItemFixedAsset Record Count. Returns number of records in QuickBooks
    ''' In case of error returns: will return -1
    ''' </summary>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemFixedAssetRecordCount(Optional ByVal MaxReturned As Integer = 0, Optional ByRef errorMsg As String = "") As Integer

   ''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get All ItemFixedAsset. Returns List(Of ItemFixedAsset)
    ''' In case of error returns: new List(Of ItemFixedAsset)
    ''' NOTE: IF YOU HAVE TOO MANY RECORDS GET ItemFixedAsset BY DATERANGE
    ''' </summary>
    ''' <param name="ActiveStatus">qbActiveStatus enum. Values (ActiveOnly [DEFAULT], InactiveOnly, All)</param>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetAllItemFixedAsset(Optional ByVal ActiveStatus As qbActiveStatus = qbActiveStatus.All, Optional ByVal MaxReturned As Integer = 0, Optional ByRef errorMsg As String = "") As List(Of ItemFixedAsset)

   ''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get ItemFixedAsset By ListIDs. Returns List(Of ItemFixedAsset)
    ''' In case of error returns: new List(Of ItemFixedAsset)
    ''' NOTE: IF YOU HAVE TOO MANY RECORDS GET ItemFixedAsset BY DATERANGE
    ''' </summary>
    ''' <param name="ListIDs">ListIDs of the ItemFixedAsset. If it is one ListIDs, just add one ListID to the List(Of String)</param>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemFixedAssetByListIDs(ByVal ListIDs As List(Of String), Optional ByVal MaxReturned As Integer = 0, Optional ByRef errorMsg As String = "") As List(Of ItemFixedAsset)

    ''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get ItemFixedAsset By FullNames. Returns List(Of ItemFixedAsset)
    ''' In case of error returns: new List(Of ItemFixedAsset)
    ''' NOTE: IF YOU HAVE TOO MANY RECORDS GET ItemFixedAsset BY DATERANGE
    ''' </summary>
    ''' <param name="FullNames">FullNames of the ItemFixedAsset. If it is one FullNames, just add one FullNames to the List(Of String)</param>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemFixedAssetByFullNames(ByVal FullNames As List(Of String), Optional ByVal MaxReturned As Integer = 0, Optional ByRef errorMsg As String = "") As List(Of ItemFixedAsset)

    ''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get ItemFixedAssets By DateRange. Returns List(Of ItemFixedAsset)
    ''' In case of error returns: new List(Of ItemFixedAsset)
    ''' </summary>
    ''' <param name="FromModifiedDate">FromDate</param>
    ''' <param name="ToModifiedDate">ToDate</param>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemFixedAssetsByDateRange(ByVal FromModifiedDate As DateTime, ByVal ToModifiedDate As DateTime, Optional ByVal MaxReturned As Integer = 0, Optional ByRef errorMsg As String = "") As List(Of ItemFixedAsset)

    ''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get ItemFixedAssets By Name. Returns List(Of ItemFixedAsset)
    ''' In case of error returns: new List(Of ItemFixedAsset)
    ''' </summary>
    ''' <param name="Name">ItemFixedAsset Name</param>
    ''' <param name="MatchCriterion">qbMatchCriterion enum. Values(StartsWith, Contains, EndsWith)</param>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemFixedAssetByName(ByVal Name As String, ByVal MatchCriterion As qbMatchCriterion, Optional ByVal MaxReturned As Integer = 0, Optional ByRef errorMsg As String = "") As List(Of ItemFixedAsset)

    ''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get ItemFixedAssets By NameRange. Returns List(Of ItemFixedAsset)
    ''' In case of error returns: new List(Of ItemFixedAsset)
    ''' </summary>
    ''' <param name="FromName">FromName value</param>
    ''' <param name="ToName">ToName value.</param>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemFixedAssetByNameRange(ByVal FromName As String, ByVal ToName As String, Optional ByVal MaxReturned As Integer = 0, Optional ByRef errorMsg As String = "") As List(Of ItemFixedAsset)

   ''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get ItemFixedAssetBy Class ListIDs. Returns List(Of ItemFixedAsset)
    ''' In case of error returns: new List(Of ItemFixedAsset)
    ''' </summary>
    ''' <param name="ListIDs">Entities ListIDs</param>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemFixedAssetByClassListIDs(ByVal ListIDs As List(Of String), Optional ByVal MaxReturned As Integer = 0, Optional ByRef errorMsg As String = "") As List(Of ItemFixedAsset)

    ''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get ItemFixedAssetBy Class FullNames. Returns List(Of ItemFixedAsset)
    ''' In case of error returns: new List(Of ItemFixedAsset)
    ''' </summary>
    ''' <param name="FullNames">Entities FullNames</param>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemFixedAssetByClassFullNames(ByVal FullNames As List(Of String), Optional ByVal MaxReturned As Integer = 0, Optional ByRef errorMsg As String = "") As List(Of ItemFixedAsset)

    ''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get ItemFixedAssetBy Class ListIDWithChildren. Returns List(Of ItemFixedAsset)
    ''' In case of error returns: new List(Of ItemFixedAsset)
    ''' </summary>
    ''' <param name="ListIDWithChildren">Class ListIDWithChildren</param>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemFixedAssetByClassListIDWithChildren(ByVal ListIDWithChildren As String, Optional ByVal MaxReturned As Integer = 0, Optional ByRef errorMsg As String = "") As List(Of ItemFixedAsset)

    ''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get ItemFixedAssetBy Class FullNameWithChildren. Returns List(Of ItemFixedAsset)
    ''' In case of error returns: new List(Of ItemFixedAsset)
    ''' </summary>
    ''' <param name="FullNameWithChildren">Class FullNameWithChildren</param>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemFixedAssetByClassFullNameWithChildren(ByVal FullNameWithChildren As String, Optional ByVal MaxReturned As Integer = 0, Optional ByRef errorMsg As String = "") As List(Of ItemFixedAsset)

    ''' <summary>
    ''' It will delete the record from QuickBooks.
    ''' Once deleted, there is no way to retrieve
    ''' </summary>
    ''' <param name="ListID">to add new records to QB set ListID to a temporal one</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function DeleteItemFixedAssetFromQuickBooksByListID(ByVal ListID As String, Optional ByRef errorMsg As String = "") As Boolean

    ''' <summary>
    ''' It will add a new ItemFixedAsset to ItemFixedAssetList.
    ''' CustomField1-CustomField15: Fotmat[CustomFieldName:CustomFieldValue]
    ''' </summary>
    ''' <param name="_ListID">to add new records to QB set ListID to a temporal one</param>
    ''' <param name="_Operation">set to empty, update, add, or delete</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function AddToItemFixedAssetList(_ListID As String, _Name As String, Optional ByVal _TimeCreated As String = "", Optional ByVal _TimeModified As String = "", Optional ByVal _EditSequence As String = "", Optional ByVal _BarCodeValue As String = "", Optional ByVal _AssignEvenIfUsed As String = "", Optional ByVal _AllowOverride As String = "", Optional ByVal _IsActive As String = "", Optional ByVal _AcquiredAs As String = "", Optional ByVal _PurchaseDesc As String = "", Optional ByVal _ClassRef_ListID As String = "", Optional ByVal _ClassRef_FullName As String = "", Optional ByVal _PurchaseDate As String = "", Optional ByVal _PurchaseCost As String = "", Optional ByVal _VendorOrPayeeName As String = "", Optional ByVal _AssetAccountRef_ListID As String = "", Optional ByVal _AssetAccountRef_FullName As String = "", Optional ByVal _AssetDesc As String = "", Optional ByVal _FixedAssetSalesInfo_SalesDesc As String = "", Optional ByVal _FixedAssetSalesInfo_SalesDate As String = "", Optional ByVal _FixedAssetSalesInfo_SalesPrice As String = "", Optional ByVal _FixedAssetSalesInfo_SalesExpense As String = "", Optional ByVal _Location As String = "", Optional ByVal _PONumber As String = "", Optional ByVal _SerialNumber As String = "", Optional ByVal _WarrantyExpDate As String = "", Optional ByVal _Notes As String = "", Optional ByVal _AssetNumber As String = "", Optional ByVal _CostBasis As String = "", Optional ByVal _YearEndAccumulatedDepreciation As String = "", Optional ByVal _YearEndBookValue As String = "", Optional ByVal _CustomField1 As String = "", Optional ByVal _CustomField2 As String = "", Optional ByVal _CustomField3 As String = "", Optional ByVal _CustomField4 As String = "", Optional ByVal _CustomField5 As String = "", Optional ByVal _CustomField6 As String = "", Optional ByVal _CustomField7 As String = "", Optional ByVal _CustomField8 As String = "", Optional ByVal _CustomField9 As String = "", Optional ByVal _CustomField10 As String = "", Optional ByVal _CustomField11 As String = "", Optional ByVal _CustomField12 As String = "", Optional ByVal _CustomField13 As String = "", Optional ByVal _CustomField14 As String = "", Optional ByVal _CustomField15 As String = "", Optional ByVal _ExternalGUID As String = "", Optional ByVal _UserData As String = "", Optional ByVal _Operation As String = "", Optional ByRef errorMsg As String = "") As ItemFixedAsset

Powered by BetterDocs