Question & Answer
Question
Are there any behavioral change of createItem API between Sterling (Yantra) version 7.5 SP1 and Sterling version 8.5
Answer
Yes there is a behavioral change in createItem API between these two Sterling versions.
In Sterling 7.5 version:
If input xml of createItem API is passed with <AdditionalAttribute Name="Consumable"/>, item creation is successful without any errors. However system would ignore the AdditionalAttribute element passed in the input. There is no validation or insertion done in YFS_ADDITIONAL_ATTRIBUTE table.
If input xml of createItem API is passed with <AdditionalAttribute Name="Consumable"/>, item creation is successful without any errors. However system would ignore the AdditionalAttribute element passed in the input. There is no validation or insertion done in YFS_ADDITIONAL_ATTRIBUTE table.
For system to
associate the additional attribute for the item newly created, right usage is
to pass the value attribute. For Ex: <AdditionalAttribute Name="Consumable"
value ="K"/>
This would insert the record in the YFS_ADDITIONAL_ATTRIBUTE
table for the corresponding item.
In Sterling 8.5 version:
If input xml of createItem API is passed with <AdditionalAttribute Name="Consumable"/>, item creation fails.
Validation is done for the value attribute in the above element and system displays the error "Mandatory parameter is expected".
If input xml of createItem API is passed with <AdditionalAttribute Name="Consumable"/>, item creation fails.
Validation is done for the value attribute in the above element and system displays the error "Mandatory parameter is expected".
From 8.5 version, it is required to pass the value against the name of
additional attribute if user likes to associate the newly created item with
additional attributes.
For Ex: <AdditionalAttribute Name="Consumable"
value ="K"/>
[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Not Applicable","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]
Historical Number
FAQ4161
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21518801