public void AddTotal(AG_IAS_TEMP_PAYMENT_TOTAL total) { CityFileTotal total_A = total as CityFileTotal; total_A.SetHeader(this); _cityFileTotals.Add(total_A); }
private void NewTotal() { IsFinishSection = false; CityFileTotal total = new CityFileTotal(this); currentSectionIndex++; _cityFileTotals.Add(total); }
public void AddDetail(CityFileDetail detail) { if (IsFinishSection) { NewTotal(); } detail.HEADER_ID = this.ID; detail.SetHeader(this); detail.SetTotal(CityFileTotal); _cityFileDetails.Add(detail); CityFileTotal.AddDetail(detail); }
public void SetTotal(CityFileTotal total) { CityFileTotal.RECORD_TYPE = total.RECORD_TYPE; CityFileTotal.SEQUENCE_NO = total.SEQUENCE_NO; CityFileTotal.BANK_CODE = total.BANK_CODE; CityFileTotal.COMPANY_ACCOUNT = total.COMPANY_ACCOUNT; CityFileTotal.TOTAL_DEBIT_AMOUNT = total.TOTAL_DEBIT_AMOUNT; CityFileTotal.TOTAL_DEBIT_TRANSACTION = total.TOTAL_DEBIT_TRANSACTION; CityFileTotal.TOTAL_CREDIT_AMOUNT = total.TOTAL_CREDIT_AMOUNT; CityFileTotal.TOTAL_CREDIT_TRANSACTION = total.TOTAL_CREDIT_TRANSACTION; IsFinishSection = true; }
public void AddDetail(AG_IAS_TEMP_PAYMENT_DETAIL detial) { if (IsFinishSection) { NewTotal(); } CityFileDetail detail_A = detial as CityFileDetail; detail_A.SetHeader(this); detail_A.SetTotal(CityFileTotal); _cityFileDetails.Add(detail_A); CityFileTotal.AddDetail(detail_A); }
public void AddTotal(CityFileTotal total) { total.HEADER_ID = this.ID; total.SetHeader(this); _cityFileTotals.Add(total); }
public void SetTotal(CityFileTotal total) { _cityFileTotal = total; }