Functional Description
The purpose of this Named ER is to perform cascading update of alpha name and social security number of HRM files. This Named
ER is the main driver which calls country specific Named ER's to perform the actual updates of files. The country parameter is the payroll
country of the employee.
Note: It is currently being called in the Address Book Application, whenever the employee's alpha name or tax id changes in the
address book.
Setup Notes
Technical Specifications
Parameters
Data Item Data Structure DescriptionI/ORequiredTableNotes
AN8nAddressNumberIR
CTRszCountryIIf this is not passed in, the
Named ER retrieves it from the employee master
Related Tables
Table Table Description
Processing
FetchSingle F060116 by key, mnAddressNumber and returning alpha name, tax id, and payroll country
FetchSingle F0101 by key, mnAddressNumber and returning alpha name and tax id
If alpha name from employee master <> alpha name from the address book
Set NewAlphaName = alpha name from the address book
End If
If tax id from employee maser <> tax id from the address book
Set NewTaxId = tax id from the address book
End If
If szCountry is not passed in
Set szCountry = payroll country from the employee master
End If
If (alpha name from employee master <> alpha name from the address book) OR
(tax id from employee master <> tax id from the address book)
Call Named ER "HRM Update on Address Book Change ALL" (N0800011), passing in the NewTaxID and
NewAlphaName
If szCountry = 'US'
Call Named ER "HRM Update on Address Book Change US" (N0800012), passing in the NewTaxID
and NewAlphaName
End If
If szCountry = 'CA'
Call Named ER "HRM Update on Address Book Change CA" (N0800013), passing in the NewTaxID
and NewAlphaName
End If
End If
^
DN0800010 - HRM Update on Address Book Change
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
mnAddressNumber | AN8 | MATH_NUMERIC | NONE | NONE |
A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or
| ||||
szCountry | CTR | char | NONE | NONE |
A user defined code (00/CN) that identifies a country. The country code has no effect on currency conversion.
The Address Book system
|
None |
None |