Distribution Code Header
The Distribution Code Header file contains distribution code header records. A distribution code header record has one or more related detail records in the Distribution Code Detail file. A detail record represents default information for one line of expense distribution. Distribution codes are used to automatically create expense distributions or expense distribution "shells" for invoices or to split invoice distributions into multiple distribution lines.
REFERENCED BY
AP05.3 | AP305 |
FIELD NAME | DESCRIPTION/VALID VALUES | UPDATED BY | ||
---|---|---|---|---|
HDR-COMPANY Element: Company | Numeric 4 The company number. Must be a valid record in the Accounts Payable Company file. |
|
||
HDR-DIST-CODE Element: Dist Code | Alpha 9 A user-defined code used to automatically create expense distributions or expense distribution "shells" for invoices or to split an invoice distribution into multiple distributions. |
|
||
HDR-DESCRIPTION Element: Description | Alpha 30 (Lower Case) The distribution code description. |
|
||
HDR-ACCT-EDIT-FLAG Element: Edit Accounts | Alpha 1 Indicates whether to edit general ledger accounting units and account numbers when the distribution code is defined or during invoice entry. Valid values are: C = Code and Invoice Entry. The Accounting Unit and Account Number fields are required and are validated when a distribution code is defined. I = Invoice Entry Only. Accounting Unit and Account Number fields are not required when a distribution code is defined, but will be validated if either is entered. Any account information left blank is entered and validated during invoice entry. S = Service Invoice |
|
||
HDR-ACCT-UNIT-FLAG Element: Accounting Unit Flag | Alpha 1 Used only if Invoice Entry is selected in the Edit Accounts field. Indicates whether the Accounting Unit field in the Accounting Unit subform in AP20.1 (Basic Invoice) or AP20.2 (Taxed Invoice) is required during invoice entry. Valid values are: Y = Yes. N = No. |
|
||
HDR-ACCOUNT-FLAG Element: Account Flag | Alpha 1 Used only if Invoice Entry is selected in the Edit Accounts field. Indicates whether the Account number fields in the Account subform in AP20.1 (Basic Invoice) or AP20.2 (Taxed Invoice) are required during invoice entry. Valid values are: Y = Yes. N = No. |
|
||
HDR-TOTAL-PERCENT Element: Percent Total | Signed 6.3 The total percent defined for the distribution code. This is a sum of all distribution code detail records associated with the distribution code header record. |
|
||
HDR-TOTAL-TRAN-AMT Element: Amount Total | Signed 18.2 The total distribution amount defined for the distribution code. This is the sum of all distribution code detail records associated with the distribution code header record. |
|
||
HDR-TOTAL-UNIT Element: Unit Total | Signed 15.2 The total units defined for the distribution code. This is the sum of all distribution code detail records defined for the distribution code header record. |
|
||
HDR-VENDOR-GROUP Element: Vendor Group | Alpha 4 The vendor group associated with the distribution code company. |
|
NAME | KEY FIELDS | DESCRIPTION / SUBSET CONDITION | USED IN | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
HDRSET1 |
COMPANY DIST-CODE |
|
|||||||||
HDRSET2 |
VENDOR-GROUP DIST-CODE COMPANY |
|
|||||||||
HDRSET3 |
DIST-CODE COMPANY |
|
|
RELATION NAME |
RELATED FILE | INTEGRITY RULES / FIELD MATCH | |||
---|---|---|---|---|---|
Apcompany | APCOMPANY |
Required
|
RELATION NAME |
RELATED FILE | INTEGRITY RULES / FIELD MATCH | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Apdistcode | APDISTCODE |
Delete Cascades
|
All trademarks and registered trademarks are the property of their
respective owners.