Upload Sales Order

You have the option of uploading sales orders into the system using a CSV file. This can be more efficient when getting hundreds of orders into Xoro at once. If you are performing a similar upload often and you find yourself doing a lot of data manipulation in Excel, then you might want to request a utility to be built.

You can upload the sales orders using the steps mentioned below:

  • Download the latest CSV template from the “Upload Sales Orders” module.

  • Copy sales order information into the CSV template.

  • Upload the CSV template into Xoro.

Downloading the latest CSV template file

  • Go to Upload Sales Orders module using the Search Menu.

  • Click on “Download Template”.

Copying the information into the template

Once you’ve downloaded the template file, you can copy your data using any spreadsheet software. There are columns that you must complete and others that are optional. Mandatory fields are marked with a double asterisk (**) prefix.

Below are some points to be noted when entering the data into the template.

  • The file must be a CSV (Comma-separated values) file. The name of your file must end with csv.

  • Make sure you don’t change any of the column headings from row 1 in the template – these are needed for the file to import correctly.

  • All date fields will accept the MM-DD-YYYY format.

  • Be mindful of any leading zeros in your data, some spreadsheet software will trim them automatically without notifying you. This can be resolved by ensuring your columns have correct formatting.

  • Sometimes long numbers (UPC, etc.) are formatted as scientific notation. Be sure to change the formatting on this data to display these long numbers correctly.

If you’re importing more than 5,000 records, we recommend you split up the file.

Upload Sales Order Template Fields

Column Name
Data Type
Description

**ThirdPartyRefNo

Text

Enter a reference number here for the order. Typically, if the order is from an E-Commerce platform or an older system, then the order number from there can be used. Repeat the same number multiple times contiguously to indicate which row(s) belong to one order. Use a new **ThirdPartyRefNo for a new order.

ThirdPartySource

Text

If the order came from a third party platform, it can be indicated here.

ThirdPartyIconUrl

Text

Use a URL that ends with “.png” or .”jpg” for an image of the third party source. For example, a Joor order would have a Joor icon.

ThirdPartyDisplayName

Text

Enter the name for the third party platform here.

**SaleStoreName

Text

Enter the store from which the sale is being recorded. Please note that the name here should be exactly as it is in Xoro.

StoreName

Text

This is the store from which the sales order is being shipped. Please note that the name here should be exactly as it is in Xoro. If this is left blank, then sale store name will be used.

**CurrencyCode

Text

Enter a currency for the order. This must match with the customer’s currency. Choose from: USD,CAD,EUR,AUD. For more currencies, contact Xorosoft.

**CustomerName

Text

Enter the full name of the customer linked with the order. This must match exactly with the customer name in Xoro.

CustomerFirstName

Text

Enter the customer's first name.

CustomerLastName

Text

Enter the customer's last name.

CustomerMainPhone

Numeric

Enter the customer's main phone number.

CustomerEmailMain

Text

Enter the customer's main email.

CustomerPO

Text

Enter the Customer PO (purchase order) here for the order. This allows for easy tracking and referencing of the customer's order.

CustomerId

Numeric

Enter a unique identifier for the customer.

CustomerAccountNumber

Numeric

Enter the customer account number.

**OrderDate

Date

Enter the date on which the order is created in MM-DD-YYYY format.

**DateToBeShipped

Date

Enter the date on which the order is to be shipped in MM-DD-YYYY format.

LastDateToBeShipped

Date

Enter the last date for the order to be shipped in the MM-DD-YYYY format.

DateToBeCancelled

Date

Enter the cancellation date of the order in the MM-DD-YYYY format. If the order hasn’t been fulfilled by this date, then it can be canceled.

OrderClassCode

Text

An order can belong to a Class (e.g. Wholesale, Retail, and E-Commerce). Enter the name of that Class Code if you want to categorize your orders. Reports can be generated based on these classes, which can show how your Wholesale is doing compared to your Retail, E-Commerce, etc. This must match exactly to how the Class Code is set up in Xoro.

OrderClassName

Text

An order can belong to a Class (e.g. Wholesale, Retail, and E-Commerce). Enter the name of the Class to categorize your orders. Reports can be generated based on these Classes, which can show how your Wholesale is doing compared to your Retail, E-Commerce, etc. This must match exactly to how the Class Name is set up in Xoro.

