示例#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;
    }