HRMUpdateOnAddrBkChgCA

HRM Update On Address Book Change - CA

Minor Business Rule

Object Name: N0800013

Parent DLL: CFND

Location: Client/Server

Language: NER

Functional Description
The purpose of this Named ER is to perform cascading update of alpha name and social security number of HRM files which are 
Canadian specific only.

Note:  It is currently being called from the driver Named ER "HRM Update ON Address Book Change" (N0800010) if the employee 

payroll country is 'CA'.


Setup Notes


Technical Specifications


Parameters


Data Item Data Structure DescriptionI/ORequired  TableNotes
AN8mnAddressNumberIR

SSNszSocialSecurityNumberI New Tax ID to update files with

ALPHszNameAlphaI New Alpha Name to update files with


Related Tables 


Table Table Description



Processing


Get Audit Information, User ID, Date Updated, Time, WorkStationId

Program Id = 'N0800013'

Get current year for today's date


If szSocialSecurityNumber <> Blank

     TAX ID Update on the following files are performed:

            F07730 (Multiple employee records- Update only current year records)

            F07731                        "

            F07740                        "

            F07741                       "

            F07100 (Multiple employee records)

            F0713   (Multiple employee records  Update only current year records)

            F07727                       "

            F06176 (Multiple employee records  Update only if check date falls in the current year)

End If 

            



If szNameAlpha <> Blank

     ALPHA NAME Update on the following files are performed:

            F07730 (Multiple employee records  Update only current year records)

            F07731                      "

            F07740                     "

            F07741                     "

End If

    


Data Structure

DN0800013 - HRM Update on Address Book Change - CA

Parameter NameData ItemData TypeReq/OptI/O/Both
mnAddressNumberAN8MATH_NUMERICNONENONE

A number that identifies an entry in the Address Book system, such as employee, applicant, participant, customer, supplier, tenant, or 
location.

szSocialSecurityNumberSSNcharNONENONE

A number that indicates the tax ID. In the United States, the tax ID is the social security number. In Canada, it is the social insurance number. 
If you add employee information for a non-US or non-Canadian company, you can leave this field blank. However, if the international code is 
set to Y and the default company is non-Canadian and non-United States, you can enter a 16-character number for the tax ID. The system 
does not permit duplicate tax ID numbers. Also, the number cannot include dashes. For example, if a social security number of nn-nn-nnnn is 
used, the number should be entered as follows: 123456789.

szNameAlphaALPHcharNONENONE

The text that names or describes an address. This 40-character alphabetic field appears on a number of forms and reports. You can enter 
dashes, commas, and other special characters, but the system cannot search on them when you use this field to search for a name.

Related Functions

None

Related Tables

None