Share via


SourceDocumentAmount::newFromParameters Method [AX 2012]

Creates a new instance of the SourceDocumentAmount class.

Syntax

client server public static SourceDocumentAmount newFromParameters(
    SourceDocumentLine _sourceDocumentLine, 
    Amount _amount, 
    MonetaryAmount _monetaryAmount, 
   [boolean _includesTax])

Run On

Called

Parameters

  • _includesTax
    Type: boolean
    A Boolean value that indicates whether the amount of money includes tax.

Return Value

Type: SourceDocumentAmount Class
A source document amount.

See Also

Reference

SourceDocumentAmount Class