Share via


ProjTrans.canBeInvoiced Method [AX 2012]

Determines whether this transaction can be invoiced.

Syntax

public boolean canBeInvoiced([boolean _chargeable])

Run On

Called

Parameters

  • _chargeable
    Type: boolean
    A Boolean value that determines whether invoice proposal transactions can be invoiced; optional.

Return Value

Type: boolean
true if this transaction can be invoiced; otherwise, false.

Remarks

If the project line property of the project that is associated with this transaction indicates that the project is not chargeable, it cannot be invoiced. Otherwise, the funding type is validated and the ProjTrans.canTransStatusBeInvoiced method is called to determine whether the transaction can be invoiced based on its status.

See Also

ProjTrans Class

ProjLineProperty Table

ProjTrans.canTransStatusBeInvoiced Method