''' <summary>
    ''' QuickBooks connection needs to be open first.
    ''' Get All Items. Returns List(Of Object)
    ''' In case of error returns: new List(Of Object)
    ''' </summary>
    ''' <param name="EnumTableName">EnumTableName of the qbTableName enum. Value(qbTableNameItemAssembly,qbTableNameItemFixedAsset,qbTableNameItemReceipt,qbTableNameItemSites,qbTableNameItemInventoryAssembly,qbTableNameItemService,qbTableNameItemInventory,qbTableNameItemNonInventory,qbTableNameItemOtherCharge,qbTableNameItemSubtotal,qbTableNameItemGroup,qbTableNameItemDiscount,qbTableNameItemPayment,qbTableNameItemSalesTax,qbTableNameItemSalesTaxGroup) </param>
    ''' <param name="EnumTableNameList">EnumTableNameList  of the qbTableName enum</param>
    ''' <param name="ActiveStatus">qbActiveStatus enum. Values (ActiveOnly [DEFAULT], InactiveOnly, All)</param>
    ''' <param name="MaxReturned">max number of records to get</param>
    ''' <param name="_errorClass">it will return a report of error per record in case of errors happen</param>
Public Function GetAllItems(ByVal EnumTableName As qbTableName, Optional ByVal EnumTableNameList As List(Of qbTableName) = Nothing, Optional ByVal ActiveStatus As qbActiveStatus = qbActiveStatus.All, Optional ByVal MaxReturned As Integer = 0, Optional ByRef _errorClass As List(Of ErrorClass) = Nothing) As List(Of Object)

   ''' <summary>
    ''' It will send to QuickBooks all the Objects in itemList
    ''' </summary>
    ''' <param name="_errorClass">it will return a report of error per record in case of errors happen</param>
Public Function UpdateQuickBooks(Optional ByRef _errorClass As List(Of ErrorClass) = Nothing) As List(Of Object)

    ''' <summary>
    ''' It get an Item by Item name
    ''' In case of error returns: new Object
    ''' </summary>
    ''' <param name="FullName">Item Name</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemObjectByName(ByVal FullName As String, Optional ByRef errorMsg As String = "") As Object

    ''' <summary>
    ''' It get an Item by Item FullName
    ''' In case of error returns: new Object
    ''' </summary>
    ''' <param name="FullName">Item FullName</param>
    ''' <param name="errorMsg">returned error message</param>
Public Function GetItemObjectByFullName(ByVal FullName As String, Optional ByRef errorMsg As String = "") As Object

Powered by BetterDocs