Symptom
You are trying to enter a note information in a Sales Order via web service, but the information is not reflecting in the system.
Environment
SAP Business ByDesign - all its versions.
Reproducing the Issue
- Go to the SOAP UI tool.
- Create the relevant communication between SOAP UI and SAP ByDesign system.
- Run the payload bellow:
<Item>
<ID>ZZ</ID>
<FulfilmentPartyCategoryCode>HH</FulfilmentPartyCategoryCode>
<ItemProduct>
<ProductID>ABC</ProductID>
<UnitOfMeasure>EA</UnitOfMeasure>
</ItemProduct>
<ItemScheduleLine actionCode="04">
<ID>ZZ</ID>
<TextCollection>
<Text>
<TypeCode>YYYYY</TypeCode>
<ContentText>Customer information test</ContentText>
</Text>
</TextCollection>
</Text>
<Quantity unitCode="EA">1</Quantity>
</ItemScheduleLine>
</Item>
Cause
You are using the tag <TextCollection>, but once the field is under item level, you must use the tag <ItemTextCollection>.
Resolution
Use the tag <ItemTextCollection> and you'll be able to fulfill the note field.
<Item>
<ID>ZZ</ID>
<FulfilmentPartyCategoryCode>HH</FulfilmentPartyCategoryCode>
<ItemProduct>
<ProductID>ABC</ProductID>
<UnitOfMeasure>EA</UnitOfMeasure>
</ItemProduct>
<ItemScheduleLine actionCode="04">
<ID>ZZ</ID>
<ItemTextCollection>
<Text>
<TypeCode>YYYYY</TypeCode>
<ContentText>Customer information test</ContentText>
</Text>
</ItemTextCollection>
<Quantity unitCode="EA">1</Quantity>
</ItemScheduleLine>
</Item>
Keywords
<ItemTextCollection>; <TextCollection>, Item Notes; Sales Order; Notes; Web Service; SOAP UI , KBA , SRD-CRM-ORD , Orders & Contracts , Problem