ProjPostCostEstimate.checkTrans Method [AX 2012]

Checks that the mandatory transaction fields contain values.

public boolean checkTrans([boolean throwerror])

Run On

Server

Parameters

throwerror
Type: boolean
A Boolean value that specifies whether to throw an error when a validation fails. May be set to nullNothingnullptrunita null reference (Nothing in Visual Basic). The default value is true; optional.

Return Value

Type: boolean
true if the basic fields contain values; otherwise, false.

The following fields are checked by this routine:

  • Project ID

  • Category ID

  • Currency ID for Sales

  • Transaction Date

The throwerror parameter is not used in this method and is provided for extending the functionality through an override method. This method will call the checkFailed method for all checked fields that do not contain a valid value.

Community Additions

ADD
Show: