Skip to main content
Stock order data file specification

How to format the stock order data file for the Advanced CSV connector

S
Written by Sara Jaffer
Updated over 2 weeks ago

The Advanced CSV connector is in Early Access. If you're interested, you can click here to apply to our Early Adopter Program.

Note: The Advanced CSV connector is only available to Premium subscribers. Contact Inventory Planner Support to learn more about upgrading to Premium.

Use the stock order data file to manage purchase orders, transfer orders and assembly orders through the Advanced CSV connector.

To load a stock order, include all the order’s line items as individual rows with the same ID.

Note: The variant, vendor and warehouse files must be supplied to the Advanced CSV connector before or at the same time as the stock order file.

If using custom stock order statuses, you must supply the stock order statuses file too.

Stock order data columns

The stock order file supports the following columns. If a required column is missing, or an unsupported column is present in the file, the file will not be processed.

Column name

Required

Column type

Default value

Comments

ID

VARCHAR(256)

REFERENCE

VARCHAR(256)

STATUS

VARCHAR(256)

WAREHOUSE

VARCHAR(256)

VENDOR

VARCHAR(256)

SOURCE_WAREHOUSE

VARCHAR(256)

CURRENCY

CHAR(3)

CREATED_DATE

TIMESTAMP_NTZ

LINE_ITEM_ID

VARCHAR(256)

VARIANT_ID

VARCHAR(256)

SKU

VARCHAR(256)

BARCODE

VARCHAR(256)

TITLE

VARCHAR(256)

REPLENISHMENT

FLOAT

RECEIVED

FLOAT

RECEIVED_DATE

TIMESTAMP_NTZ

COST_PRICE

FLOAT

Cost price before discount and taxes.

REMOVED

BOOLEAN

Soft remove the line item by setting to “true”

UPDATED_AT

TIMESTAMP_NTZ

Row last updated timestamp

TYPE

VARCHAR(256)

“po”

One of “po”, “transfer”, “assembly”.

All rows for a single stock order must use the same type.

REFERENCE2

VARCHAR(256)

EXPECTED_DATE

TIMESTAMP_NTZ

LAST_MODIFIED

TIMESTAMP_NTZ

SHIPMENT_DATE

TIMESTAMP_NTZ

EMAIL

VARCHAR(256)

VENDOR_ADDRESS

VARCHAR(256)

SHIPPING_ADDRESS

VARCHAR(256)

BILLING_ADDRESS

VARCHAR(256)

SHIPMENT_METHOD

VARCHAR(256)

PAYMENT_TERMS

VARCHAR(256)

NOTES

VARCHAR(256)

ATTN

VARCHAR(256)

TAX_INCLUDED

BOOLEAN

DISCOUNT

FLOAT

Discount percentage

TAX

FLOAT

Tax percentage

Outside of the file, the following stock order settings can be configured directly in Inventory Planner:

  • Payment date

  • Source warehouse settings

    • Limit transfer quantities by available stock

    • Enable/disable vendor UOM

    • Enable/disable transfer UOM

    • Round quantity up/down

Did this answer your question?