Share via


ProjPostRevenueJournal.checkTrans Method [AX 2012]

Validates that the mandatory transaction fields contain values.

Syntax

public boolean checkTrans([boolean throwerror])

Run On

Server

Parameters

  • throwerror
    Type: boolean
    Indicates whether an error should be thrown when a validation fails; optional.

Return Value

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

Remarks

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

The following fields are checked by this routine:

  • Project ID

  • Category ID

  • Currency ID for Sales

  • Transaction Date

See Also

Reference

ProjPostRevenueJournal Class