!!!CREATE G/L INTERFACE FILE
If an interface file to a general ledger system needs to be created, then this function must be run.

Running UPGLF in non-trial mode will commit the journal entries. For Labor G/L, this will mark individual pay lines as ‘Journalized’, for Payroll G/L this will mark the pay header as ‘Journalized’.

When UPGLF is run in ‘Non-Trial’ mode, it will mark all of the pay headers and pay lines that it is picking up as being ‘journalized’.

||Report Parameters||
|__GL Company Code__|__Mandatory, LOV Available__ \\GL Company that the pays must be journalized for, as set up in the [IDGC] form.
|__From Fiscal Period__|__Optional, LOV Available__\\This field allows you to specify a beginning Fiscal Period used to qualify the Journal \\Entries.
|__Up to Fiscal Period__|__Optional, LOV Available__ \\According to the [IDCL] set up.
|__Summarize Option__|
|__Re-Interface Only__|__Optional, LOV Available__ \\This toggle indicates if UPGLF should pick up pay runs and pay headers that are \\marked with Pay Run and Pay Header stage as '86 - To-be re-interface' only. All \\other stages will not be processed. This toggle should be used you only want to \\reverse out (i.e. negate) the previously sent journal entries.
|__GL Format Code__|__Optional, LOV Available__ \\Only those reports of the format “G/L Interface" will display. Choose from the report \\formats created. The format “HL$GL" has been provided as a sample, but should \\be copied, and the copy edited, by the client before running this report. The report \\definition selected will determine the format of the output file (if any), as well as the \\columnar content of the report.
|__GL File Name__|__Optional, Text__ \\Enter the name of the file that will be created in the interface directory specified. \\e.g. HLGL_mex.txt, if ‘mex’ is specified, [MEX_ID] will insert text into the file name.
|__Write or Append to GL file__|__Mandatory, LOV Available, Defaults as <Write to File>__ \\If the file already exists should the current information overwrite it or append to it?
|__Cost Format Code__|__Optional, LOV Available__\\Only those reports of the format “Cost Interface" will display. Choose from the\\ report formats created. The format “HL$COST" has been provided as a sample, but \\should be copied, and the copy edited, by the client before running this report. The \\report definition selected will determine the format of the output file (if any), as well\\as the columnar content of the report.\\This field is used for the Financial Costing module only.
|__Cost File Name__|__Optional, Text__\\Enter the name of the file that will be created in the interface directory specified. \\This field is used for the Financial Costing module.
|__Write or Append to Cost__|__Mandatory, LOV Available, Defaults as <Write to File>__ \\If the file already exists should the current information overwrite it or append to it?
|__Interface Directory__|__Optional, Text__ \\Must be a directory on the server for which the current user (as signed onto the \\client’s network) has write capability. For example the entry ‘C:\TEMP’ accesses the\\‘TEMP’ directory on the server, not the local directory for the computer terminal\\being used.
|__External GL Info__|
|__Exception Level__|__Mandatory, LOV Available__ \\You may increase the level of exception to utility levels for testing purposes.

||Report Filters||
|__Journal Source__|__Optional, LOV Available__ \\Journal Source indicates where the entries are originating from Labor G/L, Payroll \\G/L, Accrual G/L, Trial Labor G/L, Trial Payroll G/L, or Trial Accrual G/L.
|__Journal Type__|__Optional, LOV Available__ \\The Journal Type may be Financial or Statistical.
|__Entity__|__Optional, LOV Available__ \\This report will be limited to the entities identified in this field.
|__Payroll__|__Optional, LOV Available__\\This report will be limited to the payrolls identified in this field.
|__Pay Run Number__|__Optional, LOV Available__ \\This report will be limited to the pay run numbers identified in this field.
|__From Execution ID__|__Optional, LOV Available__ \\This is the Execution ID from the Labor or Payroll General Ledger Update ([UPLG]\\or [UPGL]).
|__Person Code__|__Optional, LOV Available__ \\This report will be limited to the person codes identified in this field.