Functional Description
Purpose
This function will retrieve the account AAI information for work orders. It will use this NER to retrieve the object portion of the account, base on
timecard information and information retrieved from work order master. It will also retrieve the account number for all defaults, within the master business
function for Time Entry (B0500002). Follows logic from world subroutine C06904.
Technical Specifications
COCompany from Cost Center F0006IN
MCUH IN
UNTimecard Union IN
JBCDTimecard Job Type IN
JBSTTimecard Job Step IN
PDBA Timecard PDBA I N
FRTYTimecard Fringe Type I N
MCUAAI Cost CenterON
OBJAAI Object Account ON
SUBAAI SubsidiaryON
EV01Error Flag ON0 = No Error, 1 = Error
F06904 Accounting Distribution Rules
Special Logic
Y#MCUH = Timecard
Y#UN = Timecard Union
Y#JBCD = Timecard Job Type
Y#JBST = Timecard Job Step
Y#PDBA = Timecard DBA Code
Y#FRTY = 'LD' or 'RD'
Y#MCUH = Timecard
Y#UN = Timecard Union
Y#JBCD = Timecard Job Type
Y#JBST = Timecard Job Step
Y#PDBA = No DBA Code
Y#FRTY = 'LD' or 'RD'
below logic until a hit is found. When value is blanked out, save value to be loaded back into key at
later time. Once a key has been blanked out, continue to fetch with that blank key until value is loaded
back into the key.
Blank out Y#JBST.
Blank out Y#JBCD.
Blank out Y#UN, while moving values back into Y#JBST and Y#JBCD.
Blank out Y#JBST.
Blank out Y#JBCD.
Blank out Y#MCUH, while moving values back into Y#UN, Y#JBCD and Y#JBST.
Blank out Y#JBST.
Blank out Y#JBCD.
Blank out Y#UN, while moving values back into Y#JBCD and Y#JBST.
Blank out Y#JBST.
Blank out Y#JBCD.
If still no hit for company, find AAI in default company '00000'.
Load value of '00000' in Y#CO, while moving back values into Y#UN, Y#JBCD and Y#JBST.
Blank out Y#JBST.
Blank out Y#JBCD.
Blank out Y#UN, while moving values back into Y#JBCD and Y#JBST.
Blank out Y#JBST.
Blank out Y#JBCD.
D0500039 - Get Labor Recharge AAI
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szCompany | CO | char | OPT | INPUT |
A code that identifies a specific organization, fund, or other reporting entity. The company code must already exist in the Company
| ||||
szCostCenterNoSearch | MCUH | char | OPT | INPUT |
Identifies the Business Unit the system searches to determine the accounting distribution. When defining the default rules (Company 00000),
| ||||
szUnionCode | UN | char | OPT | INPUT |
A user defined code (06/UN) that represents the union or plan in which the employee or group of employees work or participate. | ||||
szJobCategory | JBCD | char | OPT | INPUT |
A user defined code (07/G) that defines the jobs within your organization. You can associate pay and benefit information with a job type and
| ||||
szJobStep | JBST | char | OPT | INPUT |
A user defined code (07/GS) that designates a specific level within a particular job type. The system uses this code in conjunction with job
| ||||
mnPayDeductBenAccType | PDBA | MATH_NUMERIC | OPT | INPUT |
A code that defines the type of pay, deduction, benefit, or accrual.
Pay types are numbered from 1 to 999. Deductions and benefits are
| ||||
szFringeType | FRTY | char | OPT | INPUT |
A code that represents the type of transaction for which an account is to be derived. | ||||
szCostCenter | MCU | char | OPT | OUTPUT |
An alphanumeric code that identifies a separate entity within a business for which you want to track costs. For example, a business unit
| ||||
szObjectAccount | OBJ | char | OPT | OUTPUT |
The portion of a general ledger account that refers to the division of the Cost Code (for example, labor, materials, and equipment) into
| ||||
szSubsidiary | SUB | char | OPT | OUTPUT |
A subset of an object account. Subsidiary accounts include detailed records of the accounting activity for an object account. | ||||
mnJobnumber | JOBS | MATH_NUMERIC | OPT | INPUT |
The job number (work station ID) which executed the particular job. |
None |
None |