mzbella
15th March 2002, 16:22
I can't get this to work. this is my code.

f4120m000.put.Sales_Order(api.orno)
set.err = f4120m000.set.view()

f4120m000.put.Position_Number(api.pono)
f4120m000.put.Delivery(api.srnb)
f4120m000.put.tdsls045.pino(api.pino)
set.err = f4120m000.find()
f4120m000.put.Delivered_Quantity(tot.dqua)
f4120m000.put.Back_Order(0.0)
f4120m000.put.Delivery_Date(del.date)
f4120m000.put.confirmed(api.conf)

f4120m000.save(err)
f4120m000.end()

The I see the session open with fs, but it does not update the record. The values of set.err are 1 after set.view and find. There is no message in err after the save. What am I missing?

Thank you :confused:

mark_h
15th March 2002, 19:27
What happens if you try a f4120m000.update instead of a save? I am not sure if in this case a save does the same thing as a update. I have had cases where one worked and not the other.

Mark

mzbella
15th March 2002, 20:29
I just tried that about a hour ago and it worked great. Thats what was wrong. Thank you for your help. :D