Skip to Content
0

Update Additional Quantity in Production Order

Mar 16, 2017 at 12:18 PM

74

avatar image

If I try to update the Additional Quantity in a Production Order I get the following message:

Action is valid for planned or released production orders with no transactions [WOR1.PlannedQty][line: 1] , 'Row no. 1'

var po = (ProductionOrders) diApi.GetBusinessObject(BoObjectTypes.oProductionOrders);
po.GetByKey(703);
po.Lines.SetCurrentLine(0);
po.Lines.AdditionalQuantity = 0.5;
int ret = po.Update();
string error = diApi.GetLastErrorDescription();
Console.WriteLine(error);

I use 9.2 PL 6, but I'm going to upgraded to PL 7.

I tryed to set the PlannedQuantity to a new correct value but this did not help.

Anyone has a Idear how to fix this problem?

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Thomas Thutewohl Mar 17, 2017 at 01:17 PM
0
Share
10 |10000 characters needed characters left characters exceeded