AP_ALLOCATION_RULE_LINES

AP_ALLOCATION_RULE_LINES contains the records that establish which percentage and/or amount of a charge line is to be allocated to a specific item line. Allocation rule lines are created as children of an allocation rule, which is stored in the AP_ALLOCATION_RULES table. Consequently such allocation rule lines will be considered executed whenever the status of the allocation rule becomes executed.

Details

  • Schema: FUSION

  • Object owner: AP

  • Object type: TABLE

  • Tablespace: APPS_TS_TX_DATA

Primary Key

Name Columns

AP_ALLOCATION_RULE_LINES_PK

INVOICE_ID, CHRG_INVOICE_LINE_NUMBER, TO_INVOICE_LINE_NUMBER

Columns

Name Datatype Length Precision Not-null Comments
INVOICE_ID NUMBER 18 Yes Invoice identifier for invoice owning the charge
CHRG_INVOICE_LINE_NUMBER NUMBER Yes Invoice line number for charge line being allocated
TO_INVOICE_LINE_NUMBER NUMBER Yes Invoice line number for line charge is allocated against
PERCENTAGE NUMBER Percentage of the charge allocated to the line. Valid only if RULE_TYPE is PERCENTAGE
AMOUNT NUMBER Amount of the charge allocated to the line
CREATION_DATE TIMESTAMP Yes Who column: indicates the date and time of the creation of the row.
CREATED_BY VARCHAR2 64 Yes Who column: indicates the user who created the row.
LAST_UPDATED_BY VARCHAR2 64 Yes Who column: indicates the user who last updated the row.
LAST_UPDATE_DATE TIMESTAMP Yes Who column: indicates the date and time of the last update of the row.
LAST_UPDATE_LOGIN VARCHAR2 32 Who column: indicates the session login associated to the user who last updated the row.
PROGRAM_APPLICATION_ID NUMBER 18 Who column: indicates the application identifier of the row.
PROGRAM_ID NUMBER 18 Who column: indicates the identifier of the row.
PROGRAM_UPDATE_DATE DATE Who column: indicates the date and time of the creation of the row.
REQUEST_ID NUMBER 18 Enterprise Service Scheduler: indicates the request ID of the job that created or last updated the row.
OBJECT_VERSION_NUMBER NUMBER 9 Yes Used to implement optimistic locking. This number is incremented every time that the row is updated. The number is compared at the start and end of a transaction to detect whether another session has updated the row since it was queried.
JOB_DEFINITION_NAME VARCHAR2 100 Enterprise Service Scheduler: indicates the name of the job that created or last updated the row.
JOB_DEFINITION_PACKAGE VARCHAR2 900 Enterprise Service Scheduler: indicates the package name of the job that created or last updated the row.

Foreign Keys

Table Foreign Table Foreign Key Column
AP_ALLOCATION_RULE_LINES ap_allocation_rules INVOICE_ID, CHRG_INVOICE_LINE_NUMBER

Indexes

Index Uniqueness Tablespace Columns
AP_ALLOCATION_RULE_LINES_U1 Unique Default INVOICE_ID, CHRG_INVOICE_LINE_NUMBER, TO_INVOICE_LINE_NUMBER