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.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