Пример #1
0
    public CRPosting AppendPosting(InstrumentType instrumentType, IFinancialAccount account, decimal amount) {
      CRPosting posting = new CRPosting(this, instrumentType, account, amount);
      this.Postings.Add(posting);

      return posting;
    }
Пример #2
0
 public bool RemovePosting(CRPosting posting) {
   return this.Postings.Remove(posting);
 }
Пример #3
0
    public CRPosting AppendPosting(InstrumentType instrumentType, CRDocument document, decimal amount) {
      CRPosting posting = new CRPosting(this, instrumentType, document, amount);
      this.Postings.Add(posting);

      return posting;
    }