Set up 3 record types for Sales Order and Sales Invoice objects
Parts Order
Service Order
Trailer Order
Insert/Update Trigger on Sales Line and Sales Invoice Line
Use Warehouse on the header to update Accounting Variable 1
Use Record Type to default Accounting Variable 2
...
Transactions | Sales Order/Sales Invoice Record Type | Revenue Posting | Accounting Variable1 (Warehouse/Location) | Accounting Variable2 (Department) |
---|---|---|---|---|
POS/Parts Sales | Parts Order | One Revenue GL Account | Warehouse on the Header | Parts |
Service Ticket | Service Order | One Revenue GL Account | Warehouse on the Header | Service |
Trailer Sales | Trailer Order | One Revenue GL Account | Warehouse on the Header | Trailer |
...