IBM Support

Copy of: ATP Rule Not found error message during createOrder

Troubleshooting


Problem

This issue was noticed when migrated from 9.2 to 9.4
For an organization hierarchy as :
Org1 is configured as Inventory Org as well as Catalog Org,  any order or inventory search should happen with organization_code as Org1 but from the logs we see it is considering Inventory for an Order at DEFAULT.

Symptom

<Errors>

   <Error ErrorCode="YFS10001" ErrorDescription="YFS:No Record Found"

       ErrorRelatedMoreInfo="" ErrorUniqueExceptionId="10.91.46.6215563041026600000000001968">

       <Attribute Name="ErrorCode" Value="YFS10001"/>

       <Attribute Name="ErrorDescription" Value="YFS:No Record Found"/>

       <Attribute Name="TableName" Value="YFS_ATP_RULES"/>

       <Attribute Name="YFS_ATP_RULE" Value="Org1"/>

       <Attribute Name="ErrorUniqueExceptionId" Value="100.910.46.6215563041026600000000001968"/>

       <Stack>com.yantra.yfc.util.YFCException

   at com.yantra.yfs.common.YFSRuleManager.getATPRules(YFSRuleManager.java:301)

   at com.yantra.inv.business.inventory.YFSAvailabilityManagerImpl.setDatesForS

Cause

Fixes were made to read the right ATP rule name configured [Org1] at the item level instead of reading default [DEFAULT] ATP rule for all the items even when there is a different ATP rule name mentioned at the item level.

Diagnosing The Problem

From the logs :

v9.2 logs show :WHERE ( ORGANIZATION_CODE = 'DEFAULT' ) AND ATP_RULE = 'DEFAULT'

v9.4 logs show :WHERE ( ORGANIZATION_CODE = 'DEFAULT' ) AND ATP_RULE = 'Org1'

Resolving The Problem

Create the ATP rule under Org1

Document Location

Worldwide

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"19.3","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}},{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS6PEW","label":"Sterling Order Management"},"Component":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"9.4;9.5;10.0","Edition":"","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
01 November 2021

UID

ibm11098159