Example

PublishEvent

<PublishEventRequest>
    <ControlArea>
        <eventAction>Get</eventAction>
        <documentID>SKU2307TNTCP1:1</documentID>
        <revisionID></revisionID>
        <variationID></variationID>
        <tenantID>INFOR</tenantID>
        <accountingEntityID>FP7-642</accountingEntityID>
        <locationID>W_WMS1</locationID>
        <maxItemsForGet>1</maxItemsForGet>
        <ExpressionForGet>SKU2307TNTCP1</ExpressionForGet>
        <expressionLanguageForGet>InforItemID</expressionLanguageForGet>
    </ControlArea>
    <DataArea>
        <InventoryCountBOD/>
    </DataArea>
</PublishEventRequest>

Note:

  • The actionCode cannot be used for Get.
  • The tags are handled case-insensitively.

Resulting Get BOD

(Note: the name spaces are subject to change)

<GetInventoryCount xmlns:ns1="http://schema.infor.com/InforOAGIS/2/unitcode/66411:2001"
    xmlns<GetInventoryCount xmlns:ns1="http://schema.infor.com/InforOAGIS/2/unitcode/66411:2001"
    xmlns:ns2="http://schema.infor.com/InforOAGIS/2/currencycode/54217:2001"
    xmlns="http://schema.infor.com/InforOAGIS/2"
    xmlns:ns4="http://schema.infor.com/InforOAGIS/2/languagecode/5639:1988"
    xmlns:ns5="http://www.openapplications.org/oagis/9/codelists"
    xmlns:ns6="http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1"
    xmlns:ns7="http://www.openapplications.org/oagis/9/qualifieddatatypes/1.1"
    xmlns:ns8="http://schema.infor.com/InforOAGIS/2/IANAMIMEMediaTypes:2003"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://schema.infor.com/InforOAGIS/2 http://coredev.infor.com/svn/BODs/branches/v2.3.x/InforOAGIS/BODs/Developer/GetInventoryCount.xsd"
    releaseID="releaseID1" versionID="versionID1" systemEnvironmentCode="Production"
    languageCode="en-US">
    <ApplicationArea>
        <Sender>
            <LogicalID>lid://infor.ln.local</LogicalID>
            <ComponentID>ERP LN</ComponentID>
        </Sender>
        <CreationDateTime>2010-06-22T12:36:37Z</CreationDateTime>
        <BODID>infor-nid:INFOR:FP7-642:W_WMS1:SKU2307TNTCP1:1?InventoryCount&amp;verb=Get</BODID>
:ns2="http://schema.infor.com/InforOAGIS/2/currencycode/54217:2001"
    xmlns="http://schema.infor.com/InforOAGIS/2"
    xmlns:ns4="http://schema.infor.com/InforOAGIS/2/languagecode/5639:1988"
    xmlns:ns5="http://www.openapplications.org/oagis/9/codelists"
    xmlns:ns6="http://www.openapplications.org/oagis/9/unqualifieddatatypes/1.1"
    xmlns:ns7="http://www.openapplications.org/oagis/9/qualifieddatatypes/1.1"
    xmlns:ns8="http://schema.infor.com/InforOAGIS/2/IANAMIMEMediaTypes:2003"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://schema.infor.com/InforOAGIS/2 http://coredev.infor.com/svn/BODs/branches/v2.3.x/InforOAGIS/BODs/Developer/GetInventoryCount.xsd"
    releaseID="releaseID1" versionID="versionID1" systemEnvironmentCode="Production"
    languageCode="en-US">
    <ApplicationArea>
        <Sender>
            <LogicalID>lid://infor.ln.local</LogicalID>
            <ComponentID>ERP LN</ComponentID>
        </Sender>
        <CreationDateTime>2010-06-22T12:36:37Z</CreationDateTime>
        <BODID>infor-nid:INFOR:FP7-642:W_WMS1:SKU2307TNTCP1:1?InventoryCount&amp;verb=Get</BODID>    </ApplicationArea>
    <DataArea>
        <Get maxItems="1">
            <TenantID>INFOR</TenantID>
            <AccountingEntityID>FP7-642</AccountingEntityID>
            <LocationID>W_WMS1</LocationID>
            <Expression expressionLanguage="InforItemID">SKU2307TNTCP1</Expression>
        </Get>
        <InventoryCount>
        </InventoryCount>
    </DataArea>
</GetInventoryCount>

Incoming Show BOD

<ShowInventoryCount xmlns="http://schema.infor.com/InforOAGIS/2" releaseID="2.3.2" versionID="2.3.2">
     <ApplicationArea>
          <Sender>
               <LogicalID>lid://infor.ln.local</LogicalID>
               <ComponentID>ERP LN</ComponentID>
          </Sender>
          <CreationDateTime>2010-06-22T21:01:02Z</CreationDateTime>
          <BODID>infor-nid:INFOR:FP7-642:W_WMS1:SKU2307TNTCP1_9:1?InventoryCount&amp;verb=Show</BODID>
     </ApplicationArea>
     <DataArea>
          <Show recordSetCount="1" recordSetTotal="1" recordSetCompleteIndicator="true">
               <TenantID>INFOR</TenantID>
               <AccountingEntityID>FP7-642</AccountingEntityID>
               <LocationID>W_WMS1</LocationID>
          </Show>
          <InventoryCount>
               <InventoryCountHeader>
                    <DocumentID>
                         <ID accountingEntity="FP7-642" location="W_WMS1" variationID="1">SKU2307TNTCP1_9</ID>
                    </DocumentID>
                    <DocumentDateTime>2010-06-07T20:00:39Z</DocumentDateTime>
                    <ItemID>
                         <ID accountingEntity="FP7-642">GLBSKU2307TNTCP1</ID>
                    </ItemID>
                    <WarehouseLocation>
                         <ID accountingEntity="FP7-642">W_WMS1</ID>
                    </WarehouseLocation>
                    <TotalQuantity unitCode="EA">3050</TotalQuantity>
               </InventoryCountHeader>
               <InventoryCountLine>
                    <LineNumber>1</LineNumber>
                    <Item>
                         <ItemID>
                              <ID accountingEntity="FP7-642">GLBSKU2307TNTCP1</ID>
                         </ItemID>
                    </Item>
                    <Quantity unitCode="EA">1000.0</Quantity>
                    <StorageLocation>
                         <IDs>
                              <ID accountingEntity="FP7-642" sequence="1" sequenceName="Warehouse">W_WMS1</ID>
                         </IDs>
                    </StorageLocation>
                    <HoldCodes>
                         <Code listID="HoldCode">PIHOLD</Code>
                    </HoldCodes>
               </InventoryCountLine>
               <InventoryCountLine>
                    <LineNumber>2</LineNumber>
                    <Item>
                         <ItemID>
                              <ID accountingEntity="FP7-642">GLBSKU2307TNTCP1</ID>
                         </ItemID>
                    </Item>
                    <Quantity unitCode="EA">1022.0</Quantity>
                    <HoldCodes>
                         <Code listID="HoldCode">PIHOLD</Code>
                    </HoldCodes>
               </InventoryCountLine>
          </InventoryCount>
     </DataArea>
</ShowInventoryCount>

Note: The following elements can be used and may become available in the control data:

  • · recordSetCount: This is the sequence number of this BOD when a series of BODs is used as a response to a single Get.
  • · recordSetTotal: This optional element contains the anticipated number of BODs that will be sent in this batch of Show messages. It may not be completely accurate, and should be treated as an estimate. This can be used by a progress bar to show percent complete.
  • recordSetCompleteIndicator: This is used to indicate the last BOD in a sequence.

Corresponding Request for the OnShow Method

<OnShowRequest>
    <ControlArea>
        <BODApplicationArea>
            <Sender>
                <LogicalID>lid://infor.ln.local</LogicalID>
                <ComponentID>ERP LN</ComponentID>
            </Sender>
            <CreationDateTime>2010-06-22T21:01:02Z</CreationDateTime>
            <BODID>infor-nid:INFOR:FP7-642:W_WMS1:SKU2307TNTCP1_9:1?InventoryCount&amp;verb=Show</BODID>
        </BODApplicationArea>
        <BODDataArea>
            <Show recordSetCompleteIndicator="true">
                <TenantID>INFOR</TenantID>
                <AccountingEntityID>FP7-642</AccountingEntityID>
                <LocationID>W_WMS1</LocationID>
            </Show>
        </BODDataArea>
        <processingScope>NA</processingScope>
    </ControlArea>
    <DataArea>
        <InventoryCountBOD>
            <InventoryCountHeader>
                <DocumentID>
                    <ID accountingEntity="FP7-642" location="W_WMS1" variationID="1">SKU2307TNTCP1_9</ID>
                </DocumentID>
                <DocumentDateTime>2010-06-07T20:00:39Z</DocumentDateTime>
                <ItemID>
                    <ID accountingEntity="FP7-642">GLBSKU2307TNTCP1</ID>
                </ItemID>
                <WarehouseLocation>
                    <ID accountingEntity="FP7-642">W_WMS1</ID>
                </WarehouseLocation>
                <TotalQuantity
                    unitCode="EA">3050</TotalQuantity>
            </InventoryCountHeader>
            <InventoryCountLine>
                <LineNumber>1</LineNumber>
                <Item>
                    <ItemID>
                        <ID accountingEntity="FP7-642">GLBSKU2307TNTCP1</ID>
                    </ItemID>
                </Item>
                <Quantity unitCode="EA">1000.0</Quantity>
                <StorageLocation>
                    <IDs>
                        <ID accountingEntity="FP7-642" sequence="1" sequenceName="Warehouse">W_WMS1</ID>
                    </IDs>
                </StorageLocation>
                <HoldCodes>
                    <Code listID="HoldCode">PIHOLD</Code>
                </HoldCodes>
            </InventoryCountLine>
            <InventoryCountLine>
                <LineNumber>2</LineNumber>
                <Item>
                    <ItemID>
                        <ID accountingEntity="FP7-642">GLBSKU2307TNTCP1</ID>
                    </ItemID>
                </Item>
                <Quantity
                    unitCode="EA">1022.0</Quantity>
                <HoldCodes>
                    <Code listID="HoldCode">PIHOLD</Code>
                </HoldCodes>
            </InventoryCountLine>
        </InventoryCountBOD>
    </DataArea>
</OnShowRequest>