My Oracle Support Banner

PRC:PO: Approvals Error When Leveraging the Condition "Intercompany Segment" (Doc ID 2802467.1)

Last updated on OCTOBER 12, 2021

Applies to:

Oracle Fusion Purchasing Cloud Service - Version 11.13.21.01.0 and later
Oracle Fusion Purchasing - Version 11.13.21.01.0 and later
Information in this document applies to any platform.

Symptoms

After writing approval rules based on the "Intercompany Segment" of a Charge Account, when going to mange Approvals, the following error is observed:

Error
========
Error occurred while displaying History tree table. Error in task {0}. Please correct the error

After submitting the PO and running the Document Approval Diagnostic Test, the following error is observed in the diagnostic test:

Error
========
Critical: JBO-25058: Definition IntercompanySegment of type Attribute is not found in PurchasingDocumentLineLocationVO_PurchasingDocumentDistribution_PurchasingDocumentLineLocationVOToPurchasingDocumentDistributionVO_PurchasingDocumentDistributionVO. oracle.jbo.NoDefException: JBO-25058: Definition IntercompanySegment of type Attribute is not found in PurchasingDocumentLineLocationVO_PurchasingDocumentDistribution_PurchasingDocumentLineLocationVOToPurchasingDocumentDistributionVOPurchasingDocumentDistributionVO. at oracle.jbo.server.Rowlmpl.findAttrAndGefindex(Rowlmpl.java:267) at oracle.jbo.server.ViewRowlmpl.getAttribute(ViewRowlmpl.java:1238) at oracle.apps.prc.po.diagnostic.intemal.protectedModel.util.PurchasingDocumentRuleVafidate.evaluateActualCondition(PurchasingDocumentRuleValidate.java:875) at orac le. apps.prc.po.diagnostic.internal.protectedModel.ubl.PurchasingDoc umentRuleValidate.evaluateRuleConditions(PurchasingDocumentRuleValidate.java:732) at oracle.apps.prc.po.diagnostic.internal.protectedModel.util.PurchasingDocumentRuleVadate.evaluateRuleConditions(PurchasingDocumentRuleValidate.java:770) at oracle.apps.prc.po.diagnostic.internal.protectedModel.util.PurchasingDocumentRuleValidate.evaluateRuleConditions(PurchasingDocumentRuleValidate.java:770) at oracle.apps.prc.po.diagnostic.internal.protectedModel.util.PurchasingDocumentRuleValidate.validateParticipants(PurchasingDocumentRuIeValidate.java:622) at oracle.apps.prc.po.diagnostic.internal.protectedModel.util.PurchasingDocumentRuleValidate.validateDocumentApprvaalRules(PurchasingDocumentRuleValidate.java:209) at aracle.apps.prc.po.diagnostic.intemal.protectedModetutil.PurchasingDocumentRuleValidate. (PurchasingDocumentRuleVadate.javal 02) at oracle.apps.prc.po.diagnostic.internal.VafidateApprovalSetup.runTest(ValidateApprovalSetup.javal 53) at oracle.appsind.appltest.diagfwk.api.AbstractDiagTestrunTest(AbstractDiagTest.java:90) at oracle.appsind.appltest.diagfwk.engine.impl.StepExecutorJava.executeStep(StepExecutorJava.java:94) at oracle.appsind.appttest.diagfwk.engine.impl.StepExecutorBase.execute(StepExecutorBase.java:75) at oracle.appsind.appltestdiagfwk.engine.impl.TestDefimpl.executeTest(TestDefimpl.java:982) at oracle.appsind.appltest.diagfwk.engine.impl.TestDefimpl.execute(TestDeflmpl.java:937) at oracle.appsind.appltest.diagfwkengine.impl.TestDefimpl. run(TestDefimpl.java:761) at oracle.apps.frid.appltestdiagfwk.engine.impl.TestRunner.run(TestRunner.java:416) at oracle.appsind.appftest.diagfwk.engine.impl.TestRunner.run(TestRunner.java:218) at oracle.appsind.appltestdiagfwk.engine.impl.TestRunner.doRun(TestRunner.java:153) at oracle.apps.frid.appltestdiagfwk.engine.DiagRunnable.run(DiagRunnable.java:68) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTasIcrun(FutureTaskjava:262) at java.util.concurrent.ThreadPoolExecutorrunWorker(ThreadPoolExecutor.java:1152) at java.uticoncurrent.ThreadPoolExecutor$Worketrun(ThreadPoolExecutor.java:622) at java.lang.Thread.run(Threadjava:745) Fix Information: An unexpected error was encountered. Please contact your system administrator.

From here, when going into BPM to Validate the rules, the following error was kicked out for 5 rules:

Error:
========
RUL-05717: The identifier "PurchasingDocumentDistribution.intercompanySegment" is not valid here.

Rules
========
DocumentApprovalRules/TermsApprovalHierarchyRules/<RULE_NAME_1>/PurchasingDocumentLine/Test[1]/Test[2]/Test[1]/expression[1]
DocumentApprovalRules/TermsApprovalHierarchyRules/<RULE_NAME_2>/PurchasingDocumentLine/Test[1]/Test[1]/Test[1]/expression[1]
DocumentApprovalRules/TermsApprovalHierarchyRules/<RULE_NAME_3>/PurchasingDocumentLine/Test[1]/Test[2]/Test[1]/expression[1]
DocumentApprovalRules/TermsApprovalHierarchyRules/<RULE_NAME_4>/PurchasingDocumentLine/Test[1]/Test[1]/expression[1]
DocumentApprovalRules/TermsApprovalHierarchyRules/<RULE_NAME_5>/PurchasingDocumentLine/Test[1]/Test[1]/expression[1]
... etc

Changes

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Changes
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.