示例#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));
 }