This chapter defines the file format expected by PDM Gateway for updating PDM variables.


Information to be processed :

We take the following example below:

  • A document to be updated whose identifier is: "A_001.sldasm »

The attributes to be updated are :

    • Attribute: "Designation "/ New value: "Proto Machine »
    • Attribute: "Supplier "/ New value: "VISIATIV »
  • A document to be updated whose identifier is: "P_120.sldprt»

The attribute to be updated is :

    • Attribute: "Supplier "/ New value: "VISIATIV »



Received XML file to be processed by the :

Sample file received from ERP - XML format :


<?xml version="1.0" encoding="utf-8" ?> 

< PDM_GATEWAY>

                                               < PDM_GATEWAY_ACTION name="Type" value="Import_Attributs" />

                                                 <PRODUCTS>

                                                       <PRODUCT>

                                                               <FIND name="Name" value="A_001.sldasm" /> 

                                                               <FIND name="CONFIG" value="Default" /> 

                                                               <FIELD name="Designation" value="Proto Machine" /> 

                                                               <FIELD name="Supplier" value="VISIATIV" /> 

                                                       </PRODUCT>

                                                       <PRODUCT>

                                                               <FIND name="Name" value="P_120.sldprt" /> 

                                                                <FIELD name="Supplier" value="VISIATIV" /> 

                                                       </PRODUCT>

                                               </PRODUCTS>

</ PDM_GATEWAY>


Note: This file can contain the update of several attributes for a given document, and/or several documents to be processed .



Sample file received from ERP - CSV format :


 


The "Designation" and "Supplier" are the ERP fields and the correspondence must be defined in the configuration interface.