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
- _sourceDocumentLine
Type: SourceDocumentLine Table
A source document line.
- _amount
Type: Amount Extended Data Type
An amount of money.
- _monetaryAmount
Type: MonetaryAmount Enumeration
A monetary amount.
- _includesTax
Type: boolean
A Boolean value that indicates whether the amount of money includes tax.
Return Value
Type: SourceDocumentAmount Class
A source document amount.