cancel
Showing results for 
Search instead for 
Did you mean: 

Update Additional Quantity in Production Order

thomasthutewohl
Explorer
0 Kudos

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?

Accepted Solutions (1)

Accepted Solutions (1)

thomasthutewohl
Explorer
0 Kudos

Answers (0)