AssetTransferBalancing::newByDueFromDueTo Method [AX 2012]
Creates an instance of AssetTransferBalancing class, setting the due from and due to accounts as provided in the parameters.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
server public static AssetTransferBalancing newByDueFromDueTo(MainAccountRecId _mainAccountDueFrom, MainAccountRecId _mainAccountDueTo)
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static AssetTransferBalancing newByDueFromDueTo(MainAccountRecId _mainAccountDueFrom, MainAccountRecId _mainAccountDueTo)
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static AssetTransferBalancing newByDueFromDueTo(MainAccountRecId _mainAccountDueFrom, MainAccountRecId _mainAccountDueTo)
Microsoft Dynamics AX 2012 (FPK)
client server public static AssetTransferBalancing newByDueFromDueTo(MainAccountRecId _mainAccountDueFrom, MainAccountRecId _mainAccountDueTo)
Run On
Server
Parameters
- _mainAccountDueFrom
Type: MainAccountRecId Extended Data Type
A record ID of the MainAccount table to use as Due From account in asset transfer.
- _mainAccountDueTo
Type: MainAccountRecId Extended Data Type
A record ID of the MainAccount table to use as Due To account in asset transfer.
Return Value
Type: AssetTransferBalancing Class
Returns an instance of AssetTransferBalancing class after setting due from and due to accounts on the instance.