Your error message seems to come from the insert() method of WMSOrderTransType class, you should check the ExpeditionStatus value of the datas you want to insert in the WMSOrderTrans table, it must be WMSExpeditionStatus:: registred, Activated or started.
I have a new form for serialscand and create also a table looks like in wmsordertrans named wmsordertranstmp, in my button click i want to transfer all records in wmsordertranstmp to wmsordertrans please let me know if select forupdate isnot right for inserting records in wmsordertrans beacuse this is I only know to insert a record in AX table.
For any suggestion and clarification is highly appriciated this is big help for me as a newbee…
Hi Thomas thanks for your reply I will look for this thanks.