on 10-18-2017 11:03 AM
Hello experts ,
I would like to add with DI Add-on values to the following fields but i cannot know how to defined it.The fields is in the items in the tab purchasing data.
Purchasing UoM Name
Length
Width
Height
Volume
Weight
Please advice.
Kind Regards ,
Ifigeneia Koumbarda
Hi Ifigeneia,
A sample:
Items oItem = oCompany.GetBusinessObject(BoObjectTypes.oItems);
if (oItem.GetByKey("A00002"))
{
oItem.PurchaseUnit = "Purchase UOM";
oItem.PurchaseUnitLength = 0.6; //length
oItem.PurchaseUnitWidth = 0.5; //Width
oItem.PurchaseUnitHeight = 0.2; //Height
oItem.PurchaseUnitVolume = 0.5; //Volume
oItem.PurchaseUnitWeight = 1; //Weight
if (oItem.Update() != 0)
MessageBox.Show(oCompany.GetLastErrorDescription());
}
Kind Regards,
Diego Lother
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.