mzbella
26th September 2002, 18:06
I am trying to put the position number on a new order line. the line get added, but it just akes the next line number, not what I have put. Anyone successfully in doing this? here is my code.
api.pono = add.pono
api.item = last.item
api.oqua = tot.dqua
f4101m000.put.Sales_Order(api.orno)
find.err = f4101m000.find()
f4101m000.handle.sub.process("tdsls4105s000","add")
f4101m000.continue(err)
f4105s000.put.Position_Number(api.pono)
f4105s000.put.tdsls041.item(api.item)
f4105s000.put.Ordered_Quantity(api.oqua)
f4105s000.insert(1,err)
f4105s000.save(err)
rep.orno = f4105s000.get.tdsls041.orno()
rep.pono = f4105s000.get.Position_Number()
f4105s000.end()
f4101m000.end()
Thank you for the help
Michael Z
api.pono = add.pono
api.item = last.item
api.oqua = tot.dqua
f4101m000.put.Sales_Order(api.orno)
find.err = f4101m000.find()
f4101m000.handle.sub.process("tdsls4105s000","add")
f4101m000.continue(err)
f4105s000.put.Position_Number(api.pono)
f4105s000.put.tdsls041.item(api.item)
f4105s000.put.Ordered_Quantity(api.oqua)
f4105s000.insert(1,err)
f4105s000.save(err)
rep.orno = f4105s000.get.tdsls041.orno()
rep.pono = f4105s000.get.Position_Number()
f4105s000.end()
f4101m000.end()
Thank you for the help
Michael Z