Documentation >
MAC-PAC Technical Library >
Financial >
Inventory Accounting >
Programs >
Inventory Accounting Pending Operations Check - Purpose >
Inventory Accounting Pending Operations Check - Calculations
Inventory Accounting Pending Operations Check - Calculations
IA030E
A. Housekeeping
1. See the Common Processing Routines - Housekeeping section of this manual for a general discussion of this subroutine. Processing specific to this program is described below.
2. Parameter lists are set up.
3. Work fields are defined and program constants are initialized.
4. The Company Name is retrieved from the entity name record (category 002) on the Reference file (REFERP). If this record is not found, a default message is used, and processing continues.
5. The Inventory Accounting period-end information record (category 460) is retrieved from the Reference file (REFERP). If this record is not found, a message is sent to the system operator and processing is terminated.
B. Mainline
1. Accounting cost generation report requests are checked for.
a. The Accounting Cost Generation Report Request file (IA310AP) is read sequentially for any records.
b. If any record is found, the job name "IAACSTGEN" is moved to PRM (pending jobs array)
2. The IA data audit request is checked.
a. The IA data audit request on Reference File category N30 is checked.
b. If the data audit is requested, the job name IADATAUD is moved to PRM.
3. Period-end post and trial run requests are only if IA period end is not in recovery or if recovery is requested:.
a. The Inventory Accounting period-end information record (category 460) from the Reference file (REFERP) is checked for post or trial run requests.
b. If the post run request flag equals D (demand). the job name "IADMNDPST" is moved to PRM).
c. If the post run request flag equals F (final), the job name "IAFNLPST" is moved to PRM.
d. If the trial run request flag equals Y (yes) and the lock flag is N (no), the job name IATRLNOLCK is moved to PRM. If the lock flag is Y (yes), the job name IATRLPDEND is moved to PRM.
4. Other requests are checked for.
a. The Inventory Accounting Report Request file (IA320AP) is checked for records with transaction codes indicating report requests. The file is read sequentially once through for each request code listed below.
b. If a record with the transaction code is found, the corresponding job name is moved to PRM.
|
|
|
R50
|
IAMFGWHSE
|
Manufacturing Warehouse Activity
|
R51
|
IAINVACTSM
|
Inventory Account Summary by Part
|
R52
|
IAACTCDCHG
|
Accounting Code Change Request
|
R53
|
IAPORCPT
|
Purchase Order Receipt Price Variance
|
R54
|
IASTKTRNS
|
Stock Transfer Price Variance
|
R55
|
IASTDCSTCH
|
Standard Cost Change/Classified Parts
|
R57
|
IAMFGORD
|
Manufacturing Order Accounting Detail
|
R80
|
IAGLACC
|
G/L Detail by Account
|
R81
|
IAWIPACC
|
WIP by Accounting Code
|
R82
|
IAOPNORD
|
Open Order Balance
|
R83
|
IALABEFF
|
Labor Efficiency Variance
|
R84
|
IAMANEFF
|
Manning Efficiency Variance
|
R85
|
IABUREFF
|
Burden Efficiency Variance
|
R86
|
IAJITACC
|
JIT Activity by Accounting Code
|