Create a Format Map for Bill of Material Import Files
Use Format Mapping Maintenance (XMAP) to specify the format of files to be imported, mapping imported data elements to their counterparts in PowerShift files.
The fields required for successful import are the same as those required if you were creating a record using Product Structure Maintenance (MPS).
If the import file does not include a unit of measure, quantity per is assumed to be in the component's stocking unit of measure. If the import file includes the UOM and it differs from the component item's stocking unit, the imported quantity per is converted based on the unit conversion established in Unit of Measure Codes Maintenance (TUM).
If the effective date is not imported, it is set to 01/01/1900.
If the expiration date is not imported, it is set to 12/31/9999.
Only valid inventory item numbers are processed: If the parent does not exist in the inventory file, all records for that parent are skipped. If an imported bill includes a component that does not exist in the inventory file, the component is skipped while valid component item numbers are processed.
Your PowerShift Support Representative can provide a sample format that you can adjust to work with the bill of material data you want to import.
The program displays:
Field Name |
Displays |
Format no |
The order type |
Description |
The description of the format |
Type |
Mapping type: |
Type |
File type: |
Choose the appropriate options:
To |
Do This |
Add a format number |
Click Add. |
Delete the selected number |
Click Delete. See Delete. |
Copy the selected format |
Click Copy. See Copy. |
Display the selected format |
Click Select or double click the line. |
Print the format number listing |
Click Print. See Print. |
Exit the program |
Click Exit. |
Enter/review data in these fields:
Field Name |
Type / Max Length |
Action / Description |
Description |
Required |
Enter the description for the file. |
Mapping type |
Required |
Select Custom to map a file for importing bills of material. |
Type |
Conditional |
Select I for input mapping. |
Output file name |
Conditional |
Enter M1BOM for bill of material imports. |
File type |
Conditional |
Select D for a sequential file. |
Record length |
Optional |
Enter the maximum length of the record. |
Key size |
Optional |
Enter zero. |
Output directory |
Optional |
Enter a directory for the output file. |
File seq size |
Conditional |
Not used. |
Delimiter |
Optional |
Enter the field delimiter. The system
does not validate the delimiter. Good delimiter choices are |
(pipe character) and ; (semicolon). |
Update program |
Required |
Enter MPSX. |
Log report |
Required |
Enter ELBOM. |
Choose the appropriate options:
To |
Do This |
Change a field |
Move the cursor to the field and make changes. Click Apply to accept or click Cancel to abandon changes. |
Delete a saved record |
Click Delete. See Delete. |
Enter file layout specification |
Click Layout. See Enter Mapping File Layout. |
Accept the data |
Click OK. The program returns to the Format number field if this was a newly added format; it returns to the list of formats if you viewed or maintained an existing one. |