跨OU创建收款 -- demo

创建收款可以使用API - ar_receipt_api_pub.create_cash

但在跨ou的时候,比如我是ou_1,需要在程序中同时为ou_2,ou_3创建收款。如果创建的两个收款方法相同,会产生ERROR,根据matelink显示如下:

iReceivables: No Data Found In Package AR_RECEIPT_API_PUB Procedure Create_Cash (Doc ID 1534478.1)

bug描述如下:

When calling AR_RECEIPT_API_PUB.CREATE_CASH for receipts belonging to
  different operating units, receipts get created for the first operating unit
  but when the programs processes another record belongning to a different
  operating unit then API fails with out status as U. This issue happens only
  when customer is using the same receipt method id. 
如果不想打patch,我认为可以在调用api的时候指定remittance_bank_account_id
Demo如下:
DECLARE
  w_x_return_status VARCHAR2(100);
  w_x_msg_count     NUMBER;
  w_x_msg_data      VARCHAR2(2000);
  -- API用
  w_application_ref_type         ar_receivable_applications.a
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值