Iby_disbursement_setup_pub.Set_payee_instr_assignment Error Invalid_party_context (Doc ID 1323215.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Payables - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

After running standard API IBY_DISBURSEMENT_SETUP_PUB.Set_Payee_Instr_Assignment, result code = INVALID_PARTY_CONTEXT when supplier_site_id is provided and party_site_id is not. So how to use this API in the absence of party site id when a bank account must be assigned to a supplier site.


ERROR
-----------------------
Set_Payee_Instr_Assignment iby_disbursement_setup_pub.Set_Payee_Instr_Assignment api failure : >>>> MSG# 1-IBY IBY_INVALID_PARTY_CONTEXT


STEPS
-----------------------
The issue can be reproduced at will with the following steps:

Call iby_disbursement_setup_pub.Set_Payee_Instr_Assignment API
Variables:
g_payee_context_rec.Payment_Function: PAYABLES_DISB
g_payee_context_rec.Party_Id: 2286
g_payee_context_rec.Org_Type: OPERATING_UNIT
g_payee_context_rec.Org_Id: 164
g_payee_context_rec.Party_Site_id:
g_payee_context_rec.Supplier_Site_id: 427876
Priority: 1
Instrument_id: 40445
Instrument_type: BANKACCOUNT
After iby_disbursement_setup_pub.Set_Payee_Instr_Assignment
Set_Payee_Instr_Assignment ID created:
x_return_status <>>: E
Result_Code: <>>>INVALID_PARTY_CONTEXT
Result_Category: INVALID_PARAM
Result_Message: A party context attribute is missing, or does not have referential integrity with its source table.
Set_Payee_Instr_Assignment iby_disbursement_setup_pub.Set_Payee_Instr_Assignment api failure : >>>> MSG# 1-IBY IBY_INVALID_PARTY_CONTEXT



Cause

Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms