internal void CopyValues(CobroFactura source) { if (source == null) { return; } _record.CopyValues(source.Base.Record); _fecha_cobro = source.Fecha; _importe = source.Importe; _medio_pago = source.MedioPago; _vencimiento = source.Vencimiento; _cobrado = source.Cobrado; _observaciones = source.Observaciones; _oid_cliente = source.OidCliente; _id_cobro = source.IdCobro; _fecha_prevision = source.FechaPrevision; _tipo_interes = source.TipoInteres; _gastos_cobro = source.GastosCobro; _importe_factura = source.ImporteFactura; _codigo_factura = source.CodigoFactura; _dias_cobro = source.DiasCobro; _cuenta_bancaria = source.CuentaBancaria; }
public static CobroFacturaList GetChildList(OutputInvoiceInfo parent, bool childs) { CriteriaEx criteria = CobroFactura.GetCriteria(OutputInvoice.OpenSession()); criteria.Query = CobroFacturaList.SELECT_BY_FACTURA(parent.Oid); criteria.Childs = childs; CobroFacturaList list = DataPortal.Fetch <CobroFacturaList>(criteria); list.CloseSession(); return(list); }
public static CobroFacturaList GetList(QueryConditions conditions, bool childs = false) { CriteriaEx criteria = CobroFactura.GetCriteria(CobroFactura.OpenSession()); criteria.Childs = childs; criteria.Query = CobroFacturaList.SELECT(conditions); CobroFacturaList list = DataPortal.Fetch <CobroFacturaList>(criteria); CloseSession(criteria.SessionCode); return(list); }
public static string SELECT_BY_COBRO(long oid) { return(CobroFactura.SELECT_BY_COBRO(oid, false)); }
public static string SELECT_BY_FACTURA(long oid) { return(CobroFactura.SELECT_BY_FACTURA(oid, false)); }
public static string SELECT(QueryConditions conditions) { return(CobroFactura.SELECT(conditions, false)); }