cancel
Showing results for 
Search instead for 
Did you mean: 

Xpath expression

Former Member
0 Kudos
453

Hi experts,

I have this kind of file :

<Msg>

     <Body>

          <Payload Role="S">

               <Msg>

                    <Body>

                         <Payload Role="S">

                              <BOM>

                                  <BO>

                                     <Documents>

                                        <DocEntry>123<Docentry/>

                                             ...........

                                        </Documents>

                                   </BO>

                                  </BOM>

                              </Payload>

                    </Body>

               </Msg>

              </Payload>

          </bODY>

</mSG>

I would like to get the value of DocEntry in my <xsl:value of select=""/> but I don't know what is the correct syntaxe to use with the payload S.

Can you help me please?

Thanks

Best regards

Sarah

Accepted Solutions (1)

Accepted Solutions (1)

former_member202745
Active Participant
0 Kudos

Hello Sarah,

Try this Msg/Body/Payload[@Role='S']/Msg/Body/Payload[@Role='S']/BOM/BO/Documents/DocEntry, if this xml came from an atom, try $msg//Msg/Body/Payload[@Role='S']/BOM/BO/Documents/DocEntry.

Regards,

Leo.

Former Member
0 Kudos

Hi Leo,

It's doesn't work the system doesn't get back the value

Any other suggestions please?

Thanks

Regards,

sarah

former_member202745
Active Participant
0 Kudos

Hi Sarah,

Can you post here the real message from B1iF? Maybe the piece of message you paste before wasn't complete, so the xpath that I typed doesn't work.

Regards,

Leo.

Former Member
0 Kudos

Hi Leo,

This is the message in Message Log for my second step:

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

- <Msg xmlns="urn:com.sap.b1i.vplatform:entity" MessageId="140807162716667584350A0000221785" BeginTimeStamp="20140807162716" logmsg="0044" status="success" msglogexcl="false" MessageLog="true" SubMessageId="1" BackMessageId="2" DelMessageId="" b1msg="Exception : DI Error: (-10) Enter due date [ORDR.DocDueDate]" b1status="failure" vBIU.errhdlg="" exceptionmsg="Exception : DI Error: (-10) Enter due date [ORDR.DocDueDate]">

- <Header>

<msglog step="Default message log" always="false" b1ifactive="true" />

- <ErrorHandler phase="" async="Default error handling" sync="Default error handling" outbound="Default error handling" errorinbox="true">

- <delqueue status="false" qok="false">

<queue>Q..0010000100</queue>

<stream>S.Z.CCMarkSqlParrot</stream>

</delqueue>

- <callvBIU status="true">

<queue>Q.INB_IQ_INTQ_ASYN_QS.0010000000</queue>

<stream />

</callvBIU>

</ErrorHandler>

<Receiver Id="0010000100" ObjId="single" />

<IPO Id="INB_IQ_INTQ_ASYN_BIU" tid="140807150949667584200A000022D3EA" />

<IPO Id="OUT_B1" tid="140807150949667588180A000022FB94" />

- <Resumption>

<starter ipo="/vP.0010000100.in_IQ/com.sap.b1i.vplatform.runtime/INB_IQ_INTQ_ASYN_BIU/INB_IQ_INTQ_ASYN_BIU.ipo/proc" />

<restart id="outbound" q="Q.OUT_B1.0010000100" s="S.Z.CCMarkSqlParrot" u="140807162716667584350A0000221785.1" />

</Resumption>

<Sender Id="0010000100" ObjId="successor" />

<Successor Id="" Mode="" />

<Identification Ident="vBIU Name" IdPar="n.a." />

<nsList />

<Retrieval adapter="" type="" ruledoc="" />

<Outbound type="SAP Business One" channel="OUT_B1" />

<vBIU Id="Z.CCMarkSqlParrot" ver="1.0.0" SId="Z.B1CCParrot" filter="" phase="" />

- <Variables>

<var id="userid" value="no_authentication" />

<var id="username" value="no_authentication" />

<var id="DocE" value="81628" />

</Variables>

<Properties />

<VarProperties />

- <ReceiverList>

<Receiver Id="0010000100" filter="" subscribed="true" handover="P" />

</ReceiverList>

<MsgList counter="1" complete="true" multimsg="false" delmsg="" />

</Header>

- <Body>

<Payload Role="T" Type="Handover" />

- <Payload Role="S">

- <vPStatus xmlns="" status="success" no="0000" Message="processing finished" Phase="final" B1IMessageId="140807162713667571100A0000225F0B" SubMessageId="4_1" BeginTimeStamp="20140807162713" EndTimeStamp="20140807162715" SenderSysId="0010000100" ReceiverSysId="0010000107" SenderObjectTypeId="17" ReceiverObjectTypeId="" succ="Z.CCMarkSqlParrot">

- <Msg xmlns="urn:com.sap.b1i.vplatform:entity" MessageId="140807162713667571100A0000225F0B" BeginTimeStamp="20140807162713" recording="true" logmsg="0000" SubMessageId="4_1" status="success" msglogexcl="false" MessageLog="true" b1msg="" b1status="success" BackMessageId="4_2" DelMessageId="4">

- <Header>

<msglog step="Default message log" always="false" b1ifactive="true" />

<Receiver Id="0010000107" ObjId="single" />

<IPO Id="INB_B1_EVNT_ASYN_EVT" tid="140807150949667570950A0000225786" />

<IPO Id="PRC_B1" tid="140807150949667572270A0000227D49" />

<IPO Id="OUT_FILE" tid="140807150949667580240A0000227754" />

- <Resumption>

<starter ipo="/vP.0010000100.in_BEAE/com.sap.b1i.vplatform.runtime/INB_B1_EVNT_ASYN_EVT/INB_B1_EVNT_ASYN_EVT.ipo/proc" />

<restart id="processing" q="Q.PRC_B1.0010000100" s="S.Z.CCgenerationFileParrot" u="140807162713667571100A0000225F0B.4" />

<restart id="outbound" q="Q.OUT_FILE.0010000107" s="S.Z.CCgenerationFileParrot" u="140807162713667571100A0000225F0B.4_1" />

</Resumption>

<ProcStream>S.</ProcStream>

<Sender Id="0010000100" ObjId="17" />

<Successor Id="Z.CCMarkSqlParrot" Mode="message" />

<Identification Ident="B1 Event" IdPar="n.a." />

<nsList />

<Retrieval adapter="DI API" type="Object" ruledoc="" />

<vBIU Id="Z.CCgenerationFileParrot" ver="1.0.0" SId="Z.B1CCParrot" filter="$msg/BOM/BO/Documents/row/Confirmed='tYES' and $msg/BOM/BO/Document_Lines/row/U_GTI_E021='N' and $msg/BOM/BO/Document_Lines/row/U_GTI_E046='Y'" phase="" />

- <Variables>

<var id="userid" value="no_authentication" />

<var id="username" value="no_authentication" />

<var id="CodeT" value="" />

<var id="DocE" value="81628" />

</Variables>

<Properties />

- <VarProperties>

<property call="callsql.bfd" atom="atom1" id="SQL" value="#SELECT Name from [@GTI0004] where Code=''" />

</VarProperties>

- <ReceiverList>

<Receiver Id="0010000107" filter="" subscribed="true" handover="P" />

</ReceiverList>

<MsgList counter="1" complete="true" multimsg="false" delmsg="4" />

<Outbound type="Flat File" channel="OUT_FILE" format="xml" fmode="write" fname="C:\TEMP\Out\data????.xml" encoding="ISO-8859-1" ruledoc="not_applicable" deli="" wrap="" dellead="0" />

</Header>

- <Body>

- <Payload Role="T" Type="B1Event" add="">

- <Event xmlns="" B1EventFilter="false">

- <b1e:b1events xmlns:b1e="urn:com.sap.b1i.sim:b1event">

- <b1e:b1event>

<b1e:eventsource>Parrot_Prod_New</b1e:eventsource>

<b1e:objecttype>17</b1e:objecttype>

<b1e:transactiontype>A</b1e:transactiontype>

<b1e:usercode>manager</b1e:usercode>

<b1e:userid>manager</b1e:userid>

- <b1e:keys count="1">

- <b1e:key>

<b1e:name>DocEntry</b1e:name>

<b1e:value>81628</b1e:value>

</b1e:key>

</b1e:keys>

<b1e:sourcesite>DEV-PARROT</b1e:sourcesite>

</b1e:b1event>

</b1e:b1events>

- <b1ie:B1IEvent xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" SysId="0010000100" SysTypeId="B1.8.8" Task="I" LocalObjectType="17">

- <b1ie:PrimaryKeyList>

<b1ie:PrimaryKey Key="DocEntry" Value="81628" />

</b1ie:PrimaryKeyList>

</b1ie:B1IEvent>

</Event>

</Payload>

- <Payload Role="S" Result="0000" Msg="">

- <BOM xmlns="">

- <BO>

- <AdmInfo>

<Object>17</Object>

<Version>2</Version>

</AdmInfo>

- <Documents>

- <row>

<DocEntry>81628</DocEntry>

<DocNum>81628</DocNum>

<DocType>dDocument_Items</DocType>

<HandWritten>tNO</HandWritten>

<Printed>psNo</Printed>

<DocDate>20140807</DocDate>

<DocDueDate>20140808</DocDueDate>

<CardCode>11223</CardCode>

<CardName>Parrot_Prod_New</CardName>

<Address nil="true" />

<NumAtCard nil="true" />

<DocCurrency>EUR</DocCurrency>

<DocRate>1.000000</DocRate>

<DocTotal>4.500000</DocTotal>

<Reference1>81628</Reference1>

<Reference2 nil="true" />

<Comments />

<JournalMemo>Sales Orders - 11223</JournalMemo>

<PaymentGroupCode>1</PaymentGroupCode>

<DocTime>0943</DocTime>

<SalesPersonCode>-1</SalesPersonCode>

<TransportationCode>21</TransportationCode>

<Confirmed>tYES</Confirmed>

<ImportFileNum nil="true">0</ImportFileNum>

<SummeryType>dNoSummary</SummeryType>

<ContactPersonCode>0</ContactPersonCode>

<ShowSCN>tNO</ShowSCN>

<Series>5</Series>

<TaxDate>20140807</TaxDate>

<PartialSupply>tYES</PartialSupply>

<DocObjectCode>17</DocObjectCode>

<ShipToCode nil="true" />

<Indicator>99</Indicator>

<FederalTaxID nil="true" />

<DiscountPercent>0.000000</DiscountPercent>

<PaymentReference nil="true" />

<CreationDate>20140807</CreationDate>

<UpdateDate>20140807</UpdateDate>

<FinancialPeriod>116</FinancialPeriod>

<TransNum nil="true">0</TransNum>

<VatSum>0.750000</VatSum>

<VatSumSys>0.750000</VatSumSys>

<VatSumFc>0.000000</VatSumFc>

<NetProcedure>tNO</NetProcedure>

<DocTotalFc>0.000000</DocTotalFc>

<DocTotalSys>4.500000</DocTotalSys>

<Form1099 nil="true">0</Form1099>

<Box1099 nil="true" />

<RevisionPo>tNO</RevisionPo>

<RequriedDate>20140808</RequriedDate>

<CancelDate>20140907</CancelDate>

<BlockDunning>tNO</BlockDunning>

<Submitted>tNO</Submitted>

<Segment>0</Segment>

<PickStatus>tNO</PickStatus>

<Pick>tNO</Pick>

<PaymentMethod />

<PaymentBlock>tNO</PaymentBlock>

<PaymentBlockEntry nil="true">0</PaymentBlockEntry>

<CentralBankIndicator nil="true" />

<MaximumCashDiscount>tNO</MaximumCashDiscount>

<Reserve>tNO</Reserve>

<Project nil="true" />

<ExemptionValidityDateFrom nil="true" />

<ExemptionValidityDateTo nil="true" />

<WareHouseUpdateType>dwh_CustomerOrders</WareHouseUpdateType>

<Rounding>tNO</Rounding>

<ExternalCorrectedDocNum nil="true" />

<InternalCorrectedDocNum nil="true">0</InternalCorrectedDocNum>

<NextCorrectingDocument nil="true">0</NextCorrectingDocument>

<DeferredTax>tNO</DeferredTax>

<TaxExemptionLetterNum nil="true" />

<WTApplied>0.000000</WTApplied>

<WTAppliedFC>0.000000</WTAppliedFC>

<BillOfExchangeReserved>tNO</BillOfExchangeReserved>

<AgentCode nil="true" />

<WTAppliedSC>0.000000</WTAppliedSC>

<TotalEqualizationTax>0.000000</TotalEqualizationTax>

<TotalEqualizationTaxFC>0.000000</TotalEqualizationTaxFC>

<TotalEqualizationTaxSC>0.000000</TotalEqualizationTaxSC>

<NumberOfInstallments>1</NumberOfInstallments>

<ApplyTaxOnFirstInstallment>tNO</ApplyTaxOnFirstInstallment>

<WTNonSubjectAmount>0.000000</WTNonSubjectAmount>

<WTNonSubjectAmountSC>0.000000</WTNonSubjectAmountSC>

<WTNonSubjectAmountFC>0.000000</WTNonSubjectAmountFC>

<WTExemptedAmount>0.000000</WTExemptedAmount>

<WTExemptedAmountSC>0.000000</WTExemptedAmountSC>

<WTExemptedAmountFC>0.000000</WTExemptedAmountFC>

<BaseAmount>0.000000</BaseAmount>

<BaseAmountSC>0.000000</BaseAmountSC>

<BaseAmountFC>0.000000</BaseAmountFC>

<WTAmount>0.000000</WTAmount>

<WTAmountSC>0.000000</WTAmountSC>

<WTAmountFC>0.000000</WTAmountFC>

<VatDate nil="true" />

<DocumentsOwner nil="true">0</DocumentsOwner>

<FolioPrefixString nil="true" />

<FolioNumber nil="true">0</FolioNumber>

<DocumentSubType>bod_None</DocumentSubType>

<BPChannelCode nil="true" />

<BPChannelContact nil="true">0</BPChannelContact>

<Address2 />

<DocumentStatus>bost_Open</DocumentStatus>

<PeriodIndicator>Valeur par</PeriodIndicator>

<PayToCode nil="true" />

<ManualNumber nil="true" />

<UseShpdGoodsAct>tNO</UseShpdGoodsAct>

<IsPayToBank>tNO</IsPayToBank>

<PayToBankCountry nil="true" />

<PayToBankCode nil="true" />

<PayToBankAccountNo nil="true" />

<PayToBankBranch nil="true" />

<BPL_IDAssignedToInvoice nil="true">0</BPL_IDAssignedToInvoice>

<DownPayment>0.000000</DownPayment>

<ReserveInvoice>tNO</ReserveInvoice>

<LanguageCode>22</LanguageCode>

<TrackingNumber nil="true" />

<PickRemark nil="true" />

<ClosingDate nil="true" />

<SequenceCode nil="true">0</SequenceCode>

<SequenceSerial nil="true">0</SequenceSerial>

<SeriesString nil="true" />

<SubSeriesString nil="true" />

<SequenceModel>0</SequenceModel>

<UseCorrectionVATGroup>tNO</UseCorrectionVATGroup>

<TotalDiscount>0.000000</TotalDiscount>

<DownPaymentAmount>0.000000</DownPaymentAmount>

<DownPaymentPercentage>0.000000</DownPaymentPercentage>

<DownPaymentType>dptInvoice</DownPaymentType>

<DownPaymentAmountSC>0.000000</DownPaymentAmountSC>

<DownPaymentAmountFC>0.000000</DownPaymentAmountFC>

<VatPercent>0.000000</VatPercent>

<ServiceGrossProfitPercent>0.000000</ServiceGrossProfitPercent>

<OpeningRemarks nil="true" />

<ClosingRemarks nil="true" />

<RoundingDiffAmount>0.000000</RoundingDiffAmount>

<RoundingDiffAmountFC>0.000000</RoundingDiffAmountFC>

<RoundingDiffAmountSC>0.000000</RoundingDiffAmountSC>

<Cancelled>tNO</Cancelled>

<SignatureInputMessage nil="true" />

<SignatureDigest nil="true" />

<CertificationNumber nil="true" />

<PrivateKeyVersion nil="true">0</PrivateKeyVersion>

<ControlAccount>411100</ControlAccount>

<InsuranceOperation347>tNO</InsuranceOperation347>

<ArchiveNonremovableSalesQuotation>tNO</ArchiveNonremovableSalesQuotation>

<GTSChecker nil="true">0</GTSChecker>

<GTSPayee nil="true">0</GTSPayee>

<ExtraMonth>0</ExtraMonth>

<ExtraDays>0</ExtraDays>

<CashDiscountDateOffset>0</CashDiscountDateOffset>

<StartFrom>pdt_None</StartFrom>

<NTSApproved>tNO</NTSApproved>

<ETaxWebSite nil="true">0</ETaxWebSite>

<ETaxNumber nil="true" />

<NTSApprovedNumber nil="true" />

<EDocGenerationType>edocNotRelevant</EDocGenerationType>

<EDocSeries nil="true">0</EDocSeries>

<EDocNum nil="true" />

<EDocExportFormat nil="true">0</EDocExportFormat>

<EDocStatus>edoc_Ok</EDocStatus>

<EDocErrorCode nil="true" />

<EDocErrorMessage nil="true" />

<DownPaymentStatus>so_Open</DownPaymentStatus>

<GroupSeries nil="true">0</GroupSeries>

<GroupNumber nil="true">0</GroupNumber>

<GroupHandWritten>tNO</GroupHandWritten>

<ReopenOriginalDocument nil="true">tNO</ReopenOriginalDocument>

<ReopenManuallyClosedOrCanceledDocument nil="true">tNO</ReopenManuallyClosedOrCanceledDocument>

<CreateOnlineQuotation>tNO</CreateOnlineQuotation>

<POSEquipmentNumber nil="true" />

<POSManufacturerSerialNumber nil="true" />

<POSCashierNumber nil="true">0</POSCashierNumber>

<ApplyCurrentVATRatesForDownPaymentsToDraw>tNO</ApplyCurrentVATRatesForDownPaymentsToDraw>

<ClosingOption>coByCurrentSystemDate</ClosingOption>

<SpecifiedClosingDate nil="true" />

<OpenForLandedCosts>tYES</OpenForLandedCosts>

<AuthorizationStatus>dasWithout</AuthorizationStatus>

<TotalDiscountFC>0.000000</TotalDiscountFC>

<TotalDiscountSC>0.000000</TotalDiscountSC>

<RelevantToGTS>tNO</RelevantToGTS>

<BPLName nil="true" />

<VATRegNum nil="true" />

<U_GTI_D004 nil="true" />

<U_GTI_D006 nil="true" />

<U_GTI_D013>0.000000</U_GTI_D013>

<U_GTI_D014>0.000000</U_GTI_D014>

<U_GTI_D021 nil="true" />

<U_GTI_D022 nil="true" />

<U_GTI_D023 nil="true" />

<U_GTI_D053 nil="true" />

<U_GTI_D054 nil="true" />

<U_PAR_D003 nil="true" />

<U_PAR_D002 nil="true" />

<U_IFC_OLD nil="true">0</U_IFC_OLD>

<U_IFC_NbColis>0.000000</U_IFC_NbColis>

<U_IFC_Bq />

<U_IFC_AchTel nil="true" />

<U_IFC_AchMail nil="true" />

<U_PFL_TypCde>NO</U_PFL_TypCde>

<U_PFL_Afact>N</U_PFL_Afact>

<U_PFL_CptClientTpt nil="true" />

<U_PFL_ServiceTpt nil="true" />

<U_PFL_ActiviteCde nil="true" />

<U_PFL_NumTransKN1 nil="true" />

<U_PFL_NumTransKN2 nil="true" />

<U_PFL_DateTransKN1 nil="true" />

<U_PFL_DateTransKN2 nil="true" />

<U_PFL_NumBLKN nil="true" />

<U_PFL_DatePrepaKN nil="true" />

<U_PFL_DateExpeKN nil="true" />

<U_PFL_Conformite nil="true" />

<U_PFL_NumTrack nil="true" />

<U_PFL_RangPrepa>50</U_PFL_RangPrepa>

<U_PAR_D004>N</U_PAR_D004>

<U_HK_TSF nil="true" />

<U_HK_FR nil="true" />

<U_HK_RECHK nil="true" />

<U_HK_RECFR nil="true" />

<U_HK_FACHK nil="true" />

<U_HK_DATE_TSF nil="true" />

<U_HK_TIME_TSF nil="true">0000</U_HK_TIME_TSF>

<U_HK_TEXTE nil="true" />

<U_MA_ClientCode_N1 nil="true" />

<U_MA_ClientName_N2 nil="true" />

<U_MA_Channel_N2 />

<U_MA_ApprovalNumber nil="true" />

<U_MA_Detail_TO nil="true" />

<U_MA_Bdgt_EURinHQ nil="true" />

<U_MA_Turnover_EUR nil="true" />

<U_MA_HQ_Budget_EUR nil="true" />

<U_MA_ROI nil="true" />

<U_FL_TSF nil="true" />

<U_SAV_RMA nil="true">0</U_SAV_RMA>

<U_SAV_Tobeduplicated>N</U_SAV_Tobeduplicated>

<U_SAV_Duplicated>N</U_SAV_Duplicated>

<U_SAV_Duplicatedate nil="true" />

<U_SAV_NumTransIbolt nil="true" />

<U_BUDT_FWD nil="true" />

<U_BUDT_FWD_Note_1 nil="true" />

<U_BUDT_FWD_Note_2 nil="true" />

<U_PFL_Poids>0.000000</U_PFL_Poids>

<U_CR_ImpEDI>N</U_CR_ImpEDI>

<U_CR_BuyEDI>N</U_CR_BuyEDI>

<U_CR_Entrega>N</U_CR_Entrega>

<U_CR_Cliente nil="true" />

<U_CR_DirPedi>N</U_CR_DirPedi>

<U_CR_ImpDate nil="true" />

<U_CR_DepEDI>N</U_CR_DepEDI>

<U_CR_TemEDI>N</U_CR_TemEDI>

<U_CR_SucEDI>N</U_CR_SucEDI>

<U_CR_DlnEDI>N</U_CR_DlnEDI>

<U_CR_InvEDI>N</U_CR_InvEDI>

<U_ESP_Portes>Y</U_ESP_Portes>

<U_ESP_PrtImp>0</U_ESP_PrtImp>

<U_PFL_email nil="true" />

<U_PFL_phone nil="true" />

<U_PFL_carrier_info nil="true" />

<U_ExRefNo nil="true" />

<U_B1i_RefSO nil="true" />

<U_B1i_CUST_SCG>No</U_B1i_CUST_SCG>

<U_B1i_DS>No</U_B1i_DS>

<U_CR_RMA nil="true">0</U_CR_RMA>

<U_CR_RMANum nil="true">0</U_CR_RMANum>

<U_CR_RMACNum nil="true">0</U_CR_RMACNum>

<U_CR_RMATNum nil="true">0</U_CR_RMATNum>

<U_CR_RMARecep nil="true" />

<U_CR_RMADate nil="true" />

<U_CR_RMATime nil="true">0000</U_CR_RMATime>

<U_PFL_ship_status nil="true" />

<U_PFL_ship_date nil="true" />

<U_PFL_carrier_id nil="true" />

<U_PFL_carrier_name nil="true" />

<U_PFL_carrier_tracki nil="true" />

<U_PFL_carrier_weblin nil="true" />

<U_PFL_nb_pallet>0.000000</U_PFL_nb_pallet>

<U_PFL_volume_total>0.000000</U_PFL_volume_total>

<U_EZ_DocNum nil="true" />

<U_EZ_Requestor nil="true" />

<U_EZ_CostingCodeH1 nil="true" />

<U_EZ_CostingCodeH2 nil="true" />

<U_EZ_CostingCodeH3 nil="true" />

<U_EZ_CostingCodeH4 nil="true" />

<U_EZ_CostingCodeH5 nil="true" />

</row>

</Documents>

- <Document_Lines>

- <row>

<LineNum>0</LineNum>

<ItemCode>AC000005AA</ItemCode>

<ItemDescription>FAISCEAU TOYOTA</ItemDescription>

<Quantity>1.000000</Quantity>

<ShipDate>20140808</ShipDate>

<Price>3.750000</Price>

<PriceAfterVAT>4.500000</PriceAfterVAT>

<Currency>EUR</Currency>

<Rate>0.000000</Rate>

<DiscountPercent>0.000000</DiscountPercent>

<VendorNum>PTAC000005AA</VendorNum>

<SerialNum nil="true" />

<WarehouseCode>60</WarehouseCode>

<SalesPersonCode>-1</SalesPersonCode>

<CommisionPercent>0.000000</CommisionPercent>

<TreeType>iNotATree</TreeType>

<AccountCode>701001</AccountCode>

<UseBaseUnits>tNO</UseBaseUnits>

<SupplierCatNum />

<CostingCode nil="true" />

<ProjectCode>100</ProjectCode>

<BarCode>3520410001208</BarCode>

<VatGroup>C4</VatGroup>

<Height1>0.000000</Height1>

<Hight1Unit nil="true">0</Hight1Unit>

<Height2>0.000000</Height2>

<Height2Unit nil="true">0</Height2Unit>

<Lengh1>0.000000</Lengh1>

<Lengh1Unit nil="true">0</Lengh1Unit>

<Lengh2>0.000000</Lengh2>

<Lengh2Unit nil="true">0</Lengh2Unit>

<Weight1>0.000000</Weight1>

<Weight1Unit nil="true">0</Weight1Unit>

<Weight2>0.000000</Weight2>

<Weight2Unit nil="true">0</Weight2Unit>

<Factor1>1.000000</Factor1>

<Factor2>1.000000</Factor2>

<Factor3>1.000000</Factor3>

<Factor4>1.000000</Factor4>

<BaseType>-1</BaseType>

<BaseEntry nil="true">0</BaseEntry>

<BaseLine nil="true">0</BaseLine>

<Volume>0.000000</Volume>

<VolumeUnit>3</VolumeUnit>

<Width1>0.000000</Width1>

<Width1Unit nil="true">0</Width1Unit>

<Width2>0.000000</Width2>

<Width2Unit nil="true">0</Width2Unit>

<Address>Geodis - Bat Evl3 - Activite Parrot Z.i La piece de la remise - Route de Corbeil 91004 EVRY FRANCE</Address>

<TaxCode nil="true" />

<TaxType>tt_Yes</TaxType>

<TaxLiable>tYES</TaxLiable>

<PickStatus>tNO</PickStatus>

<PickQuantity>0.000000</PickQuantity>

<PickListIdNumber nil="true">0</PickListIdNumber>

<OriginalItem nil="true" />

<BackOrder>tYES</BackOrder>

<FreeText />

<ShippingMethod>15</ShippingMethod>

<POTargetNum nil="true">0</POTargetNum>

<POTargetEntry />

<POTargetRowNum nil="true">0</POTargetRowNum>

<CorrectionInvoiceItem>ciis_ShouldBe</CorrectionInvoiceItem>

<CorrInvAmountToStock>0.000000</CorrInvAmountToStock>

<CorrInvAmountToDiffAcct>0.000000</CorrInvAmountToDiffAcct>

<AppliedTax>0.000000</AppliedTax>

<AppliedTaxFC>0.000000</AppliedTaxFC>

<AppliedTaxSC>0.000000</AppliedTaxSC>

<WTLiable>tNO</WTLiable>

<DeferredTax>tNO</DeferredTax>

<EqualizationTaxPercent>0.000000</EqualizationTaxPercent>

<TotalEqualizationTax>0.000000</TotalEqualizationTax>

<TotalEqualizationTaxFC>0.000000</TotalEqualizationTaxFC>

<TotalEqualizationTaxSC>0.000000</TotalEqualizationTaxSC>

<NetTaxAmount>0.750000</NetTaxAmount>

<NetTaxAmountFC>0.000000</NetTaxAmountFC>

<NetTaxAmountSC>0.750000</NetTaxAmountSC>

<MeasureUnit>1</MeasureUnit>

<UnitsOfMeasurment>1.000000</UnitsOfMeasurment>

<LineTotal>3.750000</LineTotal>

<TaxPercentagePerRow>20.000000</TaxPercentagePerRow>

<TaxTotal>0.750000</TaxTotal>

<ConsumerSalesForecast>tYES</ConsumerSalesForecast>

<ExciseAmount>0.000000</ExciseAmount>

<TaxPerUnit>0.000000</TaxPerUnit>

<TotalInclTax>0.000000</TotalInclTax>

<CountryOrg nil="true" />

<SWW />

<TransactionType nil="true" />

<DistributeExpense>tYES</DistributeExpense>

<ShipToCode nil="true" />

<RowTotalFC>0.000000</RowTotalFC>

<RowTotalSC>3.750000</RowTotalSC>

<LastBuyInmPrice>0.000000</LastBuyInmPrice>

<LastBuyDistributeSumFc>0.000000</LastBuyDistributeSumFc>

<LastBuyDistributeSumSc>0.000000</LastBuyDistributeSumSc>

<LastBuyDistributeSum>0.000000</LastBuyDistributeSum>

<StockDistributesumForeign>0.000000</StockDistributesumForeign>

<StockDistributesumSystem>0.000000</StockDistributesumSystem>

<StockDistributesum>0.000000</StockDistributesum>

<StockInmPrice>0.000000</StockInmPrice>

<PickStatusEx>dlps_NotPicked</PickStatusEx>

<TaxBeforeDPM>0.000000</TaxBeforeDPM>

<TaxBeforeDPMFC>0.000000</TaxBeforeDPMFC>

<TaxBeforeDPMSC>0.000000</TaxBeforeDPMSC>

<CFOPCode nil="true" />

<CSTCode nil="true" />

<Usage nil="true">0</Usage>

<TaxOnly>tNO</TaxOnly>

<VisualOrder>0</VisualOrder>

<BaseOpenQuantity>0.000000</BaseOpenQuantity>

<UnitPrice>3.750000</UnitPrice>

<LineStatus>bost_Open</LineStatus>

<PackageQuantity>1.000000</PackageQuantity>

<Text />

<LineType>dlt_Regular</LineType>

<COGSCostingCode nil="true" />

<COGSAccountCode>603200</COGSAccountCode>

<ChangeAssemlyBoMWarehouse>N</ChangeAssemlyBoMWarehouse>

<GrossBuyPrice>2.630000</GrossBuyPrice>

<GrossBase>-5</GrossBase>

<GrossProfitTotalBasePrice>2.630000</GrossProfitTotalBasePrice>

<CostingCode2 nil="true" />

<CostingCode3 nil="true" />

<CostingCode4 nil="true" />

<CostingCode5 nil="true" />

<ItemDetails>55.113</ItemDetails>

<LocationCode nil="true">0</LocationCode>

<ActualDeliveryDate nil="true" />

<RemainingOpenQuantity>1.000000</RemainingOpenQuantity>

<OpenAmount>3.750000</OpenAmount>

<OpenAmountFC>0.000000</OpenAmountFC>

<OpenAmountSC>3.750000</OpenAmountSC>

<ExLineNo nil="true" />

<RequiredDate nil="true" />

<RequiredQuantity>0.000000</RequiredQuantity>

<COGSCostingCode2 nil="true" />

<COGSCostingCode3 nil="true" />

<COGSCostingCode4 nil="true" />

<COGSCostingCode5 nil="true" />

<CSTforIPI nil="true" />

<CSTforPIS nil="true" />

<CSTforCOFINS nil="true" />

<CreditOriginCode nil="true" />

<WithoutInventoryMovement>tNO</WithoutInventoryMovement>

<AgreementNo nil="true">0</AgreementNo>

<AgreementRowNumber nil="true">0</AgreementRowNumber>

<ShipToDescription />

<ActualBaseEntry nil="true">0</ActualBaseEntry>

<ActualBaseLine nil="true">0</ActualBaseLine>

<DocEntry>81628</DocEntry>

<U_GTI_E021>N</U_GTI_E021>

<U_GTI_E046>Y</U_GTI_E046>

<U_GTI_E032 nil="true" />

<U_GTI_E082 nil="true" />

<U_PAR_E088 nil="true" />

<U_PAR_E087 nil="true" />

<U_IFC_OLD nil="true">0.000000</U_IFC_OLD>

<U_PAR_TYMA>01</U_PAR_TYMA>

<U_PFL_NumCdeCompt nil="true" />

<U_PFL_DateExpImp nil="true" />

<U_PFL_NumTransIbolt nil="true" />

<U_PFL_Aconsigner>N</U_PFL_Aconsigner>

<U_PFL_Consigne>N</U_PFL_Consigne>

<U_PFL_REF_HA nil="true" />

<U_IBO_RefHA nil="true" />

<U_MARK_COSTS nil="true" />

<U_MARK_CHANNELS nil="true" />

<U_MARK_BUD nil="true" />

<U_FA_NEM nil="true">0</U_FA_NEM>

<U_EDI_Tax_1>0.000000</U_EDI_Tax_1>

<U_EDI_Tax_2>0.000000</U_EDI_Tax_2>

<U_EDI_Tax_3>0.000000</U_EDI_Tax_3>

<U_ExRefNo nil="true" />

<U_ExPrice nil="true">0.000000</U_ExPrice>

<U_ExCurrency nil="true" />

<U_IMMO_USE_SUP_1>N</U_IMMO_USE_SUP_1>

<U_IMMO_LOCAL nil="true" />

<U_FOU_tobeexported>N</U_FOU_tobeexported>

<U_FOU_exported>N</U_FOU_exported>

<U_FOU_date nil="true" />

<U_FOU_ibolt_id nil="true" />

<U_FOU_po_num nil="true" />

<U_IFC_NBCOLIS nil="true">0</U_IFC_NBCOLIS>

<U_IFC_NBP nil="true">0</U_IFC_NBP>

<U_B1I_BaseLine nil="true" />

<U_EZ_LineNum nil="true" />

<U_EZ_DocNum nil="true" />

<U_EZ_CostingCodeL1 nil="true" />

<U_EZ_CostingCodeL2 nil="true" />

<U_EZ_CostingCodeL3 nil="true" />

<U_EZ_CostingCodeL4 nil="true" />

<U_EZ_CostingCodeL5 nil="true" />

<U_PFL_LotNumber nil="true" />

</row>

</Document_Lines>

- <TaxExtension>

- <row>

<TaxId0 nil="true" />

<TaxId1 nil="true" />

<TaxId2 nil="true" />

<TaxId3 nil="true" />

<TaxId4 nil="true" />

<TaxId5 nil="true" />

<TaxId6 nil="true" />

<TaxId7 nil="true" />

<TaxId8 nil="true" />

<TaxId9 nil="true" />

<State nil="true" />

<County nil="true" />

<Incoterms nil="true" />

<Vehicle nil="true" />

<VehicleState nil="true" />

<NFRef nil="true" />

<Carrier nil="true" />

<PackQuantity nil="true">0</PackQuantity>

<PackDescription nil="true" />

<Brand nil="true" />

<ShipUnitNo nil="true">0</ShipUnitNo>

<NetWeight>0.000000</NetWeight>

<GrossWeight>0.000000</GrossWeight>

<StreetS />

<BlockS />

<BuildingS />

<CityS />

<ZipCodeS />

<CountyS />

<StateS />

<CountryS />

<StreetB nil="true" />

<BlockB nil="true" />

<BuildingB nil="true" />

<CityB nil="true" />

<ZipCodeB nil="true" />

<CountyB nil="true" />

<StateB nil="true" />

<CountryB nil="true" />

<ImportOrExport nil="true" />

</row>

</TaxExtension>

- <AddressExtension>

- <row>

<ShipToStreet />

<ShipToStreetNo />

<ShipToBlock />

<ShipToBuilding />

<ShipToCity />

<ShipToZipCode />

<ShipToCounty />

<ShipToState />

<ShipToCountry />

<ShipToAddressType />

<BillToStreet nil="true" />

<BillToStreetNo nil="true" />

<BillToBlock nil="true" />

<BillToBuilding nil="true" />

<BillToCity nil="true" />

<BillToZipCode nil="true" />

<BillToCounty nil="true" />

<BillToState nil="true" />

<BillToCountry nil="true" />

<BillToAddressType nil="true" />

</row>

</AddressExtension>

</BO>

</BOM>

</Payload>

- <Payload Role="C" id="atom1" system="0010000100" mode="single" method="Query Statement(Query Statement)" sql="SELECT Name from [@GTI0004] where Code=''" disable-output-escaping="false">

<ResultSet xmlns="urn:com.sap.b1i.adapter:jdbcadapter" rowCount="0" />

</Payload>

- <Payload id="atom0" Role="R">

- <Fileout xmlns="" type="file">

- <BOM>

- <BO>

- <AdmInfo>

<Object>Commande Client</Object>

<Version>1</Version>

<DO>PARROT</DO>

<Ident-DO>39414949600025</Ident-DO>

<Entrepot>GEODIS_EVRY_PARROT</Entrepot>

<Ident-Entrepot>3016001500804</Ident-Entrepot>

</AdmInfo>

- <CommandeClient>

<CodeClient>11223</CodeClient>

<nom-client>Parrot_Prod_New</nom-client>

<num-ref-client />

<date-commande>20140807</date-commande>

<date-livraison>20140808</date-livraison>

<transporteur />

<code-incoterm />

<lieu-incoterm />

<adresse />

<code-postale />

<ville />

<pays />

<ident-fiscal />

<type-commande>NO</type-commande>

<a-facturer>N</a-facturer>

<priorite-preparation>50</priorite-preparation>

<nb_colis_total>0.000000</nb_colis_total>

<nb_palette_total>0.000000</nb_palette_total>

<volume_total>0.000000</volume_total>

<poids_total>0.000000</poids_total>

</CommandeClient>

- <CommandeClient-Lines>

- <row>

<num-ligne>0</num-ligne>

<code-article>AC000005AA</code-article>

<desc-article>FAISCEAU TOYOTA</desc-article>

<quantite>1.000000</quantite>

</row>

</CommandeClient-Lines>

</BO>

</BOM>

</Fileout>

</Payload>

- <Payload Role="R2">

- <Fileout xmlns="" type="file">

- <BOM>

- <BO>

- <AdmInfo>

<Object>Commande Client</Object>

<Version>1</Version>

<DO>PARROT</DO>

<Ident-DO>39414949600025</Ident-DO>

<Entrepot>GEODIS_EVRY_PARROT</Entrepot>

<Ident-Entrepot>3016001500804</Ident-Entrepot>

</AdmInfo>

- <CommandeClient>

<CodeClient>11223</CodeClient>

<nom-client>Parrot_Prod_New</nom-client>

<num-ref-client />

<date-commande>20140807</date-commande>

<date-livraison>20140808</date-livraison>

<transporteur />

<code-incoterm />

<lieu-incoterm />

<adresse />

<code-postale />

<ville />

<pays />

<ident-fiscal />

<type-commande>NO</type-commande>

<a-facturer>N</a-facturer>

<priorite-preparation>50</priorite-preparation>

<nb_colis_total>0.000000</nb_colis_total>

<nb_palette_total>0.000000</nb_palette_total>

<volume_total>0.000000</volume_total>

<poids_total>0.000000</poids_total>

</CommandeClient>

- <CommandeClient-Lines>

- <row>

<num-ligne>0</num-ligne>

<code-article>AC000005AA</code-article>

<desc-article>FAISCEAU TOYOTA</desc-article>

<quantite>1.000000</quantite>

</row>

</CommandeClient-Lines>

</BO>

</BOM>

</Fileout>

</Payload>

</Body>

</Msg>

</vPStatus>

</Payload>

- <Payload Role="R" id="atom0">

- <B1out xmlns="" type="object">

- <Documents>

- <row>

<DocEntry />

<DocType>dDocument_Items</DocType>

<CardCode>11223</CardCode>

</row>

</Documents>

<Document_Lines />

</B1out>

</Payload>

- <Payload Role="R2" Call="object" Type="DIAPI">

- <Envelope xmlns="">

- <Header>

<Action throwException="false">add</Action>

<WritePolicy insert_on_exists="fallback2U" update_on_miss="fallback2I" update_policy="regular" />

</Header>

- <Body>

- <BOM>

- <BO>

- <AdmInfo>

<Object>17</Object>

<Version>2</Version>

</AdmInfo>

- <QueryParams>

<DocEntry />

</QueryParams>

- <Documents>

- <row>

<DocEntry />

<DocType>dDocument_Items</DocType>

<CardCode>11223</CardCode>

</row>

</Documents>

<Document_Lines />

</BO>

</BOM>

</Body>

</Envelope>

</Payload>

</Body>

</Msg>



Former Member
0 Kudos

Hi Sarah

Based on your input you should be able to get value of DocEntry using one of two methods:


<xsl:template name="transform">

    <DocEntry>

      <xsl:value-of select="//b1e:value"/>

    </DocEntry>

    <DocEntry2>

     <xsl:value-of select="//vpf:Payload[./@Role = 'S' and @Result != '']//DocEntry"/>

    </DocEntry2>

  </xsl:template>

Since Msg element belongs to a namespace xmlns="urn:com.sap.b1i.vplatform:entity" you should almost always attach 'vpf:' prefix to Payload, Body and Msg tags.

Kind regards,

Radek

former_member202745
Active Participant
0 Kudos

Hi Sarah,

try this


/vpf:Msg/vpf:Body/vpf:Payload[@Role='S']/*/vpf:Msg/vpf:Body/vpf:Payload[@Role='S']/*/*/*[local-name(.)='Documents']/*/*[local-name(.)='DocEntry']

Regards,

Leo.

former_member202745
Active Participant
0 Kudos

Great Radek, Much easier !!

Former Member
0 Kudos

Hi Radek,

it's work thank you very much!!

Just another question, now I have access to DocEntry i want to update row of my order.

I have to access to Document_Lines but it's the same problem how to access if it's in the inbound of the first step?

your method works for the DocEntry but I don't see how to do with other things?

Thank you very much

regards

sarah

Former Member
0 Kudos

Hi Radek,

I find my answer with your second method thank you

regards,

sarah

Former Member
0 Kudos

Hi Radek and Leo,

I don't know if it's because the syntax but when I do that:

<B1out xmlns="" type="object">

            <Documents>

            <row>

              <DocEntry>  <xsl:value-of select="//b1e:value"/>  </DocEntry>

              <DocType>dDocument_Items</DocType>

            </row>

          </Documents>

         

         

        

          <Document_Lines>

            

                <xsl:for-each select="//vpf:Payload[./@Role = 'S' and @Result != '']//Document_Lines/*">       

            <xsl:if test= "//vpf:Payload[./@Role = 'S' and @Result != '']//Document_Lines/row/U_GTI_E046='Y' and //vpf:Payload[./@Role = 'S' and @Result != '']//Document_Lines/row/U_GTI_E021='N'">       

            <row>

            

                   

            

               

                <U_GTI_E021>Y</U_GTI_E021>

                <U_PFL_DateExpImp>                   

                    <xsl:value-of select="//vpf:Payload[./@Role = 'S' and @Result != '']//CreationDate"/>

                </U_PFL_DateExpImp>

               

           

            </row>

            </if>

            </xsl:for-each>

           

       

                

               

        </Document_Lines>

        

       

       

         </B1out>

The sytem read always the first line and not the other. because of that I can't do update my order correctly.

Can you help me again with that please?

Thank you very much

regards

Sarah

Former Member
0 Kudos

Hi Sarah

The following document has helped me many times when dealing with XSLT:

http://www.ibm.com/developerworks/library/x-xsltmistakes/

I think that your current problem is related to 'Don't lose the context node' section, listening 8.

Hope this helps - otherwise please send your input XML.

Kind regards,

Radek

Former Member
0 Kudos

Hi radek

this is my input xml:

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

- <Msg xmlns="urn:com.sap.b1i.vplatform:entity" MessageId="140808111554328763920A000022D64E" BeginTimeStamp="20140808111554" logmsg="0000" status="success" msglogexcl="false" MessageLog="true" SubMessageId="1" BackMessageId="2" DelMessageId="" b1msg="" b1status="success">

- <Header>

<msglog step="Default message log" always="false" b1ifactive="true" />

<Receiver Id="0010000100" ObjId="single" />

<IPO Id="INB_IQ_INTQ_ASYN_BIU" tid="140808080001328763820A000022ED4D" />

<IPO Id="OUT_B1" tid="140808080001328767350A00002248C0" />

- <Resumption>

<starter ipo="/vP.0010000100.in_IQ/com.sap.b1i.vplatform.runtime/INB_IQ_INTQ_ASYN_BIU/INB_IQ_INTQ_ASYN_BIU.ipo/proc" />

<restart id="outbound" q="Q.OUT_B1.0010000100" s="S.Z.CCMarkSqlParrot" u="140808111554328763920A000022D64E.1" />

</Resumption>

<Sender Id="0010000100" ObjId="successor" />

<Successor Id="" Mode="" />

<Identification Ident="vBIU Name" IdPar="n.a." />

<nsList />

<Retrieval adapter="" type="" ruledoc="" />

<Outbound type="SAP Business One" channel="OUT_B1" />

<vBIU Id="Z.CCMarkSqlParrot" ver="1.0.0" SId="Z.B1CCParrot" filter="" phase="" />

- <Variables>

<var id="userid" value="no_authentication" />

<var id="username" value="no_authentication" />

</Variables>

- <Properties>

<prop id="DocE" value="/vpf:Msg/vpf:Header/vpf:Properties/vpf:prop[./@id='DocE']/@value" />

</Properties>

<VarProperties />

- <ReceiverList>

<Receiver Id="0010000100" filter="" subscribed="true" handover="P" />

</ReceiverList>

<MsgList counter="1" complete="true" multimsg="false" delmsg="" />

</Header>

- <Body>

<Payload Role="T" Type="Handover" />

- <Payload Role="S">

- <vPStatus xmlns="" status="success" no="0000" Message="processing finished" Phase="final" B1IMessageId="140808111551328754440A000022D896" SubMessageId="4_1" BeginTimeStamp="20140808111551" EndTimeStamp="20140808111553" SenderSysId="0010000100" ReceiverSysId="0010000107" SenderObjectTypeId="17" ReceiverObjectTypeId="" succ="Z.CCMarkSqlParrot">

- <Msg xmlns="urn:com.sap.b1i.vplatform:entity" MessageId="140808111551328754440A000022D896" BeginTimeStamp="20140808111551" recording="true" logmsg="0000" SubMessageId="4_1" status="success" msglogexcl="false" MessageLog="true" b1msg="" b1status="success" BackMessageId="4_2" DelMessageId="4">

- <Header>

<msglog step="Default message log" always="false" b1ifactive="true" />

<Receiver Id="0010000107" ObjId="single" />

<IPO Id="INB_B1_EVNT_ASYN_EVT" tid="140808080001328754310A0000227FAA" />

<IPO Id="PRC_B1" tid="140808080001328755810A0000225F06" />

<IPO Id="OUT_FILE" tid="140808080001328760870A000022AB82" />

- <Resumption>

<starter ipo="/vP.0010000100.in_BEAE/com.sap.b1i.vplatform.runtime/INB_B1_EVNT_ASYN_EVT/INB_B1_EVNT_ASYN_EVT.ipo/proc" />

<restart id="processing" q="Q.PRC_B1.0010000100" s="S.Z.CCgenerationFileParrot" u="140808111551328754440A000022D896.4" />

<restart id="outbound" q="Q.OUT_FILE.0010000107" s="S.Z.CCgenerationFileParrot" u="140808111551328754440A000022D896.4_1" />

</Resumption>

<ProcStream>S.</ProcStream>

<Sender Id="0010000100" ObjId="17" />

<Successor Id="Z.CCMarkSqlParrot" Mode="message" />

<Identification Ident="B1 Event" IdPar="n.a." />

<nsList />

<Retrieval adapter="DI API" type="Object" ruledoc="" />

<vBIU Id="Z.CCgenerationFileParrot" ver="1.0.0" SId="Z.B1CCParrot" filter="$msg/BOM/BO/Documents/row/Confirmed='tYES' and $msg/BOM/BO/Document_Lines/row/U_GTI_E021='N' and $msg/BOM/BO/Document_Lines/row/U_GTI_E046='Y'" phase="" />

- <Variables>

<var id="userid" value="no_authentication" />

<var id="username" value="no_authentication" />

<var id="CodeT" value="69" />

<var id="DocE" value="/vpf:Msg/vpf:Header/vpf:Properties/vpf:prop[./@id='DocE']/@value" />

</Variables>

- <Properties>

<prop id="DocE" value="/vpf:Msg/vpf:Header/vpf:Properties/vpf:prop[./@id='DocE']/@value" />

</Properties>

- <VarProperties>

<property call="callsql.bfd" atom="atom1" id="SQL" value="#SELECT Name from [@GTI0004] where Code='69'" />

