COSCostBalances::getQtyDebitCredit Method
Retrieves the debit and credit quantity balance for the specified combination of the cost category, dimension value, calculation, and forecast model from a specified time interval.
Syntax
client server public static container getQtyDebitCredit(
COSAccountNumber _account,
COSCostDimension _costCode,
Num _num,
FromDate _from,
ToDate _to,
COSCalculationId _calc,
COSCostValueType _valueType,
COSPlanModelId _model)
Run On
Called
Parameters
- _account
Type: COSAccountNumber Extended Data Type
The COSAccountNumber value that represents the ID of the cost category.
- _costCode
Type: COSCostDimension Enumeration
A COSCostDimension value that represents the dimension.
- _num
Type: Num Extended Data Type
A Num value that represents the dimension value.
- _from
Type: FromDate Extended Data Type
The starting date of the interval.
- _to
Type: ToDate Extended Data Type
The end date of the interval.
- _calc
Type: COSCalculationId Extended Data Type
A COSCalculationId value that represents the ID of the calculation.
- _valueType
Type: COSCostValueType Enumeration
A COSCostValueType enumeration value that represents the calculation value type.
- _model
Type: COSPlanModelId Extended Data Type
A COSPlanModelId value that represents the forecast model ID.
Return Value
Type: container
A container with the debit and credit quantity balance.
Remarks
The values are retrieved from the database table.