PayrollPayStatementTaxLine::create Method
Creates a new record and inserts it into the PayrollPayStatementTaxLine table.
Syntax
client server public static PayrollPayStatementTaxLine create(
PayrollPayStatement _payStatement,
TransDate _periodEndDate,
PayrollTaxCode _taxCode,
AccountingDistributionTemplateRecId _accountingDistributionTemplateRecId,
AmountCur _taxAmount,
[PayrollPayStatementLineSource _lineSource,
NoYes _isPayStatementLineOverridden])
Run On
Called
Parameters
- _payStatement
Type: PayrollPayStatement Table
The value of the PayStatement field of the record to create.
- _periodEndDate
Type: TransDate Extended Data Type
The value of the AccountingDate field of the record to create.
- _taxCode
Type: PayrollTaxCode Table
The record ID of PayrollTaxCode table.
- _accountingDistributionTemplateRecId
Type: AccountingDistributionTemplateRecId Extended Data Type
The value of the AccountingDistributionTemplate field to the record to create.
- _taxAmount
Type: AmountCur Extended Data Type
The value of the AccountingCurrencyAmount field of the record to create.
- _lineSource
Type: PayrollPayStatementLineSource Enumeration
The value of the PayrollPayStatementLineSource of the record to create.
- _isPayStatementLineOverridden
Type: NoYes Enumeration
The value of the IsPayStatementLineOverridden field of the record to create.
Return Value
Type: PayrollPayStatementTaxLine Table
The newly created PayrollPayStatementTaxLine record.