</VarProperties>

- <ReceiverList>

<Receiver Id="0010000107" filter="" subscribed="true" handover="P" />

</ReceiverList>

<MsgList counter="1" complete="true" multimsg="false" delmsg="4" />

<Outbound type="Flat File" channel="OUT_FILE" format="xml" fmode="write" fname="C:\TEMP\Out\data????.xml" encoding="ISO-8859-1" ruledoc="not_applicable" deli="" wrap="" dellead="0" />

</Header>

- <Body>

- <Payload Role="T" Type="B1Event" add="">

- <Event xmlns="" B1EventFilter="false">

- <b1e:b1events xmlns:b1e="urn:com.sap.b1i.sim:b1event">

- <b1e:b1event>

<b1e:eventsource>Parrot_Prod_New</b1e:eventsource>

<b1e:objecttype>17</b1e:objecttype>

<b1e:transactiontype>A</b1e:transactiontype>

<b1e:usercode>manager</b1e:usercode>

<b1e:userid>manager</b1e:userid>

- <b1e:keys count="1">

- <b1e:key>

<b1e:name>DocEntry</b1e:name>

<b1e:value>81647</b1e:value>

</b1e:key>

</b1e:keys>

<b1e:sourcesite>DEV-PARROT</b1e:sourcesite>

</b1e:b1event>

</b1e:b1events>

- <b1ie:B1IEvent xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" SysId="0010000100" SysTypeId="B1.8.8" Task="I" LocalObjectType="17">

- <b1ie:PrimaryKeyList>

<b1ie:PrimaryKey Key="DocEntry" Value="81647" />

</b1ie:PrimaryKeyList>

</b1ie:B1IEvent>

</Event>

</Payload>

- <Payload Role="S" Result="0000" Msg="">

- <BOM xmlns="">

- <BO>

- <AdmInfo>

<Object>17</Object>

<Version>2</Version>

</AdmInfo>

- <Documents>

- <row>

<DocEntry>81647</DocEntry>

<DocNum>81647</DocNum>

<DocType>dDocument_Items</DocType>

<HandWritten>tNO</HandWritten>

<Printed>psNo</Printed>

<DocDate>20140808</DocDate>

<DocDueDate>20140809</DocDueDate>

<CardCode>400001</CardCode>

<CardName>PARROT MARKETING - CHANNEL MARKETING</CardName>

<Address>174 Quai de Jemmapes (3eme Etage) 75010 PARIS FRANCE</Address>

<NumAtCard nil="true" />

<DocCurrency>EUR</DocCurrency>

<DocRate>1.000000</DocRate>

<DocTotal>11.830000</DocTotal>

<Reference1>81647</Reference1>

<Reference2 nil="true" />

<Comments />

<JournalMemo>Sales Orders - 400001</JournalMemo>

<PaymentGroupCode>15</PaymentGroupCode>

<DocTime>1115</DocTime>

<SalesPersonCode>-1</SalesPersonCode>

<TransportationCode>-1</TransportationCode>

<Confirmed>tYES</Confirmed>

<ImportFileNum nil="true">0</ImportFileNum>

<SummeryType>dNoSummary</SummeryType>

<ContactPersonCode>0</ContactPersonCode>

<ShowSCN>tNO</ShowSCN>

<Series>5</Series>

<TaxDate>20140808</TaxDate>

<PartialSupply>tYES</PartialSupply>

<DocObjectCode>17</DocObjectCode>

<ShipToCode>PARROT SA (Marketing) - CHANNEL</ShipToCode>

<Indicator nil="true" />

<FederalTaxID>FR70394149496</FederalTaxID>

<DiscountPercent>0.000000</DiscountPercent>

<PaymentReference nil="true" />

<CreationDate>20140808</CreationDate>

<UpdateDate>20140808</UpdateDate>

<FinancialPeriod>116</FinancialPeriod>

<TransNum nil="true">0</TransNum>

<VatSum>1.970000</VatSum>

<VatSumSys>1.970000</VatSumSys>

<VatSumFc>0.000000</VatSumFc>

<NetProcedure>tNO</NetProcedure>

<DocTotalFc>0.000000</DocTotalFc>

<DocTotalSys>11.830000</DocTotalSys>

<Form1099 nil="true">0</Form1099>

<Box1099 nil="true" />

<RevisionPo>tNO</RevisionPo>

<RequriedDate>20140809</RequriedDate>

<CancelDate>20140908</CancelDate>

<BlockDunning>tNO</BlockDunning>

<Submitted>tNO</Submitted>

<Segment>0</Segment>

<PickStatus>tNO</PickStatus>

<Pick>tNO</Pick>

<PaymentMethod />

<PaymentBlock>tNO</PaymentBlock>

<PaymentBlockEntry nil="true">0</PaymentBlockEntry>

<CentralBankIndicator nil="true" />

<MaximumCashDiscount>tNO</MaximumCashDiscount>

<Reserve>tNO</Reserve>

<Project nil="true" />

<ExemptionValidityDateFrom nil="true" />

<ExemptionValidityDateTo nil="true" />

<WareHouseUpdateType>dwh_CustomerOrders</WareHouseUpdateType>

<Rounding>tNO</Rounding>

<ExternalCorrectedDocNum nil="true" />

<InternalCorrectedDocNum nil="true">0</InternalCorrectedDocNum>

<NextCorrectingDocument nil="true">0</NextCorrectingDocument>

<DeferredTax>tNO</DeferredTax>

<TaxExemptionLetterNum nil="true" />

<WTApplied>0.000000</WTApplied>

<WTAppliedFC>0.000000</WTAppliedFC>

<BillOfExchangeReserved>tNO</BillOfExchangeReserved>

<AgentCode>18</AgentCode>

<WTAppliedSC>0.000000</WTAppliedSC>

<TotalEqualizationTax>0.000000</TotalEqualizationTax>

<TotalEqualizationTaxFC>0.000000</TotalEqualizationTaxFC>

<TotalEqualizationTaxSC>0.000000</TotalEqualizationTaxSC>

<NumberOfInstallments>1</NumberOfInstallments>

<ApplyTaxOnFirstInstallment>tNO</ApplyTaxOnFirstInstallment>

<WTNonSubjectAmount>0.000000</WTNonSubjectAmount>

<WTNonSubjectAmountSC>0.000000</WTNonSubjectAmountSC>

<WTNonSubjectAmountFC>0.000000</WTNonSubjectAmountFC>

<WTExemptedAmount>0.000000</WTExemptedAmount>

<WTExemptedAmountSC>0.000000</WTExemptedAmountSC>

<WTExemptedAmountFC>0.000000</WTExemptedAmountFC>

<BaseAmount>0.000000</BaseAmount>

<BaseAmountSC>0.000000</BaseAmountSC>

<BaseAmountFC>0.000000</BaseAmountFC>

<WTAmount>0.000000</WTAmount>

<WTAmountSC>0.000000</WTAmountSC>

<WTAmountFC>0.000000</WTAmountFC>

<VatDate nil="true" />

<DocumentsOwner nil="true">0</DocumentsOwner>

<FolioPrefixString nil="true" />

<FolioNumber nil="true">0</FolioNumber>

<DocumentSubType>bod_None</DocumentSubType>

<BPChannelCode nil="true" />

<BPChannelContact nil="true">0</BPChannelContact>

<Address2>174 Quai de Jemmapes Escalier B - 3eme etage - Canal 75010 PARIS FRANCE</Address2>

<DocumentStatus>bost_Open</DocumentStatus>

<PeriodIndicator>Valeur par</PeriodIndicator>

<PayToCode>PARROT SA</PayToCode>

<ManualNumber nil="true" />

<UseShpdGoodsAct>tNO</UseShpdGoodsAct>

<IsPayToBank>tNO</IsPayToBank>

<PayToBankCountry nil="true" />

<PayToBankCode nil="true" />

<PayToBankAccountNo nil="true" />

<PayToBankBranch nil="true" />

<BPL_IDAssignedToInvoice nil="true">0</BPL_IDAssignedToInvoice>

<DownPayment>0.000000</DownPayment>

<ReserveInvoice>tNO</ReserveInvoice>

<LanguageCode>22</LanguageCode>

<TrackingNumber nil="true" />

<PickRemark nil="true" />

<ClosingDate nil="true" />

<SequenceCode nil="true">0</SequenceCode>

<SequenceSerial nil="true">0</SequenceSerial>

<SeriesString nil="true" />

<SubSeriesString nil="true" />

...

<U_PFL_ServiceTpt nil="true" />

<U_PFL_ActiviteCde nil="true" />

<U_PFL_NumTransKN1 nil="true" />

<U_PFL_NumTransKN2 nil="true" />

<U_PFL_DateTransKN1 nil="true" />

<U_PFL_DateTransKN2 nil="true" />

<U_PFL_NumBLKN nil="true" />

<U_PFL_DatePrepaKN nil="true" />

<U_PFL_DateExpeKN nil="true" />

<U_PFL_Conformite nil="true" />

<U_PFL_NumTrack nil="true" />

<U_PFL_RangPrepa>50</U_PFL_RangPrepa>

<U_PAR_D004>N</U_PAR_D004>

<U_HK_TSF nil="true" />

<U_HK_FR nil="true" />

<U_HK_RECHK nil="true" />

<U_HK_RECFR nil="true" />

...

</row>

</Documents>

- <Document_Lines>

- <row>

<LineNum>0</LineNum>

<ItemCode>AC000007AA</ItemCode>

<ItemDescription>X - Faisceau adaptateur VOLVO</ItemDescription>

<Quantity>1.000000</Quantity>

<ShipDate>20140809</ShipDate>

<Price>5.510000</Price>

<PriceAfterVAT>6.612000</PriceAfterVAT>

<Currency>EUR</Currency>

<Rate>0.000000</Rate>

<DiscountPercent>0.000000</DiscountPercent>

<VendorNum>PTAC000007AA</VendorNum>

<SerialNum nil="true" />

<WarehouseCode>20</WarehouseCode>

<SalesPersonCode>-1</SalesPersonCode>

<CommisionPercent>0.000000</CommisionPercent>

<TreeType>iNotATree</TreeType>

<AccountCode>701001</AccountCode>

<UseBaseUnits>tNO</UseBaseUnits>

<SupplierCatNum />

<CostingCode nil="true" />

<ProjectCode>100</ProjectCode>

<BarCode>3520410002106</BarCode>

<VatGroup>C4</VatGroup>

<Height1>0.000000</Height1>

<Hight1Unit nil="true">0</Hight1Unit>

<Height2>0.000000</Height2>

<Height2Unit nil="true">0</Height2Unit>

<Lengh1>0.000000</Lengh1>

<Lengh1Unit nil="true">0</Lengh1Unit>

<Lengh2>0.000000</Lengh2>

<Lengh2Unit nil="true">0</Lengh2Unit>

<Weight1>0.000000</Weight1>

<Weight1Unit nil="true">0</Weight1Unit>

<Weight2>0.000000</Weight2>

<Weight2Unit nil="true">0</Weight2Unit>

<Factor1>1.000000</Factor1>

<Factor2>1.000000</Factor2>

<Factor3>1.000000</Factor3>

<Factor4>1.000000</Factor4>

<BaseType>-1</BaseType>

<BaseEntry nil="true">0</BaseEntry>

<BaseLine nil="true">0</BaseLine>

<Volume>0.000000</Volume>

<VolumeUnit>3</VolumeUnit>

<Width1>0.000000</Width1>

<Width1Unit nil="true">0</Width1Unit>

<Width2>0.000000</Width2>

<Width2Unit nil="true">0</Width2Unit>

<Address>Kuehne + Nagel Distripôle Parisud – Bât 2 -secteur 3 77124 LIEUSAINT FRANCE</Address>

<TaxCode nil="true" />

<TaxType>tt_Yes</TaxType>

<TaxLiable>tYES</TaxLiable>

<PickStatus>tNO</PickStatus>

<PickQuantity>0.000000</PickQuantity>

<PickListIdNumber nil="true">0</PickListIdNumber>

<OriginalItem nil="true" />

<BackOrder>tYES</BackOrder>

<FreeText />

<ShippingMethod>15</ShippingMethod>

<POTargetNum nil="true">0</POTargetNum>

<POTargetEntry />

<POTargetRowNum nil="true">0</POTargetRowNum>

<CorrectionInvoiceItem>ciis_ShouldBe</CorrectionInvoiceItem>

<CorrInvAmountToStock>0.000000</CorrInvAmountToStock>

<CorrInvAmountToDiffAcct>0.000000</CorrInvAmountToDiffAcct>

<AppliedTax>0.000000</AppliedTax>

<AppliedTaxFC>0.000000</AppliedTaxFC>

<AppliedTaxSC>0.000000</AppliedTaxSC>

<WTLiable>tNO</WTLiable>

<DeferredTax>tNO</DeferredTax>

<EqualizationTaxPercent>0.000000</EqualizationTaxPercent>

<TotalEqualizationTax>0.000000</TotalEqualizationTax>

<TotalEqualizationTaxFC>0.000000</TotalEqualizationTaxFC>

<TotalEqualizationTaxSC>0.000000</TotalEqualizationTaxSC>

<NetTaxAmount>1.100000</NetTaxAmount>

<NetTaxAmountFC>0.000000</NetTaxAmountFC>

<NetTaxAmountSC>1.100000</NetTaxAmountSC>

<MeasureUnit>1</MeasureUnit>

<UnitsOfMeasurment>1.000000</UnitsOfMeasurment>

<LineTotal>5.510000</LineTotal>

<TaxPercentagePerRow>20.000000</TaxPercentagePerRow>

<TaxTotal>1.100000</TaxTotal>

<ConsumerSalesForecast>tYES</ConsumerSalesForecast>

<ExciseAmount>0.000000</ExciseAmount>

<TaxPerUnit>0.000000</TaxPerUnit>

<TotalInclTax>0.000000</TotalInclTax>

<CountryOrg nil="true" />

<SWW />

<TransactionType nil="true" />

<DistributeExpense>tYES</DistributeExpense>

<ShipToCode>PARROT SA (Marketing) - CHANNEL</ShipToCode>

<RowTotalFC>0.000000</RowTotalFC>

<RowTotalSC>5.510000</RowTotalSC>

<LastBuyInmPrice>0.000000</LastBuyInmPrice>

<LastBuyDistributeSumFc>0.000000</LastBuyDistributeSumFc>

<LastBuyDistributeSumSc>0.000000</LastBuyDistributeSumSc>

<LastBuyDistributeSum>0.000000</LastBuyDistributeSum>

<StockDistributesumForeign>0.000000</StockDistributesumForeign>

<StockDistributesumSystem>0.000000</StockDistributesumSystem>

<StockDistributesum>0.000000</StockDistributesum>

<StockInmPrice>0.000000</StockInmPrice>

<PickStatusEx>dlps_NotPicked</PickStatusEx>

<TaxBeforeDPM>0.000000</TaxBeforeDPM>

<TaxBeforeDPMFC>0.000000</TaxBeforeDPMFC>

<TaxBeforeDPMSC>0.000000</TaxBeforeDPMSC>

<CFOPCode nil="true" />

<CSTCode nil="true" />

<Usage nil="true">0</Usage>

<TaxOnly>tNO</TaxOnly>

<VisualOrder>0</VisualOrder>

<BaseOpenQuantity>0.000000</BaseOpenQuantity>

<UnitPrice>5.510000</UnitPrice>

<LineStatus>bost_Open</LineStatus>

<PackageQuantity>1.000000</PackageQuantity>

<Text />

<LineType>dlt_Regular</LineType>

<COGSCostingCode nil="true" />

<COGSAccountCode>603200</COGSAccountCode>

<ChangeAssemlyBoMWarehouse>N</ChangeAssemlyBoMWarehouse>

<GrossBuyPrice>6.220000</GrossBuyPrice>

<GrossBase>-5</GrossBase>

<GrossProfitTotalBasePrice>6.220000</GrossProfitTotalBasePrice>

<CostingCode2 nil="true" />

<CostingCode3 nil="true" />

<CostingCode4 nil="true" />

<CostingCode5 nil="true" />

<ItemDetails>86195</ItemDetails>

<LocationCode nil="true">0</LocationCode>

<ActualDeliveryDate nil="true" />

<RemainingOpenQuantity>1.000000</RemainingOpenQuantity>

<OpenAmount>5.510000</OpenAmount>

