MergeElementsTask.contractCostAccrualDate

Property Description

Describes the contract cost accrual date to use for the new revenue arrangement. This property is valid only if the accounting preference Enable Advanced Cost Amortization is enabled. For more information, see Advanced Cost Amortization.

This property is optional. The default value is today’s date. If you specify an invalid date format, a WRONG_PARAMETER_TYPE error is thrown when you call MergeElementsTask.submit() for the task.

Type

JavaScript Date

Module

N/task/accounting/recognition Module

Parent Object

recognition.MergeElementsTask

Sibling Object Members

MergeElementsTask Object Members

Since

2019.2

Syntax

Important:

The following code snippet shows the syntax for this member. It is not a functional example. For a complete script example, see N/task/accounting/recognition Module Script Samples.

            var accrualDate = new Date('2023-05-01');
recognitionTask.contractCostAccrualDate = accrualDate; 

          

Related Topics

N/task/accounting/recognition Module

General Notices