public static server str getOutstanding() { return strFmt("Sum(%1) + Sum(%2)", SysComputedColumn::returnField( tableStr(TIDIndentOrderUninvoiceTrans), identifierStr(TIDIndentOrderPaymentTrans), fieldStr(TIDIndentOrderPaymentTrans, amountTendered)), SysComputedColumn::returnField( tableStr(TIDIndentOrderUninvoiceTrans) , identifierStr(TIDIndentOrderPaymentTrans), fieldStr(TIDIndentOrderPaymentTrans, grossAmount))); }