<OpenAmountFC>0.000000</OpenAmountFC>

<OpenAmountSC>5.510000</OpenAmountSC>

<ExLineNo nil="true" />

<RequiredDate nil="true" />

<RequiredQuantity>0.000000</RequiredQuantity>

<COGSCostingCode2 nil="true" />

<COGSCostingCode3 nil="true" />

<COGSCostingCode4 nil="true" />

<COGSCostingCode5 nil="true" />

<CSTforIPI nil="true" />

<CSTforPIS nil="true" />

<CSTforCOFINS nil="true" />

<CreditOriginCode nil="true" />

<WithoutInventoryMovement>tNO</WithoutInventoryMovement>

<AgreementNo nil="true">0</AgreementNo>

<AgreementRowNumber nil="true">0</AgreementRowNumber>

<ShipToDescription>174 Quai de Jemmapes Escalier B - 3eme etage - Canal 75010 PARIS FRANCE</ShipToDescription>

<ActualBaseEntry nil="true">0</ActualBaseEntry>

<ActualBaseLine nil="true">0</ActualBaseLine>

<DocEntry>81647</DocEntry>

<U_GTI_E021>N</U_GTI_E021>

<U_GTI_E046>Y</U_GTI_E046>

<U_GTI_E032 nil="true" />

<U_GTI_E082 nil="true" />

<U_PAR_E088 nil="true" />

<U_PAR_E087 nil="true" />

<U_IFC_OLD nil="true">0.000000</U_IFC_OLD>

<U_PAR_TYMA>01</U_PAR_TYMA>

<U_PFL_NumCdeCompt nil="true" />

<U_PFL_DateExpImp nil="true" />

<U_PFL_NumTransIbolt nil="true" />

<U_PFL_Aconsigner>N</U_PFL_Aconsigner>

<U_PFL_Consigne>N</U_PFL_Consigne>

...

</row>

- <row>

<LineNum>1</LineNum>

<ItemCode>AC000010AA</ItemCode>

<ItemDescription>X-FAISCEAU CHRYSLER</ItemDescription>

<Quantity>1.000000</Quantity>

<ShipDate>20140809</ShipDate>

<Price>4.350000</Price>

<PriceAfterVAT>5.220000</PriceAfterVAT>

<Currency>EUR</Currency>

<Rate>0.000000</Rate>

<DiscountPercent>0.000000</DiscountPercent>

<VendorNum>PTAC000010AA</VendorNum>

<SerialNum nil="true" />

<WarehouseCode>60</WarehouseCode>

<SalesPersonCode>-1</SalesPersonCode>

<CommisionPercent>0.000000</CommisionPercent>

<TreeType>iNotATree</TreeType>

<AccountCode>701001</AccountCode>

<UseBaseUnits>tNO</UseBaseUnits>

<SupplierCatNum />

<CostingCode nil="true" />

<ProjectCode>100</ProjectCode>

<BarCode>3520410001260</BarCode>

<VatGroup>C4</VatGroup>

<Height1>0.000000</Height1>

<Hight1Unit nil="true">0</Hight1Unit>

<Height2>0.000000</Height2>

<Height2Unit nil="true">0</Height2Unit>

<Lengh1>0.000000</Lengh1>

<Lengh1Unit nil="true">0</Lengh1Unit>

<Lengh2>0.000000</Lengh2>

<Lengh2Unit nil="true">0</Lengh2Unit>

<Weight1>0.000000</Weight1>

<Weight1Unit nil="true">0</Weight1Unit>

<Weight2>0.000000</Weight2>

<Weight2Unit nil="true">0</Weight2Unit>

<Factor1>1.000000</Factor1>

<Factor2>1.000000</Factor2>

<Factor3>1.000000</Factor3>

<Factor4>1.000000</Factor4>

<BaseType>-1</BaseType>

<BaseEntry nil="true">0</BaseEntry>

<BaseLine nil="true">0</BaseLine>

<Volume>0.000000</Volume>

<VolumeUnit>3</VolumeUnit>

<Width1>0.000000</Width1>

<Width1Unit nil="true">0</Width1Unit>

<Width2>0.000000</Width2>

<Width2Unit nil="true">0</Width2Unit>

<Address>Geodis - Bat Evl3 - Activite Parrot Z.i La piece de la remise - Route de Corbeil 91004 EVRY FRANCE</Address>

<TaxCode nil="true" />

<TaxType>tt_Yes</TaxType>

<TaxLiable>tYES</TaxLiable>

<PickStatus>tNO</PickStatus>

<PickQuantity>0.000000</PickQuantity>

<PickListIdNumber nil="true">0</PickListIdNumber>

<OriginalItem nil="true" />

<BackOrder>tYES</BackOrder>

<FreeText />

<ShippingMethod>15</ShippingMethod>

<POTargetNum nil="true">0</POTargetNum>

<POTargetEntry />

<POTargetRowNum nil="true">0</POTargetRowNum>

<CorrectionInvoiceItem>ciis_ShouldBe</CorrectionInvoiceItem>

<CorrInvAmountToStock>0.000000</CorrInvAmountToStock>

<CorrInvAmountToDiffAcct>0.000000</CorrInvAmountToDiffAcct>

<AppliedTax>0.000000</AppliedTax>

<AppliedTaxFC>0.000000</AppliedTaxFC>

<AppliedTaxSC>0.000000</AppliedTaxSC>

<WTLiable>tNO</WTLiable>

<DeferredTax>tNO</DeferredTax>

<EqualizationTaxPercent>0.000000</EqualizationTaxPercent>

<TotalEqualizationTax>0.000000</TotalEqualizationTax>

<TotalEqualizationTaxFC>0.000000</TotalEqualizationTaxFC>

<TotalEqualizationTaxSC>0.000000</TotalEqualizationTaxSC>

<NetTaxAmount>0.870000</NetTaxAmount>

<NetTaxAmountFC>0.000000</NetTaxAmountFC>

<NetTaxAmountSC>0.870000</NetTaxAmountSC>

<MeasureUnit>1</MeasureUnit>

<UnitsOfMeasurment>1.000000</UnitsOfMeasurment>

<LineTotal>4.350000</LineTotal>

<TaxPercentagePerRow>20.000000</TaxPercentagePerRow>

<TaxTotal>0.870000</TaxTotal>

<ConsumerSalesForecast>tYES</ConsumerSalesForecast>

<ExciseAmount>0.000000</ExciseAmount>

<TaxPerUnit>0.000000</TaxPerUnit>

<TotalInclTax>0.000000</TotalInclTax>

<CountryOrg nil="true" />

<SWW />

<TransactionType nil="true" />

<DistributeExpense>tYES</DistributeExpense>

<ShipToCode>PARROT SA (Marketing) - CHANNEL</ShipToCode>

<RowTotalFC>0.000000</RowTotalFC>

<RowTotalSC>4.350000</RowTotalSC>

<LastBuyInmPrice>0.000000</LastBuyInmPrice>

<LastBuyDistributeSumFc>0.000000</LastBuyDistributeSumFc>

<LastBuyDistributeSumSc>0.000000</LastBuyDistributeSumSc>

<LastBuyDistributeSum>0.000000</LastBuyDistributeSum>

<StockDistributesumForeign>0.000000</StockDistributesumForeign>

<StockDistributesumSystem>0.000000</StockDistributesumSystem>

<StockDistributesum>0.000000</StockDistributesum>

<StockInmPrice>0.000000</StockInmPrice>

<PickStatusEx>dlps_NotPicked</PickStatusEx>

<TaxBeforeDPM>0.000000</TaxBeforeDPM>

<TaxBeforeDPMFC>0.000000</TaxBeforeDPMFC>

<TaxBeforeDPMSC>0.000000</TaxBeforeDPMSC>

<CFOPCode nil="true" />

<CSTCode nil="true" />

<Usage nil="true">0</Usage>

<TaxOnly>tNO</TaxOnly>

<VisualOrder>1</VisualOrder>

<BaseOpenQuantity>0.000000</BaseOpenQuantity>

<UnitPrice>4.350000</UnitPrice>

<LineStatus>bost_Open</LineStatus>

<PackageQuantity>1.000000</PackageQuantity>

<Text />

<LineType>dlt_Regular</LineType>

<COGSCostingCode nil="true" />

<COGSAccountCode>603200</COGSAccountCode>

<ChangeAssemlyBoMWarehouse>N</ChangeAssemlyBoMWarehouse>

<GrossBuyPrice>4.260000</GrossBuyPrice>

<GrossBase>-5</GrossBase>

<GrossProfitTotalBasePrice>4.260000</GrossProfitTotalBasePrice>

<CostingCode2 nil="true" />

<CostingCode3 nil="true" />

<CostingCode4 nil="true" />

<CostingCode5 nil="true" />

<ItemDetails>55.116</ItemDetails>

<LocationCode nil="true">0</LocationCode>

<ActualDeliveryDate nil="true" />

<RemainingOpenQuantity>1.000000</RemainingOpenQuantity>

<OpenAmount>4.350000</OpenAmount>

<OpenAmountFC>0.000000</OpenAmountFC>

<OpenAmountSC>4.350000</OpenAmountSC>

<ExLineNo nil="true" />

<RequiredDate nil="true" />

<RequiredQuantity>0.000000</RequiredQuantity>

<COGSCostingCode2 nil="true" />

<COGSCostingCode3 nil="true" />

<COGSCostingCode4 nil="true" />

<COGSCostingCode5 nil="true" />

<CSTforIPI nil="true" />

<CSTforPIS nil="true" />

<CSTforCOFINS nil="true" />

<CreditOriginCode nil="true" />

<WithoutInventoryMovement>tNO</WithoutInventoryMovement>

<AgreementNo nil="true">0</AgreementNo>

<AgreementRowNumber nil="true">0</AgreementRowNumber>

<ShipToDescription>174 Quai de Jemmapes Escalier B - 3eme etage - Canal 75010 PARIS FRANCE</ShipToDescription>

<ActualBaseEntry nil="true">0</ActualBaseEntry>

<ActualBaseLine nil="true">0</ActualBaseLine>

<DocEntry>81647</DocEntry>

<U_GTI_E021>N</U_GTI_E021>

<U_GTI_E046>Y</U_GTI_E046>

<U_GTI_E032 nil="true" />

<U_GTI_E082 nil="true" />

...

</row>

</Document_Lines>

- <TaxExtension>

- <row>

<TaxId0 nil="true" />

<TaxId1 nil="true" />

<TaxId2 nil="true" />

<TaxId3 nil="true" />

<TaxId4 nil="true" />

<TaxId5 nil="true" />

<TaxId6 nil="true" />

<TaxId7 nil="true" />

<TaxId8 nil="true" />

<TaxId9 nil="true" />

<State nil="true" />

<County nil="true" />

<Incoterms nil="true" />

<Vehicle nil="true" />

<VehicleState nil="true" />

<NFRef nil="true" />

<Carrier nil="true" />

<PackQuantity nil="true">0</PackQuantity>

<PackDescription nil="true" />

<Brand nil="true" />

<ShipUnitNo nil="true">0</ShipUnitNo>

<NetWeight>0.000000</NetWeight>

<GrossWeight>0.000000</GrossWeight>

<StreetS>174 Quai de Jemmapes</StreetS>

...

</TaxExtension>

- <AddressExtension>

- <row>

<ShipToStreet>174 Quai de Jemmapes</ShipToStreet>

<ShipToStreetNo nil="true" />

<ShipToBlock>Escalier B - 3eme etage - Canal</ShipToBlock>

<ShipToBuilding />

<ShipToCity>PARIS</ShipToCity>

<ShipToZipCode>75010</ShipToZipCode>

<ShipToCounty nil="true" />

<ShipToState nil="true" />

<ShipToCountry>FR</ShipToCountry>

<ShipToAddressType nil="true" />

<BillToStreet>174 Quai de Jemmapes (3eme Etage)</BillToStreet>

<BillToStreetNo nil="true" />

<BillToBlock nil="true" />

<BillToBuilding />

<BillToCity>PARIS</BillToCity>

<BillToZipCode>75010</BillToZipCode>

<BillToCounty nil="true" />

<BillToState nil="true" />

<BillToCountry>FR</BillToCountry>

<BillToAddressType nil="true" />

</row>

</AddressExtension>

</BO>

</BOM>

</Payload>

- <Payload Role="C" id="atom1" system="0010000100" mode="single" method="Query Statement(Query Statement)" sql="SELECT Name from [@GTI0004] where Code='69'" disable-output-escaping="false">

- <ResultSet xmlns="urn:com.sap.b1i.adapter:jdbcadapter" rowCount="1">

- <Row>

<Name>DSV Messagerie EU</Name>

</Row>

</ResultSet>

</Payload>

- <Payload id="atom0" Role="R">

- <Fileout xmlns="" type="file">

- <BOM>

- <BO>

- <AdmInfo>

<Object>Commande Client</Object>

<Version>1</Version>

<DO>PARROT</DO>

<Ident-DO>39414949600025</Ident-DO>

<Entrepot>GEODIS_EVRY_PARROT</Entrepot>

<Ident-Entrepot>3016001500804</Ident-Entrepot>

</AdmInfo>

- <CommandeClient>

<CodeClient>400001</CodeClient>

<nom-client>PARROT MARKETING - CHANNEL MARKETING</nom-client>

<num-ref-client />

<date-commande>20140808</date-commande>

<date-livraison>20140809</date-livraison>

<transporteur>69</transporteur>

<nom-transporteur>DSV Messagerie EU</nom-transporteur>

<code-incoterm>DDU</code-incoterm>

<lieu-incoterm>PARIS</lieu-incoterm>

<adresse>174 Quai de Jemmapes</adresse>

<code-postale>75010</code-postale>

<ville>PARIS</ville>

<pays>FR</pays>

<ident-fiscal>FR70394149496</ident-fiscal>

<type-commande>NO</type-commande>

<a-facturer>N</a-facturer>

<priorite-preparation>50</priorite-preparation>

<nb_colis_total>0.000000</nb_colis_total>

<nb_palette_total>0.000000</nb_palette_total>

<volume_total>0.000000</volume_total>

<poids_total>0.000000</poids_total>

</CommandeClient>

- <CommandeClient-Lines>

- <row>

<num-ligne>0</num-ligne>

<code-article>AC000007AA</code-article>

<desc-article>X - Faisceau adaptateur VOLVO</desc-article>

<quantite>1.000000</quantite>

</row>

- <row>

<num-ligne>1</num-ligne>

<code-article>AC000010AA</code-article>

<desc-article>X-FAISCEAU CHRYSLER</desc-article>

<quantite>1.000000</quantite>

</row>

</CommandeClient-Lines>

</BO>

</BOM>

</Fileout>

</Payload>

- <Payload Role="R2">

- <Fileout xmlns="" type="file">

- <BOM>

- <BO>

- <AdmInfo>

<Object>Commande Client</Object>

<Version>1</Version>

<DO>PARROT</DO>

<Ident-DO>39414949600025</Ident-DO>

<Entrepot>GEODIS_EVRY_PARROT</Entrepot>

<Ident-Entrepot>3016001500804</Ident-Entrepot>

</AdmInfo>

- <CommandeClient>

<CodeClient>400001</CodeClient>

<nom-client>PARROT MARKETING - CHANNEL MARKETING</nom-client>

<num-ref-client />

<date-commande>20140808</date-commande>

<date-livraison>20140809</date-livraison>

<transporteur>69</transporteur>

<nom-transporteur>DSV Messagerie EU</nom-transporteur>

<code-incoterm>DDU</code-incoterm>

<lieu-incoterm>PARIS</lieu-incoterm>

<adresse>174 Quai de Jemmapes</adresse>

<code-postale>75010</code-postale>

<ville>PARIS</ville>

<pays>FR</pays>

<ident-fiscal>FR70394149496</ident-fiscal>

<type-commande>NO</type-commande>

<a-facturer>N</a-facturer>

<priorite-preparation>50</priorite-preparation>

<nb_colis_total>0.000000</nb_colis_total>

<nb_palette_total>0.000000</nb_palette_total>

<volume_total>0.000000</volume_total>

<poids_total>0.000000</poids_total>

</CommandeClient>

- <CommandeClient-Lines>

- <row>

<num-ligne>0</num-ligne>

<code-article>AC000007AA</code-article>

<desc-article>X - Faisceau adaptateur VOLVO</desc-article>

<quantite>1.000000</quantite>

</row>

- <row>

<num-ligne>1</num-ligne>

