Purchase Order Import

NetSuite Purchase Order transactions authorize vendors to provide goods or services to your company, and express a commitment to receive and pay for them. These transactions have no accounting impact until orders are received.

For more details about Purchase Orders in NetSuite, see Purchase Order Management.

Note:

Purchase Order imports are not available unless the Purchase Orders feature is enabled in your account. To enable this feature, go to Setup > Company > Enable Features and on the Transactions tab, check the Purchase Orders box.

For details about fields that can be mapped in the purchase order record, see the SOAP Schema Browser’s purchase order reference page. You can use the field definitions here as a basis for creating your own CSV import template file. For information about working with the SOAP Schema Browser, see SOAP Schema Browser.

Review the following guidelines for Purchase Orders imports:

Custom Form Specification for Purchase Order Imports

By default the Field Mapping page for a purchase order import displays the NetSuite fields from your preferred purchase order form as available for mapping. The default form for your role may not include all the fields you need to import. To ensure that the appropriate fields are available for mapping, you can select any purchase order form that is available to your role, in the Advanced Options area of the Import Assistant's Import Options page. For more information, see Set Advanced CSV Import Options.

Warning:

If you specify a drop ship purchase order form, all records in the imported file should be drop ship purchase orders. You cannot import both drop ship purchase orders and other purchase orders at the same time.

Supported Purchase Order Sublist Data Imports

The Purchase Order import supports the import of the following sublist data:

Sublist

Notes

Items

You must import at least one line item for all new records, and you must map required fields for this sublist on the Field Mapping page. See Required Items Sublist Fields for Transactions Imports.

Selectively updatable based on Line/Order Line or Item key field. See Line Item Updates on Transactions Imports.

Expenses

When the Allow Expenses on Purchase Orders preference is enabled.

Expenses data must be in a separate CSV file.

If you use classes, departments, or locations, you can set these values either for an entire purchase order, or per individual item/expense lines.

If the Item Options feature is enabled in your account, you can import values for custom transaction item options along with Items sublist data. Transaction item options must first be set up at Customization > Lists, Records, & Fields > Transaction Item Options > New, with one of the following Applies To settings: Purchase, All Items. For details, see Importing Transaction Item Options.

For imports that update existing Purchase Order records, handling of sublist data updates depends upon the setting for the Overwrite Sublists advanced option, and on whether the sublist is keyed. Complete deletion of sublist data currently is not supported. For more information, see Sublist Data Import.

Important:

For non-keyed sublists, you shouldn't update main transaction fields and sublist fields during the same import job.

Using Multiple Files for Purchase Order Sublist Data

For purchase order imports that include items data but no expenses data, you can choose the one file to upload option, and include all data in a single CSV file, or you can choose the multiple files to upload option, and include mainline data in one file and items data in another file.

For imports that include expenses data, you must use the multiple files to upload option, with one file for mainline data, and one for expenses data. If you are also importing items data, it should be in a third file.

If you choose the multiple files option, be sure to include the external ID or key field values in the sublist files as well as in the main file.

For a multiple files upload example, see Sample Purchase Order Multiple CSV File Format.

Supported Purchase Order Subrecord Data Imports

The Purchase Order import supports the import of the following subrecord data:

Subrecord

Notes

Billing Address

By default, the subrecord Address field is read-only, and data from other subrecord fields is copied into it. If you map the Override field and set it to Yes (meaning true), you can import data for the Address field.

Items — Inventory Detail

When Advanced Bin/Numbered Inventory Management feature enabled.

Shipping Address

By default, the subrecord Address field is read-only, and data from other subrecord fields is copied into it. If you map the Override field and set it to Yes (meaning true), you can import data for the Address field.

Importing Purchase Orders with Billed-Back Items and Expenses

If you are importing purchase orders with items or expenses that need to be billed back to customers, you can set the value of the Billable field to “TRUE” and include a value for the Customer field, for each of these item or expense lines.

Importing Purchase Orders with Serial or Lot-Numbered items

If you are importing purchase orders with serial or lot-numbered items, you need to define serial or lot numbers in the Serial/Lot Numbers field for each item.

Importing Purchase Orders when Advanced Taxes is Enabled

If the Advanced Taxes feature is enabled, you can include values for the Tax Code and Tax Amount fields for purchase order item and expense lines as needed in CSV files. Tax codes should be set up in NetSuite before the import. Note that other tax-related values for line items and expenses are calculated by the system.

The Advanced Taxes feature is required for NetSuite OneWorld accounts. For information about working with taxes in OneWorld, see Nexuses and Taxes in OneWorld. For general information about setting up tax codes, see Managing Tax Codes.

Working with Closed Purchase Orders

You can import a purchase order as closed, by setting its Items sublist records' Closed field values to “TRUE”.

If these values are not set in the CSV file itself, you can set a default value by adding the Items sublist's Closed field to the field mapping, clicking the edit icon and selecting the Yes option button. For more information, see Assign Default Values during Field Mapping.

You can use an import to update closed purchase orders by setting the Closed field value for one or more items in an order to “FALSE”.

Sample Purchase Order Single CSV File Format

The following table illustrates example column headers and data snippets in a single file upload of purchase orders. This file includes data for purchase order header fields and item lines. Note that in this case, the same purchase order number can be repeated in multiple rows.

External ID

Vendor

PO Number

Date

Item

EXT2003

American Computers

2003

7/28/2009

Computer Systems : Desktop : HP Compaq d230

EXT2003

American Computers

2003

7/28/2009

Computer Systems : Laptop : Compaq Evo n800c

EXT2004

American Computers

2004

7/28/2009

Accessories : Standard Keyboard

Sample Purchase Order Multiple CSV File Format

The following tables illustrate example column headers and data snippets in a multiple file upload of purchase orders, including items and expenses data. Note that External ID is the key column that would be specified on the Import Assistant File Mapping page.

Primary File:

Each row of the primary file must include a unique identifier, in this case the external ID.

External ID

Vendor

PO #

Date

EXT2003

American Computers

2003

7/28/09

EXT2004

American Computers

2004

8/3/09

Linked File - Items:

The items file can include multiple rows with the same purchase order external ID.

External ID

Item

Quantity

Amount

EXT2003

Computer Systems : Desktop : HP Compaq d230

1

800

EXT2003

Computer Systems : Laptop : Compaq Evo n800c

1

1200

Linked File - Expenses:

The expenses file can include multiple rows with the same purchase order external ID.

External ID

Account

Amount

Memo

Customer

Billable

EXT2003

6150 Office Expense

350

laptop repair

107 Fabre Art Gallery

Yes

EXT2003

6150 Office Expense

20

laptop part

107 Fabre Art Gallery

Yes

EXT2004

6150 Office Expense

60

misc.

No

Using Import Assistant for Purchase Orders Mass Update

You can perform a mass update of existing Purchase Order data by creating a Transaction saved search with a filter of Type is Purchase Order, changing data externally, then using the Import Assistant to import modified data, using the Update data handling option. For more information, see Creating Transaction Saved Searches for Reimport.

The Import Assistant is available at Setup > Import/Export > Import Tasks > Import CSV Records. After you select the record type for import, you choose the import character encoding. For more information, see Select a Record Type for Import and Choose Import Character Encoding.

Additional Information

Related Topics

General Notices