Пересчитывает сум. разницу на данную дату:
PHP код:
Custtrans.transactionPerDate(todate);
тело:
PHP код:
void transactionPerDate(TransDate transDate)
{
CustSettlement custSettlement;
select sum(settleAmountCur),sum(settleAmountMST),sum(exchAdjustment) from custSettlement
where custSettlement.transRecId == this.recId &&
custSettlement.transDate > transDate;
{
this.settleAmountCur -= custSettlement.settleAmountCur;
this.settleAmountMST -= custSettlement.settleAmountMST;
this.exchAdjustment -= custSettlement.exchAdjustment;
}
}
Вопрос: каков "физический" смысл этого метода?