OrderTypeCode

Text

If necessary, you can classify the type of order and its code here. This must match exactly to how the Order Type Code is set up in Xoro.

OrderTypeName

Text

If necessary, you can classify the type of order and its name here. This must match exactly to how the Order Type Name is setup in Xoro.

**ExchangeRate

Text

If the order is for a foreign customer, enter the exchange rate here. If your order currency is the same as your system home currency, then put “1” here.

Memo

Text

This field allows you to provide any notes or any additional information related to the sales order. This allows you to add important details or instructions that need to be considered during order processing.

PaymentTermsName

Text

Enter a payment term from the system for this order. This must match up exactly to a payment term in Xoro.

PaymentTermsType

Text

If necessary, enter the code for the payment term here. This must match up exactly to a payment term type in Xoro.

DepositRequiredTypeName

Text

If you require a deposit on this order, select whether that deposit should be an “Amount” or a “Percentage” (without quotes).

DepositRequiredAmount

Numeric

Enter the percentage or amount of deposit required for this order.

RefNo

Text

Enter a reference number for the order here. This can be an internal reference number, as opposed to a third-party reference number.

Tags

Text

Enter any tags here for the order and multiple tags can be separated by a comma.

SalesRepId

Text

Please refer to the User Centre in your Xoro system and enter the UserID of the sales rep for this Sales Order. If a Sales Rep does not exist in Xoro yet, you can create them manually from the User module or with the User Upload template.

SalesRepName

Text

Enter the name of the sales representative for the sales order.

ShipMethodName

Text

Enter a shipping method for the order here. Choose from the available options: Pick Up, Delivery(Own Truck), and Delivery(Third Party).

CarrierName

Text

If the ship method is not Pick Up, enter the carrier for the order’s shipment exactly as it is in Xoro.

CarrierCode

Text

Enter the carrier code for the order’s shipment exactly as it is in Xoro.

ShipServiceName

Text

Enter the ship service name for the order.

ShipServiceCode

Text

Enter the ship service code for the order.

FobName

Text

Specify the freight on board - origin or destination.

IsOrderTaxExempt

Text

Enter "N" to Exempt tax for the order. Enter "Y" to apply tax to the order.

ShippingTaxItemCode1

Text

Enter the ShippingTaxItemCode1 for the Order.

ShippingTaxItemValue1

Text

Enter the ShippingTaxItemValue1 for the Order.

ShippingTaxItemCode2

Text

Enter the ShippingTaxItemCode2 for the Order.

ShippingTaxItemValue2

Text

Enter the ShippingTaxItemValue2 for the Order.

ShippingTaxItemCode3

Text

Enter the ShippingTaxItemCode3 for the Order.

ShippingTaxItemValue3

Text

Enter the ShippingTaxItemValue3 for the Order.

ShippingTaxItemCode4

Text

Enter the ShippingTaxItemCode4 for the Order.

ShippingTaxItemValue4

Text

Enter the ShippingTaxItemValue4 for the Order.

ShippingTermsName

Text

Enter the shipping term for the order. Choose from: Prepaid, Collect, Prepaid& Billed, Collect& Allowed, and Third Party Billing.

ShippingAccountNumber

Numeric

Enter the shipping account number here.

ShippingCost

Numeric

Enter the total shipping cost for the order.

ShippingNotes

Text

Enter the shipping notes for the Order.

ShipToFirstName

Text

Enter the first name of the individual who will receive the shipment at the specified shipping address.

ShipToLastName

Text

Enter the last name of the individual who will receive the shipment at the specified shipping address.

ShipToName

Text

Enter the name of the individual who will receive the shipment at the specified shipping address.

ShipToCompanyName

Text

Enter the name of the company to which the order is being shipped.

ShipToAddr

Text

Enter the details of the shipping address.

ShipToAddr2

Text

This is an additional field that allows you to enter the extended shipping address, in case the address is lengthy.

ShipToCity

Text

Enter the city of the shipping address for the order.

ShipToCountry

Text

Enter the country of the shipping address for the order.

ShipToCountryISO2

Text

Enter the ISO code associated with the country of the shipping address.

ShipToState

Text

Enter the state of the shipping address for the order.

ShipToStateAbbr

Text

Enter the abbreviated code for the shipping state.

ShipToZpCode

Text

Enter the zip code of the state or province of the country of the store where the goods are being shipped.

ShipToPhoneNumber

Numeric

Enter the phone number associated with the shipping address.

ShipToEmail

Text

Enter the email address of the recipient or the individual representing the shipping address.

ShipToAddrName

Text

Assign a name to the shipping address, e.g. Main, Office, etc.

BuyerName

Text

Enter the buyer's name for the SO here. This is typically the customer's name. When the sales order is converted manually to PO, the SO Buyer Name will be transferred to PO as the buyer name. If this column is left empty then SO Customer will be transferred to PO Buyer Name.

BillToFirstName

Text

Enter the first name of the individual linked to the billing address for the sales order.

BillToLastName

Text

Enter the last name of the individual linked to the billing address for the sales order.

BillToName

Text

Enter the full name of the individual linked to the billing address for the sales order.

BillToAddr

Text

Enter the billing address for the sales order.

BillToAddr2

Text

This is an additional field that allows you to enter the extended billing address, in case the address is lengthy.

BillToCity

Text

Enter the city of the billing address.

BillToCountry

Text

Enter the country of the billing address.

BillToCountryISO2

Text

Enter the ISO code associated with the country of the billing address.

BillToState

Text

Enter the state of the billing address.

BillToStateAbbr

Text

Enter the abbreviated code that represents the state or province of the billing address.

BillToZpCode

Text

Enter the zip code of the state or province for the billing address.

BillToCompanyName

Text

Enter the company name of the customer here.

BillToPhoneNumber

Numeric

Enter the phone number associated with the billing address.

BillToEmail

Text

Enter the email address of the recipient or the individual representing the billing address.

BillToAddrName

Text

Assign a name to the billing address.

CustomerGroupName

Text

Enter the customer group name for the Order.

**ItemNumber

Text

Enter the item’s (SKU) number in the order. This property is unique to this item, another item cannot be created with the same Item Number.

ItemUpc

Text

Enter the item’s UPC code.

ItemBrand

Text

Enter the item’s brand here.

Description

Text

Enter the item’s description.

**UnitPrice

Numeric

Enter the unit price of the item.

**Qty

Numeric

Enter the item’s quantity on the sales order.

QtyAllocated

Numeric

Enter the quantity of the item reserved/allocated for the customer.

Discount

Numeric

Enter the discount to be applied to the item.

DiscountTypeName

Text

The field is used to indicate the type of discount applied to the item.

SellUOMName

Text

Enter the unit of measurement in which the item will be sold.

ItemNotes

Text

This field allows you to enter any notes or additional information related to the item.

TaxItemCode1

Text

Enter the TaxItemCode1 for the Item.

TaxItemValue1

Numeric

Enter the TaxItemValue1 for the Item.

TaxItemCode2

Text

Enter the TaxItemCode2 for the Item.

TaxItemValue2

Numeric

Enter the TaxItemValue2 for the Item.

TaxItemCode3

Text

Enter the TaxItemCode3 for the Item.

TaxItemValue3

Numeric

Enter the TaxItemValue3 for the Item.

TaxItemCode4

Text

Enter the TaxItemCode4 for the Item.

TaxItemValue4

Numeric

Enter the TaxItemValue4 for the Item.

DepositAmount

Numeric

Enter the deposit amount recorded for the order.

DepositPercentage

Numeric

If a percentage of the order total has been received as a deposit, please input the deposit percentage into this specific column.

DepositAccountName

Text

Enter the name of the account for recording the deposit.

LiabilityAccountName

Text

Enter the liability account name for the order.

PaymentMethodName

Text

Enter the customer's payment method here. It can be 'Cash', 'Credit Card', 'Cheque', etc.

AutoDepositTotalAmount

Numeric

Enter the total deposit amount recorded for the order.

CustomerServiceRepId

Text

Enter the ID of the customer service representative.

ItemCategoryName

Text

Enter the item category name in this field.

ItemGroupName

Text

Enter the item group name here.

ItemShippingCost

Numeric

Enter the cost incurred for shipping the item.

ItemShippingTaxItemCode1

Text

Enter the ItemShippingTaxItemCode1.

ItemShippingTaxItemValue1

Text

Enter the ItemShippingTaxItemValue1.

ItemShippingTaxItemCode2

Text

Enter the ItemShippingTaxItemCode2.

ItemShippingTaxItemValue2

Text

Enter the ItemShippingTaxItemValue2.

ItemShippingTaxItemCode3

Text

Enter the ItemShippingTaxItemCode3.

ItemShippingTaxItemValue3

Text

Enter the ItemShippingTaxItemValue3.

ItemShippingTaxItemCode4

Text

Enter the ItemShippingTaxItemCode4.

ItemShippingTaxItemValue4

Text

Enter the ItemShippingTaxItemValue4.

ThirdPartyTotalAmount

Numeric

Enter the total amount charged by the third party.

ShipFromAddrName

Text

Enter the name of the address from where the goods will be shipped, such as Main, Office, Warehouse, etc.

ShipFromFirstName

Text

Enter the first name of the contact person at the shipping location from where the order will be dispatched.

ShipFromLastName

Text

Enter the last name of the contact person at the shipping location from where the order will be dispatched.

ShipFromName

Text

Enter the company name of the store from where the order will be dispatched.

ShipFromAddr

Text

Enter the address details of the store from where the order will be dispatched.

ShipFromAddr2

Text

This is an additional field to capture the address of the store.

ShipFromCity

Text

Enter the city of the shipping store.

ShipFromState

Text

Enter the state of the shipping store.

ShipFromStateAbbr

Text

Enter the abbreviated code that represents the state or province from which the order will be shipped.

ShipFromZpCode

Text

Enter the zip code of the state or province from which the order will be shipped.

ShipFromCountry

Text

Enter the country of the shipping store.

ShipFromCountryISO2

Text

Enter the ISO 2 code that respresents the country of the shipping store.

ShipFromPhoneNumber

Numeric

Enter the phone number of the shipping store.

ShipFromEmail

Text

Enter the contact email of the shipping store.

BaseUomCode

Text

Enter the unit of measurement for storing the item.

SellUomCode

Text

Enter the unit of measurement for selling the item.

VASItemName

Text

If a VAS item has been applied, enter the VAS (Value-Added Service) item name.

VASItemCost

Text

Enter the cost for the VAS (Value-Added Service) item.

ReCalcTaxesFlag

Text

Enter "Y" to trigger the recalculation of the taxes.

ReCalcShippingTaxesFlag

Text

Enter "Y" to trigger the recalculation of the shipping taxes.

CustomerItemNumber

Text

Enter the item number assigned by the customer in the item customer mapping module.

IsEdiFlag

Text

Enter "Y" if the order is sent from the EDI integrator.

IsEdiConfirmationSentFlag

Text

This flag shows whether we have received the confirmation from the EDI. Acceptable values: "Y" or "N".

OrderLineClassName

Text

Enter the item class name here.

OrderLineClassCode

Text

Enter the item class code here.

DefaultLocationName

Text

Enter the default location from where the item will be picked.

QtyRemainingToShip

Text

Enter the quantity of the item remaining to be shipped.

AutoReleaseSalesOrder

Text

Enter "Y" to automatically release the sales order.

AutoWaveSalesOrder

Text

Enter "Y" to automatically wave the sales order.

WaveAllocationCode

Text

Enter the method of allocation for the sales order, such as "Full Qty Line(s) Only", "Allocate What's Available", or "Full Order(s) Only".

AutoLockWave

Text

This field allows you to lock the wave line. Enter "Y" here to lock the wave.

LineNumber

Text

This field allows you to enter the unique identifier for a specific line item within the sales order.

CustomerParentName

Text

If the customer is a child customer, please enter the parent customer here.

EdiStatusId

Text

This flag depicts whether the order is accepted, rejected, or accepted with change by the EDI.

IsEdiAckRequiredFlag

Text

If this flag is set to true, after fetching the order, the order file will be sent back for confirmation. Acceptable values: "Y" or "N".

ItemIdentifierCode

Text

This field allows you to input a unique code or identifier that represents each individual item in the sales order.

ItemUnitCost

Numeric

Enter the unit cost of the item.

TotalTaxAmount

Numeric

Enter the total ax amount for the order.

ReCalcPricing

Text

Enter "Y" here to enable recalculation of the item price.

LineStatus

Text

This field is used to indicate the current status of the line within the sales order.

ShipStatus

Text

