I am trying to add few "debtor class specific prices" to the Inventor Master for a New Item
However I am having a bit of trouble finding the correct object method to do so. Any help is appreciated.
below is a sample of code I am trying with
- Code: Select all
'---
Dim oInventory As JiwaInventory.Inventory = DirectCast (sender , JiwaInventory.Inventory )
oInventory.DebtorClassPrices.Add (oDebtClassPrice)
the below code line works for 6.5.13
InventoryObject.AddDebtorClassPrice( DebtorClassificationID) ' passing a string - I think it needs a object of DebtorClassPrice but I am unsure of how to instantiate it