<code-article>AC000010AA</code-article>

<desc-article>X-FAISCEAU CHRYSLER</desc-article>

<quantite>1.000000</quantite>

</row>

</CommandeClient-Lines>

</BO>

</BOM>

</Fileout>

</Payload>

</Body>

</Msg>

</vPStatus>

</Payload>

- <Payload Role="R" id="atom0">

- <B1out xmlns="" type="object">

- <Documents>

- <row>

<DocEntry>81647</DocEntry>

<DocType>dDocument_Items</DocType>

</row>

</Documents>

- <Document_Lines>

- <row>

<LineNum>0</LineNum>

<U_GTI_E021>Y</U_GTI_E021>

<U_PFL_DateExpImp>20140808</U_PFL_DateExpImp>

<LineNum>0</LineNum>

<U_GTI_E021>Y</U_GTI_E021>

<U_PFL_DateExpImp>20140808</U_PFL_DateExpImp>

</row>

</Document_Lines>

</B1out>

</Payload>

- <Payload Role="R2" Call="object" Type="DIAPI">

- <Envelope xmlns="">

- <Header>

<Action throwException="false">add</Action>

<WritePolicy insert_on_exists="fallback2U" update_on_miss="fallback2I" update_policy="regular" />

</Header>

- <Body>

- <BOM>

- <BO>

- <AdmInfo>

<Object>17</Object>

<Version>2</Version>

</AdmInfo>

- <QueryParams>

<DocEntry>81647</DocEntry>

</QueryParams>

- <Documents>

- <row>

<DocEntry>81647</DocEntry>

<DocType>dDocument_Items</DocType>

</row>

</Documents>

- <Document_Lines>

- <row>

<LineNum>0</LineNum>

<U_GTI_E021>Y</U_GTI_E021>

<U_PFL_DateExpImp>20140808</U_PFL_DateExpImp>

<LineNum>0</LineNum>

<U_GTI_E021>Y</U_GTI_E021>

<U_PFL_DateExpImp>20140808</U_PFL_DateExpImp>

</row>

</Document_Lines>

</BO>

</BOM>

</Body>

</Envelope>

</Payload>

</Body>

</Msg>

Former Member
0 Kudos

As you see the system read only line 0 twice (2 lines).

I would like test for each line the value of an attribut and if the test is ok update order but the code which I post doesn't work.

Did you see my error ou do you have an idea to do that please?

There is my code :

<B1out xmlns="" type="object">

            <Documents>

            <row>

              <DocEntry>  <xsl:value-of select="//b1e:value"/>  </DocEntry>

              <DocType>dDocument_Items</DocType>

            </row>

          </Documents>

         

         

        

          <Document_Lines>

            

                <xsl:for-each select="//vpf:Payload[./@Role = 'S' and @Result != '']//Document_Lines/*">       

            <xsl:if test= "//vpf:Payload[./@Role = 'S' and @Result != '']//Document_Lines/row/U_GTI_E046='Y' and //vpf:Payload[./@Role = 'S' and @Result != '']//Document_Lines/row/U_GTI_E021='N'">       

            <row>

            

                   

            

               

                <U_GTI_E021>Y</U_GTI_E021>

                <U_PFL_DateExpImp>                   

                    <xsl:value-of select="//vpf:Payload[./@Role = 'S' and @Result != '']//CreationDate"/>

                </U_PFL_DateExpImp>

               

           

            </row>

            </if>

            </xsl:for-each>

           

       

                

               

        </Document_Lines>

        

       

       

         </B1out>

Thanks

regards

Sarah

Former Member
0 Kudos

Hi Sarah

Actually in the document that I referred to in my previous comment you could find that for-each function creates new context:


The expression /invoice/item in xsl:for-each correctly selects all items in the invoice. But expressions inside xsl:for-each are wrong, as they start with /, which means that they're absolute. Such expressions always return a description, the quantity, and price of the first item (remember from the previous section that xsl:value-of returns only the first node from a node set), because an absolute expression does not depend on the current node, which corresponds to the currently processed item.

To easily fix this problem, use a relative expression inside xsl:for-each

i. e.: <xsl:if test= "U_GTI_E046='Y' and U_GTI_E021='N'">

Kind regards,

Radek

Former Member
0 Kudos

Hi Radek,

Sorry but I don't understand very well, What I suppose to put inside xsl:for each to considere all the lines and not just the first and to do my test on all the lines?

Thank you very much

Regards,

sarah

Former Member
0 Kudos

Hi Sarah

Your xsl:for-each is ok.

The only thing that needs to be changed is your if statement. Since when your loop is being executed it changes a processing context you don't have to use absolute paths inside your loop. Thus you need to change only your if statement to:

<xsl:if test= "U_GTI_E046='Y' and U_GTI_E021='N'">


Kind regards,

Radek

Former Member
0 Kudos

Hi Radek,

Thank you for your answer.

I try that you said but it doesn't work.

The test is made only on the first line and it's not made correctly.

My code is:

<B1out xmlns="" type="object">

            <Documents>

            <row>

              <DocEntry>  <xsl:value-of select="//b1e:value"/>  </DocEntry>

              <DocType>dDocument_Items</DocType>

            </row>

          </Documents>

         

         

        

          <Document_Lines>

            

                <xsl:for-each select="//vpf:Payload[./@Role = 'S' and @Result != '']//Document_Lines/*">       

            <xsl:if test="U_GTI_E046='Y' and U_GTI_E021='N'">       

            <row>

            

                   

            

                <U_GTI_E021>Y</U_GTI_E021>

                <U_PFL_DateExpImp>                   

                    <xsl:value-of select="//vpf:Payload[./@Role = 'S' and @Result != '']//CreationDate"/>

                </U_PFL_DateExpImp>

               

           

            </row>

            </xsl:if>

            </xsl:for-each>

           

       

                

               

        </Document_Lines>

        

       

       

         </B1out>

Is that ok?

Thank you very much for your help

Regards,

Sarah

Former Member
0 Kudos

Hi Radek,

I change the position of my if statement, I put after <row> and apparently it's work fine

Thank you very much for your help,

Regards,

Sarah

Former Member
0 Kudos

Great! It saves me headache - I just tried and it seemed to be working and I've have been struggling to figure out what's the reason for your problems.

I'm glad that I've been helpful.

Kind regards,

Radek

Former Member
0 Kudos

Hi Radek,

I work on another scenario but I have almost the same problem that at my first post.

I have  scenario with two steps. First step export an order of sap to a file on a FTP. The second step get back this file from the FTP and create a Delivery notes in sap from this file.

The two steps are link by Succesor/predecessor,

This is the message from B1i:

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

- <Msg xmlns="urn:com.sap.b1i.vplatform:entity" MessageId="140812095722094324630A0000220F5C" BeginTimeStamp="20140812095722" logmsg="0044" status="success" msglogexcl="false" MessageLog="true" SubMessageId="1" BackMessageId="2" DelMessageId="" b1msg="Exception : DI Error: (-2028) No matching records found (ODBC -2028)" b1status="failure" vBIU.errhdlg="" exceptionmsg="Exception : DI Error: (-2028) No matching records found (ODBC -2028)">

- <Header>

<msglog step="Default message log" always="false" b1ifactive="true" />

- <ErrorHandler phase="" async="Default error handling" sync="Default error handling" outbound="Default error handling" errorinbox="true">

- <delqueue status="false" qok="false">

<queue>Q..0010000100</queue>

<stream>S.Z.Scenario2BonLivraison</stream>

</delqueue>

- <callvBIU status="true">

<queue>Q.INB_IQ_INTQ_ASYN_QS.0010000000</queue>

<stream />

</callvBIU>

</ErrorHandler>

<Receiver Id="0010000100" ObjId="single" />

<IPO Id="INB_IQ_INTQ_ASYN_BIU" tid="140811200001094324410A000022D4FD" />

<IPO Id="OUT_B1" tid="140811200001094329300A00002266E1" />

- <Resumption>

<starter ipo="/vP.0010000100.in_IQ/com.sap.b1i.vplatform.runtime/INB_IQ_INTQ_ASYN_BIU/INB_IQ_INTQ_ASYN_BIU.ipo/proc" />

<restart id="outbound" q="Q.OUT_B1.0010000100" s="S.Z.Scenario2BonLivraison" u="140812095722094324630A0000220F5C.1" />

</Resumption>

<Sender Id="0010000100" ObjId="successor" />

<Successor Id="" Mode="" />

<Identification Ident="vBIU Name" IdPar="n.a." />

<nsList />

<Retrieval adapter="" type="" ruledoc="" />

<Outbound type="SAP Business One" channel="OUT_B1" />

<vBIU Id="Z.Scenario2BonLivraison" ver="1.0.0" SId="Z.B1Scenario2" filter="" phase="" />

- <Variables>

<var id="userid" value="no_authentication" />

<var id="username" value="no_authentication" />

</Variables>

<Properties />

<VarProperties />

- <ReceiverList>

<Receiver Id="0010000100" filter="" subscribed="true" handover="P" />

</ReceiverList>

<MsgList counter="1" complete="true" multimsg="false" delmsg="" />

</Header>

- <Body>

<Payload Role="T" Type="Handover" />

- <Payload Role="S">

- <vPStatus xmlns="" status="success" no="0000" Message="processing finished" Phase="final" B1IMessageId="140812095717094314920A000022BC74" SubMessageId="4_1" BeginTimeStamp="20140812095717" EndTimeStamp="20140812095722" SenderSysId="0010000100" ReceiverSysId="0010000107" SenderObjectTypeId="17" ReceiverObjectTypeId="" succ="Z.Scenario2BonLivraison">

- <Msg xmlns="urn:com.sap.b1i.vplatform:entity" MessageId="140812095717094314920A000022BC74" BeginTimeStamp="20140812095717" recording="true" logmsg="0000" SubMessageId="4_1" status="success" msglogexcl="false" MessageLog="true" b1msg="" b1status="success" BackMessageId="4_2" DelMessageId="4">

- <Header>

<msglog step="Default message log" always="false" b1ifactive="true" />

<Receiver Id="0010000107" ObjId="single" />

<IPO Id="INB_B1_EVNT_ASYN_EVT" tid="140811200001094314780A00002230C5" />

<IPO Id="PRC_B1" tid="140811200001094316090A0000220003" />

<IPO Id="OUT_FILE" tid="140811200001094321380A00002262D8" />

- <Resumption>

<starter ipo="/vP.0010000100.in_BEAE/com.sap.b1i.vplatform.runtime/INB_B1_EVNT_ASYN_EVT/INB_B1_EVNT_ASYN_EVT.ipo/proc" />

<restart id="processing" q="Q.PRC_B1.0010000100" s="S.Z.Scenario2ExportFTP" u="140812095717094314920A000022BC74.4" />

<restart id="outbound" q="Q.OUT_FILE.0010000107" s="S.Z.Scenario2ExportFTP" u="140812095717094314920A000022BC74.4_1" />

</Resumption>

<ProcStream>S.</ProcStream>

<Sender Id="0010000100" ObjId="17" />

<Successor Id="Z.Scenario2BonLivraison" Mode="message" />

<Identification Ident="B1 Event" IdPar="n.a." />

<nsList />

<Retrieval adapter="DI API" type="Object" ruledoc="" />

<vBIU Id="Z.Scenario2ExportFTP" ver="1.0.0" SId="Z.B1Scenario2" filter="" phase="" />

- <Variables>

<var id="userid" value="no_authentication" />

<var id="username" value="no_authentication" />

<var id="DocE" value="81668" />

</Variables>

<Properties />

<VarProperties />

- <ReceiverList>

<Receiver Id="0010000107" filter="" subscribed="true" handover="P" />

</ReceiverList>

<MsgList counter="1" complete="true" multimsg="false" delmsg="4" />

<Outbound type="Flat File" channel="OUT_FILE" format="xml" fmode="write" fname="C:\TEMP\Out\data????.xml" encoding="ISO-8859-1" ruledoc="not_applicable" deli="" wrap="" dellead="0" />

</Header>

- <Body>

- <Payload Role="T" Type="B1Event" add="">

- <Event xmlns="" B1EventFilter="false">

- <b1e:b1events xmlns:b1e="urn:com.sap.b1i.sim:b1event">

- <b1e:b1event>

<b1e:eventsource>Parrot_Prod_New</b1e:eventsource>

<b1e:objecttype>17</b1e:objecttype>

<b1e:transactiontype>A</b1e:transactiontype>

<b1e:usercode>manager</b1e:usercode>

<b1e:userid>manager</b1e:userid>

- <b1e:keys count="1">

- <b1e:key>

<b1e:name>DocEntry</b1e:name>

<b1e:value>81668</b1e:value>

</b1e:key>

</b1e:keys>

<b1e:sourcesite>DEV-PARROT</b1e:sourcesite>

</b1e:b1event>

</b1e:b1events>

- <b1ie:B1IEvent xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" SysId="0010000100" SysTypeId="B1.8.8" Task="I" LocalObjectType="17">

- <b1ie:PrimaryKeyList>

<b1ie:PrimaryKey Key="DocEntry" Value="81668" />

</b1ie:PrimaryKeyList>

</b1ie:B1IEvent>

</Event>

</Payload>

- <Payload Role="S" Result="0000" Msg="">

- <BOM xmlns="">

- <BO>

- <AdmInfo>

<Object>17</Object>

<Version>2</Version>

</AdmInfo>

- <Documents>

- <row>

<DocEntry>81668</DocEntry>

<DocNum>81668</DocNum>

<DocType>dDocument_Items</DocType>

<HandWritten>tNO</HandWritten>

<Printed>psNo</Printed>

<DocDate>20140812</DocDate>

<DocDueDate>20140813</DocDueDate>

<CardCode>11223</CardCode>

<CardName>Parrot_Prod_New</CardName>

<Address nil="true" />

<NumAtCard nil="true" />

<DocCurrency>EUR</DocCurrency>

<DocRate>1.000000</DocRate>

<DocTotal>11.830000</DocTotal>

<Reference1>81668</Reference1>

<Reference2 nil="true" />

<Comments />

<JournalMemo>Sales Orders - 11223</JournalMemo>

<PaymentGroupCode>1</PaymentGroupCode>

<DocTime>0950</DocTime>

...

...

<UseCorrectionVATGroup>tNO</UseCorrectionVATGroup>

<TotalDiscount>0.000000</TotalDiscount>

<DownPaymentAmount>0.000000</DownPaymentAmount>

<DownPaymentPercentage>0.000000</DownPaymentPercentage>

<DownPaymentType>dptInvoice</DownPaymentType>

<DownPaymentAmountSC>0.000000</DownPaymentAmountSC>

<DownPaymentAmountFC>0.000000</DownPaymentAmountFC>

<VatPercent>0.000000</VatPercent>

<ServiceGrossProfitPercent>0.000000</ServiceGrossProfitPercent>

...

<ApplyCurrentVATRatesForDownPaymentsToDraw>tNO</ApplyCurrentVATRatesForDownPaymentsToDraw>

<ClosingOption>coByCurrentSystemDate</ClosingOption>

<SpecifiedClosingDate nil="true" />

<OpenForLandedCosts>tYES</OpenForLandedCosts>

<AuthorizationStatus>dasWithout</AuthorizationStatus>

<TotalDiscountFC>0.000000</TotalDiscountFC>

<TotalDiscountSC>0.000000</TotalDiscountSC>

<RelevantToGTS>tNO</RelevantToGTS>

<BPLName nil="true" />

<VATRegNum nil="true" />

<U_GTI_D004 nil="true" />

<U_GTI_D006 nil="true" />

<U_GTI_D013>0.000000</U_GTI_D013>

<U_GTI_D014>0.000000</U_GTI_D014>

<U_GTI_D021 nil="true" />

<U_GTI_D022 nil="true" />

<U_GTI_D023 nil="true" />

<U_GTI_D053 nil="true" />

<U_GTI_D054 nil="true" />

<U_PAR_D003 nil="true" />

<U_PAR_D002 nil="true" />

<U_IFC_OLD nil="true">0</U_IFC_OLD>

<U_IFC_NbColis>0.000000</U_IFC_NbColis>

<U_IFC_Bq />

<U_IFC_AchTel nil="true" />

<U_IFC_AchMail nil="true" />

<U_PFL_TypCde>NO</U_PFL_TypCde>

<U_PFL_Afact>N</U_PFL_Afact>

<U_PFL_CptClientTpt nil="true" />

