Share via


ProjOnAccTrans::sumAmountDisplayCache Method

Calculates the sales amounts for multiple on-account transactions and returns a map of the transaction ID's to sales amounts in a container. ProjOnAccTrans is used to calculate the amounts.

Syntax

server public static container sumAmountDisplayCache(
    container _conprojOnAccTrans, 
    container _conprojOnAccTransSalesAmount, 
    TransDate _ledgerFromDate, 
    TransDate _ledgerToDate)

Run On

Server

Parameters

  • _conprojOnAccTrans
    Type: container
    A packed set of transaction IDs.
  • _conprojOnAccTransSalesAmount
    Type: container
    A packed Map of String to Real. It can be empty or can already contain elements.

Return Value

Type: container
A packed map of transaction IDs to sales amounts

Remarks

If _conProjOnAccTrans contains transaction IDs that are already in _conProjOnAccTransSalesAmount, the sales amount will be recalculated and updated in the map.

See Also

Reference

ProjOnAccTrans Table