VishalMistry
21st August 2017, 14:13
Hi all,
I want to bulk update order system system (tiitm001.osys) to MRP. For this I am passing a text file that contains list of items.
I am deliberately passing an item with MPS order system to check if the system returns same error message as if I am working with Item master session (tiitm0101m000). But, If I check value of error.desc, it remains empty. In fact when I try to change the order system directly through session, I get the error message "Item found in MPS". My code is as given below:
stpapi.put.field("tiitm0101m000", "tiitm001.osys", str$(tcosys.mrp))
stpapi.save("tiitm0101m000", error.desc)
Can anybody guide me how to get the error message ?
Vishal
I want to bulk update order system system (tiitm001.osys) to MRP. For this I am passing a text file that contains list of items.
I am deliberately passing an item with MPS order system to check if the system returns same error message as if I am working with Item master session (tiitm0101m000). But, If I check value of error.desc, it remains empty. In fact when I try to change the order system directly through session, I get the error message "Item found in MPS". My code is as given below:
stpapi.put.field("tiitm0101m000", "tiitm001.osys", str$(tcosys.mrp))
stpapi.save("tiitm0101m000", error.desc)
Can anybody guide me how to get the error message ?
Vishal