cancel
Showing results for 
Search instead for 
Did you mean: 

Scenario for Payment Terms Types Objects - DI Error: (-5002)

Former Member
0 Kudos

Hi Experts,

I am developing an scenario for creating and updating Payment Terms Types from the headquarter company to subsidiary companies. The object for this process is B1.8.8_PTT Payment Terms Types.

I created the bizstep and this is the xsl transformation:

<BOM xmlns="">

<BO>

<AdmInfo>

<Object>40</Object>

<Version>2</Version>

</AdmInfo>

<QueryParams>

<GroupNumber>

<xsl:value-of select="BO/BusinessPartnerGroups/row/GroupNumber"/>

</GroupNumber>

</QueryParams>

<PaymentTermsTypes>

<row>

<PaymentTermsGroupName>

<xsl:value-of select="BO/BusinessPartnerGroups/row/PaymentTermsGroupName"/>

</PaymentTermsGroupName>

<StartFrom>

<xsl:value-of select="BO/BusinessPartnerGroups/row/StartFrom"/>

</StartFrom>

<NumberOfAdditionalMonths>

<xsl:value-of select="BO/BusinessPartnerGroups/row/NumberOfAdditionalMonths"/>

</NumberOfAdditionalMonths>

<NumberOfAdditionalDays>

<xsl:value-of select="BO/BusinessPartnerGroups/row/NumberOfAdditionalDays"/>

</NumberOfAdditionalDays>

and so on with the rest of the field of the object...

<CreditLimit>

<GeneralDiscount>

<InterestOnArrears>

<LoadLimit>

<PriceListNo>

<OpenReceipt>

<DiscountCode>

<DunningCode>

<BaselineDate>

<NumberOfInstallments>

<NumberOfToleranceDays>

When I update or create payment term I get this error:

DI Error: (-5002) Data is not available; modify selection criteria and re-enter

If you know where could be the problem help would be appreciated.

Thanks in advance.

David

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I found my error in the xsl file.

The correct value is "<xsl:value-of select="BO/PaymentTermsTypes/row/...".

Thanks anyway,

David