cancel
Showing results for 
Search instead for 
Did you mean: 

Add production order line SAP B1

rezeile
Explorer
0 Kudos
677

Buneas Afternoons I am new to Sap B1, I need your help as I can add one or more lines to my manufacturing order, my manufacturing order has route stages and what I need is to enter other products in the first route stage and do in the stages following but I get the following error

My manufacturing order is already loaded with a bill of materials and what I need is to add other products at each stage of the route.

oProducctionOrder.GetByKey(74)

oProducctionOrder.Lines.StageID = 'id ' 'oProducctionOrder.Lines.SetCurrentLine(oProducctionOrder.Lines.LineNumber)

oProducctionOrder.Lines.ItemType = ProductionItemType.pit_Resource

oProducctionOrder.Lines.ItemNo = codigoRecursoSAP

oProducctionOrder.Lines.Warehouse = "Hod"

oProducctionOrder.Lines.DistributionRule = centro

oProducctionOrder.Update

Accepted Solutions (0)

Answers (0)