Oracle Payable:Bank account :Multiple Vendor Site Assignments
.After creating the account holder, for attaching that account at a specific level, you need to call the below procedure in the package IBY_DISBURSEMENT_SETUP_PUB:
If attaching at Supplier level---
x
If attaching at Supplier level---
x
PROCEDURE Set_Payee_Instr_Assignment (
p_api_version IN NUMBER,
p_init_msg_list IN VARCHAR2 := FND_API.G_FALSE,
p_commit IN VARCHAR2 := FND_API.G_TRUE,
x_return_status OUT NOCOPY VARCHAR2,
x_msg_count OUT NOCOPY NUMBER, x_msg_data OUT NOCOPY VARCHAR2,
p_payee IN PayeeContext_rec_type,
p_assignment_attribs IN IBY_FNDCPT_SETUP_PUB.PmtInstrAssignment_rec_type,
x_assign_id OUT NOCOPY NUMBER,
x_response OUT NOCOPY IBY_FNDCPT_COMMON_PUB.Result_rec_type
);
e) p_payee.Party_Site_id:= null
f) p_payee.Supplier_Site_id:=null
g) p_payee.Org_Id:=null
h) p_payee.Org_Type:=null
If attaching at Supplier Site level --
e) p_payee.Party_Site_id:= <party site ID>
f) p_payee.Supplier_Site_id:=<Supplier site ID>
g) p_payee.Org_Id:=<Org ID>
h) p_payee.Org_Type:=<Org Type>
If attaching at Address Level --
e) p_payee.Party_Site_id:= <party site ID>
f) p_payee.Supplier_Site_id:=null
g) p_payee.Org_Id:=null
h) p_payee.Org_Type:=null
If attaching at Address OU level
e) p_payee.Party_Site_id:= <party site ID>
f) p_payee.Supplier_Site_id:=null
g) p_payee.Org_Id:=<Org ID>
h) p_payee.Org_Type:=<Org Type>