API to create transacions on Oracle Receivables

Hi, this post I will show how to create transactions on Oracle Receivables at API. DECLARE l_return_status VARCHAR2(1); l_msg_count NUMBER; l_msg_data VARCHAR2(2000); l_batch_source_rec AR_INVOICE_API_PUB.batch_source_rec_type; l_trx_header_tbl AR_INVOICE_API_PUB.trx_header_tbl_type; l_trx_lines_tbl AR_INVOICE_API_PUB.trx_line_tbl_type; l_trx_dist_tbl AR_INVOICE_API_PUB.trx_dist_tbl_type; l_trx_salescredits_tbl AR_INVOICE_API_PUB.trx_salescredits_tbl_type; l_cust_trx_id NUMBER; v_trx_header_Id NUMBER; v_trx_line_id NUMBER; BEGIN SELECT ra_customer_trx_s.NEXTVAL INTO v_trx_header_Id FROM DUAL; SELECT ra_customer_trx_lines_s.NEXTVAL INTO v_trx_line_id FROM DUAL; MO_GLOBAL.SET_POLICY_CONTEXT('S',81); MO_GLOBAL.set_org_context (81, NULL,... Continuar Lendo →

Powered by WordPress.com. Tema: Baskerville 2 por Anders Noren

Acima ↑