...
One Sales Order can have multiple warehouses
One Sales Order can only have on one GL Ledger
Use the first Warehouse on Sales Line to determine GL Ledger on the Sales Order header.
System will create a Whse Shipment per Warehouse.
When creating a Sales InvoicesInvoice:
System must populate the Account Posting Setup field on SIL based on Warehouse on SIL.
...
On New Sales Order, Warehouse field should default be set to equal the Warehouse value on the 1st Sales Line
...