Description |
When a Voucher is attached to a Contract prevent editing the Cost. This will keep the contact the source of truth for the price. If the price needs to be adjusted then a separate adjustment line should be added to the Voucher or receipt.
If the Cost is zero or null, prevent Posting the voucher. Contracts must have a "Cash Price" before a voucher can be posted.
*Business Rules* :
Priced contact - has a Cash Price, Cost can not be edited.
Basis contracts - require a futures price to create a Cash Price, prevent posting
HTA contracts - require a basis price to crate a Cash Price, prevent posting
DP (Price Later) contracts - will never have a Voucher applied to them. The quantity must be transfered to a purchase or sales contract before a Voucher can be created.
Index - Rack pricing creates the final price/Cash Price through Transports screen, Voucher can not be created until Transport step is complete. Current functionality.
Cash Price - has a Cash Price, Cost can not be edited.
*Exception* :
+Unit+ pricing type contracts will never have a price so the cost can be editable on the receipt and voucher.
!pastedImage_d50487_0.png!
|