Sie sind auf Seite 1von 17

AUTOLOCKBOX INTERFACE [ AR]

Setting up Bank With Any name and Branch Name

Table: AP_BANK_BRANCHES

select * from AP_BANK_BRANCHES where bank_name = 'Aman Bank';

COLUMN NAMES NEEDED IN THE ABOVE FORM:


======================================
BANK_BRANCH_ID
BANK_NAME
BANK_BRACH_NAME
ADDRESS_LINE1
CITY
STATE
ZIP
COUNTRY
BANK_NUM [ BANK BRANCH NUMBER ]
INSTITUTION_TYPE
BANK_NUMBER
BANK_BRANCH_TYPE
This is where we define our bank account and respective at least 5 code combinations

AP_BANK_ACCOUNTS

SELECT * FROM AP_BANK_ACCOUNTS_ALL WHERE CREATED_BY = '1005254' AND


BANK_BRANCH_ID = '12127'

BANK_ACCOUNT_ID
BANK_ACCOUNT_NAME
BANK_ACCOUNT_NUM
BANK_BRANCH_ID = AP_BANK_BRANCHES.BANK_BRANCH_ID
SET_OF_BOOKS_ID
5 RESPECTIVE CODE COMBINATION ID's
ORG_ID
MAX_OUTLAY
ACCOUNT_TYPE
AP_BANK_ACCOUNTS
This is where we define our receipt class

AR_RECEIPT_METHODS

SELECT * FROM AR_RECEIPT_METHODS WHERE CREATED_BY = '1005254'

RECEIPT_METHOD_ID
NAME
RECEIPT_CLASS_ID
START_DATE
PRINTED_NAME
Assign Bank Accounts to Payment Method

AR_RECEIPT_METHOD_ACCOUNTS

select * from AR_RECEIPT_METHOD_ACCOUNTS_ALL WHERE CREATED_BY =


'1005254'

BANK_ACCOUNT_ID = AP_BANK_ACCOUTNS_ALL.BANK_ACCOUNT_ID
RECIEPT_METHOD_ID = AR_RECEIPT_METHODS.RECEIPT_METHOD_ID
ALL CODE COMBINATION ID's
ORG_ID
DEFINE OUR RECIEPT SOURCE

AR_BATCH_SOURCES

SELECT * FROM AR_BATCH_SOURCES_ALL WHERE CREATED_BY = '1005254'

BATCH_SOURCE_ID
NAME
TYPE
START_DATE_ACTIVE
END_DATE_ACTIVE [ IF WE USE IT ]
DEFAULT_REMIT_BANK_ACCOUNT_ID
AUTO_BATCH_NUMBERING
LAST_BATCH_NUM
DEFAULT_RECEIPT_CLASS_ID = AR_RECEIPT_METHODS.RECEIPT_CLASS_ID
DEFAULT_RECEIPT_METHOD_ID =
AR_RECEIPT_METHOD_ACCOUNTS_ALL.RECEIPT_METHOD_ID
ORG_ID
Define Lockbox

AR_LOCKBOXES
AR_LOCKBOXES

select * from AR_LOCKBOXES_all WHERE CREATED_BY = '1005254'

LOCKBOX_ID
LOCKBOX_NUM
STATUS
BATCH_SOURCE_ID = AR_BATCH_SOURCES_ALL.BATCH_SOURCE_ID
BANK_ORIGINATION_NUMBER --- This is used in the control .ctl file
BATCH_SIZE
GL_DATE_SOURCE
RECEIPT_METHOD_ID = AR_RECEIPT_METHOD_ACCOUNTS_ALL.RECEIPT_METHOD_ID
REQUIRE_BILLING_LOCATION_FLAG
ORG_ID
LOCKBOX_MATCHING_OPTION
Define the transmission formats

AR_TRANS_RECORD_FORMATS

select * from AR_TRANS_RECORD_FORMATS WHERE CREATED_BY = '1005254'

RECORD_FORMAT_ID [ GENERATED BY THE SYSTEM ]


TRANSMISSION_FORMAT_ID [ GENERATED BY THE SYSTEM ] -- ONE TO MANY
RELATION BETWEEN RECORD_FORMAT_ID AND TRANSMISSION_FORMAT_ID
RECORD_IDENTIFIER
RECORD_TYPE_LOOKUP_CODE
DECSRIPTION
Define transmission fields

AR_TRANS_FIELD_FORMATS
AR_TRANS_FIELD_FORMATS
AR_TRANS_FIELD_FORMATS

select * from AR_TRANS_FIELD_FORMATS WHERE CREATED_BY = '1005254'

FIELD_FORMAT_ID
RECORD_FORMAT_ID = AR_TRANS_RECORD_FORMATS.RECORD_FORMAT_ID
TRANSMISSION_FORMAT_ID = AR_TRANS_RECORD_FORMATS.TRANSMISSION_FORMAT_ID
FIELD_START_POSITION
FIELD_END_POSITION
FIELD_TYPE_LOOKUP_CODE
DATE_PICTURE_LOOKUP_CODE
JUSTIFICATION_LOOKUP_CODE
AMOUNT_FORMAT_LOOKUP_CODE
FILL_CHARACTER_LOOKUP_CODE

LockBox Interface:
AR Lockbox Interface table

select * from ar_payments_interface_all WHERE CREATED_BY = '1005254'

SYSTEM CREATED COLUMNS --- REFER TO USER GUIDE PAGE G - 123


RECORD_TYPE
STATUS
ORIGINATION = AR_LOCKBOXES_all.BANK_ORIGINATION_NUMBER
TRANSMISSION_RECORD_COUNT
TRANSMISSION_AMOUNT --- THESE TWO ARE USED , BUT WE DIDNT USE IT FOR
OUR CONTROL FILE
LOCKBOX_NUMBER = AR_LOCKBOXES_all.LOCKBOX_NUM
BATCH_AMOUNT
BATCH_RECORD_COUNT
ITEM_NUMBER
REMITTANCE_AMOUNT
CHECK_NUMBER
CUSTOMER_NUMBER
INVOICE1
GL_DATE
CUSTOMER_ID --- THESE ALL FIELDS CAME FROM THE CONTROL FILE
RECEIPT_METHOD_ID = AR_RECEIPT_METHOD_ACCOUNTS_ALL.RECEIPT_METHOD_ID
RECEIPT_DATE
ORG_ID
After validation step, Lockbox transfers receipt data into
AR_INTERIM_CASH_RECEIPTS_ALL and
AR_INTERIM_CASH_RCPT_LINES_ALL

After PostQuickCash, the following Base Tables should be populated:


===============================
AR_CASH_RECEIPTS_ALL

select * from AR_CASH_RECEIPTS_ALL WHERE CREATED_BY = '1005254' AND


CREATION_DATE > SYSDATE - 1;

CASH_RECEIPT_ID
AMOUNT
SET_OF_BOOKS_ID
PAY_FROM _CUSTOMER [ CUSTOMER_NUMBER ]
STATUS
TYPE
RECEIPT_NUMBER [ FROM EXTERNAL .DAT FILE ]
RECEIPT_DATE [ FROM EXTERNAL .DAT FILE ]
REMITTANCE_BANK_ACCOUNT_ID = AP_BANK_ACCOUNTS_ALL.BANK_ACCOUNT_ID
RECEIPT_METHOD_ID = AR_RECEIPT_METHOD_ACCOUNTS_ALL.RECEIPT_METHOD_ID
ANTICIPATED_CLEARING_DATE [ FROM EXTERNAL .DAT FILE]
ORG_ID

AR_CASH_RECEIPT_HISTORY_ALL

SELECT * FROM AR_CASH_RECEIPT_HISTORY_ALL WHERE CREATED_BY = '1005254'


AND CREATION_DATE > SYSDATE-2;

CASH_RECEIPT_HISTORY_ID
CASH_RECEIPT_ID = AR_CASH_RECEIPTS_ALL.CASH_RECEIPT_ID
STATUS
TRX_DATE
AMOUNT
GL_DATE
BATCH_ID
ACCOUNT_CODE_COMBINATION_ID
ORG_ID

AR_RECEIVABLE_APPLICATIONS_ALL

select * from AR_RECEIVABLE_APPLICATIONS_ALL WHERE CREATED_BY =


'1005254' AND CREATION_DATE > SYSDATE - 2;

RECEIVABLE_APPLICATION_ID
AMOUNT_APPLIED
GL_DATE
CODE_COMBINATION_ID --- 3 CODE COMBINATION IDS GENERATED WITH 1
APPROVED AND 2 WITH UNAPPR . WE CAN POST THESE 2 UNAPPR TO G.L SO THAT
IT GETS APPROVED
SET_OF_BOOKS_ID
DISPLAY
STATUS
PAYMENT_SCHEDULE_ID = AR.PAYMENTS_SCHEDULES.PAYMENT_SCHEDULE_ID
CASH_RECEIPT_ID = AR_CASH_RECEIPTS_ALL.CASH_RECEIPT_ID
APPLIED_CUSTOMER_TRX_ID = RA_CUSTOMER_TRX_ALL.CUSTOMER_TRX_ID
APPLIED_PAYMENT_SCHEDULE_ID = AR.PAYMENTS_SCHEDULES.PAYMENT_SCHEDULE_ID
CASH_RECEIPT_HISTORY_ID =
AR_CASH_RECEIPT_HISTORY_ALL.CASH_RECEIPT_HISTORY_ID

INTERIM TABLE DESC:-

select * from AR_INTERIM_CASH_RECEIPTS_ALL --WHERE CREATED_BY =


'1005254' AND CREATION_DATE > SYSDATE - 2;

CASH_RECEIPT_ID = AR_CASH_RECEIPTS_ALL.CASH_RECEIPT_ID
AMOUNT
CURRENCY_CODE
BATCH_ID [ THIS VALUE IS STORED IN RA_BATCHES_ALL ]
PAY_FROM_CUSTOMER
STATUS
TYPE
RECEIPT_NUMBER
RECEIPT_DATE
GL_DATE
SPECIAL_TYPE
RECEIPT_METHOD_ID
REMITTANCE_BANK_ACCOUNT_ID
SITE_USE_ID
ANTICIPATED_CLEARING_DATE
ORG_ID
AMOUNT_APPLIED
INVOICE_CURRENCY_CODE

select * from AR_INTERIM_CASH_RCPT_LINES_ALL --WHERE CREATED_BY =


'1005254' AND CREATION_DATE > SYSDATE - 2;

CASH_RECEIPT_ID
CASH_RECIPT_LINE_ID
PAYMENT_AMOUNT
PAYMENT_SCHEDULE_ID
CUSTOMER_TRX_ID
BATCH_ID
SOLD_TO_CUSTOMER
DUE_DATE
ORG_ID
INVOICE_CURRENCY_CODE.
INTERFACE TABLE:-->
===================
select * from AR_PAYMENTS_INTERFACE_ALL WHERE CREATED_BY = '1005254' AND
CREATION_DATE > SYSDATE - 1;

DELETE from AR_PAYMENTS_INTERFACE_ALL WHERE CREATED_BY = '1005254' AND


CREATION_DATE > SYSDATE - 1;

INTERIM TABLES:-->
===================
select * from AR_INTERIM_CASH_RECEIPTS_ALL WHERE CREATED_BY = '1005254'
AND CREATION_DATE > SYSDATE - 1;

DELETE from AR_INTERIM_CASH_RECEIPTS_ALL WHERE CREATED_BY = '1005254'


AND CREATION_DATE > SYSDATE - 1;

select * from AR_INTERIM_CASH_RCPT_LINES_ALL WHERE CREATED_BY =


'1005254' AND CREATION_DATE > SYSDATE - 1;

DELETE from AR_INTERIM_CASH_RCPT_LINES_ALL WHERE CREATED_BY = '1005254'


AND CREATION_DATE > SYSDATE - 1;

BASE TABLES:-->
================
select * from AR_CASH_RECEIPTS_ALL WHERE CREATED_BY = '1005254' AND
CREATION_DATE > SYSDATE - 1;

DELETE from AR_CASH_RECEIPTS_ALL WHERE CREATED_BY = '1005254' AND


CREATION_DATE > SYSDATE - 1;

select * from AR_RECEIVABLE_APPLICATIONS_ALL WHERE CREATED_BY =


'1005254' AND CREATION_DATE > SYSDATE - 1;

DELETE FROM AR_RECEIVABLE_APPLICATIONS_ALL WHERE CREATED_BY = '1005254'


AND CREATION_DATE > SYSDATE - 1;

select * from AR_CASH_RECEIPT_HISTORY_ALL WHERE CREATED_BY = '1005254'


AND CREATION_DATE > SYSDATE - 1;

DELETE from AR_CASH_RECEIPT_HISTORY_ALL WHERE CREATED_BY = '1005254' AND


CREATION_DATE > SYSDATE - 1;