Description |
Steps:
Create purchase basis contract.
Create a ticker where distribution type is open storage
Settle storage against basis contract.
Price the contract.
Run below scripts:
select * from tblAPBill where strBillId = 'BL-21869'
select intCustomerStorageId, * from tblAPBillDetail WHERE intBillId = 16636
select dblOldCost,* from tblGRStorageHistory where intCustomerStorageId = 2318
Issue:
tblGRStorageHistory.dblOldCost is NULL
Acceptance:
Should have cost adjustment of contract was priced. tblGRStorageHistory.dblOldCost should be populated
|