PayrollCalculatePayStatementTaxes.buildCustomBenefitType Method [AX 2012]

Determines if it is a resident by comparing with the passed in tax location.

private CLRObject buildCustomBenefitType(str _benefitReferenceCode, PayrollBenefitTaxRule_US _benefitTaxRuleUS)

Run On

Server

Parameters

_benefitReferenceCode
Type: str
The unique identifier of the benefit for which the custom benefit type is being built.
_benefitTaxRuleUS
Type: PayrollBenefitTaxRule_US Table
The _benefitTaxRuleUS table buffer containing the flags or group indicating which taxes will be considered pretax for the current benefit.

Return Value

Type: CLRObject Class
A custom benefit type with the appropriate taxes or tax types marked as being pretax for the pay statement.

Community Additions

ADD
Show: