Upload Purchase Orders

You have the option of uploading Purchase Orders into the system using a csv file. This can be handy 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.

Uploading Purchase Orders

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

  • Download the latest CSV Template from the “Upload Purchase Orders” module.

  • Copy Purchase Orders information into the CSV Template.

  • Upload the CSV Template into Xoro.

Downloading the CSV template

  • Go to "Upload Purchase 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 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 Purchase 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# 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.

**StoreName

Text

Enter your store code name associated with the order. This should match exactly with the store code registered in Xoro. The goods will eventually be received into this inventory set.

**CurrencyCode

Text

Enter the currency for the order. This must match with the customer’s currency, for instance, USD, CAD, etc. For additional currencies, please contact Xorosoft.

**VendorName

Text

Enter the name of the vendor for this purchase order exactly as it is in Xoro.

VendorContact

Numeric

Enter any contact information for the vendor here.

**DateOrder

Date

Enter the date for the purchase order in the MM-DD-YYYY format.

VendorReqDate

Date

Enter the date the PO was requested from the vendor in MM-DD-YYYY format.

**DateExpectedDelivery

Date

Enter the date the goods are expected to arrive for this PO in MM-DD-YYYY format.

ExpectedShipDate

Date

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

**CurrencyRate

Numeric

Enter the currency rate for the order.

Memo

Text

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

RefNumber

Text

Enter a reference number for the order that can be used for easy identification and tracking of the order.

ShippingTermsName

Text

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

PaymentTermsName

Text

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

FobName

Text

If applicable, enter the Freight on Board here. Choose from: Origin or Destination.

BillFromAddress

Text

Enter the address information of the vendor.

BillFromCity

Text

Enter the city of the vendor.

BillFromState

Text

Enter the state of the vendor.

BillFromCountry

Text

Enter the country of the vendor.

BillFromPostalZipCode

Text

Enter the pin code of the vendor.

BillFromPhoneNumber

Numeric

Enter the phone number of the vendor.

BillFromEmail

Text

Enter the email of the vendor.

ShipToAddress

Text

Enter the address details of the store where the goods will be received.

ShipToCity

Text

Enter the city of the store where the goods will be received.

ShipToState

Text

Enter the state of the store where the goods will be received.

ShipToCountry

Text

Enter the country of the store where the goods will be received.

ShipToPostalZipCode

Text

Enter the zip code of the store where the goods will be received.

**PoItemNumber

Text

The Item SKU line for this PO. This SKU must match exactly with the item number in Xoro.

VendorPartNumber

Text

Enter the Vendor Part Number here. This is a unique identification code assigned by a vendor to a specific product or item they offer. It helps in tracking and identifying products within the vendor's inventory.

Description

Text

The item number’s description.

**UnitPrice

Text

Enter the unit price of the item.

**QtyOrder

Text

Enter the quantity of the item.

UomName

Text

Enter the unit of measurement for the item.

Discount

Text

Depending on the discount type, enter a percentage or decimal amount. If there is no discount, leave it as blank.

DiscountTypeName

Text

Enter "Percentage" or "Amount" if there is a discount for the item, otherwise, leave it blank.

TaxItemCode1

Text

Enter the code 1 of the tax item.

TaxItemValue1

Text

Enter the value 1 of the tax item.

TaxItemCode2

Text

Enter the code 2 of the tax item.

TaxItemValue2

Text

Enter the value 2 of the tax item.

TaxItemCode3

Text

Enter the code 3 of the tax item.

TaxItemValue3

Text

Enter the value 3 of the tax item.

TaxItemCode4

Text

Enter the code 4 of the tax item.

TaxItemValue4

Text

Enter the value 4 of the tax item.

BuyerName

Text

If the purchase order is converted from the sales order, this field captures the buyer who has requested the items. If the buyer is empty, then SO customer will be transferred to PO buyer name.

OrderLineClassName

Text

An item can belong to a class. Enter the name of that Class Code if you want to categorize your item. This must match exactly with the Class Name set up in Xoro.

OrderLineClassCode

Text

An item can belong to a class. Enter the code of that Class Code if you want to categorize your item. This must match exactly with the Class Code set up in Xoro.

DefaultLocationName

Text

Enter the default location for the item here.

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.

AutoReleasePurchaseOrder

Text

Enter "Y" if you want the order to be automatically uploaded in the "Released" status.

ItemIdentifierCode

Text

Enter the item identifier code here.

Item identifier code column specifies, how item number field value of the file will be used to match the item in the system. Below are the valid identifier codes to be used in upload purchase order.

  • 0 will represent Not Applicable.

  • 1 will represent Item Number.

  • 2 will represent Item UPC.

  • 3 will represent Item Barcode.

  • 4 will represent Alternate item number 1.

  • 5 will represent Alternate item number 2.

  • 6 will represent Alternate item number 3.

  • 8 will represent Item Vendor Mapping.

PoSubTypeName

Text

Enter the order type to associate with this PO as present in the order type module.

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 purchase order will be created with the updated details.

KeepOriginalOrderNumber

Text

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

ShipServiceName

Text

Enter the ship service name for the 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.

ShipServiceCode

Text

Enter the ship service code for the order.

ShippingAccountNumber

Text

Enter the shipping account number here.

ImportError

Text

If there are 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 purchase order entity. This feature provides the flexibility to capture and store additional information relevant to the purchase order, tailoring the system to your unique business requirement.

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.

  • You can also check on the Split PO line(s) by default vendor box. (If you check this option, the third-party reference number, and vendor name will be ignored. PO(s) will be created based on the default vendor selected for every item.)

  • If you are updating an existing purchase order, you check the "Auto void and create new purchase order" box. However, if you have marked the respective flags in the upload file, you can skip this.

  • After the file has been selected, click 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).

  • Purchase 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.

Updating the Purchase Order via upload

XoroERP allows you to update the purchase order via upload. This is useful when you want to update multiple purchase orders. “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 Purchase Order number as well.

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

How does it work?

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

  • Now, select the lines of the Purchase 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 Purchase Order module and upload the file.

  • The existing Purchase Order will be voided and a new Purchase 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 Purchase Order:

Old:

Updated:

Last updated

Was this helpful?