Beispiel #1
0
        protected virtual void CopyFrom(PayrollBatchInfo source)
        {
            if (source == null)
            {
                return;
            }

            _base.CopyValues(source);
            Oid = source.Oid;
        }
Beispiel #2
0
        /// <summary>
        /// Copia los atributos del objeto
        /// </summary>
        /// <param name="source">Objeto origen</param>
        protected void CopyValues(PayrollBatchInfo source)
        {
            if (source == null)
            {
                return;
            }

            Oid = source.Oid;

            _base.CopyValues(source);
        }
Beispiel #3
0
        public static void DeleteItems(long oidRemesaNomina)
        {
            QueryConditions conditions = new QueryConditions {
                RemesaNomina = PayrollBatchInfo.New(oidRemesaNomina)
            };
            Expenses list = Expenses.GetList(conditions, false);

            list.Clear();
            list.Save();
            list.CloseSession();
        }
Beispiel #4
0
        internal void CopyValues(PayrollBatchInfo source)
        {
            if (source == null)
            {
                return;
            }

            _record.CopyValues(source.Base.Record);

            _neto = source.Neto;
        }
Beispiel #5
0
 public static string SELECT(PayrollBatchInfo source)
 {
     return(Expense.SELECT(new QueryConditions {
         RemesaNomina = source
     }, false));
 }