How does the Sales Order module calculate that the Sales Order is partially shipped and/or partially Invoiced?
It uses the SOStatus field in the SalesOrder table for the header status and the SOStatus field in the SalesOrderDetails table for the line status. The numeric values used to represent the status are not defined in a table for Sales Order status as they are for Purchase Order status.
Here are the numbers and what they mean:
|
|
0 or NULL
|
Entered
|
1
|
Partially Shipped
|
2
|
Partially Shipped and Partially Invoiced
|
3
|
Shipped
|
4
|
Partially Shipped and or Partially Invoiced
|
5
|
Invoiced
|
6
|
Canceled
|
|