ProcessAddChangethroughN0100041

Process Add/Change Through N0100041

Minor Business Rule

Object Name: N0500102

Parent DLL: CFND

Location: Client/Server

Language: NER

This NER will call N0100041.  Then Passes the new vlaues if they have been changed through 
P05101, Employee Name and Address Change.


Data Structure                      Required 

  Name              I/O    Alias      Y/N      Explanation

------------------  ----  ---------   ----   -------------------------------------

cActionCode           I   EV01         Y     Action Code = A to Add a record

                                                           C to Change


mnAddressNumber       I   AN8          Y     Address Number


szAddressSearchType   I   AT1          Y     Address Search Type

                                                 = Q for a Participant

                                                   E for an employee


jdDateBeginningEffec  I   EFTB         N     Beginning effective date


szNameMailing         I   MLNM         N     Mailing name


szNameAlpha           I   ALPH         N     Alpha name


szDescriptionCompres  O   DC           N     Compressed description


szTaxId               I   TAX          N     Tax ID


szAddressLine1        I   ADD1         N     Address line 1


szAddressLine2        I   ADD2         N     Address line 2


szAddressLine3        I   ADD3         N     Address line 3


szAddressLine4        I   ADD4         N     Address line 4


szCity                I   CTY1         N     City


szState               I   ADDS         N     State


szZipcodePostal       I   ADDZ         N     Zip Code


szCountry             I   CTR          N     Country


szEMailAddress        I   EML          N     E-Mail address (stored in F0111/REM1)


szProgramId           I   PID          N     Program ID of calling program


mnErrorCodeReturned   O   mnMATH06     N     Error Code Returned

                                                 = 0  No errors

                                                   1  AN8 not entered

                                                   2  Address Search Type (AT1) not entered

                                                   3  Action Code not recognised


^

Data Structure

D0500102 - Process Add/Change through N0100041

Parameter NameData ItemData TypeReq/OptI/O/Both
cActionCodeEV01charREQINPUT

An option that specifies the type of processing for an event.

mnAddressNumberAN8MATH_NUMERICREQINPUT

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

szAddressSearchTypeAT1charREQINPUT

A user defined code (01/ST) that specifies the kind of address book record to search for. Examples include: E Employees   X Ex-employees  
V Suppliers   C Customers  P    Prospects M Mail distribution lists   TAX Tax authorities

jdDateBeginningEffectiveEFTBJDEDATEOPTINPUT

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

szNameMailingMLNMcharOPTINPUT

The company or person to whom billing or correspondence is addressed.

szNameAlphaALPHcharOPTINPUT

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.

szDescripCompressedDCcharOPTINPUT

The compressed description contains the alpha name without slashes, dashes, commas, and other special characters.  The compressed 
description is the field used in the Name Search.

szTaxIdTAXcharOPTINPUT

The identification code required by various tax authorities. This can be a social security number, federal or state corporate tax ID, sales tax 
number, and so on. The system verifies the number and prints the separators in their correct format, according to the value of TAXC 
(Person/Corporation Code). If no value exists for TAXC, the system uses the Corporate Entity. Attention Accounts Payable users: The Supplier Master 
record supplies the default value for the tax ID for 1099 processing.

szAddressLine1ADD1charOPTINPUT

The first line of a mailing address for an employee, customer, or supplier in the Address Book system. The U.S. Internal Revenue Service 
(IRS) restricts the size of the address that prints on an employee's year-end tax return. To comply with IRS regulations, the system has the 
following restrictions:   o  On W-2 returns, the system prints only the last three nonblank address lines plus the city, state, and postal code.   o  On 
1099 returns, the system prints only the last nonblank address line plus the city, state, and postal code.   o  On other U.S. federal magnetic 
media, the system prints only the last nonblank address line plus the city, state, and postal code.

szAddressLine2ADD2charOPTINPUT

The second line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that 
prints on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, 
and postal code.

szAddressLine3ADD3charOPTINPUT

The third line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that prints 
on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, and 
postal code.

szAddressLine4ADD4charOPTINPUT

The fourth line of the mailing address for an employee, customer, or supplier in the Address Book system. Attention Payroll users: The 
Internal Revenue Service (IRS) restricts the size of the address that prints on employee's year-end forms. To comply with IRS regulations, the 
address that prints on W-2 forms includes only the last three nonblank address lines plus the city, state, and postal code. The address that 
prints on 1099 forms includes only the last nonblank address line plus the city, state, and postal code. If you process year-end information using 
the federal magnetic media format, the address that prints on those forms contains only the last nonblank address line plus the city, state, and 
postal code.

szCityCTY1charOPTINPUT

A name that indicates the city associated with the address.

szStateADDScharOPTINPUT

A user defined code (00/S) that specifies the state or province. This code is usually a postal service abbreviation.

szZipCodePostalADDZcharOPTINPUT

The United States ZIP code or the postal code that specifies where a letter is to be routed.  Attach this code to the address for delivery in 
other countries. This code is used as the low end value when doing Postal Code Transaction range processing.

szCountryCTRcharOPTINPUT

A user defined code (00/CN) that identifies a country. The country code has no effect on currency conversion. The Address Book system 
uses the country code for data selection and address formatting.

szEMailAddressEMLcharOPTINPUT

E-mail address.

szProgramIdPIDcharOPTINPUT

The number that identifies the batch or interactive program (batch or interactive object). For example, the number of the Sales Order Entry 
interactive program is P4210, and the number of the Print Invoices batch process report is R42565. The program ID is a variable length value. 
It is assigned according to a structured syntax in the form TSSXXX, where: T The first character of the number is alphabetic and identifies the 
type, such as P for Program, R for Report, and so on. For example, the value P in the number P4210 indicates that the object is a 
program. SS The second and third characters of the number are numeric and identify the system code. For example, the value 42 in the number P4210 
indicates that this program belongs to system 42, which is the Sales Order Processing system. XXX The remaining characters of the numer are 
numeric and identify a unique program or report. For example, the value 10 in the number P4210 indicates that this is the Sales Order Entry 
program.

mnErrorCodeReturnedMATH06MATH_NUMERICOPTOUTPUT

Event point for Math Numeric.

jdDateFutureEffective_2EFTBJDEDATEOPTINPUT

The date that an address, item, transaction, or table record becomes active.  The meaning of this field differs, depending on the program.  
For example, the effective date could represent the following:    o When a change of address becomes effective.   o When a lease becomes 
effective.   o When a price becomes effective.   o When the currency exchange rate becomes effective.   o When a tax rate becomes effective. 

Related Functions

None

Related Tables

None