Processing Logic - Intergraph Smart Materials - Version 10.2 - Help - Hexagon

Intergraph Smart Materials Classic Help

Language
English
Product
Intergraph Smart Materials
Subproduct
Classic
Search by Category
Help
Smart Materials/Smart Reference Data Version
10.2

Data in the XML file is imported and stored in a table. Then, Smart Materials processes the data. Error and log files that contain statistics and error messages for both steps are created.

With OPI, you can insert and update orders, order line items, and item shipments according to what Smart Materials screens allow. For example, you cannot insert additional item shipments before an order has been approved, and you cannot update an order or order line item after the order has been approved.

You can insert or update translated descriptions and "other costs" for orders. Other costs can also be inserted or modified for line items. Translated descriptions for other costs attached to an order or an order line item can also be inserted or updated.

For each of these objects (order, order description, order other cost, order other cost description, order line item, item shipment, order line item other cost, order line item other cost description), the file must contain information about why it can be found in the file. Use the following tags for this information:

<POH_PROC_TYPE>

<NLS_PROC_TYPE>

<POH_OC_PROC_TYPE>

<POH_OC_NLS_PROC_TYPE>

<POLI_PROC_TYPE>

<ISH_PROC_TYPE>

<POLI_OC_PROC_TYPE>

<POLI_OC_NLS_PROC_TYPE>

A tag can be set to I, U, or N for processing:

  • I means that the object is to be inserted.

  • U means that an update is to be performed.

  • N means that the object is not processed, that is, neither inserted nor modified. However, the object information is needed to show the path for underlying objects. For example, if you have already created an order with one line item, and you now want to add another item shipment, Smart Materials needs to know which order the line item belongs to and the location on the order at which to insert this additional item shipment.

For some data, the values of the project defaults are used if no value is provided in the XML file.

If the file does not contain the <ORIGIN> or <ISSUED_BY> tags, the value of the ZX_ORIGIN project default is used instead.

If you omit the name of the user who has approved an order (<APPROVED_BY> tag), the value of the ZP_APPRVER project default is used instead.

Each record that has been processed successfully is committed to the database. Records that are not valid are not imported. For example, it could happen that in a new order of ten items in an import file, only three of them are valid to be inserted. Modify the import file data, and start OPI again to import the remaining items.

OPI creates orders, line items, item shipments, and descriptions. It does not create records in referenced tables. These must already exist. For example, in an XML file, you can only include a supplier that is already known in Smart Materials. If the supplier cannot be found in Smart Materials, it will not be created automatically and the import will fail.