Oracle Applications Interface Programs(Oracle EBS 常见API 中)

ü On-hand Quantity

ü Customer Conversion

ü Customer API

ü Auto Invoice Interface

ü Receipt API

ü Auto Lockbox Interface

ü AP Invoice Interface

 

 

On-hand quantity

          Interface tables:      MTL_TRANSACTIONS_INTERFACE

                                      MTL_TRANSACTION_LOTS_INTERFACE      

                                      MTL_SERIAL_NUMBERS_INTERFACE

 

The Transaction Manager picks up the rows to process based on the LOCK_FLAG, TRANSACTION_MODE, PROCESS_FLAG to manipulate the records in the table. Only records with TRANSACTION_MODE of 3, LOCK_FLAG of '2', and PROCESS_FLAG of '1' will be picked up by the Transaction Manager and assigned to a Transaction Worker. If a record fails to process completely, then PROCESS_FLAG will be set to '3' and ERROR_CODE and ERROR_EXPLANATION will be populated with the cause for the error.

 

          Base tables:   MTL_ON_HAND_QUANTITIES

                             MTL_LOT_NUMBERS   MTL_SERIAL_NUMBERS

 

Concurrent program:

 

Validations:    validate organization_id, organization_code.

                   Validate inventory item id.

                   Transaction period must be open.

 

Customer conversion

Interface tables:      RA_CUSTOMERS_INTERFACE_ALL   

                             RA_CUSTOMER_PROFILES_INT_ALL                    

                             RA_CONTACT_PHONES_INT_ALL

          RA_CUSTOMER_BANKS_INT_ALL

          RA_CUST_PAY_METHOD_INT_ALL

 

Base tables:            HZ_PARTIES           

                             HZ_CONTACTS        

                             HZ_PROFILES                    

                             HZ_LOCATIONS

Base tables for RA_CUSTOMERS_INTERFACE_ALL

                            RA_CUSTOMERS                

                            RA_ADDRESSES_ALL

                            RA_CUSTOMER_RELATIONSHIPS_ALL        

                            RA_SITE_USES_ALL

         

          Uses TCA APIs.

 

Concurrent program: Customer Interface

 

          Validations:    Check if legacy values fetched are valid.

          ;                    Check if customer address site is already created.

                             Check if customer site use is already created.

                             Check is customer header is already created.

                             Check whether the ship_to_site has associated bill_to_site

                             Check whether associated bill_to_site is created or not.

          Profile amounts validation:   validate cust_account_id, validate customer status.

Check if the location already exists in HZ_LOCATIONS. If does not exist, create new location.

         

Customer API

1.      Set the organization id

Exec dbms_application_info.set_client_info(‘204’);

 

2.      Create a party and an account

HZ_CUST_ACCOUNT_V2PUB.CREATE_CUST_ACCOUNT()

HZ_CUST_ACCOUNT_V2PUB.CUST_ACCOUNT_REC_TYPE

HZ_PARTY_V2PUB.ORGANIZATION_REC_TYPE

HZ_CUSTOMER_PROFILE_V2PUB.CUSTOMER_PROFILE_REC_TYPE

 

3.      Create a physical location

HZ_LOCATION_V2PUB.CREATE_LOCATION()

HZ_LOCATION_V2PUB.LOCATION_REC_TYPE

 

4.      Create a party site using party_id you get from step 2 and location_id from step 3.

HZ_PARTY_SITE_V2PUB.CREATE_PARTY_SITE()

HZ_PARTY_SITE_V2PUB.PARTY_SITE_REC_TYPE

 

5.      Create an account site using account_id you get from step 2 and party_site_id from step 4.

HZ_CUST_ACCOUNT_SITE_V2PUB.CREATE_CUST_ACCT_SITE()

HZ_CUST_ACCOUNT_SITE_V2PUB.CUST_ACCT_SITE_REC_TYPE

 

6.      Create an account site use using cust_acct_site_id you get from step 5 ans site_use_code = ‘BILL_TO’.

HZ_CUST_ACCOUNT_SITE_V2PUB.CREATE_CUST_SITE_USE()

HZ_CUST_ACCOUNT_SITE_V2PUB.CUST_SITE_USE_REC_TYPE

HZ_CUSTOMER_PROFILE_V2PUB.CUSTOMER_PROFILE_REC_TYPE

 

Base table:   

·         HZ_PARTIES                

·         HZ_PARTY_SITES         

·         HZ_LOCATIONS

·         HZ_CUST_ACCOUNTS    

·         HZ_CUST_SITE_USES_ALL

·         HZ_CUST_ACCT_SITES_ALL     

·         HZ_PARTY_SITE_USES

 

Validations:    Check if legacy values fetched are valid.

                             Check if customer address site is already created.

                             Check if customer site use is already created.

                             Check is customer header is already created.

                             Check whether the ship_to_site has associated bill_to_site

                             Check whether associated bill_to_site is created or not.

          Profile amounts validation:   validate cust_account_id, validate customer status.

Check if the location already exists in HZ_LOCATIONS. If does not exist, create new location.

 

Auto Invoice interface

          Interface tables:      RA_INTERFACE_LINES_ALL

 

Base tables:           

  • RA_CUSTOMER_TRX_ALL     
  • RA_BATCHES
  • RA_CUSTOMER_TRX_LINES_ALL     
  • AR_PAYMENT_SCHEDULES_ALL      
  • RA_CUSTOMER_TRX_LINE_SALESREPS      
  • RA_CUST_TRX_GL_DIST_ALL
  • AR_RECEIVABLES_APPLICATIONS             
  • AR_ADJUSTMENTS
  • AR_CASH_RECEIPTS           
  • RA_CUSTOMER_TRX_TYPES_ALL

 

Concurrent Program: Auto invoice master program

 

          Validations: check for amount, batch source name, conversion rate, conversion type.

                            Validate orig_system_bill_customer_id, orig_system_bill_address_id, quantity.

                             Validate if the amount includes tax flag.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/9182041/viewspace-707647/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/9182041/viewspace-707647/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值