My Oracle Support Banner

R12: AP/IBY: Iby_disbursement_setup_pub.Set_payee_instr_assignment Error Invalid_party_context when Updating Employee Data (Doc ID 1323215.1)

Last updated on MARCH 19, 2024

Applies to:

Oracle Payables - Version 12.0.0 and later
Oracle Payments - Version 12.0.0 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.

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


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: <Party_Id>
g_payee_context_rec.Org_Type: OPERATING_UNIT
g_payee_context_rec.Org_Id:<Org_Id>
g_payee_context_rec.Party_Site_id:
g_payee_context_rec.Supplier_Site_id: <Supplier_Site_id>
Priority: 1
Instrument_id:<Instrument_id>
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

To view full details, 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 a vibrant support community of peers and Oracle experts.