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

            _base.CopyValues(source);
            Oid = source.Oid;
        }
예제 #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);
        }
예제 #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();
        }
예제 #4
0
        internal void CopyValues(PayrollBatchInfo source)
        {
            if (source == null)
            {
                return;
            }

            _record.CopyValues(source.Base.Record);

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