This table is used to identify order header type information that describes the order as a whole.
Attribute Name |
Type |
Field Size |
Description |
Required |
int |
4 |
Unique internal DB Identifier of the Order record. |
Required | |
int |
4 |
Unique internal DB Identifier of the Order Task record. |
| |
nvarchar |
50 |
Business key to identify the activity this Order refers to. |
Required | |
nvarchar |
50 |
Business key to identify the Stop template this Order refers to. Must exist on the FWStop table. |
| |
nvarchar |
50 |
Business key to identify the Schedule this Order refers to. If a value is specified, it must exist on the FWSchedule table. An order with a bad schedule key is rejected. Default is DefaultSchedule. |
| |
nvarchar |
50 |
This is a string value representing an external customer order number. The reason it is optional is because most implementations will use the OrderKey value as the unique external customer order number. The reason for another customer order attribute is to support temporary orders or order splitting in the future. This field will provides flexibility and a point of reference back to the original customer order. It can also be used if for some reason the original customer order is not unique and we need to track it as reference. |
| |
int |
4 |
See ModifiedBy. |
| |
datetime |
8 |
See ModifyDate. |
| |
int |
4 |
See CreatedBy. |
| |
datetime |
8 |
See CreatedDate. |
| |
nvarchar |
500 |
See Comment. |
| |
nvarchar |
50 |
This field is used to specify a specific company name in a multi-company environment. |
| |
nvarchar |
255 |
Used for the customer name. It is required because the UI application references this attribute throughout. Typically it is the same as the Location Name, but it can be different if the order was placed by one company and shipped to another. |
| |
nvarchar |
50 |
This field is used to identify a different order type that may require a different process. For example: we can have pickup, drop-off, or double-ended orders which may require different FWActivity records created. Valid Values: · DROPOFF &endash; no origin FWActivity record needs to be created · PICKUP &endash; no destination activity needs to be created · PICKUP/DROPOFF &endash; both a pickup and destination FWActivity records will need to be created · RECHARGE &endash; Reload type job · COMPLEX &endash; multi-leg order |
Required | |
nvarchar |
50 |
This value is used to specify that a specific resource be used whenever possible. This attribute is used in conjunction with the PreferredResourceInd attribute, which is used to force this job on the specific resource. |
| |
bit |
1 |
This value is used to specify when the optimizer must consider the Preferred Resource during the assignment process. |
| |
float |
8 |
This attribute holds the additional profit at the order level that is accumulated with the FWOrderLines, Stop Template and Location table profits whenever the FWActivity record gets created. |
| |
nvarchar |
255 |
This attribute holds the additional requirements at the order level that is linked with the FWOrdeLines requirements, Stop Template, and Location tables whenever the FWActivity record gets created. |
| |
nvarchar |
255 |
This attribute holds the additional requirements at the order line level that is linked with the commodities from the Order lines, Stop Template, and Location tables whenever an activity is created. |
| |
int |
4 |
Rate used to calculate the service duration to service Measure x units. Specified in units/second. |
| |
int |
4 |
This attribute is used mostly to model parking time at each stop, but users can include other activity times spent before performing customer’s jobs or using a depot. When it’s used to model parking time, it differentiates between situations with easy parking and difficult parking. For example, parking at a downtown office building usually takes longer than parking in an office park. |
| |
int |
4 |
Used in Double ended orders. This field indicates the ServiceDuration at the Pickup location. This number will be added to the total ServiceDuration of the FWActivity ServiceDuration field. |
| |
int |
4 |
Used in Double ended orders. This field indicates the PreServiceDuration at the Pickup location. This number will be added to the total PreServiceDuration of the FWActivity PreServiceDuration field. |
| |
float |
8 |
Used in Double ended orders. This field indicates the ServiceDuration at the Delivery location. This number will be added to the total ServiceDuration of the FWActivity ServiceDuration field. |
| |
float |
8 |
Used in Double ended orders. This field indicates the PreServiceDuration at the Delivery location. This number will be added to the total PreServiceDuration of the FWActivity PreServiceDuration field. |
| |
float |
8 |
Used in Double ended orders. This field indicates the PostServiceDuration at the Delivery location. This number will be added to the total PostServiceDuration of the FWActivity PostServiceDuration field. |
| |
nvarchar |
255 |
Execution Status |
| |
bit |
1 |
Designates whether or not this order should be restricted to a PreferredResource Key value when optimizing or planning. |
| |
bit |
1 |
Designates if this Order is a Master Route Order or not. |
| |
nvarchar |
50 |
Designates the original order key that was used to generate this Order record (when splitting or creating itineraries or rescheduling this order) |
| |
int |
4 |
Designates the Schedule ID to which this order belongs to. |
| |
int |
4 |
The Requirement Set ID from FWRequirementSet table. |
| |
nvarchar |
500 |
User Defined Fields for Strings 1...9 |
| |
int |
4 |
User Defined Fields for integers 1..3 |
| |
float |
8 |
User Defined fields for numbers 1&ldots;3 |
| |
int |
4 |
Designates if this order is an itinerary Order type |
| |
bit |
4 |
Index to identify Unplanned Orders. |
| |
nvarchar |
|
User-defined date/time fields |
| |
nvarchar |
500 |
User-defined URL fields |
| |
nvarchar |
50 |
User’s business document ID |
| |
int |
4 |
1 for order from order split 2 for order from cloned 3 for order from rescheduled |
| |
nvarchar |
50 |
Stores the original value of preferredResourceKey. in an unlocking of a route event, this value is used to reset PreferredResourceKey |
| |
bit |
1 |
Stores the original value of PreferredResourceInd. in an unlocking of a route event, this value will be used to reset PreferredResourceInd |
| |
bit |
1 |
Stores the original value of RestrictPreferredResource. In the unlocking of a route event, this value is used to reset RestrictPreferredResource |
| |
nvarchar |
64 |
Order version number. Route Planner will not update an order if the version is the same or older by string comparison |
| |
nvarchar |
128 |
BOL number |
| |
nvarchar |
64 |
Load number from Descartes Transpotarion management Module. It is used as indicator that the order is tendered from TM |
| |
nvarchar |
128 |
The contract name of best rate |
| |
nvarchar |
16 |
The carrier code of best rate |
| |
float |
8 |
The total cost of best contract |
| |
nvarchar |
128 |
The contract name of selected rate |
| |
nvarchar |
16 |
The carrier code of selected rate |
| |
float |
8 |
The total cost of selected contract |
| |
|
|
Represents the least expensive value between carrier and vendor costs. |
| |
bit |
1 |
Designates if this order has been rescheduled |
|