Interface Message Formats

From Commander4j
Revision as of 12:18, 20 August 2024 by Dgarratt (talk | contribs) (Created page with "== Output Messages == === Production Declaration === <?xml version="1.0" encoding="UTF-8"?> <message> <hostRef>service</hostRef> <messageRef>18722440</messageRef> <interfaceType>Production Declaration</interfaceType> <messageInformation>SSCC=350001615053457609</messageInformation> <interfaceDirection>Output</interfaceDirection> <messageDate>2024-03-03T16:25:10</messageDate> <messageData> <productionDeclaration> <SSCC>35...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Output Messages

Production Declaration

<?xml version="1.0" encoding="UTF-8"?>
<message>
   <hostRef>service</hostRef>
   <messageRef>18722440</messageRef>
   <interfaceType>Production Declaration</interfaceType>
   <messageInformation>SSCC=350001615053457609</messageInformation>
   <interfaceDirection>Output</interfaceDirection>
   <messageDate>2024-03-03T16:25:10</messageDate>
   <messageData>
       <productionDeclaration>
           <SSCC>350001615053457609</SSCC>
           <processOrder>28946352</processOrder>
           <recipe>100000000053316048</recipe>
           <requiredResource>P1VK12</requiredResource>
           <material>44219856</material>
           <description>Premium Widget Blue</description>
           <old_code/>
           <moveAfterMake>N</moveAfterMake>
           <moveLocationID/>
           <customerID>SELF</customerID>
           <customerName>My Company</customerName>
           <customerNameOnLabel>Y</customerNameOnLabel>
           <customerOverridePack>N</customerOverridePack>
           <customerPackModule/>
           <customerOverridePallet>N</customerOverridePallet>
           <customerPalletModule/>
           <customerBatchOverride>N</customerBatchOverride>
           <customerBatchFormat/>
           <customerData01/>
           <customerData02/>
           <customerData03/>
           <customerData04/>
           <ean>05000161030460</ean>
           <variant>11</variant>
           <status>Unrestricted</status>
           <batchDefaultFormat>{YEAR1}{JULIAN_DAY}{PLANT}</batchDefaultFormat>
           <batch>4063093330</batch>
           <batchStatus>Restricted</batchStatus>
           <expiry_Mode>BATCH</expiry_Mode>
           <expiryDate>2026-03-31T00:00:00</expiryDate>
           <location>WISBECH</location>
           <name>Purina Wisbech</name>
           <gln>5000161800292</gln>
           <plant>0933</plant>
           <warehouse>734</warehouse>
           <storageLocation>0001</storageLocation>
           <storageSection/>
           <storageBin>DESPATCH</storageBin>
           <storageType>PRO</storageType>
           <productionQuantity>5616.000</productionQuantity>
           <productionUOM>EA</productionUOM>
           <confirmed>Y</confirmed>
           <productionDate>2024-03-03T16:25:08</productionDate>
       </productionDeclaration>
   </messageData>
</message>

Input Messages

Process Order

<?xml version="1.0" encoding="UTF-8"?>
<message>
  <plant>1234</plant>
  <hostRef>DEMO</hostRef>
  <messageRef>CRID 20240303155409</messageRef>
  <interfaceType>Process Order</interfaceType>
  <messageInformation>Process Order=28998413</messageInformation>
  <interfaceDirection>Input</interfaceDirection>
  <messageDate>2024-03-03T15:54:11</messageDate>
  <messageData>
     <processOrder>
        <orderNo>28998413</orderNo>
        <receipeId>100000000053478322</receipeId>
        <dueDate>2024-03-03T20:27:35</dueDate>
        <status>Ready</status>
        <plant>0933</plant>
        <warehouse>734</warehouse>
        <storageLocation>0001</storageLocation>
        <storageBin>P3OSL</storageBin>
        <storageType>141</storageType>
        <location>FACTORY1</location>
        <material>44066725</material>
        <description>Flux Capacitor</description>
        <requiredQuantity>48480</requiredQuantity>
        <requiredUom>KG</requiredUom>
        <defaultPalletStatus>Unrestricted</defaultPalletStatus>
        <requiredResource>TP3OSL</requiredResource>
     </processOrder>
  </messageData>
</message>

Process Order Status Change

<?xml version="1.0" encoding="UTF-8"?>
<message>
  <hostRef>DEMO</hostRef>
  <messageRef>CRID 100000000052491880</messageRef>
  <interfaceType>Process Order Status Change</interfaceType>
  <messageInformation>Process Order=005000335533</messageInformation>
  <interfaceDirection>Input</interfaceDirection>
  <messageDate>2023-10-06T11:35:23</messageDate>
  <messageData>
     <processOrderStatusChange>
        <orderNo>5000335533</orderNo>
        <receipeId>100000000052491880</receipeId>
        <status>Discarded</status>
     </processOrderStatusChange>
  </messageData>
</message>

Pallet Status Change

<?xml version="1.0" encoding="UTF-8"?>
<message>
  <hostRef>DEMO</hostRef>
  <messageRef>ID 0000002754166783</messageRef>
  <interfaceType>Pallet Status Change</interfaceType>
  <messageInformation>TransferSchedule=0000002754166783</messageInformation>
  <interfaceDirection>Input</interfaceDirection>
  <messageDate>2024-03-03T16:34:58</messageDate>
  <messageData>
     <palletStatusChange>
        <sscc/>
        <status>Unrestricted</status>
        <update>
           <sscc/>
           <status>Unrestricted</status>
        </update>
     </palletStatusChange>
  </messageData>
</message>

Material Definition

<?xml version="1.0" encoding="UTF-8"?>
<message>
  <plant>1234</plant>
  <warehouse>001</warehouse>
  <hostRef>DEMO</hostRef>
  <interfaceType>Material Definition</interfaceType>
  <interfaceDirection>Input</interfaceDirection>
  <messageRef>DOCNUM 2752685867</messageRef>
  <messageInformation>Material=12249278/FERT</messageInformation>
  <messageDate>2024-03-01T13:03:09</messageDate>
  <messageData>
     <materialDefinition>
        <material>12249278</material>
        <old_material/>
        <materialType>FERT</materialType>
        <base_uom>EA</base_uom>
        <gross_weight>90.000</gross_weight>
        <net_weight>85.000</net_weight>
        <weight_uom>GRM</weight_uom>
        <description>Reverse Ratcheting Router</description>
        <enabled>Y</enabled>
        <equipment_Type/>
        <shelf_life>24</shelf_life>
        <shelf_life_uom>M</shelf_life_uom>
        <shelf_life_rule>+</shelf_life_rule>
        <materialUOMDefinition>
           <uom>LR</uom>
           <ean/>
           <variant/>
           <numerator>576</numerator>
           <denominator>1</denominator>
        </materialUOMDefinition>
        <materialUOMDefinition>
           <uom>ZZ2</uom>
           <ean/>
           <variant/>
           <numerator>24</numerator>
           <denominator>1</denominator>
        </materialUOMDefinition>
        <materialUOMDefinition>
           <uom>EA</uom>
           <ean>07613034588241</ean>
           <variant>01</variant>
           <numerator>1</numerator>
           <denominator>1</denominator>
        </materialUOMDefinition>
        <materialUOMDefinition>
           <uom>CS</uom>
           <ean>07613034588258</ean>
           <variant>01</variant>
           <numerator>24</numerator>
           <denominator>1</denominator>
        </materialUOMDefinition>
        <materialUOMDefinition>
           <uom>D97</uom>
           <ean>07613034754530</ean>
           <variant>00</variant>
           <numerator>4032</numerator>
           <denominator>1</denominator>
        </materialUOMDefinition>
        <validLocations/>
     </materialDefinition>
  </messageData>
</message>

Pallet Move

<?xml version="1.0" encoding="UTF-8"?>
<message>
  <hostRef>service</hostRef>
  <messageRef>18763875</messageRef>
  <interfaceType>Pallet Move</interfaceType>
  <messageInformation>SSCC=350001615053666100</messageInformation>
  <interfaceDirection>Input</interfaceDirection>
  <messageDate>2024-03-03T16:23:38</messageDate>
  <messageData>
     <palletMove>
        <pallet>
           <sscc>350001615053666100</sscc>
           <fromLocation>FACTORY1</fromLocation>
           <moveAfterMake>Y</moveAfterMake>
           <toLocation>FACTORY2</toLocation>
        </pallet>
     </palletMove>
  </messageData>
</message>

Batch Status Change

<?xml version="1.0" encoding="UTF-8"?>
<message>
  <hostRef>DEMO</hostRef>
  <messageRef>ID 0000002754117823</messageRef>
  <interfaceType>Batch Status Change</interfaceType>
  <messageInformation>Material=43898974, Batch=4062093355</messageInformation>
  <interfaceDirection>Input</interfaceDirection>
  <messageDate>2024-03-03T12:33:36</messageDate>
  <messageData>
     <batchStatusChange>
        <batch>4062093355</batch>
        <material>43898974</material>
        <status>Unrestricted</status>
     </batchStatusChange>
  </messageData>
</message>