Indicate the shipping status of the item, selecting either "Allocated," "Partially Allocated," or "Shipped".

IsBcPstTaxExempt

Text

Enter "Y" if the sales order qualifies for exemption from British Columbia PST tax. Enter "N" to apply the tax.

IsMbPstTaxExempt

Text

Enter "Y" if the sales order qualifies for exemption from Manitoba PST tax. Enter "N" to apply the tax.

IsSkPstTaxExempt

Text

Enter "Y" if the sales order qualifies for exemption from Saskatchewan PST tax. Enter "N" to apply the tax.

IsQbPstTaxExempt

Text

Enter "Y" if the sales order qualifies for exemption from Quebec PST tax. Enter "N" to apply the tax.

OrderThirdPartyRefNumber

Text

If the order is from an E-Commerce platform or an older system, then the order number or the order ID from there can be used. Repeat the same number multiple times contiguously to indicate which row(s) belong to one order.

ThirdPartyRefName

Text

This column allows you to input a reference name for a third party associated with the sales order. It could be a shipping company, logistics provider, or any external entity relevant to the order.

AutoApplyVASRule

Text

Enter "Y" if you want to automatically apply the VAS rule to the order.

AddressVerificationIdentifierCode

Text

Enter the address verification identifier code here. Address verification identifier code column specifies how the addresses are going to be validated in the system. Below are the valid identifier codes to be used in upload purchase order.

  • 10 Do not validate address.

  • 20 Validate address with warning.

  • 30 Validate address with error.

VoidAndCreate

Text

This field is used for updating an existing order. Enter "Y" to trigger the process. If this flag is enabled, the existing order will be voided and a new sales order will be created with the updated details.

KeepOriginalOrderNumber

Text

When updating the sales order, input "Y" here to retain the original order number for the updated order.

ProductCategoryName

Text

This field allows you to enter the product category associated with the item.

AccountCode3PL

Text

This field allows you to enter the account code associated with the third-party logistics (3PL) provider.

ItemQualityCode

Text

This field allows you to specify the code representing the quality level of the item, such as “New,” “Refurbished,” or “Used.”

IsVASRequired

Text

This field allows you to indicate whether VAS are required for this order.

VASInstruction

Text

This field allows to defined additional instructions for VAS.

AlternativeItemNumber1

Text

This field allows you to enter an alternative item number1 for the item, providing additional identification.

AlternativeItemNumber2

Text

This field allows you to enter an alternative item number2 for the item, providing additional identification.

AlternativeItemNumber3

Text

This field allows you to enter an alternative item number3 for the item, providing additional identification.

LastShipDate

Date

This field allows you to enter the latest permissible date for shipping the order to meet customer delivery requirements.

QtyShipped

Numeric

This field allows you to enter the quantity of items that have been shipped as part of the order.

LastWaveAttemptDttm

Date

This field allows you to enter the date and time of the last wave associated with the order.

PickedDttm

Date

This field allows you to specify the date and time when the order was picked.

PackedDttm

Date

This field allows you to specify the date and time when the order was packed.

ReadyToShipDttm

Date

This field allows you to enter the date and time when the order was marked as ready to ship.

MinimumATSPercent

Numeric

This field allows you to enter the minimum available to sell percentage of the item required to proceed with the order.

FillRate

Numeric

This field allows you to enter the percentage of the ordered quantity that has to available for the order to be processed.

FillRateFailedFlag

Text

This flag indicates whether the fill rate for the order has fallen below the acceptable threshold.

RequirePackAndHold

Text

This is a flag indicating whether the order requires packing and holding services for additional processing.

EIN

Text

This field allows you to enter the Employer Identification Number (EIN) of the customer or vendor involved in the order.

DutyPaymentTerms

Text

This field allows you to enter the terms of payment for any applicable duties, such as “Prepaid” or “Collect.”

CustomComment

Text

This field provides you a space to add additional comments or notes related to the sales order, provided by the customer or sales representative.

ResidentialFlag

Text

This field is a flag indicating whether the delivery address is a residential location.

PriorityCode

Text

This field allows you to assign a priority to the wave associated with the order, if any.

Option1Value

Text

This field allows you to enter the value for Option 1 related to the item.

Option1Code

Text

This field allows you to specify the code associated with Option 1 for the item.

Option2Value

