Example #1
0
        public static void DeleteItems(PayrollBatch parent)
        {
            QueryConditions conditions = new QueryConditions {
                RemesaNomina = parent.GetInfo(false)
            };
            Payrolls list = Payrolls.GetList(conditions, false);

            list.Clear();
            list.Save();
            list.CloseSession();
        }
Example #2
0
 public static string SELECT(PayrollBatch source)
 {
     return(Expense.SELECT(new QueryConditions {
         RemesaNomina = source.GetInfo(false)
     }, true));
 }