Skip to main content

Invoice Numbers

Distributor reference for how Encompass assigns invoice numbers from Encompass Mobile, Mobility and EDBL imports, including Chain max length and invoice number prefix settings. v21.01+.

B
Written by Bailey Naas-Thornton

Minimum Version Required: 21.01

Pre-Conditions

Encompass Mobile import:
​
​

  • If unlocked Invoice is uploaded to the server, will use InvoiceID.
    ​
    ​

  • If locked Invoice is uploaded to the server or an invoice is added to a loaded loadsheet, will use Mobile InvoiceNum.
    ​
    ​

For Mobility Import:
​
​

  • Will use Mobility OrderNbr as InvoiceNum when OrderNbr is not null.
    ​
    ​

For EDBL import and other Exchange import:
​
​

  • Will use Server InvoiceNum even if InvoiceNum is mapped.

Steps

Mobile Invoice Num Calculation:
​
​

HandheldID-HandheldInvoiceNum
​
​

Step 1: Pad InvoiceID with zeros 4 places up to a maximum of 6 places

  • 907-38 => 9070038
    ​
    ​

  • 957-38 => 9570038
    ​
    ​

Step 2: Shorten Invoice Num to Chains.InvoiceNumMaxLength
​
​

  • 907-38 => 9070038
    ​
    ​

  • 957-38 => 9570038
    ​
    ​

Step 3: Replace any leading 0's with 5
​
​

  • 907-38 => 9070038
    ​
    ​

  • 957-38 => 9570038

Fields And Definitions

Chains.InvoiceNumMaxLength: The maximum length of an invoice number that the chain will accept.

ProductGroups.InvoiceNumPreFix: The leading character of the server invoice number when the split invoice product group matches the invoice. This will override setting 249.

System Setting 249 Default Invoice Number Prefix: Sets the default invoice num prefix for all invoices regardless of product group.

Did this answer your question?