Text

his field allows you to enter the value for Option 2 related to the item.

Option2Code

Text

This field allows you to specify the code associated with Option 1 for the item.

BasePartNumber

Text

This field allows you to enter the product base part number associated with the item.

ProductTitle

Text

This field allows you to enter the title assigned to the product.

PtoId

Text

LastWaveNumber

Text

This field specifies the unique identifier of the last wave associated with the order.

LastWaveDatetime

Date

This field specifies the time and date when the latest wave associated with the order was generated.

PromiseDate

Text

Enter the promise date for the sales order. Users can batch upload the promise date from here. Please note that when a CSV file contains multiple records with the same reference number, the Promise Date from the first record will be applied to the Sales Order Header.

Season

Text

This field shows the season associated with the item.

TotalPrice

Numeric

ImportError

Text

If there any errors from an upload, they will be listed in this column.

CustomFields

Text

The custom fields columns allow you to enter data in the custom fields defined for the sales order entity. This feature provides the flexibility to capture and store additional information relevant to the sales order, tailoring the system to your unique business requirements

Uploading the template

Once you have filled the CSV file with your data, you can follow the steps below to upload it into Xoro:

  • The Default values for required columns can be configured before the upload.

  • Please check the defaults from the Upload Items module before uploading items. If the data in the template is blank or incorrect, then the uploader will fallback and use these specified default values.

  • Click Browse to select the saved CSV template file.

  • Then check the Re-Calculate Taxes if you want to re-calculate the taxes based on customer’s default tax code and ignore any tax information provided in the upload file.

  • You can check the Apply Pricing Rules if you want to overwrite the prices of order lines with the prices defined in the pricing rules module and ignore any unit price provided in the file. Please note that this can change the order totals.

  • You can also choose to automatically apply the VAS item. Check this option to auto-apply the VAS item and cost to order lines based on the custom VAS rules defined in the system. If this option is selected, then the system will ignore the VAS item provided in the upload file. Please note that this may affect the order totals.

  • If you are updating an existing sales order, you can check the "Auto void and create new purchase order" box. If you've opted for this, you'll subsequently be prompted about whether you wish to "Keep Original SO Number". Opting for this will automatically void the previous sales order and generate a new one with the same order number. **Please Note: All linkings will be removed associated with the existing order. However, if you have marked the respective flags in the upload file, you can skip this step.

  • After the file has been selected, click on Upload to start importing.

  • While the import is in progress, the summary of the progress will be displayed at the bottom of the screen with the progress bar.

  • After the import has been completed, the result will be displayed with the message for success or error (if any).

  • Sales Orders will only get uploaded into the system if there are no errors in the file.

  • If there are errors in the file, you can download the error file, fix the errors in the original file, and upload it back into Xoro.

  • While uploading Sales Orders, the system will not allow the upload if the Items have their Active & Sellable flags turned Off. Only the Orders with Active and Sellable Items will be uploaded successfully.

Updating the Sales Order via upload

XoroERP allows you to update the sales order via upload. This is useful when you want to update multiple sales order. “VoidandCreate” and “KeepOriginalOrderNumber” columns in the upload template are used to update the sales order.

If both of these fields are set to true, the existing Sales Order will be voided and a new Sales Order will be created with the same Order number. Additionally, you can set the “KeepOriginalOrderNumber” field to false to update the Sales Order number as well.

Please Note: To update, the Order must be in “Open” or “Released” status and must be Unallocated.

How does it work?

  • Navigate to the Data Export Centre and search by “Sales Order Detail”.

  • Now, select the lines of the Sales Order you want to update and click on Options > Export To Local – Selected.

  • Open the download file, make the desired updates and save the file. Make sure to set the “IsVoidAndCreate” field to “Y”. This will void the existing Order and create a new order with the updated information.

  • If you want to keep the original Order number, input the value “Y” in the column “KeepOriginalOrderNumber”. Alternatively, input “N” to change the Order number.

  • Now, go to the Upload Sales Order module and upload the file.

  • Now, go to the Upload Sales Order module and upload the file.

  • The existing Sales Order will be voided and a new Sales Order will be created in the system with the same number and updated details. The new Order will be created with “Open” status.

Here’s a look at the old and updated example Sales Order:

Old:

Updated:

Last updated

Was this helpful?