ProjSplitBill.split Method [AX 2012]

Searches rules and limits to find a way to split the transaction.

public List split(AmountCur _amountToAllocate)

Run On

Called

Parameters

_amountToAllocate
Type: AmountCur Extended Data Type
The amount to allocate for a specific transaction.

Return Value

Type: List Class
A list of instances of the ProjSplitAllocation class that specify the recommended allocation.

In case only part of the amount can be allocated to the best matching rule, the returned list contains only allocations for the best matching rule. In this case, the method will have to be called again for the remaining unallocated amount once limits are updated with the first allocation.

Community Additions

ADD
Show: