internal void CopyValues(AlbaranTicket source)
        {
            if (source == null)
            {
                return;
            }

            _record.CopyValues(source.Base.Record);

            _importe        = source.Importe;
            _codigo_ticket  = source.CodigoTicket;
            _codigo_albaran = source.CodigoAlbaran;
        }
        public static AlbaranTicketList GetList(List <long> oid_list, bool childs)
        {
            CriteriaEx criteria = AlbaranTicket.GetCriteria(AlbaranTicket.OpenSession());

            criteria.Childs = childs;

            criteria.Query = AlbaranTicket.SELECT_BY_LIST(oid_list, false);

            AlbaranTicketList list = DataPortal.Fetch <AlbaranTicketList>(criteria);

            CloseSession(criteria.SessionCode);
            return(list);
        }
 public static string SELECT(QueryConditions conditions)
 {
     return(AlbaranTicket.SELECT(conditions, false));
 }