Quantcast
Viewing all articles
Browse latest Browse all 8808

Update Batch Number User Fields in Inventory Counting Module

Hi,

 

Does DI level allow to update batch number's user defined fields in inventory counting module? i can't see any object can reach to the user defiled fields in batch number properties.

 

Dim oCS As SAPbobsCOM.CompanyService = oCompany.GetCompanyService()

        Dim oICS As SAPbobsCOM.InventoryCountingsService = oCS.GetBusinessService(SAPbobsCOM.ServiceTypes.InventoryCountingsService)

        Dim oIC As SAPbobsCOM.InventoryCounting = oICS.GetDataInterface(SAPbobsCOM.InventoryCountingsServiceDataInterfaces.icsInventoryCounting)

        Dim oICP As SAPbobsCOM.InventoryCountingParams = oICS.GetDataInterface(SAPbobsCOM.InventoryCountingsServiceDataInterfaces.icsInventoryCountingParams)

 

 

oIC.InventoryCountingLines.Item(iRow).InventoryCountingBatchNumbers.Add()

                        oIC.InventoryCountingLines.Item(iRow).InventoryCountingBatchNumbers.Item(intBatchRowCount).BatchNumber = dviewBatchNo(intBatchRowCount)("BatchNo")

                        oIC.InventoryCountingLines.Item(iRow).InventoryCountingBatchNumbers.Item(intBatchRowCount).Quantity = dviewBatchNo(intBatchRowCount)("Quantity")


Viewing all articles
Browse latest Browse all 8808

Trending Articles