Oracle EBS AR 删除应收发票】的更多相关文章

DECLARE    -- Non-scalar parameters require additional processing     p_errors arp_trx_validate.message_tbl_type;    CURSOR cur_t IS       SELECT l.customer_trx_id, l.trx_number         FROM ra_customer_trx_all l        ;    l_return_status );    l_m…
AR_RECEIVABLE_APPLICATIONS APP, AR_CASH_RECEIPTS CR, AR_PAYMENT_SCHEDULES PS_INV, HZ_CUST_ACCOUNTS CUST, HZ_PARTIES PARTY, RA_CUSTOMER_TRX CT, RA_CUST_TRX_TYPES CTT, RA_CUSTOMER_TRX_LINES CTL, RA_BATCH_SOURCES BS, HZ_CUST_SITE_USES SU, AR_CONS_INV CI…
DECLARE L_CR_ID NUMBER; L_ATTRIBUTE_REC AR_RECEIPT_API_PUB.ATTRIBUTE_REC_TYPE; L_GLOBAL_ATT_REC AR_RECEIPT_API_PUB.global_attribute_rec_type; L_RETURN_STATUS ); L_MSG_COUNT NUMBER; L_MSG_DATA ); I NUMBER; L_MESSAGE_LIST ); L_MSG_INDEX_OUT NUMBER; BEG…
-- 收款核销,贷项通知单核销也是通过ar_receivable_applications_all表 SELECT cr.receipt_number ,ad.amount_dr ,ad.amount_cr ,ad.source_table ,ad.source_type ,xla_oa_functions_pkg.get_ccid_description(gcc.chart_of_accounts_id ,ad.code_combination_id) ,ad.creation_date FR…
select ra.trx_number from ar_cash_receipts_all cr, ar_receivable_applications_all ar,ra_customer_trx_all ra where cr.cash_receipt_id = ar.CASH_RECEIPT_ID ' and ar.amount_applied = -3817.5 and ar.status = 'APP' and ar.applied_customer_trx_id = ra.cust…
declare    -- Local variables here   i integer;   x_line_original NUMBER;   x_line_remaining NUMBER;   x_tax_original NUMBER;   x_tax_remaining NUMBER;   x_freight_orginal NUMBER;   x_freight_remaining NUMBER;   x_charges_original NUMBER;   x_charges…
DECLARE l_rec_profile_t hz_customer_profile_v2pub.customer_profile_rec_type; l_rec_profile hz_customer_profile_v2pub.cust_profile_amt_rec_type; l_profile_amt_id NUMBER; l_profile_id NUMBER; l_return_status1 ); l_msg_count1 NUMBER; l_msg_data1 ); l_re…
declare -- Local variables here i integer; g_module ) := 'TCA_V2_API'; lrec_org hz_party_v2pub.organization_rec_type; lrec_party hz_party_v2pub.party_rec_type; l_return_status ); l_msg_count number; l_msg_data ); l_party_id number; l_party_number hz_…
declare x_return_status ); x_msg_count NUMBER; x_msg_data ); x_profile_id NUMBER; l_location_id NUMBER; l_object_version_number NUMBER; l_party_rec hz_cust_account_v2pub.cust_account_rec_type; cursor cur_DT is SELECT loc.location_id, loc.object_versi…
DECLARE l_header_rec OE_ORDER_PUB.Header_Rec_Type; l_line_tbl OE_ORDER_PUB.Line_Tbl_Type; l_action_request_tbl OE_ORDER_PUB.Request_Tbl_Type; l_header_adj_tbl OE_ORDER_PUB.Header_Adj_Tbl_Type; l_line_adj_tbl OE_ORDER_PUB.line_adj_tbl_Type; l_header_s…