Rev 36910 |
Last modification |
Compare with Previous |
View Log
| RSS feed
Last modification
- Rev 37099 2026-07-16 13:55:07
- Author: amit
- Log message:
- GRN: default supplier invoiceDate to received date when blank
Operators frequently leave invoiceDate empty on PO-based GRN uploads
(addPORowModels), persisting NULL invoice.invoiceDate (~26% of received
invoices historically). This breaks the warehouse ageing/valuation
reports that key off invoiceDate. Default it to the received date at the
single feed into addWarehouseSupplierInvoice, matching the historical
backfill convention. Fofo newReceiveInvoice already enforces this.