PRLW2File.initParms Method [AX 2012]

Initializes the parm values for the class.

NoteNote

The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.


  Microsoft Dynamics AX 2012 R3
          public void initParms(
            PRLPIN _pin, 
            boolean _resubmit, 
            PRLYear _taxYear, 
            PayrollW2KindOfEmployer _kindOfEmployer, 
            PayrollW2EmploymentCode _employmentCode, 
            Name _submitterName, 
            LogisticsAddressStreet _street, 
            LogisticsAddressCity _city, 
            LogisticsAddressStateId _state, 
            LogisticsAddressZipCodeId _zipCode, 
            Phone _phone, 
            Phone _fax, 
            Email _email, 
            Name _employerName, 
            Phone _employerPhone, 
            PhoneLocal _employerExtension, 
            Phone _employerFax, 
            Email _employerEmail, 
            FilenameSave _filename, 
            PayrollWageFileIdentifier _wageFileIdentifier, 
            Tax1099RegNum _employerIdentificationNumber)

  Microsoft Dynamics AX 2012 R2 (SYS)
          public void initParms(
            PRLPIN _pin, 
            boolean _resubmit, 
            PRLYear _taxYear, 
            PayrollW2KindOfEmployer _kindOfEmployer, 
            PayrollW2EmploymentCode _employmentCode, 
            Name _submitterName, 
            LogisticsAddressStreet _street, 
            LogisticsAddressCity _city, 
            LogisticsAddressStateId _state, 
            LogisticsAddressZipCodeId _zipCode, 
            Phone _phone, 
            Phone _fax, 
            Email _email, 
            FilenameSave _filename, 
            PayrollWageFileIdentifier _wageFileIdentifier, 
            Tax1099RegNum _employerIdentificationNumber)

Run On

Called

Parameters

_pin
Type: PRLPIN Extended Data Type
The PIN assigned to the employee who attests to the accuracy of the electronic Form W-2.
_resubmit
Type: boolean
true if the electronic Form W-2 is being resubmitted; otherwise, false.
_taxYear
Type: PRLYear Extended Data Type
The tax year for the electronic Form W-2.
_kindOfEmployer
Type: PayrollW2KindOfEmployer Enumeration
The kind of employer that describes the organization that is submitting the electronic Form W-2.
_employmentCode
Type: PayrollW2EmploymentCode Enumeration
The employment code that applies to the organization that is submitting the electronic Form W-2.
_submitterName
Type: Name Extended Data Type
The name of the employee who can be contacted about the electronic Form W-2.
_street
Type: LogisticsAddressStreet Extended Data Type
The street address or post office box where the contact receives mail.
_city
Type: LogisticsAddressCity Extended Data Type
The name of the city in which the contact resides.
_state
Type: LogisticsAddressStateId Extended Data Type
The two-letter abbreviation for the state in which the contact resides.
_zipCode
Type: LogisticsAddressZipCodeId Extended Data Type
The ZIP/postal code for the street address or post office box of the contact.
_phone
Type: Phone Extended Data Type
The telephone number where the contact can be reached.
_fax
Type: Phone Extended Data Type
The fax number where the contact can receive documents.
_email
Type: Email Extended Data Type
The email address where the contact can be reached.
_employerName
Type: Name Extended Data Type
_employerPhone
Type: Phone Extended Data Type
_employerExtension
Type: PhoneLocal Extended Data Type
_employerFax
Type: Phone Extended Data Type
_employerEmail
Type: Email Extended Data Type
_filename
Type: FilenameSave Extended Data Type
The file name and the location where the electronic Form W-2 is saved.
_wageFileIdentifier
Type: PayrollWageFileIdentifier Extended Data Type
The wage file identifier (WFID) on the notice from the SSA
_employerIdentificationNumber
Type: Tax1099RegNum Extended Data Type

Community Additions

ADD
Show: