Routing CSV File Examples
You can import routing records using multiple files or a single file.
Multiple Files Import
With a multiple-file import, you create a main file for body fields and a secondary file for the Routing Steps sublist. The following example shows how your main file might look when importing one routing record.
ExternalId |
Item |
Location |
Name |
---|---|---|---|
101 |
Cedar Chest |
East Coast |
Cedar Chest - Standard Routing |
The second file should include details of the operations required by the assembly process. Each operation belongs on its own row and must include a unique identifier that links it to an entry in the main file, as follows.
ExternalId |
Operation Sequence |
Operation Name |
M |
M |
Setup Time (Min) |
Run Rate (Min/ |
---|---|---|---|---|---|---|
101 |
10 |
Retrieve materials |
Warehouse Employees |
Warehouse Rates |
5 |
20 |
101 |
20 |
Sand boards |
Woodworkers |
Woodworking Rates |
15 |
40 |
101 |
30 |
Assemble chest |
Woodworkers |
Woodworking Rates |
15 |
180 |
101 |
40 |
Clean up work space |
Shop Workers |
Shop-Working Rates |
5 |
25 |
101 |
50 |
Move chest to stock room |
Warehouse Employees |
Warehouse Rates |
5 |
25 |
With a multiple-file import, the fields should be mapped as shown in the following illustration. If you name your columns as shown in this example, the mapping should happen automatically.
![Routing Mapping example for multiple files.](img/AccountAdministration/CSVImports/RoutingMapping.png)
Single File Import
With a single-file import, all data for a single routing record must exist on the same row. For this reason, if the sublist for any routing record must describe more than one operation, you must create a discrete group of columns for mapping each operation. Each group should include all six required sublist fields (Manufacturing Cost Template, Manufacturing Work Center, and so on).
For example, the following table shows an excerpt from a file you could use to create two new manufacturing routing records. For each routing record, two operations are defined for the Routing Steps sublist. (The entire data snippet is not shown; for the import to be successful, both rows would include additional columns representing second instances of the Work Center, Cost Template, Setup Time, and Run Rate fields.)
Name |
Manufact- |
Manufact- |
Manufact- |
Manufact- |
Manufact- |
Manufact- |
Manufact- |
M O |
---|---|---|---|---|---|---|---|---|
Cedar chest r |
10 |
Retrieve materials |
Warehouse Labor Run |
Warehouse Employee Rates |
5 |
60 |
20 |
Build chest |
Clock r |
10 |
Retrieve materials |
Warehouse Labor Run |
Warehouse Employee Rates |
5 |
30 |
20 |
Build clock |
On the mapping page, the fields should be mapped as shown in the following illustration. Note that, in the column at the right, two instances of the sublist fields must be used. Two instances are used because the CSV file includes two sets of columns for the routing steps sublist.
![Routing Mapping example for a single file.](img/AccountAdministration/CSVImports/RoutingMappingExample-Single.png)
If you name your columns as shown in this example, the mapping should happen automatically. If in your CSV file you choose column headings that do not match what the system expects, you must map the fields manually.
In these cases, if your import requires multiple instances of the sublist fields, you must manually create the additional fields in the right-hand mapping column under “NetSuite Fields.” You can create an extra instance by clicking the plus sign next to the Manufacturing Routing Routing Steps label.
![Add New icon beside Manufacturing Routing Routing Steps.](img/AccountAdministration/CSVImports/RoutingPlusSign.png)