Documentation >
MAC-PAC Reference and Help >
Reference File Categories >
EXTERNAL NUMBERING PGMS
Function Select
RFM12S01 - Function Select
WILLIAMS COMMON FEATURES 6/01/95
DSP01 REFERENCE FILE CATEGORY M12 FUNCTION SELECT
Category Name EXTERNAL NUMBERING PGMS
CO(3) LOC(3)
Category Key 001BRU
XXXXXX
Request Code 4
1 - Add
2 - Change
3 - Delete
4 - Inquire
F2=Command F3=Exit F7=End Category F8=Display List
F9=Inquiry
The External Numbering Programs category allows you to create programs to override document numbering schemes currently allowed in MAC-PAC.
COMPANY/LOCATION
Required. Enter the company/location combination for which you want to maintain an external numbering program. The company/location must exist on Reference File category 002.
Detail
RFM12S02 - Detail
WILLIAMS COMMON FEATURES 2/02/96
DSP01 REFERENCE FILE CATEGORY M12 ADDITION
Category Name EXTERNAL NUMBERING PGMS
CO(3) LOC(3)
Category Key 001BRU
A/R OPEN ITEM NUMBERING PROGRAM PMT VAT REVIEW
Data 1222222222 Y
XXXXXXXXXX Y
Data
Data
F2=Command F3=Exit F9=Inquiry F10=Function Select
F12=Lower Case F15=Rekey Data
This screen allows you to maintain the external numbering program and activates payment time VAT review management.
The external numbering program will be called to retrieve the next available document number for the Accounts Receivable open item when automatic numbering is invoked or for Accounts Payable when fiscal number assignment must be performed.
If a record has been defined for the company/location combination and the Payment VAT Review flag is set to 'Y', then the Italian fiscal numbering is active and payment time VAT review is activated as well.
OPEN ITEM NUMBERING PROGRAM
Required. Enter a user-defined external numbering program that will be used to retrieve to next available document number. The program name must start with an alphabetical character.
In Accounts Receivable, before the next available document number is retrieved from Reference File category 440, the program will first check to see if a record exists on this category. If a record does exist on this category, then the external program will be called to retrieve the next available document number.
In Accounts Payable, if a record exists on Reference File category M12 for the company/location, the external numbering program will be called for fiscal numbering. It will format the Fiscal Document field on the Accounts Payable Open Item Header file, the Accounts Payable Open Item Audit Trail file, and the General Ledger Accounting Transactions file.
If the fiscal number is entered manually, the program will be called to validate the number entered. If the fiscal number is left blank to be entered automatically, the external program will be called to generate the fiscal number.
The following parameters will be passed when the program is called:
Company 3 A
Location 3 A
Module 2 A
Document Type 2 A
Sector 1 A
Accounting Date 8 0 (YYYYMMDD)
Document Number 8 A
Error Code 7 A
All programs calling this external program assume that the external program is returning a valid document number for the company/location document type. In Accounts Receivable, the number does not currently exist on the Open Item File (AROPENP) for the company/location document type. If the document number returned is zero or blanks, the calling program will abort. The calling program will also abort if an error message is returned in the Error Code field.
PAYMENT VAT REVIEW
Required. This field determines whether payment time VAT review management will be activated. Valid values for the payment time VAT review flag are:
Y - Yes, payment time VAT review management is activated for the company/location. The value is accepted only if the related program name has been specified.
N -No, payment time VAT review management is not activated. The value is the field default.