<U_PFL_ServiceTpt nil="true" />

<U_PFL_ActiviteCde nil="true" />

<U_PFL_NumTransKN1 nil="true" />

<U_PFL_NumTransKN2 nil="true" />

<U_PFL_DateTransKN1 nil="true" />

<U_PFL_DateTransKN2 nil="true" />

<U_PFL_NumBLKN nil="true" />

<U_PFL_DatePrepaKN nil="true" />

<U_PFL_DateExpeKN nil="true" />

<U_PFL_Conformite nil="true" />

<U_PFL_NumTrack nil="true" />

<U_PFL_RangPrepa>50</U_PFL_RangPrepa>

<U_PAR_D004>N</U_PAR_D004>

<U_HK_TSF nil="true" />

<U_HK_FR nil="true" />

<U_HK_RECHK nil="true" />

<U_HK_RECFR nil="true" />

<U_HK_FACHK nil="true" />

<U_HK_DATE_TSF nil="true" />

<U_HK_TIME_TSF nil="true">0000</U_HK_TIME_TSF>

<U_HK_TEXTE nil="true" />

<U_MA_ClientCode_N1 nil="true" />

<U_MA_ClientName_N2 nil="true" />

<U_MA_Channel_N2 />

<U_MA_ApprovalNumber nil="true" />

<U_MA_Detail_TO nil="true" />

<U_MA_Bdgt_EURinHQ nil="true" />

<U_MA_Turnover_EUR nil="true" />

<U_MA_HQ_Budget_EUR nil="true" />

<U_MA_ROI nil="true" />

<U_FL_TSF nil="true" />

<U_SAV_RMA nil="true">0</U_SAV_RMA>

<U_SAV_Tobeduplicated>N</U_SAV_Tobeduplicated>

<U_SAV_Duplicated>N</U_SAV_Duplicated>

<U_SAV_Duplicatedate nil="true" />

<U_SAV_NumTransIbolt nil="true" />

<U_BUDT_FWD nil="true" />

<U_BUDT_FWD_Note_1 nil="true" />

<U_BUDT_FWD_Note_2 nil="true" />

<U_PFL_Poids>0.000000</U_PFL_Poids>

<U_CR_ImpEDI>N</U_CR_ImpEDI>

<U_CR_BuyEDI>N</U_CR_BuyEDI>

<U_CR_Entrega>N</U_CR_Entrega>

<U_CR_Cliente nil="true" />

<U_CR_DirPedi>N</U_CR_DirPedi>

<U_CR_ImpDate nil="true" />

<U_CR_DepEDI>N</U_CR_DepEDI>

<U_CR_TemEDI>N</U_CR_TemEDI>

<U_CR_SucEDI>N</U_CR_SucEDI>

<U_CR_DlnEDI>N</U_CR_DlnEDI>

<U_CR_InvEDI>N</U_CR_InvEDI>

<U_ESP_Portes>Y</U_ESP_Portes>

<U_ESP_PrtImp>0</U_ESP_PrtImp>

<U_PFL_email nil="true" />

<U_PFL_phone nil="true" />

<U_PFL_carrier_info nil="true" />

<U_ExRefNo nil="true" />

<U_B1i_RefSO nil="true" />

<U_B1i_CUST_SCG>No</U_B1i_CUST_SCG>

<U_B1i_DS>No</U_B1i_DS>

<U_CR_RMA nil="true">0</U_CR_RMA>

<U_CR_RMANum nil="true">0</U_CR_RMANum>

<U_CR_RMACNum nil="true">0</U_CR_RMACNum>

<U_CR_RMATNum nil="true">0</U_CR_RMATNum>

<U_CR_RMARecep nil="true" />

<U_CR_RMADate nil="true" />

<U_CR_RMATime nil="true">0000</U_CR_RMATime>

<U_PFL_ship_status nil="true" />

<U_PFL_ship_date nil="true" />

<U_PFL_carrier_id nil="true" />

<U_PFL_carrier_name nil="true" />

<U_PFL_carrier_tracki nil="true" />

<U_PFL_carrier_weblin nil="true" />

<U_PFL_nb_pallet>0.000000</U_PFL_nb_pallet>

<U_PFL_volume_total>0.000000</U_PFL_volume_total>

<U_EZ_DocNum nil="true" />

<U_EZ_Requestor nil="true" />

<U_EZ_CostingCodeH1 nil="true" />

<U_EZ_CostingCodeH2 nil="true" />

<U_EZ_CostingCodeH3 nil="true" />

<U_EZ_CostingCodeH4 nil="true" />

<U_EZ_CostingCodeH5 nil="true" />

</row>

</Documents>

- <Document_Lines>

- <row>

<LineNum>0</LineNum>

<ItemCode>AC000007AA</ItemCode>

<ItemDescription>X - Faisceau adaptateur VOLVO</ItemDescription>

<Quantity>1.000000</Quantity>

<ShipDate>20140813</ShipDate>

<Price>5.510000</Price>

<PriceAfterVAT>6.612000</PriceAfterVAT>

<Currency>EUR</Currency>

<Rate>0.000000</Rate>

<DiscountPercent>0.000000</DiscountPercent>

<VendorNum>PTAC000007AA</VendorNum>

<SerialNum nil="true" />

<WarehouseCode>20</WarehouseCode>

<SalesPersonCode>-1</SalesPersonCode>

<CommisionPercent>0.000000</CommisionPercent>

<TreeType>iNotATree</TreeType>

<AccountCode>701001</AccountCode>

<UseBaseUnits>tNO</UseBaseUnits>

<SupplierCatNum />

...

<BaseType>-1</BaseType>

<BaseEntry nil="true">0</BaseEntry>

<BaseLine nil="true">0</BaseLine>

<Volume>0.000000</Volume>

<VolumeUnit>3</VolumeUnit>

<Width1>0.000000</Width1>

<Width1Unit nil="true">0</Width1Unit>

<Width2>0.000000</Width2>

<Width2Unit nil="true">0</Width2Unit>

<Address>Kuehne + Nagel Distripôle Parisud – Bât 2 -secteur 3 77124 LIEUSAINT FRANCE</Address>

<TaxCode nil="true" />

<TaxType>tt_Yes</TaxType>

<TaxLiable>tYES</TaxLiable>

<PickStatus>tNO</PickStatus>

<PickQuantity>0.000000</PickQuantity>

<PickListIdNumber nil="true">0</PickListIdNumber>

<OriginalItem nil="true" />
...

<LineTotal>5.510000</LineTotal>

<TaxPercentagePerRow>20.000000</TaxPercentagePerRow>

<TaxTotal>1.100000</TaxTotal>

<ConsumerSalesForecast>tYES</ConsumerSalesForecast>

<ExciseAmount>0.000000</ExciseAmount>

<TaxPerUnit>0.000000</TaxPerUnit>

<TotalInclTax>0.000000</TotalInclTax>

<CountryOrg nil="true" />

<SWW />

<TransactionType nil="true" />

<DistributeExpense>tYES</DistributeExpense>

<ShipToCode nil="true" />

<RowTotalFC>0.000000</RowTotalFC>

<RowTotalSC>5.510000</RowTotalSC>

<LastBuyInmPrice>0.000000</LastBuyInmPrice>

<LastBuyDistributeSumFc>0.000000</LastBuyDistributeSumFc>

<LastBuyDistributeSumSc>0.000000</LastBuyDistributeSumSc>

<LastBuyDistributeSum>0.000000</LastBuyDistributeSum>

<StockDistributesumForeign>0.000000</StockDistributesumForeign>

<StockDistributesumSystem>0.000000</StockDistributesumSystem>

<StockDistributesum>0.000000</StockDistributesum>

<StockInmPrice>0.000000</StockInmPrice>

<PickStatusEx>dlps_NotPicked</PickStatusEx>

<TaxBeforeDPM>0.000000</TaxBeforeDPM>

<TaxBeforeDPMFC>0.000000</TaxBeforeDPMFC>

<TaxBeforeDPMSC>0.000000</TaxBeforeDPMSC>

<CFOPCode nil="true" />

<CSTCode nil="true" />

<Usage nil="true">0</Usage>

<TaxOnly>tNO</TaxOnly>

<VisualOrder>0</VisualOrder>

<BaseOpenQuantity>0.000000</BaseOpenQuantity>

<UnitPrice>5.510000</UnitPrice>

<LineStatus>bost_Open</LineStatus>

<PackageQuantity>1.000000</PackageQuantity>

<Text />

<LineType>dlt_Regular</LineType>

<COGSCostingCode nil="true" />

<COGSAccountCode>603200</COGSAccountCode>

<ChangeAssemlyBoMWarehouse>N</ChangeAssemlyBoMWarehouse>

<GrossBuyPrice>6.220000</GrossBuyPrice>

<GrossBase>-5</GrossBase>

<GrossProfitTotalBasePrice>6.220000</GrossProfitTotalBasePrice>

...

<U_IFC_OLD nil="true">0.000000</U_IFC_OLD>

<U_PAR_TYMA>01</U_PAR_TYMA>

<U_PFL_NumCdeCompt nil="true" />

<U_PFL_DateExpImp nil="true" />

<U_PFL_NumTransIbolt nil="true" />

<U_PFL_Aconsigner>N</U_PFL_Aconsigner>

<U_PFL_Consigne>N</U_PFL_Consigne>

<U_PFL_REF_HA nil="true" />

<U_IBO_RefHA nil="true" />

<U_MARK_COSTS nil="true" />

<U_MARK_CHANNELS nil="true" />

<U_MARK_BUD nil="true" />

<U_FA_NEM nil="true">0</U_FA_NEM>

<U_EDI_Tax_1>0.000000</U_EDI_Tax_1>

<U_EDI_Tax_2>0.000000</U_EDI_Tax_2>

<U_EDI_Tax_3>0.000000</U_EDI_Tax_3>

<U_ExRefNo nil="true" />

<U_ExPrice nil="true">0.000000</U_ExPrice>

<U_ExCurrency nil="true" />

<U_IMMO_USE_SUP_1>N</U_IMMO_USE_SUP_1>

<U_IMMO_LOCAL nil="true" />

<U_FOU_tobeexported>N</U_FOU_tobeexported>

<U_FOU_exported>N</U_FOU_exported>

<U_FOU_date nil="true" />

<U_FOU_ibolt_id nil="true" />

<U_FOU_po_num nil="true" />

<U_IFC_NBCOLIS nil="true">0</U_IFC_NBCOLIS>

<U_IFC_NBP nil="true">0</U_IFC_NBP>

<U_B1I_BaseLine nil="true" />

<U_EZ_LineNum nil="true" />

<U_EZ_DocNum nil="true" />

<U_EZ_CostingCodeL1 nil="true" />

<U_EZ_CostingCodeL2 nil="true" />

<U_EZ_CostingCodeL3 nil="true" />

<U_EZ_CostingCodeL4 nil="true" />

<U_EZ_CostingCodeL5 nil="true" />

<U_PFL_LotNumber nil="true" />

</row>

- <row>

<LineNum>1</LineNum>

<ItemCode>AC000010AA</ItemCode>

<ItemDescription>X-FAISCEAU CHRYSLER</ItemDescription>

<Quantity>1.000000</Quantity>

<ShipDate>20140813</ShipDate>

<Price>4.350000</Price>

<PriceAfterVAT>5.220000</PriceAfterVAT>

<Currency>EUR</Currency>

<Rate>0.000000</Rate>

<DiscountPercent>0.000000</DiscountPercent>

<VendorNum>PTAC000010AA</VendorNum>

<SerialNum nil="true" />

<WarehouseCode>60</WarehouseCode>

<SalesPersonCode>-1</SalesPersonCode>

<CommisionPercent>0.000000</CommisionPercent>

<TreeType>iNotATree</TreeType>

<AccountCode>701001</AccountCode>

<UseBaseUnits>tNO</UseBaseUnits>

<SupplierCatNum />

<CostingCode nil="true" />

<ProjectCode>100</ProjectCode>

<BarCode>3520410001260</BarCode>

<VatGroup>C4</VatGroup>

<Height1>0.000000</Height1>

<Hight1Unit nil="true">0</Hight1Unit>

<Height2>0.000000</Height2>

<Height2Unit nil="true">0</Height2Unit>

<Lengh1>0.000000</Lengh1>

<Lengh1Unit nil="true">0</Lengh1Unit>

<Lengh2>0.000000</Lengh2>

<Lengh2Unit nil="true">0</Lengh2Unit>

<Weight1>0.000000</Weight1>

<Weight1Unit nil="true">0</Weight1Unit>

<Weight2>0.000000</Weight2>

<Weight2Unit nil="true">0</Weight2Unit>

<Factor1>1.000000</Factor1>

<Factor2>1.000000</Factor2>

<Factor3>1.000000</Factor3>

<Factor4>1.000000</Factor4>

<BaseType>-1</BaseType>

<BaseEntry nil="true">0</BaseEntry>

<BaseLine nil="true">0</BaseLine>

<Volume>0.000000</Volume>

<VolumeUnit>3</VolumeUnit>

<Width1>0.000000</Width1>

<Width1Unit nil="true">0</Width1Unit>

<Width2>0.000000</Width2>

<Width2Unit nil="true">0</Width2Unit>

<Address>Geodis - Bat Evl3 - Activite Parrot Z.i La piece de la remise - Route de Corbeil 91004 EVRY FRANCE</Address>

<TaxCode nil="true" />

a<TaxType>tt_Yes</TaxType>
<TaxLiable>tYES</TaxLiable>
<PickStatus>tNO</PickStatus>
<PickQuantity>0.000000</PickQuantity>
<PickListIdNumber nil="true">0</PickListIdNumber>
<OriginalItem nil="true" />
<BackOrder>tYES</BackOrder>
<FreeText />
<ShippingMethod>15</ShippingMethod>
<POTargetNum nil="true">0</POTargetNum>
<POTargetEntry />
<POTargetRowNum nil="true">0</POTargetRowNum>
<CorrectionInvoiceItem>ciis_ShouldBe</CorrectionInvoiceItem>
<CorrInvAmountToStock>0.000000</CorrInvAmountToStock>
<CorrInvAmountToDiffAcct>0.000000</CorrInvAmountToDiffAcct>
<AppliedTax>0.000000</AppliedTax>
<AppliedTaxFC>0.000000</AppliedTaxFC>
<AppliedTaxSC>0.000000</AppliedTaxSC>
<WTLiable>tNO</WTLiable>
<DeferredTax>tNO</DeferredTax>
<EqualizationTaxPercent>0.000000</EqualizationTaxPercent>
<TotalEqualizationTax>0.000000</TotalEqualizationTax>
<TotalEqualizationTaxFC>0.000000</TotalEqualizationTaxFC>
<TotalEqualizationTaxSC>0.000000</TotalEqualizationTaxSC>
<NetTaxAmount>0.870000</NetTaxAmount>
<NetTaxAmountFC>0.000000</NetTaxAmountFC>
<NetTaxAmountSC>0.870000</NetTaxAmountSC>
<MeasureUnit>1</MeasureUnit>
<UnitsOfMeasurment>1.000000</UnitsOfMeasurment>
<LineTotal>4.350000</LineTotal>
<TaxPercentagePerRow>20.000000</TaxPercentagePerRow>
<TaxTotal>0.870000</TaxTotal>
<ConsumerSalesForecast>tYES</ConsumerSalesForecast>
<ExciseAmount>0.000000</ExciseAmount>
<TaxPerUnit>0.000000</TaxPerUnit>
<TotalInclTax>0.000000</TotalInclTax>
...

<GrossBuyPrice>4.260000</GrossBuyPrice>

<GrossBase>-5</GrossBase>

<GrossProfitTotalBasePrice>4.260000</GrossProfitTotalBasePrice>

<CostingCode2 nil="true" />

<CostingCode3 nil="true" />

<CostingCode4 nil="true" />

<CostingCode5 nil="true" />

<ItemDetails>55.116</ItemDetails>

<LocationCode nil="true">0</LocationCode>

<ActualDeliveryDate nil="true" />

<RemainingOpenQuantity>1.000000</RemainingOpenQuantity>

<OpenAmount>4.350000</OpenAmount>

<OpenAmountFC>0.000000</OpenAmountFC>

<OpenAmountSC>4.350000</OpenAmountSC>

<ExLineNo nil="true" />

<RequiredDate nil="true" />

<RequiredQuantity>0.000000</RequiredQuantity>

<COGSCostingCode2 nil="true" />

<COGSCostingCode3 nil="true" />

<COGSCostingCode4 nil="true" />

<COGSCostingCode5 nil="true" />

<CSTforIPI nil="true" />

<CSTforPIS nil="true" />

<CSTforCOFINS nil="true" />

<CreditOriginCode nil="true" />

<WithoutInventoryMovement>tNO</WithoutInventoryMovement>

<AgreementNo nil="true">0</AgreementNo>

<AgreementRowNumber nil="true">0</AgreementRowNumber>

<ShipToDescription />

<ActualBaseEntry nil="true">0</ActualBaseEntry>

<ActualBaseLine nil="true">0</ActualBaseLine>

<DocEntry>81668</DocEntry>

<U_GTI_E021>N</U_GTI_E021>

<U_GTI_E046>N</U_GTI_E046>

<U_GTI_E032 nil="true" />

<U_GTI_E082 nil="true" />

<U_PAR_E088 nil="true" />

<U_PAR_E087 nil="true" />

<U_IFC_OLD nil="true">0.000000</U_IFC_OLD>

<U_PAR_TYMA>01</U_PAR_TYMA>

<U_PFL_NumCdeCompt nil="true" />

<U_PFL_DateExpImp nil="true" />

<U_PFL_NumTransIbolt nil="true" />

<U_PFL_Aconsigner>N</U_PFL_Aconsigner>

<U_PFL_Consigne>N</U_PFL_Consigne>

<U_PFL_REF_HA nil="true" />

<U_IBO_RefHA nil="true" />

<U_MARK_COSTS nil="true" />

<U_MARK_CHANNELS nil="true" />

<U_MARK_BUD nil="true" />

<U_FA_NEM nil="true">0</U_FA_NEM>

<U_EDI_Tax_1>0.000000</U_EDI_Tax_1>

<U_EDI_Tax_2>0.000000</U_EDI_Tax_2>

<U_EDI_Tax_3>0.000000</U_EDI_Tax_3>

<U_ExRefNo nil="true" />

<U_ExPrice nil="true">0.000000</U_ExPrice>

<U_ExCurrency nil="true" />

<U_IMMO_USE_SUP_1>N</U_IMMO_USE_SUP_1>

<U_IMMO_LOCAL nil="true" />

<U_FOU_tobeexported>N</U_FOU_tobeexported>

<U_FOU_exported>N</U_FOU_exported>

<U_FOU_date nil="true" />

<U_FOU_ibolt_id nil="true" />

<U_FOU_po_num nil="true" />

<U_IFC_NBCOLIS nil="true">0</U_IFC_NBCOLIS>

<U_IFC_NBP nil="true">0</U_IFC_NBP>

<U_B1I_BaseLine nil="true" />

<U_EZ_LineNum nil="true" />

<U_EZ_DocNum nil="true" />

<U_EZ_CostingCodeL1 nil="true" />

<U_EZ_CostingCodeL2 nil="true" />

<U_EZ_CostingCodeL3 nil="true" />

<U_EZ_CostingCodeL4 nil="true" />

<U_EZ_CostingCodeL5 nil="true" />

<U_PFL_LotNumber nil="true" />

</row>

...

</Document_Lines>

</BO>

</BOM>

</Payload>

- <Payload Role="X" id="atom3">

- <Fileout xmlns="" type="file">

- <BOM>

- <BO>

- <AdmInfo>

<Object>Commande Client</Object>

<Version>1</Version>

<DO>PARROT</DO>

<Ident-DO>39414949600025</Ident-DO>

<Entrepot>GEODIS_EVRY_PARROT</Entrepot>

<Ident-Entrepot>3016001500804</Ident-Entrepot>

</AdmInfo>

- <LivraisonClient>

<Num-Transaction />

<Date-Transaction />

<CodeClient>11223</CodeClient>

<bonlivraison-KN />

<date-preparation />

<type-commande>NO</type-commande>

<conformite />

<nb_colis_total>0.000000</nb_colis_total>

<nb_palette_total>0.000000</nb_palette_total>

<volume_total>0.000000</volume_total>

<poids_total>0.000000</poids_total>

<Shipment_Date />

</LivraisonClient>

- <LivraisonClient-Lines>

- <row>

<num-ligne>0</num-ligne>

<code-article>AC000007AA</code-article>

<desc-article>X - Faisceau adaptateur VOLVO</desc-article>

<quantite>1.000000</quantite>

</row>

- <row>

<num-ligne>1</num-ligne>

<code-article>AC000010AA</code-article>

<desc-article>X-FAISCEAU CHRYSLER</desc-article>

<quantite>1.000000</quantite>

</row>

</LivraisonClient-Lines>

</BO>

</BOM>

</Fileout>

</Payload>

<Payload Role="C" id="atom1" statusNo="0" status="ok" calltype="FTPO" mode="write" input.status="ok" input.id="atom3" input.type="atom" filePattern="test???.xml" ftpServer="10.0.0.34" ftpPort="21" userName="infoclip" password="{{0/HgRi2oL8zSRpK0abd54XA==}}" />

- <Payload id="atom0" Role="R">

- <Fileout xmlns="" type="file">

- <BOM>

- <BO>

- <AdmInfo>

<Object>Commande Client</Object>

<Version>1</Version>

<DO>PARROT</DO>

<Ident-DO>39414949600025</Ident-DO>

<Entrepot>GEODIS_EVRY_PARROT</Entrepot>

<Ident-Entrepot>3016001500804</Ident-Entrepot>

</AdmInfo>

- <LivraisonClient>

<Num-Transaction />

<Date-Transaction />

<CodeClient>11223</CodeClient>

<bonlivraison-KN />

<date-preparation />

<type-commande>NO</type-commande>

<conformite />

<nb_colis_total>0.000000</nb_colis_total>

<nb_palette_total>0.000000</nb_palette_total>

<volume_total>0.000000</volume_total>

<poids_total>0.000000</poids_total>

<Shipment_Date />

</LivraisonClient>

- <LivraisonClient-Lines>

- <row>

<num-ligne>0</num-ligne>

<code-article>AC000007AA</code-article>

<desc-article>X - Faisceau adaptateur VOLVO</desc-article>

<quantite>1.000000</quantite>

</row>

- <row>

<num-ligne>1</num-ligne>

<code-article>AC000010AA</code-article>

<desc-article>X-FAISCEAU CHRYSLER</desc-article>

<quantite>1.000000</quantite>

</row>

</LivraisonClient-Lines>

</BO>

</BOM>

</Fileout>

</Payload>

- <Payload Role="R2">

- <Fileout xmlns="" type="file">

- <BOM>

- <BO>

- <AdmInfo>

<Object>Commande Client</Object>

<Version>1</Version>

<DO>PARROT</DO>

<Ident-DO>39414949600025</Ident-DO>

<Entrepot>GEODIS_EVRY_PARROT</Entrepot>

<Ident-Entrepot>3016001500804</Ident-Entrepot>

</AdmInfo>

- <LivraisonClient>

<Num-Transaction />

<Date-Transaction />

<CodeClient>11223</CodeClient>

<bonlivraison-KN />

<date-preparation />

<type-commande>NO</type-commande>

<conformite />

<nb_colis_total>0.000000</nb_colis_total>

<nb_palette_total>0.000000</nb_palette_total>

<volume_total>0.000000</volume_total>

<poids_total>0.000000</poids_total>

<Shipment_Date />

</LivraisonClient>

- <LivraisonClient-Lines>

- <row>

<num-ligne>0</num-ligne>

<code-article>AC000007AA</code-article>

<desc-article>X - Faisceau adaptateur VOLVO</desc-article>

<quantite>1.000000</quantite>

</row>

- <row>

<num-ligne>1</num-ligne>

<code-article>AC000010AA</code-article>

<desc-article>X-FAISCEAU CHRYSLER</desc-article>

<quantite>1.000000</quantite>

</row>

</LivraisonClient-Lines>

</BO>

</BOM>

</Fileout>

</Payload>

</Body>

</Msg>

</vPStatus>

</Payload>

- <Payload Role="C" id="atom1" statusNo="0" status="ok" calltype="FTPP" deleted="false" filePattern="test021.xml" ftpServer="10.0.0.34" ftpPort="21" userName="infoclip" password="{{0/HgRi2oL8zSRpK0abd54XA==}}">

<ftp.filename>//test021.xml</ftp.filename>

- <ftp.file>

- <Fileout xmlns="" type="file">

- <BOM>

- <BO>

- <AdmInfo>

<Object>Commande Client</Object>

<Version>1</Version>

<DO>PARROT</DO>

<Ident-DO>39414949600025</Ident-DO>

<Entrepot>GEODIS_EVRY_PARROT</Entrepot>

<Ident-Entrepot>3016001500804</Ident-Entrepot>

</AdmInfo>

- <LivraisonClient>

<Num-Transaction>12345678</Num-Transaction>

<Date-Transaction>20140813</Date-Transaction>

<CodeClient>200000</CodeClient>

<bonlivraison-KN>55555</bonlivraison-KN>

<date-preparation>20140825</date-preparation>

<type-commande>EX</type-commande>

<conformite>N</conformite>

<nb_colis_total>50.000000</nb_colis_total>

<nb_palette_total>50.000000</nb_palette_total>

<volume_total>100.000000</volume_total>

<poids_total>100.000000</poids_total>

<Shipment_Date>20140820</Shipment_Date>

</LivraisonClient>

- <LivraisonClient-Lines>

- <row>

<num-ligne>0</num-ligne>

<code-article>AC000015AA</code-article>

<desc-article>X - FAISCEAU RENAULT / MERCEDES</desc-article>

<quantite>1.000000</quantite>

</row>

- <row>

<num-ligne>1</num-ligne>

<code-article>AC000011AA</code-article>

<desc-article>FAISCEAU FORD / JAGUAR</desc-article>

<quantite>1.000000</quantite>

</row>

</LivraisonClient-Lines>

</BO>

</BOM>

</Fileout>

</ftp.file>

</Payload>

- <Payload Role="R" id="atom0">

- <B1out xmlns="" type="object">

- <Documents>

- <row>

<DocEntry>81668</DocEntry>

<U_PFL_NumTransKN1 />

<U_PFL_DateTransKN1 />

<CardCode />

<U_PFL_NumBLKN />

<U_PFL_DatePrepaKN />

<U_GTI_D013 />

<U_PFL_nb_pallet />

<U_PFL_volume_total />

<U_PFL_Poids />

<U_PFL_ship_date />

</row>

</Documents>

<Document_Lines />

</B1out>

</Payload>

- <Payload Role="R2" Call="object" Type="DIAPI">

- <Envelope xmlns="">

- <Header>

<Action throwException="false">add</Action>

<WritePolicy insert_on_exists="fallback2U" update_on_miss="fallback2I" update_policy="regular" />

</Header>

- <Body>

- <BOM>

- <BO>

- <AdmInfo>

<Object>15</Object>

<Version>2</Version>

</AdmInfo>

- <QueryParams>

<DocEntry>81668</DocEntry>

</QueryParams>

- <Documents>

- <row>

<DocEntry>81668</DocEntry>

<U_PFL_NumTransKN1 />

<U_PFL_DateTransKN1 />

<CardCode />

<U_PFL_NumBLKN />

<U_PFL_DatePrepaKN />

<U_GTI_D013 />

<U_PFL_nb_pallet />

<U_PFL_volume_total />

<U_PFL_Poids />

<U_PFL_ship_date />

</row>

</Documents>

<Document_Lines />

</BO>

</BOM>

</Body>

</Envelope>

</Payload>

</Body>

</Msg>

Former Member
0 Kudos

and my code in atom0 of the second step is :

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

- <xsl:stylesheet xmlns:b1e="urn:com.sap.b1i.sim:b1event" xmlns:b1ie="urn:com.sap.b1i.sim:b1ievent" xmlns:bfa="urn:com.sap.b1i.bizprocessor:bizatoms" xmlns:jdbc="urn:com.sap.b1i.adapter:jdbcadapter" xmlns:rfc="urn:sap-com:document:sap:rfc:functions" xmlns:sim="urn:com.sap.b1i.sim:entity" xmlns:utils2="com.sap.b1i.bpc_tools.Utilities" xmlns:vpf="urn:com.sap.b1i.vplatform:entity" xmlns:xci="urn:com.sap.b1i.xcellerator:intdoc" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" bfa:force="" vpf:force="" jdbc:force="" rfc:force="" b1ie:force="" b1e:force="" xci:force="" sim:force="" utils2:force="">

  <xsl:output method="xml" encoding="UTF-8" indent="yes" />

  <xsl:param name="atom" />

  <xsl:param name="sessionid" />

  <xsl:variable name="msg" select="/vpf:Msg/vpf:Body/vpf:Payload[./@Role='S']" />

  <xsl:variable name="vpSender" select="/vpf:Msg/vpf:Header/vpf:Sender/@Id" />

  <xsl:variable name="vpObject" select="/vpf:Msg/vpf:Header/vpf:Sender/@ObjId" />

  <xsl:variable name="vpReceiver" select="/vpf:Msg/vpf:Header/vpf:ReceiverList/vpf:Receiver[./@handover='P']/@Id" />

  <xsl:variable name="vpfile" select="/vpf:Msg/vpf:Header/vpf:Variables/vpf:var[./@id='file']/@value" />

- <xsl:template match="/">

- <Msg xmlns="urn:com.sap.b1i.vplatform:entity">

  <xsl:copy-of select="/vpf:Msg/@*" />

  <xsl:copy-of select="/vpf:Msg/vpf:Header" />

- <Body>

  <xsl:copy-of select="/vpf:Msg/vpf:Body/*" />

- <Payload Role="R" id="{$atom}">

  <xsl:call-template name="transform" />

  </Payload>

  </Body>

  </Msg>

  </xsl:template>

- <xsl:template name="transform">

        <B1out xmlns="" type="object">

        <Documents>

        <row>

        <DocEntry><xsl:value-of select="//b1e:value"/></DocEntry>

        <U_PFL_NumTransKN1><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//Num-Transaction"/></U_PFL_NumTransKN1>

        <U_PFL_DateTransKN1><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//Date-Transaction"/></U_PFL_DateTransKN1>

        <CardCode><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//CodeClient"/></CardCode>

        <U_PFL_NumBLKN><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//bonlivraison-KN"/></U_PFL_NumBLKN>

        <U_PFL_DatePrepaKN><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//date-preparation"/></U_PFL_DatePrepaKN>

        <U_PFL_TypCde><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//type-commande"/></U_PFL_TypCde>

        <Conformite><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//conformite"/></Conformite>

        <U_GTI_D013><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//nb_colis_total"/></U_GTI_D013>

        <U_PFL_nb_pallet><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//nb_palette_total"/></U_PFL_nb_pallet>

        <U_PFL_volume_total><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//volume_total"/></U_PFL_volume_total>

        <U_PFL_Poids><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//poids_total"/></U_PFL_Poids>

        <U_PFL_ship_date><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//Shipment_Date"/></U_PFL_ship_date>

       

       

        </row>

        </Documents>

       

        <Document_Lines>

        <xsl:for-each select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//Document_Lines/*">

        <row>

        <LineNum><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//num-ligne"/></LineNum>

        <ItemCode><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//code-article"/></ItemCode>

        <ItemDescription><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//desc-article"/></ItemDescription>

        <Quantity><xsl:value-of select="//vpf:Payload[./@Role = 'C' and @calltype ='FTTP']//quantite"/></Quantity>

        </row>

        </xsl:for-each>

        </Document_Lines>

       

        </B1out>

  <xsl:attribute name="pltype">xml</xsl:attribute>

  </xsl:template>

  </xsl:stylesheet>

Former Member
0 Kudos

The first step works fine but the second fails and the result message is :

Exception : Invoke of: ReadXml Source: Description: '' is not a valid value for property 'U_PFL_TypCde'. The valid values are: 'NO' - 'NO', 'EX' - 'EX', 'TRF' - 'TRF', 'CDS' - 'CDS', 'WEB' - 'WEB'

or when I delete the UPFLTypCde the message is :

Exception : Invoke of: ReadXml Source: Description: Property 'Conformite' of 'Document' is invalid

and when I delete again Conformite I have this message:

Exception : DI Error: (-2028) No matching records found (ODBC -2028)


In resume, The system doesn't get back informations to create the delivery notes


Do you see where is my mistake in my syntaxe please?


Thank you for your help


Best regards


Sarah

Answers (0)

Ask a Question