SQL for adding ILTRQJ from F4111 with LIPQOH of F41021
Hi All,
Some of the orders are ship confirmed twice one with schedule and another with user id from two different servers. Due to this there are double entries in item ledger and inventory depleted twice from item location as well but from GL point f view all is ok. Thus to remove this integrity between IL and Gl we need to remove one of the duplicate entries from ledger and add back the same quantity (ILTRQT) to the on-hand quantity (LIPQOH) field of item location file for each item into its respective locations.
How can we add the ILTRQJ value from F4111 to LIPQOH field of F41021 for respective items with the help of SQL? Need assistance with the SQL query. Thanks in advance!