示例#1
0
        public void AddTotal(AG_IAS_TEMP_PAYMENT_TOTAL total)
        {
            CityFileTotal total_A = total as CityFileTotal;

            total_A.SetHeader(this);
            _cityFileTotals.Add(total_A);
        }
示例#2
0
        private void NewTotal()
        {
            IsFinishSection = false;
            CityFileTotal total = new CityFileTotal(this);

            currentSectionIndex++;
            _cityFileTotals.Add(total);
        }
示例#3
0
        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);
        }
示例#4
0
        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;
        }
示例#5
0
        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);
        }
示例#6
0
 public void AddTotal(CityFileTotal total)
 {
     total.HEADER_ID = this.ID;
     total.SetHeader(this);
     _cityFileTotals.Add(total);
 }
示例#7
0
 public void SetTotal(CityFileTotal total)
 {
     _cityFileTotal = total;
 }