Populating Data for New Bill Headers
When the Billing Interface process generates a new bill header, the system uses default values for much of the data, if it is not provided. The defaulting mechanism operates by using the same hierarchy as online bill entry defaulting. For example, payment terms codes appear by default onto new bill headers from customer, bill source, bill type, and business unit, in that order. To override bill header defaults applied by the Billing Interface process, you must provide data (in the interface table) in the field that you want to override, and include that field in the bill-by criteria. For example, to override the Billing interface payment terms defaulting, populate the payment terms field on the interface table, and ensure that the bill-by identifier includes PYMNT_TERMS_CD.
Data in the interface staging area is grouped for billing according to the bill-by fields defined for the bill-by identifier. The system always populates this data on the bill header. In the preceding example, the order number and ship-to location appear on both bill header and bill line tables. The order number and ship-to location are the same for all lines on the bill. If the preceding activity had five different shipment types, the shipment types would be populated on the bill line table but not on the bill header. However, if you defined the bill-by identifier with the fields ORDER_NUM and SHIP_TYPE_ID, the system populates the order number and shipment type on both the bill header and bill line tables, and the ship-to location would be a variable at the bill line level.
These fields are implied bill-by fields and need not be specified:
-
BUSINESS_UNIT
-
BILL_TO_CUST_ID
-
BILL_TYPE_ID
-
BILL_SOURCE_ID (if invoice numbering is set to bill source)
-
BI_CURRENCY_CD
-
HDR_FIELDS_KEY
-
BUSINESS_UNIT_TO
-
COUNTRY_SHIP_FROM (if the transaction is subject to VAT)
-
COUNTRY_SHIP_TO (if the transaction is subject to VAT)
-
COUNTRY_VAT_BILLFR (if the transaction is subject to VAT)
-
COUNTRY_VAT_BILLTO (if the transaction is subject to VAT)
-
VAT_TREATMET_GRP (if the transaction is subject to VAT)
For the system to consider a field a bill-by field, that field must exist both in the bill header (BI_HDR) record and in the Billing Interface table (INTFC_BI). Some exceptions exist, such as PROCESS_INSTANCE, AR_LVL, and GL_LVL fields. The fields listed in the following two tables exist in both the Bill Header table and the Billing Interface table, but they do not exist in the Bill Line table. Data in the first table does not appear on the bill header unless it is defined as a bill-by field. Data in the second table has default values provided by the Billing Interface process from various setup tables (such as Customer, Bill Source, Bill Type, Billing Business Unit). If you want to override the default, you must provide an override value and include the field on the list of bill-by fields on the bill-by identifier definition.
The fields listed between the two tables are referred as commonly shared fields. A commonly shared field exists in all three tables: INTFC_BI, BI_HDR, and BI_LINE.
Header Fields: No Defaulting Applied
| Field | Explanation |
|---|---|
|
ACCOUNTING_DT |
Optional |
|
LC_ID |
Optional |
|
LOC_DOC_ID |
Optional |
|
FROM_DT |
Optional |
|
INVOICE_DT |
Optional |
|
RANGE_SELECTION_ID |
Optional |
|
REIMB_AGREEMENT |
Optional |
|
TO_DT |
Optional |
|
MAST_CONTR_ID |
Optional |
|
BUSINESS_UNIT_AM |
Optional |
|
DOC_TYPE |
Optional |
If you populated FROM_DT and TO_DT in the interface staging area, for example, but did not define these fields as bill-by fields, the data does not appear in the bill header.
To populate the bill header with commonly shared fields, define them as bill-by fields. Commonly shared fields are:
-
ACTIVITY_ID
-
ACTIVITY_TYPE
-
ANALYSIS_TYPE
-
BILL_OF_LADING
-
BUSINESS_UNIT_CA
-
BUSINESS_UNIT_OM
-
BUSINESS_UNIT_PC
-
BUSINESS_UNIT_RF
-
CONTRACT_DT
-
CONTRACT_NUM
-
CONTRACT_TYPE
-
COUNTRY_SHIP_FROM
Note:
The COUNTRY_SHIP_FROM field is used as an implicit bill-by when the transaction is subject to VAT.
-
COUNTRY_SHIP_TO
Note:
The COUNTRY_SHIP_TO field is used as an implicit bill-by when the transaction is subject to VAT.
-
EMPLID
-
END_DT
-
ENTRY_REASON
-
ENTRY_TYPE
-
FREIGHT_TERMS
-
ORDER_DATE
-
ORDER_NO
-
PACKSLIP_NO
-
PHYSICAL_NATURE
-
PO_REF
-
PPRC_PROMO_CD
-
PROJECT_ID
-
RESOURCE_CATEGORY
-
RESOURCE_SUB_CAT
-
RESOURCE_TYPE
-
RMA_ID
-
SERVICE_ADDR_NUM
-
SERVICE_CUST_ID
-
SHIP_FROM_BU
-
SHIP_ID
-
SHIP_TO_ADDR_NUM
-
SHIP_TO_CUST_ID
-
SHIP_TYPE_ID
-
SO_ID
-
SOLD_TO_ADDR_NUM
-
SOLD_TO_CUST_ID
-
SOURCE_REF_KEY
-
SOURCE_REF_NO
-
SOURCE_REF_TYPE
-
SSN
-
START_DT
-
STATE_SHIP_FROM
-
STATE_SHIP_TO
Header Fields: Defaulting Applied
| Field | Explanation |
|---|---|
|
ACCEPTGIRO_IND |
Provided by default from the Billing business unit setup table. |
|
ACCRUE_UNBILLED |
Optional. Provided by default if left blank. |
|
ADDRESS_SEQ_NUM |
Optional. Provided by default if left blank. |
|
AR_DST_OPTL |
Provided by default from billing setup tables. |
|
AR_LVL |
Provided by default from billing setup tables. |
|
BI_BU_TAX_IND |
Always provided by default based on Business Unit Tax setup. |
|
BANK_ACCT_KEY |
Optional. Provided by default if left blank. |
|
BILL_BY_ID |
Optional. Provided by default if left blank. |
|
BANK_CD |
Optional. Provided by default if left blank. |
|
BILL_CYCLE_ID |
Optional. Provided by default if left blank. |
|
BILL_INQUIRY_PHONE |
Optional. Provided by default if left blank. |
|
BILL_TO_COPIES |
Optional. Provided by default if left blank. |
|
BILLING_AUTHORITY |
Optional. Provided by default if left blank. |
|
BILLING_FREQUENCY |
Optional. Provided by default if left blank. |
|
BILLING_SPECIALIST |
Optional. Provided by default if left blank. |
|
BUSINESS_UNIT_GL |
Provided by default from a billing business unit. |
|
CF_ACTION_FLG |
Provided by defaults from GL business unit and Ledger setup tables. |
|
CNTCT_SEQ_NUM |
Optional. Provided by default if left blank. |
|
COLLECTOR |
Optional. Provided by default if left blank. |
|
CONSOL_CUST_ID |
Optional. Provided by default if left blank. |
|
CONSOL_KEY |
Optional. Provided by default if left blank. |
|
COUNTRY_SHIP_FROM |
Optional. Provided by default if left blank. |
|
COUNTRY_SHIP_TO |
Optional. Provided by default if left blank. |
|
CR_ANALYST |
Optional. Provided by default if left blank. |
|
CR_CARD_FLG |
Defaults to Y (yes), if customer's payment method is Credit Card. Otherwise it is N (no). |
|
CUR_RT_SOURCE |
Optional. Provided by default if left blank. |
|
CUR_RT_TYPE |
Optional. Provided by default if left blank. |
|
DFR_ACCTG_DT_CD |
Provided by default from billing setup tables. |
|
DFR_MID_PERIOD_DAY |
Provided by default from billing setup tables. |
|
DFR_REV_PRORATION |
Provided by default from billing setup tables. |
|
DIRECT_INVOICING |
Optional. N is the default value, if left blank. |
|
DST_ID_DFR |
Optional. Provided by default if left blank. |
|
ENABLE_DFR_REV_FLG |
Provided by default from billing setup tables. |
|
ENTRY_EVENT |
Optional. Provided by default if left blank. |
|
GL_LVL |
Provided by default from billing setup tables. |
|
INVOICE_FORM_ID |
Optional. Provided by default if left blank. |
|
NAME1 |
Optional. Provided by default from CNTCT_SEQ_NUM. |
|
PAYMENT_METHOD |
Optional. Provided by default if left blank. |
|
PYMNT_TERMS_CD |
Optional. Provided by default if left blank. |
|
RATE_DIV |
Optional. Provided by default if left blank. |
|
RATE_MULT |
Optional. Provided by default if left blank. |
|
SALES_PERSON |
Optional. Provided by default if left blank. |
|
SUBCUST_QUAL1 |
Optional. Provided by default from CUSTOMER, if left blank. |
|
SUBCUST_QUAL2 |
Optional. Provided by default from CUSTOMER, if left blank. |
|
SUMMARIZE_IVC_FLG |
Default is N (no). |
|
VAT_ENTITY |
Provided by default from Billing and GL business unit setup. |
Note:
Only include those fields listed in the second table as part of the bill-by criteria when you supply override values. Having these fields as part of the bill-by identifier definition and not supplying a value could cause transactions to be left in a RDY (ready) load status.