← Vendor bills
Coding rules
How to code a vendor's bill lines when there is no PO. Rules run top to bottom before the AI; the first rule that fits a line codes it. Lines no rule fits go to the AI as before.
Mainfreight Limited
6 rules · first match wins
| # | When the line… | Code to | Also | |
|---|---|---|---|---|
| 1 |
reference starts CJ
Export container pickups
|
NP1379 Export Container Cartage | Edit | |
| 2 |
reference starts 81NZ
Motueka to Blenheim: timber going to Nelson Forests for LOSP treatment
|
NP1319 Treatment LOSP H3.1 | Edit | |
| 3 |
reference starts NFL, docket on an item receipt
Blenheim to Motueka with the docket on an item receipt: timber bought from Nelson Forests
|
OC1001 Timber Freight all suppliers | landed cost | Edit |
| 4 |
reference starts NFL
Blenheim to Motueka with no item receipt: treatment coming back
|
NP1319 Treatment LOSP H3.1 | Edit | |
| 5 |
route * MOT and amount ≥ 1000.00, find the item receipt
by date among:
Napier Pine Ltd, Pan Pac Forest Products
Large loads into Motueka (Napier etc.): timber bought from Napier Pine / Pan Pac
|
OC1001 Timber Freight all suppliers | landed cost | Edit |
| 6 |
any other line
General freight around NZ, billed as one Truck Freight line
|
NP1322 Truck Freight Out | one line | Edit |