Exemplo n.º 1
0
 public GeneralLedgerLine CreateGeneralLedgerLine(DrOrCrSide DrCr, int accountId, decimal amount)
 {
     var line = new GeneralLedgerLine()
     {
         DrCr = DrCr,
         AccountId = accountId,
         Amount = amount,
     };
     return line;
 }
Exemplo n.º 2
0
 public GeneralLedgerLine CreateGeneralLedgerLine(TransactionTypes DrCr, int accountId, decimal amount)
 {
     var line = new GeneralLedgerLine()
     {
         DrCr = DrCr,
         AccountId = accountId,
         Amount = amount,
         CreatedBy = Thread.CurrentPrincipal.Identity.Name,
         CreatedOn = DateTime.Now,
         ModifiedBy = Thread.CurrentPrincipal.Identity.Name,
         ModifiedOn = DateTime.Now
     };
     return line;
 }