Académique Documents
Professionnel Documents
Culture Documents
DATE IS
v_fecha_termino DATE;
BEGIN
SELECT fecha_otorga_cred +(total_cuotas_credito*30)
INTO v_fecha_termino
FROM credito_socio
WHERE nro_socio = p_nro_socio;
RETURN v_fecha_termino;
END;
BEGIN
SP_PAGO_MENSUAL_CREDITO(SEQ_PAGO_MENSUAL_CREDITO..NEXTVAL,
p_mes_anno_proc,reg_pagocredito.nro_socio,reg_pagocredito.rut_socio,
reg_pagocredito.nombre_socio,
reg_pagocredito.nro_solic_credito, reg_pagocredito.nombre_credito,
reg_pagocredito.monto_total_Credito,
reg_pagocredito.total_cuotas_credito,
reg_pagocredito.nro_cuota,reg_pagocredito.valor_cuota,
reg_pagocredito.fecha_venc_cuota);