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

Technote (troubleshooting)


Problem(Abstract)

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."


Rate this page:

(0 users)Average rating

Document information


More support for:

Sterling Selling and Fulfillment Suite
Distributed Order Management

Software version:

9.2

Operating system(s):

Windows

Software edition:

Foundation

Reference #:

1639913

Modified date:

2013-06-30

Translate my page

Machine Translation

Content navigation