Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8594

Update Batch Number User Fields in Inventory Counting Module

$
0
0

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 8594

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>