Freight Bill Number will be assigned by Transportation Manager when the Freight Bill is created during the by the Auto Pay batch process. Freight Bill Number must be supplied when the Freight Bill is created via the UI or API.
When Freight Bill Number is system-generated, it will be assigned using a sequence number maintained at one of three levels:
Carrier Level: If the Use Carrier Freight Bill Number flag on the Details tab in the Carrier Properties is checked for the Carrier for the Freight Bill, the Freight Bill Number will be assigned using a Sequence Number defined for this Carrier. The next sequence number will be retrieved from the row in the Sequence Numbers table where Sequence Name (SEQUENCE / SEQUENCENAME) is equal to the Carrier ID for the Freight Bill concatenated with the string "CARRINVC" (for example, if Carrier ID is "CARRIERA" then SEQUENCENAME is "CARRIERACARRINVC").
Division Level: If the Use Carrier Freight Bill Number for the Carrier is not checked and the "Use Carrier Freight Bill Number" flag for the Division is checked (on the Last Numbers page for the Division), the Freight Bill Number will be assigned using a Sequence Number associated with the Division. The next sequence number will be retrieved from the row in the Sequence Numbers table where Sequence Name is equal to the Division ID concatenated with the string "CARRINVCDIV" (for example, if Division ID is "CENT" then SEQUENCENAME is "CENTCARRINVCDIV").
Global Level: If the Use Carrier Freight Bill Number flags for the Carrier and Division are not checked, the Freight Bill Number will be assigned using a Global Level Sequence Number. The next sequence number will be retrieved from the row in the Sequence Numbers table where Sequence Name is equal to "GLOBCARRINVC".