private void CalcCustAging(AccountNum _invoiceAccount)
{
CustVendTable custVendTable;
CustVendAgingStatistics custVendAgingStatistics;
TmpAccountSum tmpAccountSum;
;
custVendTable = CustTable::find(_invoiceAccount);
custVendAgingStatistics = CustVendAgingStatistics::construct(custVendTable,
#agingFormat,
DateTransactionDuedate::DueDate,True);
custVendAgingStatistics.calcStatistic();
tmpAccountSum.setTmpData(custVendAgingStatistics.tmpAccountsum());
cachedaccountSummary = new Map(Types::Integer,Types::Real);
cachedaccountSummaryTxt = new Map(Types::Integer,Types::String);
while select tmpAccountSumLocal
{
info(strfmt("%1,%2",tmpAccountSumLocal.Txt,tmpAccountSumLocal.Balance03));
}
}
No comments:
Post a Comment