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(); }
public static string SELECT(PayrollBatch source) { return(Expense.SELECT(new QueryConditions { RemesaNomina = source.GetInfo(false) }, true)); }