For the ability to change Item qty on SLT and influence correctly on related orders was implemented the following functionality:
Delete/Decrease qty on SLT
- If Item qty was deleted/decrease on SLT order then qty should be:
- decreased from IRC (if exists)
- decreased from Bill (if exists)
- overpayment on Bill should back to the Purchase Order
- if back Overpayment more than total on PO -> overpayment should put on Vendor balance
Increase qty on SLT
- if item qty was increased on SLT then qty should be:
-
increased on IRC (if exists)
-
increased on Bill (if exists)
-
Added Item on SLT
- if item was added to the SLT then item should be:
-
added to IR
-
added to the Bill
-
Added qty on PO related to SLT
- if item was added to PO and linked to related SLT then item should be:
- added to IR
- added to the Bill
SLT order deleteĀ
-
if SLT was deleted then related IR and Bill should be deleted