Professional Documents
Culture Documents
Settings Table:
Supplier Tables:
Invoice Tables:
Invoice header details like Invoice Number, Invoice ID, Amount, Vendor ID and Site ID,
Invoice Type, Invoice Approval Status, Payment Status Flag (Y – Fully Paid, P –
Partially Paid, N – Not Paid), Tax Amount (Populated only for Header tax type), Freight
Amount (Populated only), Discount Amount, Invoice Received Date will be stored in
AP_INVOICES_ALL
Invoice_Type_Lookup_Code – Defines the type of the Invoice like Standard, Debit, etc.
Batch_ID – If the Invoice is created through batch, that batch ID will be populated
Cancelled Date – If the invoice is cancelled, that date will be stored in this column
Source – Mentions that whether the invoice is entered manually in AP or imported from
any verticals like ISP, Invoice Gateway, etc
VAT_Code – Mentions the Invoice tax name we attached in the Invoice header
Invoice distribution, distribution type, Accounted or not, approved or not, accrual or cash
type, Distribution Match Type (Match with PO or Receipt), PO_Distribution_ID details
will be stored in AP_INVOICE_DISTRIBUTIONS_ALL.
Important Note:
While cancelling an invoice, opposite accounting entries and the negative amounts will
be there in AP_INVOICE_DISTRIBUTIONS_ALL
Invoice batch details like batch name, control count and amount will be stored in
AP_BATCHES_ALL. Actual count and amount is not stored directly in this table.
Those values are derived from a Package.
Details in Scheduled payments tab in Invoice workbench like Due Date, Amount
Remaining, Hold and Payment Status Flag (Y – Fully Paid, P – Partially Paid, N – Not
Paid) will be stored in AP_PAYMENT_SCHEDULES_ALL
Payments details like the amount paid, corresponding invoice ID, Check ID, Posted Flag
(Y – Payment is Accounted, N – Not accounted), Bank Details will be stored in
AP_INVOICE_PAYMENTS_ALL. When you void a payment, your Oracle Payables
application inserts an additional payment line that is the negative of the original payment
line.
Interest Invoice details like Related Invoice ID (Interest Invoice ID), Original Invoice ID
(Invoice ID for which interest is calculated) will be stored in
AP_INVOICE_RELATIONSHIPS
Details in Holds tab in Invoice workbench like Invoice_ID, ID of the person who put the
Hold (Get the user name from FND_USER), Release name will be stored in
AP_HOLDS_ALL
Existing hold names, Hold Type, User Releasable and also Creation of new holds will be
stored in AP_HOLD_CODES
Whenever a record entered in Invoice workbench and validated (not accounted), one
entry will be there in AP_ACCOUNTING_EVENTS_ALL table. Source_ID is same as
Invoice ID in AP_INVOICES_ALL. Other important details like Event Type (Entry has
done in Invoice, Payments or Cash Clearing), Event Status (Created – If the Invoice is
simply created and validated but not accounted. Accounted – Once the Invoice is
accounted), Source table (AP_INVOICES or AP_CHECKS).
Whenever a record entered in Payment workbench and saved (not accounted), One entry
will be there in AP_ACCOUNTING_EVENTS_ALL table. Source_ID is same as
Check ID in AP_CHECKS_ALL. Other important details like Event Type (Entry has
done in Invoice, Payments or Cash Clearing), Event Status (Created – If the Payment is
simply created and saved but not accounted. Accounted – Once the Payment is
accounted), Source table.
Important Note:
Accounting entries like debit amount and CCID, credit amount and CCID, charge,
liability, amount distributions, Source Table and the Source ID (Invoice_ID or
Inv_Distribution_ID), Supplier Name (Reference 1), Invoice ID (Reference 2), Invoice
Num (Reference 3) will be stored in AP_AE_LINES_ALL
Source tables:
1) AP_CHECKS
2) AP_INVOICES
3) AP_INVOICE_DISTRIBUTIONS
4) AP_INVOICE_PAYMENTS
Recurring Invoice details like Vendor and Site ID, Recurring Invoice Number (If the
number is REC_INV, while creating, the invoice number is REC_INV||-Period name),
Rec_Pay_Period_Type (Calendar Name), No of periods, First, Next and Remaining
Period, PT, DS, Total, First and Special amount will be stored in
AP_RECURRING_PAYMENTS_ALL
Payment terms header details will be stored in AP_TERMS and the line details will be
stored in AP_TERMS_LINES
Distribution set header details like Distribution Name, Total Percent Distribution (This
field mentions the type like, 100 – Full, 0 - Skeleton) will be stored in
AP_DISTRIBUTION_SETS_ALL
Distribution set line details like Distribution CCID and the Percentage will be stored in
AP_DISTRIBUTION_SET_LINES_ALL
Tax and Withholding tax Tables:
For normal taxes - Tax name, Tax type, Tax rate, Tax ID, Tax recovery rule ID
For withholding tax – Tax name, Tax type (Sales, WH, etc), Withholding Vendor and
Site ID (Tax Authority), AWT_Period_Type (Calendar), AWT_Period_limit, Range
amount and Period basis, AWT_RATE_TYPE (Flat, Period, Amount) and calendar will
be stored in AP_TAX_CODES_ALL
Especially for Withholding tax - Details like Tax name, Tax rate, Start, end date and
amount will be stored in AP_AWT_TAX_RATES_ALL
Withholding tax names belongs to the group, Group ID and the rank for the tax codes
will be stored in AP_AWT_GROUP_TAXES_ALL
Special Calendar header details like Name (Period Type), Type (Module – PT, WHT,
Recurring, etc), Periods per Year will be stored in AP_OTHER_PERIOD_TYPES
Special Calendar line details like Period Name, Year, Start and End date will be stored in
AP_OTHER_PERIODS
Payment Tables:
Bank details like Bank name, Bank branch name and ID, Institution Type (Bank or
Clearing House), Address will be stored in AP_BANK_BRANCHES
Bank Account details like Account name, Account number, Account Type, Account
contact, Pooled Account, Multi Currency and Receipt options will be stored in
AP_BANK_ACCOUNTS_ALL
Check details like Check name, Disbursement type (Combined, Recorded, etc), Payment
format and Method, Last used and last available check number, GL Accounts, Future
dated payments allowed or not will be stored in AP_CHECK_STOCKS_ALL with the
respective Account number.
AP_CHECKS_ALL table contains details like amount we paid to the supplier or receive
from the supplier, Bank name, Bank A/C name and Address, Check no., Check date
(Payment date), Payment type (Quick, Manual or Refund), Supplier name and Site. AP
stores a dummy value for CHECK_STOCK_ID for refunds, thus, CHECK_STOCK_ID
should not be treated as a foreign key to AP_CHECK_STOCKS_ALL in the case of
refunds.
Payment Format details like Format name, Payment method, Currency, Programs name
will be stored in AP_CHECK_FORMATS
Payment Program details like Program ID, Type, Name and Friendly Name (Name we
can see in the Formats window) in AP_PAYMENT_PROGRAMS
Payment Batch:
Criteria’s entered in Payment batch window like Batch name, Bank account name, Pay
group, Priority, Status, Check details, Vendor ID, Payment method will be stored in
AP_INV_SELECTION_CRITERIA_ALL
Status – Before starting the batch the status is UNSTARTED in backend and NEW in
frontend
AUTOSELECT:
While running AUTOSELECT process, the status is SELECTING in both front and
backend. Once it is over, the status is SELECTED in both front and backend.
BUILD:
While running BUILD process, the status is BUILDING in both front and backend. Once
it is over, the status is BUILT in both front and backend
REBUILD:
Once the BUILD process is over, then only we are able to view the payments. In that we
are able to modify the payments. If the payments are modified, then we need to do the
“REBUILD”, the status is REBUILDING in both front and backend. Once it is over, the
status becomes BUILT in both front and backend.
FORMAT:
While FORMAT process, the status is FORMATTING in both front and backend. Once
it is over, the status is FORMATTED in both front and backend
CONFIRM:
While CONFIRM process, the status is CONFIRMING in both front and backend. Once
it is over, the status is CONFIRMED in both front and backend
CANCEL:
Before CONFIRM process, we can cancel the payment batch. The invoices selected in
the batch will be available for the next run.
Once the batch is confirmed, we can’t cancel (Paid invoices can’t be cancelled) instead
we can VOID the payment. Go the Payments workbench, query for the check number
then Actions button click “Initiate stop” and “Void”.
Note:
• Up to BUILD process, we can modify the invoices like which are all we can pay
• Up to FORMAT process, we can cancel the batch
When you select a payment batch to modify, format, confirm, cancel, or restart, the
system checks the status is Pending, Running, or Inactive, the system does not allow you
to perform any action on the payment batch.
Expense Report:
Steps:
1) Create an Employee as Supplier
2) Define Expense Report Template
3) Create Expense Report
4) Query for the record in Invoice Workbench
Interface Tables:
AP_EXPENSE_REPORT_HEADERS_ALL
AP_EXPENSE_REPORT_LINES_ALL
Expense report template header details like Template Name (Report Type), Template ID
(Expense Report ID), Inactive Date will be stored in AP_EXPENSE_REPORTS_ALL
Expense report template line details like Expense Report ID, Parameter ID (ID for each
line), Prompt (Expense Item name), Item Type, Flex Concatenated (GL Account code),
Expense Category will be stored in AP_EXPENSE_REPORT_PARAMS_ALL
Expense Report header details like Header ID, Employee Name and Number (Person ID
in PAPF), Send to (Home or Office), Amount, Invoice Number (One invoice will be
created with this number once we run Expense Import Report), Vouchno (Invoice ID of
the Invoice), Source (Where we are creating this like AP, etc), Expense Report ID, GL
CCID will be stored in AP_EXPENSE_REPORT_HEADERS_ALL
Expense Report line details like Header ID, Item Name and Type, CCID (For each line),
Amount (For each line) will be stored in AP_EXPENSE_REPORT_LINES_ALL
Once the expense report is created, need to run the request “Expense Report Import”,
then only the invoice will be created.
Set of Books details like Set of book ID and name will be stored in
GL_SETS_OF_BOOKS
Inventory Org details Organization ID and name and also the Inv Org belongs to which
OU (OU ID) will be stored in ORG_ORGANIZATION_DEFINITIONS
Item category details like Category Type (MISC.MISC), Category ID will be stored in
MTL_CATEGORIES_B
Organization details like Organization ID and name, BG ID, Location ID are stored in
HR_ALL_ORGANIZATION_UNITS
Responsibility ID, Application ID, Security Group ID details entered in define USER
window are stored in FND_USER_RESP_GROUPS
User name and ID, Password expiration details are stored in FND_USER
Data entered in define Responsibility window like Responsibility ID and name, Menu ID,
Request and Data group ID are stored in FND_RESPONSIBILITY
Profile option values like Profile Option ID and Name, Level of Accessing (Site, Resp
and User) are stored in FND_PROFILE_OPTIONS
Purchasing_Site_Flag (able to purchase from the site) and Pay_Site_Flag (able to pay to
the site) in PO_VENDOR_SITES_ALL
BG - HRFV_BUSINESS_GROUPS
SOB - GL_SETS_OF_BOOKS
LE – HR_LEGAL_ENTITIES
OU - HR_OPERATING_UNITS – This is a view based on table
HR_ALL_ORGANIZATION_UNITS
INV - ORG_ORGANIZATION_DEFINITIONS
PO Table Details
Line type details like Goods, Services in the Type field in Requisition or PO will be
stored in PO_LINE_TYPES
Requisition Tables:
Requisition header details like Preparer ID, Requisition Number (Segment1), Status,
Type lookup code (Purchase or Internal), Approved date will be stored in
PO_REQUISITION_HEADERS_ALL.
Requisition line details like Line type ID (Goods, Services, etc), Category ID, To Person
ID, Suggested Vendor details, Destination Org ID, Item ID and description, UOM, Price,
Quantity, Need by date, deliver to Location ID, Line Location ID will be stored in
PO_REQUISITION_LINES_ALL.
Requisition distribution details like CCID, Accrual and Variance account ID will be
stored in PO_REQ_DISTRIBUTIONS_ALL.
PO Tables:
PO header details like Buyer ID (Agent ID), Type, PO Number (Segment1), vendor ID
and Site ID, Ship to and Bill to location ID, Status, Document Creation Method (Auto
create, Manual, etc), Closed date and Closed code and also the details mentioned in the
“Currency” and “Terms” button will be stored in PO_HEADERS_ALL.
PO line details like Item Id and Description, UOM, Price, Quantity ordered will be stored
in PO_LINES_ALL.
PO distribution details like Header, Line and Line location ID, CCID, Accrual and
Variance account ID, Quantity delivered and billed, Requisition Distribution ID, Deliver
to location and person ID will be stored in PO_DISTRIBUTIONS_ALL.
PO line location details like Header and Line ID, Quantity Received, Accepted, Billed,
Rejected and Cancelled, Match Type (2, 3 or 4 way – It is defined based on the two fields
Inspection and Receipt required flag), Match Option (PO or Receipt), Receiving Type
(Standard, Direct – Column - Receiving Routing ID), Tolerance will be stored in
PO_LINE_LOCATIONS_ALL.
2. PO_REQ_DISTRIBUTIONS_ALL.Distribution_ID =
PO_DISTRIBUTIONS_ALL.Req_Distribution_ID
1. PO_HEADERS_ALL
2. PO_LINES_ALL
3. PO_DISTRIBUTIONS_ALL
4. PO_LINE_LOCATIONS_ALL
Receiving Tables:
Receiving Header details like Receipt NO, Vendor ID and Site ID, Receiver ID, Packing
Slip, Bill of Lading, Shipped date, Freight carrier will be stored in
RCV_SHIPMENT_HEADERS.
Receiving line details like Header ID, Quantity Shipped and received, Item Category ID,
Item ID and description, Shipment line status code (Full or partly received), Receiver ID,
Deliver to location ID, PO Header, line, line location and Distribution ID will be
stored in RCV_SHIPMENT_LINES.
Receiving Transaction details like Transaction Type (Receive, Deliver, Accept, etc),
UOM, Shipment Header and Line ID, Destination Type Code (Expense, Inventory, etc),
PO Header, line, line location and Distribution ID, Inspection Status code, Vendor ID
and Site ID, Deliver to location and person ID will be stored in
RCV_TRANSACTIONS.
JOINS:
AP_AE_LINES_ALL
GL_IMPORT_REFERENCES
GL_JE_BATCHES
GL_JE_HEADERS
GL_JE_LINES
Once the “Payables transfer to GL” and “Journal Import” process has run, the
GL_SL_LINK_ID will be updated in AP_AE_LINES_ALL,
GL_IMPORT_REFERENCES and GL_JE_LINES.
GL_IMPORT_REFERENCES table has Batch ID, Header ID, Supplier name and
number, Invoice Number, Line type (Charge, liability, etc), GL_SL_LINK_ID. Multiple
records will be there for every batch.
GL_JE_BATCHES table has Batch ID and Name, SOB ID, Status (Posted, Unposted),
Debit and credit amount. One record will be there for one batch.
GL_JE_HEADERS table has Batch ID, Header ID, Category (Invoice, Payments),
Source (Payables), Period, Status (Posted, Unposted), Debit and credit amount. One
record for every group (Invoice or Payments).
GL_JE_LINES table has Header ID, CCID, Period name, Status (Posted, Unposted),
Supplier name and number, Debit and credit amount, Line type (Charge, liability, etc),
GL_SL_LINK_ID. Multiple rows will be there like AP_AE_LINES_ALL.