IBM Support

How to setup EXTRALINE_AWARD_TYPE code type for an organization in version 92?

Troubleshooting


Problem

How to setup EXTRALINE_AWARD_TYPE code type for an organization in version 92?

Resolving The Problem

In 92 out of the box EXTRALINE_AWARD_TYPE entry is present in the SCWC_ACT_YFS_COMMON_CODE.xml with the following input:

<CommonCode CodeLength="100" CodeLongDescription="Award Type For Adding/Removing Missing/Extra Order Lines After Pricing" CodeName="FreeGift"
CodeShortDescription="Award Type For Extra Lines" CodeSymbol="" CodeType="EXTRALINE_AWARD_TYPE" CodeValue="FreeGift" CommonCodeKey="#{EnterpriseCode}_01" DocumentType="0001"
DocumentTypeSpecific="Y" MeantForEnterprise="Y" MeantForInternal="Y" MeantForSupplier="N" SystemDefinedCode="Y" OrganizationCode="#{EnterpriseCode}"/>

By following the above template as a reference user could call manageCommonCode API with OrganizationCode="required one". This would help them to setup EXTRALINE_AWARD_TYPE code type for an organization:

Below one is the manageCommonCode API input xml with the OrganizationCode="XYZ" to achieve the mentioned requirement:

<CommonCode CodeLength="100" CodeLongDescription="Award Type For Adding/Removing Missing/Extra Order Lines After Pricing" CodeName="FreeGift"
CodeShortDescription="Award Type For Extra Lines" CodeSymbol="" CodeType="EXTRALINE_AWARD_TYPE" CodeValue="FreeGift" DocumentType="0001" DocumentTypeSpecific="Y" MeantForEnterprise="Y"
MeantForInternal="Y" MeantForSupplier="N" SystemDefinedCode="Y" OrganizationCode="XYZ"/>

manageCommonCode API details taken from API Java documentation:

"manageCommonCode API is used to create, modify, or delete a CommonCode. The default Operation for the API is Manage, which will act as Create if the specified CommonCode does not exist and act as
Modify if it does. Additionally, Delete can be passed to remove an existing CommonCode."

[{"Product":{"code":"SS6PEW","label":"IBM Sterling Order Management"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"Distributed Order Management","Platform":[{"code":"PF033","label":"Windows"}],"Version":"9.2","Edition":"Foundation","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
11 February 2020

UID

swg21639913