|
|
发表于 2008/4/1 16:13:51
|
显示全部楼层
看看这个吧:
AP_INVOICE_DISTRIBUTIONS_ALL holds the distribution information that is
manually entered or system-generated. There is one row for each invoice
distribution. A distribution must be associated with an invoice. An invoice
can have multiple distributions.
Examples of when your Oracle Payables application automatically creates rows
in this table include the following:
7 You choose a distribution set at the invoice header level.
7 You match an invoice line to a purchase order or receipt. The system uses
information from the matched purchase order or receipt to create the
distributions.
7 You match a credit or debit memo to an invoice.
7 You generate charge distributions (tax, freight, misc.) from allocation
rules.
7 You apply a prepayment or unapply a prepayment.
7 Payables automatically withholds tax.
7 Payables creates an interest invoice.
When you account for an invoice, the Payables Accounting Process creates
accounting events, accounting entry headers and accounting entry lines for
those distributions that have accounting dates included in the selected
accounting date range. The Transfer to General Ledger process can then
transfer the accounting entries to General Ledger as journal entries. Values
for POSTED_FLAG are Y for accounted distributions or N for unaccounted
distributions.
Invoice distributions can be interfaced over/from Oracle Assets or Oracle
Projects. Your Oracle Payables application sets the ASSETS_ADDITION_FLAG to U
for distributions not tested by Oracle Assets; Oracle Assets then adjusts this
flag after it tests a distribution for assignment as an asset. To avoid the
same invoice distribution being interfaced to Oracle Project and Oracle
Assets, you must interface any project-related invoice distribution to Oracle
Projects before you can interface it to Oracle Assets. If a project-related
invoice distribution is charged to a capital project in Oracle Projects,
Oracle Projects sets the ASSETS_ADDITION_FLAG to P when the PA_ADDITION_FLAG
is set to Y, Z, or T. Oracle Assets only picks up invoice distributions with
the ASSET_ADDITION_FLAG set to U, and if project-related, with the
PA_ADDITION_FLAG set to Y, Z, or T. PA_ADDITION_FLAG tracks the status of
project-related supplier invoice distributions and expense report
distributions. For supplier invoice distributions entered via Oracle
Payables, the PA_ADDITION_FLAG is set to N if the distribution is
project-related, otherwise it is set to E, and it is updated by Oracle
Projects when the distribution is processed by the Oracle Projects Interface
Supplier Invoice process. Oracle Projects sets the PA_ADDITION_FLAG to Y or Z
after the item is successfully processed, or may be set to a rejection code if
the line is rejected during transfer to Oracle Projects. See Payables Lookup
Listing for all the errors. You must correct the rejection reason and try to
retransfer the line. For supplier invoice adjustment distributions interfaced
from Oracle Projects to Oracle Payables (which must net to zero with another
distribution), the value for the PA_ADDITION_FLAG is set to T.
This table corresponds to the Distributions window. |
|