Skip to Content
avatar image
Former Member

Stage ID is not set but stages are defined [WOR1.StageId]

I would like to add a new line to my Production Order with Route Stages defined, but I get the above exception. How can I add StageId?

SAPbobsCOM.ProductionOrders order = (SAPbobsCOM.ProductionOrders)company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductionOrders);
order.Lines.ItemNo = "A1000";
order.Lines.Warehouse = "01";
order.Lines.ProductionOrderIssueType = SAPbobsCOM.BoIssueMethod.im_Manual;
int result = order.Update();
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers