D XML Format Examples (Events)

This appendix contains the following topics:

D.1 Example: Z Events XML Format

This section illustrates a Z file event XML document.

<?xml version='1.0' encoding='utf-8'>
<jdeResponse type='trans' user='JDE' role='*ALL' environment='XDEVNIS2'>
 <transaction type='JDESC' action='transactionInfo'>
  <returnCode code='0'>XML Request OK</returnCode>
  <key>
    <EdiUserId>KW6803955</EdiUserId>
    <EdiBatchNumber>16319</EdiBatchNumber>
    <EdiTransactNumber>106053</EdiTransactNumber>
  </key>
  <F4201Z1 type='header'>
    <EdiUserId>KW6803955</EdiUserId>
    <EdiBatchNumber>16319</EdiBatchNumber>
    <EdiTransactNumber>106053</EdiTransactNumber>
    <EdiLineNumber>1.000</EdiLineNumber>
    <EdiDocumentType>SO</EdiDocumentType>
    <TypeTransaction>JDESC</TypeTransaction>
    <EdiTranslationFormat> </EdiTranslationFormat>
    <EdiTransmissionDate> </EdiTransmissionDate>
    <DirectionIndicator>2</DirectionIndicator>
    <EdiDetailLinesProcess>0</EdiDetailLinesProcess>
    <EdiSuccessfullyProcess>Y</EdiSuccessfullyProcess>
    <TradingPartnerId> </TradingPartnerId>
    <TransactionAction>UA</TransctionAction>
    <CompanyKeyOrderNo>00200</CompanyKeyOrderNo>
    <DocumentOrderInvoiceF>6559</DocumentOrderInvoiceF>
    <OrderType>SO</OrderType>
    <OrderSuffix>000</OrderSuffix>
    <CostCenter>  M30</CostCenter>
    <Company>00200</Company>
    <CompanyKeyOriginal> </CompanyKeyOriginal>
    <OriginalPoSoNumber> </OriginalPoSoNumber>
    <OriginalOrderType> </OriginalOrderType>
    <CompanyKeyRelated> </CompanyKeyRelated>
    <RelatedPoSoNumber> </RelatedPoSoNumber>
    <RelatedOrderType> </RelatedOrderType>
    <AddressNumber>4242</AddressNumber>
    <AddressNumberShipTo>4242</AddressNumberShipTo>
    <AddressNumberParent>4242</AddressNumberParent>
    <DateRequestedJulian>2005/05/05</DateRequestedJulian>
    <DateTransactionJulian>2005/05/05</DateTransactionJulian>
    <PromisedDeliveryDate>2005/05/05</PromisedDeliveryDate>
    <DateOriginalPromise>2005/05/05</DateOriginalPromise>
    <ActualDeliveryDate></ActualDeliveryDate>
    <CancelDate></CancelDate>
    <DatePriceEffectiveDate>2005/05/05</DatePriceEffectiveDate>
    <DatePromisedPickJu>2005/05/05</DatePromisedPickJu>
    <DatePromisedShipJu></DatePromisedShipJu>
    <Reference1> </Reference1>
    <Reference2Vendor> </Reference2Vendor>
    <DeliveryInstructLine1> </DeliveryInstructLine1>
    <DeliveryInstructLine2> </DeliveryInstructLine2>
    <PrintMessage1> </PrintMessage1>
    <PaymentTermsCode01> </PaymentTermsCode01>
    <PaymentInstrumentA> </PaymentInstrumentA>
    <PriceAdjustmentScheduleN>
    </PriceAdjustmentScheduleN>
    <PricingGroup>PREFER</PricingGroup>
    <DiscountTrade>.000</DiscountTrade>
    <PercentRetainage1>.000</PercentRetainage1>
    <TaxArea1>DEN</TaxArea1>
    <TaxExplanationCode1>S</TaxExplanationCode1>
    <CertificateTaxExempt> </CertificateTaxExempt>
    <AssociatedText> </AssociatedText>
    <PriorityProcessing>0</PriorityProcessing>
    <BackordersAllowedYN>Y</BackordersAllowedYN>
    <SubstitutesAllowedYN>Y</SubstitutesAllowedYN>
    <HoldOrdersCode> </HoldOrdersCode>
    <PricePickListYN>Y</PricePickListYN>
    <InvoiceCopies>0</InvoiceCopies>
    <NatureOfTransaction> </NatureOfTransction>
    <BuyerNumber>0</BuyerNumber>
    <Carrier>0</Carrier>
    <ModeOfTransport> </ModeOfTransport>
    <ConditionsOfTransport> </ConditionsOfTransport>
    <RouteCode> </RouteCode>
    <StopCode> </StopCode>
    <ZoneNumber> </ZoneNumber>
    <ContainerID> </ContainerID>
    <FreightHandlingCode> </FreightHandlingcode>
    <ApplyFreightYN>Y</ApplyFreightYN>
    <ApplyFreight> </ApplyFreight>
    <FreightCalculatedYN> </FreightCalculatedYN>
    <MergeOrdersYN> </MergeOrdersYN>
    <CommissionCode1>6001</CommissionCode1>
    <RateCommission1>5.000</RateCommission1>
    <CommissionCode2>0</CommissionCode2>
    <RateCommission2>.000</RateCommission2>
    <ReasonCode> </ReasonCode>
    <PostQuantities> </PostQuantities>
    <AmountOrderGross>134.97</AmountOrderGross>
    <AmountTotalCost>.00</AmountTotalCost>
    <UnitOfMeasureWhtDisp> </UnitOfMeasureWhtDisp>
    <UnitOfMeasureVolDisp> </UnitOfMeasureVolDisp>
    <AuthorizationNoCredit> </AuthorizationNoCredit>
    <AcctNoCrBank> </AcctNoCrBank>
    <DateExpired></DateExpired>
    <SubledgerInactiveCode> </SubledgerInactiveCode>
    <CorrespondenceMethod> </CorrespondenceMethod>
    <CurrencyMode>F</CurrencyMode>
    <CurrencyCodeFrom>BEF</CurrencyCodeFrom>
    <CurrencyConverRateOv>33.8180588</CurrencyConverRateOv>
    <LanguagePreference>E</LanguagePreference>
    <AmountForeignOpen>4564.42</AmountForeignOpen
    <AmountForeignTotalC>.00</AmountForeignTotalC>
    <OrderedBy> </OrderedBy>
    <OrderTakenBy> </OrderTakenBy>
    <UserReservedCode> </UserReservedCode>
    <UserReservedDate> </UserReservedDate>
    <UserReservedAmount>.00</UserReservedAmount>
    <UserReservedNumber>0</UserReservedNumber>
    <UserReservedReference> </UserReservedReference>
    <UserId>KW6803955</UserId>
    <ProgramId> </ProgramId>
    <WorkStationId>ST15</WorkStationId>
    <DateUpdated>2000/08/22</DatedUpdated>
    <TimeOfDay>134435</TimeOfDay>
  </F4201Z1>
  <F4211Z1 type='detail'>
    <EdiUserId>KW6803955</EdiUserId>
    <EdiBatchNumber>16319</EdiBatchNumber>
    <EdiTransactNumber>106053</EdiTransactNumber>
    <EdiLineNumber>1.000</EdiLineNumber>
    <EdiDocumentType>SO</EdiDocumentType>
    <TypeTransaction>JDESC</TypeTransaction>
    <EdiTranslationFormat> </EdiTranslationFormat>
    <EdiTransmissionDate></EdiTransmissionDate>
    <DirectionIndicator>2</DirectionIndicator>
    <EdiDetailLinesProcess>0</EdiDetailLinesProcess>
    <EdiSuccessfullyProcess>N</EdiSuccessfullyProcess>
    <TradingPartnerId> </TradingPartnerId>
    <TransactionAction>UA</TransactionAction>
    <CompanyKeyOrderNo>00200</CompanyKeyOrderNo>
    <DocumentOrderInvoiceE>6559</DocumentOrderInvoiceE>
    <OrderType>SO</OrderType>
    <LineNumber>1.000</LineNumber>
    <OrderSuffix>000</OrderSuffix>
    <CostCenter>  M30</CostCenter>
    <Company>00200</Company>
    <CompanyKeyOriginal> </CompanyKeyOriginal>
    <OriginalPoSoNumber> </OriginalPoSoNumber>
    <OriginalOrderType> </OriginalOrderType>
    <OriginalLineNumber>.000</OriginalLineNumber>
    <CompanyKeyRelated> </CompanyKeyRelated>
    <RelatedPoSoNumber> </RelatedPoSoNumber>
    <RelatedOrderType> </RelatedOrderType>
    <RelatedPoSoLineNo>.000</RelatedPoSoLineNo>
    <ContractNumberDistributi> </ContractNumberDistributi>
    <ContractSupplementDistri>0</ContractSupplementDistri>
    <ContractBalancesUpdatedY> </ContractBalancesUpdatedY>
    <AddressNumber>4242</AddressNumber>
    <AddressNumberShipTo>4242</AddressNumberShipTo>
    <AddressNumberParent>4242</AddressNumberParent>
    <DateRequestedJulian>2005/05/05</DateRequestedJulian>
    <DateTransactionJulian>2005/05/05</DateTransactionJulian>
    <PromisedDeliveryDate>2005/05/05</PromisedDeliveryDate>
    <DateOriginalPromised>2005/05/05</DateOriginalPromised>
    <ActualDeliveryDate></ActualDeliveryDate>
    <DateInvoiceJulian></DateInvoiceJulian>
    <CancelDate></CancelDate>
    <DtForGLAndVouch1></DtForGLAndVouch1>
    <DateReleaseJulian>2005/05/05</DateReleaseJulian>
    <DatePriceEffectiveDate>2005/05/05</DatePriceEffectiveDate>
    <DatePromisedPickJu>2005/05/05</DatePromisedPickJu>
    <DatePromisedShipJu></DatePromisedShipJu>
    <Reference1> </Reference1>
    <Reference2Vendor> </Reference2Vendor>
    <IdentifierShortItem>60003</IdentifierShortItem>
    <Identifier2ndItem>1001</Identifier2ndItem>
    <Identifier3rdItem>1001</Identifier3rdItem>
    <Location> </Location>
    <Lot> </Lot>
    <FromGrade> </FromGrade>
    <ThruGrade> </ThruGrade>
    <FromPotency>.000</FromPotency>
    <ThruPotency>.000</ThruPotency>
    <DaysPastExpiration>0</DaysPastExpiration>
    <DescriptionLine1>Bike Rack - Trunk Mount</DescriptionLine1>
    <DescriptionLine2> </DescriptionLine2>
    <LineType>S</LineType>
    <StatusCodeNext>540</StatusCodeNext>
    <StatusCodeLast>520</StatusCodeLast>
    <CostCenterHeader>  M30</CostCenterHeader>
    <ItemNumberRelatedKit> </ItemNumberRelatedKit>
    <LineNumberKitMaster>.000</LineNumberKitMaster>
    <ComponentNumber>.0</ComponentNumber>
    <RelatedKitComponent>0</RelatedKitComponent>
    <NumbOfCpntPerParent>0</NumbOfCpntPerParent>
    <SalesReportingCode1> </SalesReportingCode1>
    <SalesReportingCode2> </SalesReportingCode2>
    <SalesReportingCode3> </SalesReportingCode3>
    <SalesReportingCode4> </SalesReportingCode4>
    <SalesReportingCode5> </SalesReportingCode5>
    <PurchasingReportCode1> </PurchasingReportCode1>
    <PurchasingReportCode2> </PurchasingReportCode2>
    <PurchasingReportCode3> </PurchasingReportCode3>
    <PurchasingReportCode4> </PurchasingReportCode4>
    <PurchasingReportCode5> </PurchasingReportCode5>
    <UnitOfMeasureAsInput>EA</UnitOfMeasureAsInput>
    <UnitsTransactionQty>3</UnitsTransactionQty>
    <UnitsQuantityShipped>3</UnitsQuantityShipped>
    <UnitsQuanBackorHeld>0</UnitsQuanBackorHeld>
    <UnitsQuantityCanceled>0</UnitsQuantityCanceled>
    <UnitsQuantityFuture>0</UnitsQuantityFuture>
    <UnitsOpenQuantity>0</UnitsOpenQuantity>
    <QuantityShippedToDate>0</QuantityShippedToDate>
    <QuantityRelieved>0</QuantityRelieved>
    <CommittedHS>S</CommittedHS>
    <OtherQuantity12> </OtherQuantity12>
    <AmtPricePerUnit2>44.9900</AmtPricePerUnit2>
    <AmountExtendedPrice>134.97</AmountExtendedPrice>
    <AmountOpen1>.00</AmountOpen1>
    <PriceOverrideCode> </PriceOverrideCode>
    <TemporaryPriceYN> </TemporaryPriceYN>
    <UnitOfMeasureEntUP>EA</UnitOfMeasureEntUP>
    <AmtListPricePerUnit>44.9900</AmtListPricePerUnit>
    <AmountUnitCost>32.1000</AmountUnitCost>
    <AmountExtendedCost>96.30</AmountExtendedCost>
    <CostOverrideCode> </CostOverrideCode>
    <ExtendedCostTransfer>.0000</ExtendedCostTransfer>
    <PrintMessage1> </PrintMessage1>
    <PaymentTermsCode01> </PaymentTermsCode01>
    <PaymentInstrumentA> </PaymentInstrumentA>
    <BasedonDate> </BasedonDate>
    <DiscountTrade>.000</DiscountTrade>
    <TradeDiscountOld>.0000</TradeDiscountOld>
    <PriceAdjustmentScheduleN> </PriceAdjustmentScheduleN>
    <PricingCategory> </PricingCategory>
    <PricingCategoryLevel1> </PricingCategoryLevel1>
    <DiscountFactor>1.0000</DiscountFactor>
    <DiscountFactorTypeOr> </DiscountFactorTypeOr>
    <DiscntApplicationType> </DiscntApplicationType>
    <DiscountCash>.000</DiscountCash>
    <CompanyKey> </CompanyKey>
    <DocVoucherInvoiceE>0</DocVoucherInvoiceE>
    <DocumentType> </DocumentType>
    <OriginalDocumentNo>0</OriginalDocumentNo>
    <OriginalDocumentType> </OriginalDocumentType>
    <DocumentCompanyOriginal> </DocumentCompanyOriginal>
    <PickSlipNumber>0</PickSlipNumber>
    <DeliveryNumber>0</DeliveryNumber>
    <PromotionNumber> </PromotionNumber>
    <DraftNumber>0</DraftNumber>
    <TaxableYN>N</TaxableYN>
    <TaxArea1>DEN</TaxArea1>
    <TaxExplanationCode1>S</TaxExplanationCode1>
    <AssociatedText> </AssociatedText>
    <PriorityProcessing>0</PriroityProcessing>
    <ResolutionCodeBC> </ResolutionCodeBC>
    <BackordersAllowedYN>Y</BackordersAllowedYN>
    <SubstitutesAllowedYN>Y</SubstitutesAllowedYN>
    <PartialShipmentsAllowY>Y</PartialShipmentsAllowY>
    <LineofBusiness> </LineofBusiness>
    <EndUse> </EndUse>
    <DutyStatus> </DutyStatus>
    <CommodityCode> </CommodityCode>
    <NatureOfTransction> </NatureOfTransaction>
    <PrimaryLastVendorNo>4343</PrimaryLastVendorNo>
    <BuyerNumber>8444</BuyerNumber>
    <Carrier>0</Carrier>
    <ModeOfTransport> </ModeOfTransport>
    <ConditionsOfTransport> </ConditionsOfTransport>
    <RouteCode> </RouteCode>
    <StopCode> </StopCode>
    <ZoneNumber> </ZoneNumber>
    <ContainerID> </ContainerID>
    <FreightHandlingCode> </FreightHandlingCode>
    <ApplyFreightYN>Y</ApplyFreightYN>
    <ApplyFreight> </ApplyFreight>
    <FreightCalculatedYN> </FreightCalculatedYN>
    <RateCodeFreightMisc> </RateCodeFreightMisc>
    <RateTypeFreightMisc> </RateTypeFreightMisc>
    <ShippingCommodityClass> </ShippingCommodityClass>
    <ShippingConditionsCode> </ShippingConditionsCode>
    <SerialNumberLot> </SerialNumberLot>
    <UnitOfMeasurePrimary>EA</UnitOfMeasurePrimary>
    <UnitsPrimaryQtyOrder>3</UnitsPrimaryQtyOrder>
    <UnitOfMeasureSecondary>EA</UnitOfMeasureSecondary>
    <UnitsSecondaryQtyOr>3</UnitsSecondaryQtyOr>
    <UnitOfMeasurePricing>EA</UnitOfMeasurePricing>
    <AmountUnitWeight>240.0000</AmountUnitWeight>
    <WeightUnitOfMeasure>OZ</WeightUnitOfMeasure>
    <AmountUnitVolume>6.7500</AmountUnitVolume>
    <VolumeUnitOfMeasure>FC</VolumeUnitOfMeasure>
    <RepriceBasketPriceCat> </RepriceBasketPriceCat>
    <OrderRepriceCategory> </OrderRepriceCategory>
    <OrderRepricedIndicator> </OrderRepricedIndicator>
    <InventoryCostingMeth>07</InventoryCostingMeth>
    <AllocatedByLot> </AllocatedByLot>
    <GlClass>IN30</GlClass>
    <Century>20</Century>
    <FiscalYear1>5</FiscalYear1>
    <LineStatus> </LineStatus>
    <SalesOrderStatus01> </SalesOrderStatus01>
    <SalesOrderStatus02> </SalesOrderStatus02>
    <SalesOrderStatus03> </SalesOrderStatus03>
    <SalesOrderStatus04> </SalesOrderStatus04>
    <SalesOrderStatus05> </SalesOrderStatus05>
    <SalesOrderStatus06> </SalesOrderStatus06>
    <SalesOrderStatus07> </SalesOrderStatus07>
    <SalesOrderStatus08> </SalesOrderStatus08>
    <SalesOrderStatus09> </SalesOrderStatus09>
    <SalesOrderStatus10> </SalesOrderStatus10>
    <SalesOrderStatus11> </SalesOrderStatus11>
    <SalesOrderStatus12> </SalesOrderStatus12>
    <SalesOrderStatus13> </SalesOrderStatus13>
    <SalesOrderStatus14> </SalesOrderStatus14>
    <SalesOrderStatus15> </SalesOrderStatus15>
    <Salesperson1>6001</Salesperson1>
    <SalespersonCommission1>5.000</SalespersonCommission1>
    <Salesperson2>0</Salesperson2>
    <SalespersonCommission2>.000</SalespersonCommission2>
    <ApplyCommissionYN>Y</ApplyCommissionYN>
    <CommissionCategory> </CommissionCategory>
    <ReasonCode> </ReasonCode>
    <GrossWeight>.0000</GrossWeight>
    <UnitOfMeasureGrossWt> </UnitOfMeasureGrossWt>
    <AcctNoInputMode> </AcctNoInputMode>
    <AccountId> </AccountId>
    <PurchasingCostCenter> </PurchasingCostCenter>
    <ObjectAccount> </ObjectAccount>
    <Subsidiary> </Subsidiary>
    <LedgerType> </LedgerType>
    <Subledger> </Subledger>
    <SubledgerType> </SubledgerType>
    <CodeLocationTaxStat> </CodeLocationTaxStat>
    <PriceCode1> </PriceCode1>
    <PriceCode2> </PriceCode2>
    <PriceCode3> </PriceCode3>
    <StatusInWarehouse> </StatusInWarehouse>
    <WoOrderFreezeCode> </WoOrderFreezeCode>
    <CorrespondenceMethod> </CorrespondenceMethod>
    <CurrencyCodeFrom>BEF</CurrencyCodeFrom>
    <CurrencyConverRateOv>33.8180588</CurrencyConverRateOV>
    <AmountListPriceForeign>1521.4745</AmountListPriceForeign>
    <AmtForPricePerUnit>1521.4745</AmtForPricePerUnit>
    <AmountForeignExtPrice>4564.42</AmountForeignExtPrice>
    <AmountForeignUnitCost>1085.5597</AmountForeignUnitCost>
    <AmountForeignExtCost>3256.68</AmountForeignExtCost>
    <UserReservedCode> </UserReservedCode>
    <UserReservedDate></UserReservedDate>
    <UserReservedAmount>.00</UserReservedAmount>
    <UserReservedNumber>0</UserReservedNumber>
    <UserReservedReference> </UserReservedReference>
    <TransactionOriginator>KW6803955</TransactionOriginator>
    <UserId>KW6803955</UserId>
    <ProgramId>XMLtest</ProgramId>
    <WorkStationId>STI5</WorkStationId>
    <DateUpdated>2000/08/22</DateUpdated>
    <TimeOfDay>134435</TimeOfDay>
  </F4211Z1>
  <F49211Z1 type='additionalHeader'>
    <EdiUserId>KW6803955</EdiUserId>
    <EdiBatchNumber>16319</EdiBatchNumber>
    <EdiTransactNumber>106053<EdiTransactNumber>
    <EdiLineNumber>1.000</EdiLineNumber>
    <EdiDocumentType>SO</EdiDocumentType>
    <TypeTransaction>JDESC</TypeTransaction>
    <EdiTranslationFormat> </EdiTranslationFormat>
    <EdiTransmissionDate></EdiTransmissionDate>
    <DirectionIndicator>2</DirectionIndicator>
    <EdiDetailLinesProcess>0</EditDetailLinesProcess>
    <EdiSuccessfullyProcess>N</EdiSuccessfullyProcess>
    <TradingPartnerId> </TradingPartnerId>
    <TransactionAction>UA</TransactionAction>
    <DocumentOrderInvoiceE>6559</DocumentOrderInvoiceE>
    <OrderType>SO</OrderType>
    <CompanyKeyOrderNo>00200</CompanyKeyOrderNo>
    <LineNumber>1.000</LineNumber>
    <CostCenterTrip> </CostCenterTrip>
    <TripNumber>0</TripNumber>
    <DateLoaded> </DateLoaded>
    <DispatchGrp> </DispatchGrp>
    <BulkPackedFlag>P</BulkPackedFlag>
    <Distance>0</Distance>
    <UnitOfMeasure> </UnitOfMeasure>
    <DeferredEntriesFlag> </DeferredEntriesFlag>
    <AmountDeferredCost>.0000</AmountDeferredCost>
    <AmountForeignDeferredCos>.0000</AmountForeignDeferredCos>
    <AmountDeferredRevenue>.0000</AmountDeferredRevenue>
    <AmountForeignDeferredRe>.0000</AmountForeignDeferredRe>
    <AaiTableNumber>0</AaiTableNumber>
    <ScheduledInvoiceDate></ScheduledInvoiceDate>
    <InvoiceCycleCode> </InvoiceCycleCode>
    <LoadConfirmDate></LoadConfirmDate>
    <TimeLoad>0</TimeLoad>
    <DeliveryConfirmDate></DelieveryConfirmDate>
    <UnitsPrimaryCommittedQua>0</UnitsPrimaryCommittedQua>
    <UnitofMeasureCommittedQu> <UnitofMeasureCommittedQu>
    <Temperature>.00</Temperature>
    <StrappingTemperatureUnit> </StrappingTemperatureUnit>
    <Density>.00</Density>
    <DensityTypeAtStandardTem> </DensityTypeAtStandardTem>
    <DensityTemperature>.00</DensityTemperature>
    <DensityTemperatureUnit> </DensityTemperatureUnit>
    <VolumeCorrectionFactors>.0000</VolumeCorrectionFactors>
    <PriceatAmbiantorStandard>A</PriceatAmbiantorStandard>
    <PricingBasedOnDate> </PricingBasedOnDate>
    <UnitsInvoiceQuantity>0</UnitsInvoiceQuantity>
    <StockTotalinPrimaryUOM>0</StockTotalinPrimaryUOM>
    <UnitofMeasure6> </UnitofMeasure6>
    <AmbientResult>0</AmbientResult>
    <UnitofMeasure3> </UnitofMeasure3>
    <WeightResult>0</WeightResult>
    <UnitofMeasure5> </UnitofMeasure5>
    <VendorFreightCalculatedY> </VendorFreightCalculatedY>
    <CustomerFreightCalculate> </CustomerFreightCalculate>
    <AmountCustomerFreightCha>.0000</AmountCustomerFreightCha>
    <AmountVendorFreightCharg>.0000</AmountVendorFreightCharg>
    <PrimaryVehicleId> </PrimaryVehicleId>
    <RegistrationLicenseNumber> </RegistrationLicenseNumber>
    <CostCenterArDefault> </CostCenterArDefault>
    <FlightNumber> </FlightNumber>
    <Destination> </Destination>
    <AircraftType> </AircraftType>
    <Origin> /Orign>
    <TimeElapsed>0</TimeElapsed>
    <ShipmentNumberB73>0</ShipmentNumberB73>
    <AddressNumberIssued>6074</AddressNumberIssued>
    <PaymentTermsCode01> </PaymentTermsCode01>
    <DocVoucherInvoiceF>0</DocVoucherInvoiceF>
    <DocumentType> </DocumentType>
    <CompanyKey> </CompanyKey>
    <CurrencyConverRateOv>-1.0000000</CurrencyConverRateOv>
    <CurrencyCodeFrom> </CurrencyCodeFrom>
    <TaxArea1>DEN</TaxArea1>
    <TaxExplanationCode1> </TaxExplanationCode1>
    <ForeignDomesticFlag> </ForeignDomesticFlag>
    <FuelingPort> </FuelingPort>
    <RegistrationIdentificati> </RegistrationIdentificati>
    <DeliveryLocationN> </DeliveryLocationN>
    <AuthorizationName> </AuthorizationName>
    <NameAlpha> </NameAlpha>
    <MeterTicket1> <MeterTicket1>
    <UnitsBeginningThroughput>0</UnitsBeginningThroughput>
    <ClosingReading1>0</ClosingReading1>
    <MeterTicket2> </MeterTicket2>
    <UnitsBeginningThroughpu2>0</UnitsBeginningThroughpu2>
    <ClosingReading2>0</ClosingReading2>
    <MeterTicket3> </MeterTicket3>
    <UnitsBeginningThroughpu3>0</UnitsBeginningThroughpu3>
    <ClosingReading3>0</ClosingReading3>
    <DataArrival></DateArrival>
    <TimeArrival>0</TimeArrival>
    <DateDeparture></DateDeparture>
    <TimeDeparture>0</TimeDeparture>
    <DateStartJobJulian></DateStartJobJulian>
    <TimeBeginningHHMM>0</TimeBeginningHHMM>
    <DateEnding></DateEnding>
    <TimeStopHHMM>0</TimeStopHHMM>
    <FutureUse01> </FutureUse01>
    <FutureUse02> </FutureUse02>
    <FutureUse03> </FutureUse03>
    <FutureUse04> </FutureUse04>
    <FutureUse05> </FutureUse05>
    <FutureUseCode> </FutureUseCode>
    <FutureUseQuantity>0</FutureUseQuantity>
    <FutureUseDate></FutureUseDate>
    <FutureUseUnitofMeasure> </FutureUseUnitofMeasure>
    <UserReservedCode> </UserReservedCode>
    <UserReservedDate> </UserReservedDate>
    <UserReservedAmount>00</UserReservedAmount>
    <UserReservedNumber>0<UserReservedNumber>
    <UserReservedReference> </UserReservedReference>
    <TransactionOriginator> </TransactionOriginator>
    <UserId>KW6803955</UserId>
    <ProgramId>XMLtest</ProgramId>
    <WorkStationId>ST15</WorkStationId>
    <DateUpdated>2000/08/22</DateUpdated.
    <TimeOfDay>134435</TimeOfDay>
  </F49211Z1>
 </transaction>
</jdeResponse>

D.2 Real-Time Events Template

This section provides an example of the real-time events template. The example template might not correspond to the exact event that your application uses. Your event might include values that are not in the example template.

The event must be described in the jdeResponse type element. The attribute type is always realTimeEvent. The attributes for user and environment always correspond to the user name and environment that generated the event.

<?xml version="1.0" encoding="utf-8" ?>
<jdeResponse type="realTimeEvent" user="" role="*ALL" 
session="28980548.1019684006" environment="">
<event>
<header>

Code for the header information follows. <eventVersion> is always 1.0, <type> corresponds to the event type, <application> corresponds to the application that created the event, and <version> to the version of the application. The <session ID> is unique for every event. The <scope> is the value of the argument scope that was sent to the real-time event API during creation of the event. The <codepage>element is for encoding of the elements. In the sample, utf-8 is used. The remaining header elements are self-explanatory.

<eventVersion>1.0</eventVersion>
<type>RTSOOUT</type>
<user />
<application />
<version />
<sessionID />
<environment />
<host />
<sequenceID />
<date />
<time />
<scope />
<codepage>utf-8</codepage>
</header>

The body contains details that describe one data structure for each element. The body contains the date of creation, the name of the file that is creating the data structure, time of creation, and the DSTMPL name of the JD Edwards EnterpriseOne data structure. Type is type of partial event (added as an argument to jdeIEO-EventAdd), executionOrder increases in the real generated event from 1 to elementCount, and parameterCount is the number of fields in the data structure. In this example code, there are three data structures: D34A1050C, D4202150C, and D4202150B. Each data structure is followed by detail elements. When you create an event, the element value is the value of the field, for example: <szNameAlpha type=String>ABC</szNameAlpha >

<body elementCount="3">
<detail date="" name="" time="" type="" DSTMPL="D34A1050C"
  executionOrder="" parameterCount="25">
<szNameAlpha type="String"/>
<mnParentAddressNumber type="Double"/>
<szSecondItemNumber type="String"/>
<szThirdItemNumber type="String"/>
<cPriorityProcessing type="Character"/>
<cBackOrdersAllowed type="Character"/>
<cOrderShippedFlag type="Character"/>
<cTransferDirectShipFlag type="Character"/>
<cCommitted type="Character"/>
<mnDaysBeforeExpiration type="Double"/>
<szPurchaseCategoryCode1 type="String"/>
<szPurchaseCategoryCode2 type="String"/>
<szPurchaseCategoryCode3 type="String"/>
<szPurchaseCategoryCode4 type="String"/>
<szRelatedOrderNumber type="String"/>
<szRelatedOrderType type="String"/>
<szRelatedOrderKeyCompany type="String"/>
<szPlanningUnitOfMeasure type="String"/>
<mnPlanningQuantity type="Double"/>
<cAPSFlag type="Character"/>
<cAPSSupplyDemandFlag type="Character"/>
<jdDateUpdated type="Date"/>
<mnTimeUpdated type="Double"/>
<szShipComplete type="String"/>
<mnRelatedOrderLineNumber type="Double"/>
</detail>
<detail date="" name="" time="" type="" DSTMPL="D4202150C"
  executionOrder="" parameterCount="94">
<cOrderAction type="Character"/>
<szOrderType type="String"/>
<szOrderCompany type="String"/>
<mnLineNumber type="Double"/>
<szDetailBranchPlant type="String"/>
<mnShipToAddressNumber type="Double"/>
<jdTransactionDate type="Date"/>
<jdRequestedDate type="Date"/>
<jdScheduledPickDate type="Date"/>
<jdPromisedShipDate type="Date"/>
<jdPromisedDeliveryDate type="Date"/>
<jdCancelDate type="Date"/>
<jdPriceEffectiveDate type="Date"/>
<mnQuantityOrdered type="Double"/>
<mnQuantityShipped type="Double"/>
<mnQuantityBackOrdered type="Double"/>
<mnQuantityCanceled type="Double"/>
<szTransactionUnitOfMeasure type="String"/>
<mnUnitPrice type="Double"/>
<mnExtendedPrice type="Double"/>
<mnForeignUnitPrice type="Double"/>
<mnForeignExtPrice type="Double"/>
<cPriceOverrideCode type="Character"/>
<cTaxableYN type="Character"/>
<szPriceAdjustmentSchedule type="String"/>
<mnDiscountPercentage type="Double"/>
<szPaymentTerms type="String"/>
<cPaymentInstrument type="Character"/>
<szCurrencyCode type="String"/>
<szItemNumber type="String"/>
<mnShortItemNumber type="Double"/>
<szDescriptionLine1 type="String"/>
<szDescriptionLine2 type="String"/>
<szLineType type="String"/>
<szLastStatus type="String"/>
<szNextStatus type="String"/>
<szLocation type="String"/>
<szLot type="String"/>
<szLineofBusiness type="String"/>
<szEndUse type="String"/>
<szDutyStatus type="String"/>
<szPrintMessage1 type="String"/>
<szFreightHandlingCode type="String"/>
<mnItemWeight type="Double"/>
<szWeightUnitOfMeasure type="String"/>
<szModeOfTransport type="String"/>
<mnCarrier type="Double"/>
<szSubledger type="String"/>
<cSubledgerType type="Character"/>
<szPriceCode1 type="String"/>
<szPriceCode2 type="String"/>
<szPriceCode3 type="String"/>
<szSalesReportingCode1 type="String"/>
<szSalesReportingCode2 type="String"/>
<szSalesReportingCode3 type="String"/>
<szSalesReportingCode4 type="String"/>
<szSalesReportingCode5 type="String"/>
<szOriginalPoSoNumber type="String"/>
<szOriginalOrderType type="String"/>
<szOriginalOrderCompany type="String"/>
<mnOriginalOrderLineNumber type="Double"/>
<jdDateUpdated type="Date"/>
<mnTimeOfDay type="Double"/>
<mnPickSlipNumber type="Double"/>
<mnInvoiceDocNumber type="Double"/>
<szInvoiceDocType type="String"/>
<szInvoceDocCompany type="String"/>
<szUserReservedCode type="String"/>
<jdUserReservedDate type="Date"/>
<mnUserReservedNumber type="Double"/>
<mnUserReservedAmount type="Double"/>
<szUserReservedReference type="String"/>
<mnUnitCost type="Double"/>
<mnExtendedCost type="Double"/>
<mnForeignUnitCost type="Double"/>
<mnForeignExtCost type="Double"/>
<mnOrderNumber type="Double"/>
<szSupplierReference type="String"/>
<jdOriginalPromisdDate type="Date"/>
<mnAdjustmentRevisionLevel type="Double"/>
<mnLastIndex type="Double"/>
<szRelatedPoSoNumber type="String"/>
<szRelatedOrderType type="String"/>
<szRelatedOrderCompany type="String"/>
<mnRelatedPoSoLineNo type="Double"/>
<szPricingUnitOfMeasure type="String"/>
<szTaxArea type="String"/>
<szTaxExplanationCode type="String"/>
<szPartnerItemNo type="String"/>
<szCatalogItem type="String"/>
<szUPCNumber type="String"/>
<szShipToDescriptive type="String"/>
<szSoldToDescriptive type="String"/>
<szProductItem type="String"/>
</detail>
<detail date="" name="" time="" type="" DSTMPL="D4202150B"
  executionOrder="" parameterCount="66">
<cOrderAction type="Character"/>
<mnOrderNumber type="Double"/>
<szOrderType type="String"/>
<szOrderCompany type="String"/>
<szHeaderBranchPlant type="String"/>
<szCompany type="String"/>
<szOriginalPoSoNumber type="String"/>
<szOrderedBy type="String"/>
<szOrderTakenBy type="String"/>
<mnSoldToAddressNumber type="Double"/>
<szSoldToNameMailing type="String"/>
<szSoldToAddressLine1 type="String"/>
<szSoldToAddressLine2 type="String"/>
<szSoldToAddressLine3 type="String"/>
<szSoldToAddressLine4 type="String"/>
<szSoldToZipCode type="String"/>
<szSoldToCity type="String"/>
<szSoldToCounty type="String"/>
<szSoldToState type="String"/>
<szSoldToCountry type="String"/>
<mnShipToAddressNumber type="Double"/>
<szShipToNameMailing type="String"/>
<szShipToAddressLine1 type="String"/>
<szShipToAddressLine2 type="String"/>
<szShipToAddressLine3 type="String"/>
<szShipToAddressLine4 type="String"/>
<szShipToZipCode type="String"/>
<szShipToCity type="String"/>
<szShipToCounty type="String"/>
<szShipToState type="String"/>
<szShipToCountry type="String"/>
<jdTransactionDate type="Date"/>
<jdRequestedDate type="Date"/>
<jdCancelDate type="Date"/>
<szReference type="String"/>
<szDeliveryInstructLine1 type="String"/>
<szDeliveryInstructLine2 type="String"/>
<szPrintMessage type="String"/>
<szFreightHandlingCode type="String"/>
<mnCommissionCode1 type="Double"/>
<mnCommissionCode2 type="Double"/>
<mnRateCommission1 type="Double"/>
<mnRateCommission2 type="Double"/>
<mnDiscountTrade type="Double"/>
<szPaymentTerms type="String"/>
<cPaymentInstrument type="Character"/>
<szCurrencyCode type="String"/>
<mnCurrencyConverRate type="Double"/>
<szTaxArea type="String"/>
<szTaxExplanationCode type="String"/>
<mnOrderTotal type="Double"/>
<mnForeignOrderTotal type="Double"/>
<szUserReservedCode type="String"/>
<jdUserReservedDate type="Date"/>
<mnUserReservedAmount type="Double"/>
<mnUserReservedNumber type="Double"/>
<szUserReservedReference type="String"/>
<szHoldCode type="String"/>
<cQuoteFlag type="Character"/>
<jdScheduledPickDate type="Date"/>
<jdPromisedShipDate type="Date"/>
<jdOriginalPromisdDate type="Date"/>
<cCurrencyMode type="Character"/>
<szShipToDescriptive type="String"/>
<szSoldToDescriptive type="String"/>
<cPublishToXPIxFlag type="Character"/>
</detail>
</body>
</event>
</jdeResponse>

This table shows the mapping between JD Edwards EnterpriseOne types and events:

JD Edwards EnterpriseOne Event
CHAR Character
STRING String
MATH_numeric Double
JDEDATE Dat
SHORT Int
INT Int
USHORT Int
LONG Long
ULONG Long
ID Long
ID2 Long
BOOL BOOL