director: tigo. patricio medina asesor: ledo. raúl parra
TRANSCRIPT
PONTIFICIA UNIVERSIDAD CATÓLICA DEL ECUADOR
PROGRAMAS AMBATO
TECNOLOGÍA EN INFORMÁTICA
TESIS DE GRADO
T E M A:
CONTROL DE NOMINA
' Director: TIgo. Patricio MedinaAsesor: Ledo. Raúl Parra
Alumnos: Fausto Acosta CevallosJohn Padilla Santiana
Ambato - Ecuador
M993
X
X
AGRADECIMIENTO
QUIERO EXPRESAR MI AGRADECIMIENTO A AQUELLOS AMIGOS Y COLEGAS QUEME AYUDARON CON SUS CONSEJOS Y SUGERENCIAS EN LAS DIVERSAS ETAPASDE LA PREPARACIÓN DEL PRESENTE TRABAJO.
EN PARTICULAR A MI FAMILIA QUE ME BRINDO TODO SU APOYO, Y DEMANERA ESPECIAL A XIMENA, A QUIEN DEDICO MI TRABAJO.
A TODOS MIS SENTIMIENTOS DE GRATITUD
1. ANÁLISIS FUNCIONAL.
1.1. OBJETIVOS DEL SISTEMA
1.1.1 OBJETIVOS DE GESTIÓN
Llevar el. control cíe rol ¿le? pagos mensual,,
re t roa <::: t :i. vos ., sob r esue 1 d o v I :i. q u :i. d a c :i. on es „
üienerar reporte de rol de pagos,.
tüín ;i. t i r c: heq ues en c: heq ue r a c:on t :i. n na ..
Generar- Listéis de Aporte al IÍ::'Sb.,
Gen e ra re po r tes para e 1 con t r o 1 el e 1 a em p r ts iüa ..
Control histórico cíe los ni o vi ni i en tos de cada
emplead o,,
1.1.2. OBJETIVOS TÉCNICOS.
F'a r a e? 1 cu m p 1 i m i e n -1. o d (•::• 1 a s n e c e o :i. d a el es ex pu e i;; t a s
se desarrollara un sistema que permite el
p ro cesam :i. en t o au torna 't. :i. co y q en e re 1 a :¡. n -f o r ni A c: i un
necesaria..
1.2. CARACTERÍSTICAS GENERALES.
El sistema está disecado y desarrol lado para llevar el control de?
nódiina en base a las necesidades de una empresa
1-3. DESCRIPCIÓN Y CARACTERÍSTICAS DE LOS PROCESOS.
1.3.1. Definición de usuarios.— Per mi te establecer los d iferen tes
usuarios del sistema;, claves de acceso y niveles de seguridad do
acuerdo a las opciones específicas que se asignan a cada usuario-
1.3.2. Control de Nómina.
1.3.2.1. Mantenimiento de archivos.— Este proceso permite
definir datos generales que servirán de base? para el
funcionamiento del sistema., los archivos a definirse
Archivo Maestro,, contiene los datos generales del
empleado»
Archivo Puestos/Sueldos., contiene la descripción
d e 1 os pues tos y 1 os reía pe c t i vos sue 1 d os.
Grupos Aportes., permite agrupar los aportes por
categorías..
T i po d e t ra ba.;i ado reía., pe rm :i. te def 1 n i r a 1 os
trabajadores por su puesto asignado dentro de la
empresa.
Titulares-, permit'e definir los nombres que se
<•* c> i g n a r a a 1 o $ c a ni p o «; t a n t o d e .7. ri g re ÍK o <s co mo
egresos.
Datos in i dales„ contend ra los datos generales
referen tes a la empresa„
Áreas., permite establecer la estructura orgánica
de la empresa»
Secciones., permite establecer la estructura
orgánica de cada Área de la empresa..
1.3.2.2. Ingresos y Egresos.— Permite asignar o modificar los
el iferen tes rubros para cada uno de los empleados de
acuerdo al tipo de rol previamente seleccionado-
1.3.2.3. Consu 1 tas . — I:!! s e 1 med i o pa r a r ev 1 sa r 1 a i n f o rma c i ón
corres pon d i en te a 1 ro 1 a c: tua 1 o 1 os da tos h i s tó r i eos .,
individuales de cada uno de los miembros de la empresa..
Permi te ademas in troduci r mod ificaciones de ser-
requeridas,, las diferentes modificaciones podran ser
realizadas exclusivamente en los datos del rol que? se
en cutan tra activo -
1.3.2.4. Reportes. - Es e 1 med :i. o med i an te el c:ua 1 se pod r A
obtener la información resul tan te de los d if eren te»-»
procesos.,entre los reportes disponibles constarán.,
Rol de pagos»
l::"m i s i ón d e c: heq ues.,
L i s tas d e a po r t e<;> „
Otros.
1.3.2.5. Procesos . — Es 1 a he r r am :¡. en -La pa r A p re pa r a r 1 os
diferentes archivos previo a la ejecución de los
d if e ren tes ro 1 es»
— Fin de mes. — Mueve 'I.os datoi;> de 1 mes actual al
archivo histórico y prepara loí» registros para los
«10 vim:i.en tos de 1 nuevo mes..
— Generar Sobresueldos.— Permite obtener .'I, VA
información necesaria para cada uno de los
soh resue Id os (De c: i mo Te r ce r o , Dé ci mo ("na i" to.,
Do cimo Qu i n to y Dé c: :i. mo Se x to sue 1 d o) ,.
1.3.2.6. Otras opciones.- Ofrece .las herramienta*s necesarias
para el man ten imlen to basi co del sistema..
íii e 1 e c c i 6n d e 1 a r c h i vo d e t r a ba ,:i o „
Re i n d e x <& r a r c: h i vos«
Reindexar y comprimir archivos,,
C) p c i o n e a d e re s p a 1 d o«
Comandos DDS»
Cambl o fe c: ha d e ro 1 .,
2. CONCEPTOS GENERALES.-*
2.1. SALARIO Y SUELDO.- Salario es el estipendio que paga e],
empleador al obrero en virtud del contrato de trabajo:: y sueldo,,
'la remuneración que por igual concepto corresponde al empleado.
1£1 salario se paga por Jornadas de labor y en tal caso se llama
Jornal :¡ por unidades de obra o por tareas,, El sueldo., por meses;;
s i n s u p i" i m i r 1 os d :í. a s n o 1 a bo r a b 1 e «>..
2.2. SUELDO Y SALARIO MÍNIMO.- El listado establecerá el sueldo y
sa la r i o m :í. n i mos en 1 as d i fe ren tes ramas d e 1 t ra ba J o., y ten d ran a 1
es tablee i mi en to del salario -fama. 1 i ar..
^ Corresponde al Consejo Nacional de Salarios asesorar al Ministra
de Trabajo y Bienestar Social en el señalamiento de las
remuneraciones en la aplicación de una política salarial acorde
con 1 a real i d ad que pe i-mi ta e 1 equ i 1 i I:) r i o en t re 1 os fa c to res
productivos,, con miras al d esa r rol lo del país..
2.3. REMUNERACIONES Y COMPENSACIÓN ESPECIAL.
2.3.1. COMPENSACIÓN.- El monto de la compensación no tiene
calidad de* remuneración y., por tanto., no sera tomado en cuenta
*£~" para la determinación y cálculos de impuesto a la renta.,
aportaciones al IESS ¡, fondo de reserva „ indernn i naciones
laborales, remuneraciones adicionales y más bonificaciones..
El aumen to o f i j a c: :i. orí el e la Com pe n sa c :i. ón el e üos to de V :i. d a
establecido en la Ley no es imputable a las mejoras salariales
que hayan obtenido los trabajadores por contrato colectivo..
2.3.2. BONIFICACIÓN COMPLEMENTARIA.- La Bonificación será pagada
en diez dividendos iguales,, con la segunda quincena del sueldo o
sa 1 a r i o cor res pon d :¡. en te a cad a mes,, ex c:e p to en 1 os meses en q ue
se pagan la décimo tercera y décimo cuarta remuneración,.
Esta boni'f'i cae ion complementaria no al tera J.a décimo tercera y
décimo cuarta remuneración., n i la compensación al in c remen to
c: o s t o d e 1 a v 1 d a ..
2.3.3. BONIFICACI ON TRANSPORTE. - L. a s en t ;¡. d * s
privada*;» proporcionarán a sus empleados : rabajadores transporto:?
par «a concurrir al traba.;¡o y i torno al mismo,, los patronos o
empleadores que por • 'alquiler ci rcunstancia no pudiesen otorgar
el mencionado ti .'isporte <::ompensarán entregando a cada uno de los
Vi lead os 1 a res pe: c t iva bon i 1: i ca c i ón po r d i cho con ce |:) to „
"•-3.4. DÉCIMO TERCER SUELDO.- Los traba-¡adores tienen el u? r t:.-c I - 1 o a
que -iiius empleadores les paqueo., hasta i-1. ;"'4 de diciembre de cada
a Vio., una remun oración equivalente a la -vloceava parte do? lar;>
i--emune r a c i on o?s q ue ! u.t b:¡. c::ra |:)e re: i b i d es d u r an te t -1 a río cal en d a r i o,.
El yace de o^sta remuneración no se? considera como parto-? de la
remuneración anual para el efecto del ¡jago de a por Les al II!:'. Sí:?,, ni
para la determinación del fondo de reserva y jubilación., y para
el pago cíe las indemni zaoiones y vacaciones» Tampoco *:;e tofharán
en cuenta para el cálculo del impuesto a la renta.,
2.3.5. DÉCIMO CUARTO SUELDO.- Los trabajadores percibirán,,
además., sin per,;¡ u i ció de? todas las v o::mune rae iones a las que
a c tua 1 (nen te t i en en der ec ho -, un a bon :¡. f 1 ca c 1 un ad :Í. c: i on a I
equivalente a dos salarios r/ixciimos vi taleí;; de BU respectiva
categoría o cu pac: ion al., que será payada en todo el pais,, hasta el
qu:i. n ce d e se p t i em b re: d e cad a a río,.
2.3.6. DÉCIMO QUINTO SUELDO.- El décimo quinto sueldo está filado
pa r a 1 os t r aba.:¡ ad o res» y servid o res d e 1 se c:: to r pu b 1 i c:o y p r 1 vado
del pa:í.s,, se pagarán a los trabajadores que hayan cumplido un a Vio
calendario ininterrumpido de labores-, en los primeros 7 días de
1 os meses de f e b r e r o ¡, a br 11,, .:¡ un i o ;, aq osto y o c:: tu b re de cad a a río .,
en cu o tas pro po r c 1 on a 1 es por cad a d eseni bo 1 so..
EI d é c 1 mo q u i n t o su e 1 d o s era a d 1 c 1 c:) n a 1 a t o d o s 1 o s be n e f i c: 1 o s
a t:: tua 1 men te v i gen tes., es ta r á e x cep to d e 1 paq o d e 1 im pues to a la
renta y no se computará para los efectos del cálculo de aportes
a 1 1 EüSS ¡, n 1 pa ra 1 a d e te rm in a c i on d e 1 Fondo d e Reserva y
Jubilación., ni para el pago de las :Lnclí-.-.-mni naciones y vacaciones
p i" e s c r i t a i •> e n II. a ley.,
2.3.7. DÉCIMO SEXTO SUELDO.- l»:i Décimo Sexto sueldo percibirán
1 os t r a ba.;i ado res del se c: tor pu b 11 c::o y p r :i. vad o., e 1 mon to d e es te
sueldo sera el equivalente a 1.a octava par1 te? del sueldo mensual.,.
Nadie percibirá mensualmente por concepto de Décimo Sueldo meno-s
de la doceava parte de dos salarios m:í.n irnos vitales generales.,
Qu i e n e i;; p e r c: i ta a n u n s u e 1 d o mes n <r» u al m a y o i - a o c; h o s a 1 a i" i o s m :í. n :i. m c:) s
vitales generales,, percibirán la octava parte mensual de ocho
s .•-". 1 a r i o s ni :í. n i nú:) s v i t a 1 es ge n e r a 1 e s „
!:•:;(. Décimo Sexto sueldo será adicional a todos los beneficios
actualmente vigentes de los trabajadores y empleados del sector
pt't b I i c:o y P''' ;¡-v <"*(:'° ¡' e s 'I-a *'"& í-x e'"" '' ° <:'e •'• P Ay ° t:'e •'• :''fn Pl-ieí':;- 't(:) «A 1 i''£• '"i 'l-'.a
>• na se í::omp(.rtar<A para lo;;; efectos del cálculo de aport.es al
lE'ÍÍB,, ni para el pago de las indemnizaciones,, ni vacaciones
prescritas en la ley..
2.3.8. VACACIONES.- La 1iguidación para el pago de vacaciones
se i á e n 1: o i-m a ge n e r a 1 y ú n i c a., c: o m p u t a n c:l o ;t a ve 1 n t ± c: u a t r o a v a .,
parte de los pe r c i h le! os por' el trabajador duran te un a'n'o completo
de i.raba.;¡ o., tomando en cuen ta lo pagado al trabaj ador por horas
nrd i na rías,, suplemen tari as y ex traord inar i as do» labor y toda otra
retribución que hay<^ tenido el carácter de normal en la empresa
en e 1 m i smo pe r :í. o el o „
íüi cal trabajador no hubie-íse gozado las vacaciones tendrá derecho
al equivalen í'.o-1 de las rertiuneracioneí;; qu&1 cor res ponderan a.'(. t :U-?mpo
de las no gozadas,, sin recargo.,
- 2.4. JORNADAS DE TRABAJO.- La Jornada máxima de trabajo será de?
ocho horas diarias,, de manera que no exceda de cuarenta horais>
seman a les*., sal vo d :¡. s pos i c i 6n de ley en con t r ar i o ..
El tiempo máximo de trabajo efectivo en el subsuelo será de se:Ui
horas diarias y solamente por concepto de horas suplcjmen tari as.,
extraordinarias o de re cu peí'ación., podrá prolongarse por una hora
ii t á s., c o n 1 a re m u n e r a c i ó n y 1 o s r e c: a r g os c o r r e s p on d 1 e n t e s.,
2.4.1. JORNADA ESPECIAL.- Las comisiones sectoriales y las
comisiones de trabajo determinarán las industrias en que no sea
permitido el trabajo durante la jornada completa., y fijarán el
numero de horas de labor,.
2.4.2. JORNADA NOCTURNA.- La jornada nocturna., en tendiéndose por
tal la que se realiza entre las 7 pm.. y la 6 am.. del día
si g u i ©n te., pod r A teñe r 'i a mi sma du r a c 1 oí i y d a r An d e c e c: no a i q u a 1
remuneración que la d ¿urna., aumen tada en vein ti cinco por cien to -
2.4.3. REMUNERACIÓN POR HORAS SUPLEMENTARIAS Y EXTRAORDINARIAS.-
Por convenio escrito entre las partes la jornada de trabajo podrá
e x ce d e r d e 1 1 :í m i te 1: i .;Í a d o., s 1 e m p r e q u e s e p r o ce d a t:: on '.I. a
au to r i * a c ion d e1 In s pe c to r de Tra baj o y se o bse rve 1as s i g ui en tes
prescr 1 pelones ¡;
Las horas suplemen ta¡' i as no podrán ex ceder efe cuatro en un día.,
n i d e el o ce? en 1 a cedían a ¡;
Si tuviera lugar durante el d:í.a o hasta las doce de la nadie., el
empleador payará la remuneración correspondiente a cada una de
las horas» suplemen tarias con más un c::i.n cuen ta por cien to de
recargo,.
£ i d i c has 110 ras es tu viesen corn p r en d 1 d as en t re las d o ce d e 1 a
noche / las seis de la man'ana., el trabajador tendrá derecho a un
cien to por cien to de recargo..
Par 'A ca 1 cu!!. a r 1 o se toma r a corno base 1 a rernun (•:•? r a c: i on que
co r i''es pon da a la ho i-"a d e t ra ba.:i o d 1 u rn o „
El trabajo que se ejecutase el sábado-, domingo y drías de descanso
obligatorio deberá ser payado con el ciento por ciento de
i" e car" (jo..
ESTRUCTURA DEL SISTEMA DECONTROL DE NOMINA
CONTROL
DE NOMINA
11
2
1
I1ANTENIM.
Í>E ARCH1V
3i
INGRESOS
EGRESOS
1
CONSULTAS
4
<
5i
REPORTES
i
PROCESOS
6'!
OTRAS
OPCIONES
1 . 11
1.2i
DflTOS
PERSONAL.
1,3i
PUESTOS
SUELDOS
1.4i
GRUPO
IESS
1.5Í 1.6
¥
TIPO
EMPLEADOTITULARES
I . 7 J 1.8
¥ <
DATOS
I N I C I A L E S«REAS
1
SECCIONES
NAK7ENINIEH7D DE DATOS DEL ARCHIVO GRUPOJESS
MANTENIMIENTO
DE TITULARES
MANTENIMIENTO DATOS INICIALES
HANTENIMIENTODATOS
INICIALES
ARCH06
INGRESADATOS. GRUPO
IESS
REGRESAR,
" NANTENIHIENTO DEL ARCHIVO DE PUESTO/SUELDOS
MANTENIHIENTO
PUESTO/SUELDO
HANTENIHIENTO DE DATOS DEL ARCHIVO TIPO EMPLEADO
MflNTENIHIENTÜ
GRUPO-IESS
MANTENIMIENTO DE DATOS DEL ARCHIVO GRUPO IESS
MANTENIMIENTO
GRUPO-IESS
INGRESOS/EGRESOS fíílt RETROACTIVO V SOBRESUELDO
ARCH01
"íMíT
PERSOHALES *
1 1
INGRESAR
INGRESOS
EGRESOS
ARuíIfi
FP)HC'TTRE TRO.
I
INGRESOS/EGRESOS ROL MENSUAL
INGRESOS
EGRESOS
ARCH02
SUELD
ARCH04
INGRESAR
INGRESO
EGRESO
EMPLEADOS
PERSONALES
ARCH06
HENSUALES
INGRESOS/EGRESOS NOUIMIENTOS LIQUIDACIÓN
INGRESOS
EGRESOS
1 1
R| DAT.
'PERS.
<NO
INGRESAR
INGRESO
EGRESO
ARCH07
í"—-N
LIQUI.
3.1
1
3.2
'
ROL
MENSUAL
1
KARDES
EMPLEADO
4.1 4.2 4.31 4.4
ROL DE
PAGOS
EMISIÓN
DE CHEQUE
E t ü S I O NL I S T . A P O R
IESSOTROS
4 . 4 . 1
LISTA DE
CMPLEADOS
CONSULTA ROL MENSUAL
CONSULTA ROL RETROACTIVO/SOBRESUELDO
ARCH81
DAT.
PERS.
CONSULTAS
REGRESO,
RtTfioACTIUSOBRESUELO
CONSULTA ROL LIQUIDftCIÜNES
REPORTE ROL RETRQACTIUO/SOBRESUEU»
~RETROACTIVOS
SOBRESUELDOS
UtEGRESMJ
ROL LIQUIDACIÓN
DAT.
PERS.
REPORTE
LIQUIDACIÓN
CALCULO
MOSTRAR
HOD1F. DATOS
LiüuiDACIONES
ROL
ARCHB2
PUlST
SUELD
REPORTE ROL MENSUAL
OTROS REPORTES
OTROS
REPORTES
LISTA
DE EHPLEñDOS
SI / X>( REGRESO,4 J
EMISIÓN LISTAS DE APORTES AL 1ESS
LISTAS DE
APORTES 1ESS
ENITIfl CHEQUE LIQUIDADLES
DftT.
PERS.
CALCULO
CHEQUE
CHEQUE
-^REGRESO,4 )
ARCH17
DftCIQNES
ARCH02
PUTST
SUELE)
tNITlK UityutS wt iraMi i wiw juDULauí-u/uj/
ARCH91
CALCULO
CHEQUES
ARCH82
CHEQUE
ENITIR CHEQUES (MENSUAL)
ARCH01
CALCULO
CHEQUE
ARCH02 ARCHtM
CHEQUE
PROCESOS
5.1
FIH MES
5.2
'^CALCULAR
13 SUELDO
5.3'
CALCULAR
14 SUELDO
5.4i'
CALCULftR
15 SUELDO
5.5
CALCULAR
16 SUELDO
OTARS
OPCIONES
6.1
i
6.2r i
CAMBIO DEARCHIVO/TRABAJO
6.3'
REINDEXAR
ARCHIVOS
6.41 ó.5¡ 6.6
f f . f
REINDEXARV COMPRI-MIR FILES
OPCIONESDE
RESPALDO
CñHBIARDE FECHftDE ROL
1
COMANDO
D.O.S.
FIN DE MES
5.1.1 5.1.2
HOVINIENT
MENSUALES
HGVIMIENTRETROftCTISÜBBESUEL
H O V I H I E N T
L I Q U U ' f t C ,
CALCUIO DEL DÉCIMO TERCER SUELDO
5,2CALCULARDÉCIMO TERCERSUELDO
' 1
1. ROL MENSU
2. ROL RETRÍACTIUOS V\S
V
FIN MES RETROACTIVOS SOBRESUELDOS
5.1.2RETROACTIVOS
SOBRESUELDOS
FIN MES LIQUIDACIONES
CALCULO DEL DÉCIMO CUARTO SUELDO
5.3CALCULARDÉCIMO CUARTOSUELDO
i •
1. ROL NENSU
2. ROL RETÍACTIVOS V\S
FIN DE X SI
ARCHIVO
CALCULO DEL OKI «O QUINTO SUELDO
5.4CALCULAR
CMRTO
1. ROL MENSU
2. ROL RETÍACTIUOS VVSOBRESUELDOS
v
CALCULO DEL DÉCIMO SEXTO SUELDO
5.5CALCULODÉCIMO SEXTOSUELDO
1 '
1. ROL MENSU
2. ROL RETRO/ACTIUOS VISOBRESUELDOS
A.
NO S FIN f>E \I
ARCHIVO
SI / FIN DE
ARCHIVO
FIN DE NES HWIHIEHTOSA NEHSUALES
LISTAS DE
APORTES IESS
PROCESO
NUEVO
REGISTRO
ARCH02
(REGRESG.S.I)
ARCH03
CAMBIO FECHA OE ROL
CAKBIO
FECHA-ROL
INGRESA
NWEVft FECHA
ARCH38
Oí
í EGRESO,
CAMBIO DE AMBIENTE DE TRABAJO
6.1CAMBIO DEAMBIENTE DETRABAJO
'
'. ROL MENSU
2. ROL R/S
.3, ROL LIQÜI
ARCH86
OPCIONES DE RESPALDO
6.4OPCIONES
RESPALDO
;
. PROGRftHAS/
:. DATOS [
:. REST. INF\O
A;«.DBFA:*.NDX
RESPALDO*.D8F A:*.NDX A:
Descripción de las Bases de Datos:
ARCHOl.DBF - Archivo Maestra de Datos Personles del Empleado
C AIVIPG i p.. An e ho De<;i c: r i p í:: :i. ón
CÓDIGO C
NOMBRE C
CÓDIGO,_H C
PUESTO C
PARTIDA C
FECHA.... ING D
C...FAI1 N
C....E8T í-t
GRUPO.... lESS C
TIPO...TRABA C
CÉDULA C
AFILIACIÓN C
TIPO CALC C
S Cocí :i. t:j o d e ufo :i. ca c :¡. ón d e 1 em p I ead o
30 Nom fo re d e I em p 1 eado
ó C óc) :i. q o p r 1 n c: :¡. p a .'1. d e 1 em p 1 e ad o
3 Códicjo de puerto del empleado
3 Núme r o d e 1 a pa r i. :i. d a p re «su pue-;;> ta r 1 a
í:i F e c: h a d e i n q r e <•> o d e 1 e m p 1 e a d o
2. Número de carga*» -farn:¡. 1 lares
2 Número de cargas fami I iare<;; estuduando
1 Código de grupo ¿\ lESíii
1 C;ód i g o d e t i po <:l e 1 r a l:>a.:i ad o r
10 Número de -::t' lula del empleado
10 Número del c(,.i-n..-*. de afiliación al IESS
:i. Tipo de cálculo
índices:
INDAOlOl ..NDX-,
INDA0102.NDX-
:i;MDAo:í.O3..Ni>x..
CüDIC-íü
NOMBRE
CÓDIGO h
ARCHO2.DBF - Archivo de puestos y sueldos
CAMPO t p.. An c ho Des c r i p c i orí
PUESTO C
DESCRIPCIO c;
SUELDO c
'¿i Cocí :u:jo de puesto
3 O De <=t c: r :i. p c :¡. ón d e 1 p ue « t o
:i.O..2 Sueldo
índices:
IMDA02Q1,. MDX « PUESTO
:i: N D ñ O 2 O 2 „ HI) X., DESCR J! PC IO
ARCHO3.DBF - Archivo grupo de Aporte al IESS
CAMPO t p.. An c. ho Des c: r i p c. :i. ón
GRUPO__IES¡3
DI;;:SCR:I:PC:Í:O
PORCENTAJE
S....C:IÍ;:BAHTIA
íiíECAP
IECE
PATRONAL
TIPO
ANTI
C ó d :¡. g o p a r a a«..\ ):> a r1 a po r t.e a 1 IE S B
Des c r i p c ion d e»!(. c i-u po d e a po r te
Porcen ta.:i e a. api :i. car par a aporte
Porcentaje cío aporto personal
Po r cen t a ..i c * d e a p o r t e A p t r o n a 1
Porcentaje
Porcentaje
Porcen ta.:i(
? p a i- a & 1 íü e <;j u r o d e c: e s a n t -.í. «a
> desc:uc>n lo para SE CAP
* de dc>sc::uen to al IECE
Mtttme r o pa t. ron a ,'l.
Tipo de aporte
índices:
TNDA0301 ,.NDX-, ORUPO.... JEBS
ARCHO4.DBF - Archivo Tipo de Trabajador
ÜAMPO T r> •• An t"l"»o *-<- *c:ri pc::i.6n
TIPO...TRABA C 1 Código del tipo de trabajador
Di;;;SCRIPCK) C "SO Nombro-* del tipo de trabajador
I"1 R'llüíiít"' N ' - > - 2 Poi'1 cívín ta.;í e par1 a pació de rcMüponsatoi ."(. :í.dací
B ñHTI N B,.2 Ba<;;^ del pago de antigüedad
1"' Ah-l'í'I N 5.. 2 Porí::en ta.j e para pago de an i'.:¡.quedad
C,_ VIDA N B..'2 Coarto de Vida
V I-II JO M íü » 2 Va :i. o r do paq o po r c:ad a 11 i ,;i t:>
V E'íiiTtJ N (:'?.. 2 Va.'í.or de pago par c«¡».da h:t.;io eí;r!:ud .lando
P AI::'DRTE N l;.i,.2 Porcentaje de aporte personal
índices:
XHDACXK)! ..NDX.- TIPO TRABA
ARCH06.DBF - Archivo de movimientos mensuales
("AMPO T p,. An c: ho De «i c: r :i. p c: i ón
CÓDIGO C 5 Cód:¡.qo de ubicación del empleado
CODIGO,._H C 6 Código personal del. empleado
F'ECHA ROL D B Fecha del rol
TiPO,...iviov:t:
HEB
DÍAS
INGOI
ING02
:i:NGO3
1HÍ?X>4
INGOüí
ING06
:i>IGO7
INGO8
IMG09
ING10
ING ii
IMG 12
ING13
1NG14
ING15
ING1¿
ING17
I NO! 8
ING19
IHG2O
ING21
ING 2 2
INCÍ23
ING24
C 1
N 2
N 3
H 10. .2
M 1 0 „ 2
M 1 0 , 2
w :f. o ,. 2
H 10, .2
N 10 ,,2
l-l 10. .2
N 10. .2
H 10. .2
N 10, .2
N ,10. .2
N 10. .2
N 1 0 .. 2
H 10, .2
M 10. ,2
H 10, .2
N 10. .2
M 10. ,2
N 10. .2
N 10. .2
N 10. .2
N 10. .2
M 1 0 .. 2
N 10. .2
Tipo cíe
Húmero
Número
Ing re so
Ingreso
Ingreso
Ingreso
Ingreso
Ingreso
Ingreso
Ing res o
Ingreso
Ingreso
Incjreso
Incj re? so
Ingreso
Ingreso
Ingreso
Ingreso
Ingreso
Ingreso
Iricj i"c-> so
Ing re so
Ingreso
Ingreso
l'nqresío
Ing reso
movimiento
do:: mo?s de rol
cíe d:í.as trabajados en e
número 1
número 2
número 3
m'unero 4
número 5
número 6
número 7
número 8
número 9
número :I.O
número 1 1
número 12
número 13
número 14
número 1 '•'::<
número lo
número 17
número 18
número 19
núrner,, 2O
número 21
número 22
número 23
número 24
:f:HG2:-
IMG2A
1NG27
IMG 23
EGRO1
EGR02
EGR03
EGRO-'i
EGRQíi
EGRO¿>
ERRO 7
EGROÍ;S
EGR09
EGR10
EGRM
EGR12
EGR:.3
EGR14
EGR15
EGRH.&
RMP- ~:>
EGR:.B
EGR19
EGR20
EGR21
EGR22
EGR23
M .1. U ., ¿.
H 10, ,2
H :l.0..2
N 1O..2
N 1 0 ., 2
H 1O., 2
I--I 1 0 ., 2
H 10. .2
H 10. ,2
N 10 ,,2
N 10, .2
N 10. .2
N 10 ,,2
N 10. .2
M 1 0 .. 2
H 10. .2
N :í.O.,2
M :!. 0 ,. 2
M -1 0 „ 2
M 1 0 .. 2
N . 10, .2
H 1O..2
N 10. ,2
H 10. .2
M 1 0 ., 2
M 1 0 .. 2
.mqres
Ingres
l'nqres
Tngreíís
Ecj re í-ío
Eg re so
Egreso
Egreso
líilg reso
Egreso
Egreso
Egreso
Eg reso
Egreso
Egreso
Egreso
Egreso
Egreso
Egreso
Eyreso
i.'q reso
!::!', i reso
"g ¡ -eso
!:•".(. i reso
Eg res; t
Eg re':-o
Egre .>o
o numero ¿:\.i
o número 26
o n uniere:) 2.7
o número 28
número .1
número 2
número 3
número 4
numero (:>
númf->?r 'o d>
númei''o 7
número ílj
número 9
númei ,.:> ;I.O
núniero 1 1
núfiu..T,;j 12
número :i. ";>
número !<'i
número .1. 5
número 16
número 17'
número 18
número 19
número 20
número 21
número 22
número 23
EGR25
EGR2Ó
EGR27
i;;:GR23
Ü-GR29
N :l.ü,,2 Egreso ru'.uncoro 24
H 1O..2 Egreso número 25
N 10., 2 (::'g reso número 26
M ;l. <),. 2 Eg reso n ú me r1 o 27
M :l. O ,. 2 E g r (•;•? s o n íune r o 2 8
N 10,.2 lülcjreso número 29
N :í. C>.. 2 Eg r e «i. o n Cune ro 3O
índices:
:n-iDAOóo:i...NDX,. CÓDIGO •*• IVII;;:B
ARCHO7.DBF - Archivo para deffnir los titulares de los Ingresas
y Egresos
C AriPÜ 'T' p .. An c:: ho I)»i» c: r :i. p <:: :¡. ón
DEÍSCRIP L
Cocí :L q o d e 1 n orn b re el e!(. cam po
Deíü c: r i p c: ;i. ón e:: oí-1 A d e 1 campo
Des c: r :¡. p c: :i. ón 1 a i g a del c:am po
ARCHO8.DBF - Archivo para definir los datos iniciales
CAMPO t p,. An c:ho Des c:: r i p c: :i. on
I;;:ITIPREÍ;;A
N PATRONAL
Sue !L d o rn ;í. n :¡. ÍIH-J v :i. ta I
Nombre do:: la E¿npresa
Núfne r o d (-:•:• a pe:) r te pa 1 ron al!, d e 1 a em p re<-
N pije C I-'' Número de RUC de la empresa
DIRECCIÓN C ÓO Dirección de? '.IA empresa
TELEFONO C B Número telefónico cíe la empresa
JEFE C 40 Jefe de la empresa
CÉDULA C 1O Númer o cíe? cédu 1 a (.1 e :¡.deri t:¡.daí;l de 1 .;i efe
TECHA,..ROL D O Fecha de rol
V I> TERCER N 12..2 Valor del décimo tercer sueldo
V I). CUARTO N 12 ,2. Val o r d e 1 d e c i. mo cu a r te sue Id o
V D QUINTO N 12..2 Valor del décimo quinto «meIdo
V D SEXTO C 60 Va i o r d e 1 d é <::: i nú:) se x to sue 1 d o
ARCH16.DBF - Archiva de movimientos Retroactivo / Sobresueldo
CHNPQ Tp.. An cho Deferí pi.::i.ón
Ct;3D:i!GÜ C ^ Código de ubi cae . , r . del empleado
COI) 1 GÜ....N C é. C6d i í.:j o pe r «ion a 1 d e 1 eni p 1 ead o
E E C H A.... !: O I... I) 8 Ee c: \-\ d e 1 i-• o 1
Tir:'D 1V!HVI C 1 Tipo de movimiento
MES N 2 Número de mes de rol
DÍAS N 3 Número de días trabajados en el mes
INGO:!. N 10.. Sí Incj ros so nú.nu. ro 1
IMGO2 M 1O..2 Ingreso número 2
1NÍ:)C)3 N 10.. 2 Ing reso número 3
I NtiO4 N 10 .. 2 I n Q reí->o ri t'une r1 o 4
1NÍ3 O lü f--l .10 „ 2 I n g y e s o n ú/n e? r o 'o
INGOoj N :l.O,. 2 lnc;j r(->*•»o número 6
:i;NG07
IMG09
ING 10
INGll
ING12
ING 13¡
iHG:i.4
ING 13
ING la
ING17
ING19
ING 19
1NG20
ING21
"!' 1 I/'* *'\!.I.NG22
ING23
ING 24
ING 2 5
INB26
ING 2 7
ING28
EGR'0.1
EGRO2
EGR03
EBRO4
EGR05
l-l 10. .2
I i •( /\li .1. 0 ,. 2
N 10-2
I i -i y\i•1 1 0 ., 2
N 10. ,2
N 10. .2
I.l -l /\»M 1 0 ,. 2
1 1 '1 /\^•I .!. 0 .. x:.
N 1O..2
N 10. .2
N 10. .2
M 10-2
N 10-2
N :f. 0 .. 2
N 1O..2
|»l "1 /\"\ 1 0 .. 2
N 10, .2
N 10. .2
N 10. .2
N 1.0-2
1, t 'i s\\ .1. ".J .. 2
N 10-2
H 10. .2
M 10. ,2
N 10. .2
H 10. .2
N '10. .2
Ingreso
Ingreso
Incjrei-io
.1. ng res o
Ing reso
Ingr'eso
Ing re so
Ing i'1 e so
Ingreso
Ingreso
Ingreso
Ingreso
Ing re? so
Ing rí- :•;•)(.')
Ingreso
Ingreso
Ingreso
Ingreso
Ingreso
Ingreso
.{.ng reí» o
Ingreso
Egreso
Egreso i
Egreso i
Egreso i
Ecireso i
EGR06
EGR07
EGROB
EGR09
EGR10
EGRI.I
EGRX2
EGR13
EGR14
EGR15
EGR:i.6
EGR17
EGR18
EGR19
EGR20
EGR21
EGR22
EGR23
EGR24
EGR25
EUI-^Ó
EGR27
EGRZ&
EGR29
EGR30
N .to..;;!
M 10.2
l-l 10 .,2
M 10.2
M 10.2
M 10 «2
N .IO..2
N 10. .2
N 10. .2
M 10.2
N 10.2
N 10. 2
N 10.2
M 10. 2
N 10.2
N 10. .2
N 10.2
N 10.2
N ;l.0,.2
N 10. .2
N 1 0 - 2
N 10.2
N 1O.2
N 10.2
N 10.2
Eg reso
Egreso
Egreso
Egreso
Egreso
Egreso
Egrfsfüo
Ey reso
Egreso
Egreso
Egreso
Eg re s o
Egreso
Egreso
Egreso
Eg re so
Egreso
Eg ("eso
Egreso
Egreso
Egreso
Egreso
Egregio
Egreso
Eg re so
número
número
número
numero
número
número
número
número
número
número
número
número
número
número
número
número
número
número
número
número
número
número
número
número
número
A
7
8
9
10
11
12
13
:i.4
Iñ
16
17
18
19
20
21
i-,,-^x..:.
23
24
2 '5
26
27
2B
29
30
índices:
IHI>A:U>0:UNDX,. CÓDIGO •*•
ARCH17.DBF - Archivo de movimientos Liquidaciones
CAMPO Tp.. An eho De^cr ;i. pe: ion
CÓDIGO
CODXGO...M
FECHA ROÍ..
DÍAS
Cód:i.ga de ub:¡.cae::L6n del emp 1 eado
Cód :i. y o perdón a 3. d e 3. emp 3. ead o
Fecha del rol
Tipo de /nov 1/3)1 ento
Número dc-;>? íneíü de rol
Humero de d.ía<;; 1:r<abaj ados eji e 1 mes
INfiOl
INQ02
ING03
INGO-Í
IMGOS
IMG 06
ING07
IMGOS
I.NG09
IKG10
ING11
ING12
ING13
IWG14
N 10.
N ;í.o.
N 10.
M 10..
N 10,
N 10.
N 10.
N 10.
N 10.
N 1O-
N 10,
N 10..
N 10.
N 10..
'•\ X..
'•,>1 X..
'•%i X..
'"li X..
,2
2
*">¿:.
**.*xL
/->
'?1.
*x^
'3xL
Ox¡.
*?x»<
Ing re-
ír» g re;
Ingre
Ingre
Ingreo
!í.' n g !'•(••?
'.í n g re
Ingre
Ing ro?
Ingre
Ingre
Ingre'
Ingre
l'nqreI n g re*;» o n t't me r o :í.
o.,K-:-Hinu.i
13u osa^Ba E-OT N
osaj&a £-01; N
Ti o.,iaujpu osajba s 'OT H TtWOB 'J£
OT a.¿®w\yu osajfi^ £-0T N OTW03
Z"OT H 8OM93
«roT N ¿ouo:;;i
^"oi: N 9oya;;i
TOH93 ^
o.,iauii;iu oir»iví.Jt)uj; K " O T N SEÍOMI
o.,i(-íi»ni.) osa..-tftu;¡; ^"01 M ¿S£)N!I.'
I;H.I osa.,iDu:i; ^"O'i: M 9£9NI
:)í»CT.,iñui K - 'O ' t H S^9NI
o .,i í» uj n u o <ü a ./i f:') u ;j; ^ •• Q | ¡ t>-; (-I)M !í!
$ I o.,i aujvi u aír>a.<i í:') u j; ;•*:" o I h-i 6'!; £)N1
//i: o./ieiu^uj oí:>a.,iftu;i; ;:=;"Q'i; hl ¿TEJMI
9T o.,iv3iui;iu osa.,)du;i; S"OT N 9T9HI ^t.
ci o.,ietunu osa-iBur 7,"0l N GtONI
EGR14
EGR13
EGR16
EGR17
EGR19
EÍ3R21
EGR22
EÍ3R23
EGR24
E13R25
EGR2A
EGR27
B3R2GÍ
EGR29
EGR30
índices:
INDA 1701.
H 10.2
hl 10.2
hl 10.2
H 10.2
N 10 «2
H 10.2
i i -( f\
N 10.2
H 10.2
N 10.2
N 10, .2
N 10. .2
N 10. ,2
N 10. .2
N 10.2
ht 10. ,2
M 10. .2
NDX.. CÓDIGO -*•
Egreso
Egreso
Egreso
Egreso
Egreso
Egreso
1.»-.íjreso
Egreso
Egreso
Eg reso
Egreso
Egreso
Eg reso
Egreso
Egreso
Egreso
Egreso
MES
número 14
número 15
número 16
' ,» . '1 "Vnumer o .1. /
número 18
número 19
numero ¿X)
número 2:1.
número 22
número 23
número 24
número 23
número 26
número 27
número 28
número 29
número 3O
ARCH2O.DBF - Archivo de Áreas
CAMPO tp.. ñn c:ho Descr i pciún
ÁREA C 1 Código del Área
NOMBRE Nombre del área
índices:
:i:NDA2üo:i. ..NDX., ARI:;:A
ARCH21.DBF - Archivo de secciones
CAUTO Tp., An c:ho Descri pc:i.ón
SECCIÓN
PARTIDA
NOHJBRE
30
30
Código del Área
Cúd ;i. cjo d e 1 a se c í:: :L ón
Mánie ra do;.1 par t ;¡. da presu pues t.a ri
Nornb re d e 1 a í»ts c: c i ón
índices:
INDA2;l.O;l. ,.MDX.. ÁREA •*• SÜ'CCIQN
ARCH3O.DBF - Archivo histórico de movimientos KARDEX del empleado
C AIVII::'Ü t p » An c ho Das c r :Í. p c; :¡. ón
CÓDIGO
CODIGO^N
NOMBRE
NOM._PUESTO
C
C
c
c
5
ó
3Q
30
Código
Cód :i q a
Nombre
Nombre
de i
pe-írt
del
del
.ib i cación
üonal de? .7.
empleado
pues to
del empleado
empleado
SUELDO N 10..2 Sueldo mensual
PARTIDA C
FECMrt....ING P
CÉDULA C
AI'"Tf TAPTrihl í"%i-n .i. i... .i- 1 >\.f -i. wi i *••'
FECHA....ROL X)
TIPOJ'IOVI C
MES N
DÍAS N
INGOI N
IMGO2 N
INGO3 N
ING04 N
IHGO5 N
INGOó N
INGO7 N
INGOÍ3 N
ING09 N
IWG10 N
JNG11 N
ING1.2 N
ING13 N
ING14 N
INCU5 N
IWG1¿ N
ING17 N
ING18 N
ING19 N
3
B
10
10
B
1
*..
3
10.2
10.2
10.2
10. .2
.1. 0 .. 2
10.2
10.2
10.2
10.2
1O.2
10. .2
10.2
10 -2
10.2
10-2
,10 H2.
10.2
10.2
10.2
Núme r o d e 1 a pa r t ± d & p resu pues t a i" :i. a
Fecha de ingreso de empleado
Número de cédula del empleado
Múmí-v-ro de a-f::i. 1 i ación
Fecha del rol
T i po d e mo v i m 1 en to
Número de mes de rol
Número de d:í.a«> trabajados en el ÍIK-:-ÍI;Í
I n g r eso n úme r o :f.
I n g re so n úme ro 2
1 n g reí so núme ro 3
I ng r eso n úme r o 4
Ing res» o nú/ñero "i
1 n g r e i» o n ú m e r o ¿i
I n g re s o n uní e r o 7
I n g r- e s o n ú m e r o 8
Ingreso número 9
I'n q raso n úme* ro :í. O
Ingreso número 11
Ingreso número 12
I n g r eso n íuner o 1 3
I n g r e <r> o n ú m e r o 1 4
I n g r e s o n ú m e r o 1 5
Ingreso número :l.íí>
1 11 c;j r eso n úme r o 1 7
I n <:j r e s o n ú m e r o 1 8
I n g r' e s o n ú m e r o 1 9
ING20
ING21
I.NG22
ING23
ING24
JNG25
ING2A
ING27
IN028
EGR01
EGR02
II-GR03
EGR04
EGR05
EGROA
EGR07
EGRO8
EGRO9
EQR10
EGRll
EGR12
EGR13
EGR14
EGR.15
EGR1Ó
EGR17
EGR18
N 10.2
N 10.2
N 10.2
M 10.2
1! 10. .2
N 10.2
N 10. .2
N 10.2
N 10.2
N 10.2
N 10.2
N 10. .2
M 10.2
M 10. .2
N 10.2
N 10.2
N 10. 2
M 10.2
M 10.2
M 10.2
N 10.2
N 10.2
N 10.2
N 10.2
N 1O.2
N 10. 2
N 10. .2
Ingreso número 2O
I n g r ( * s o n ú m e r o 2 :t.
Ing roso número 22
l'ngroso número 23
Ing roso número 24
Ing roso número 25
Ing roso número 26
Ingrí so número 27
Ing roso número 28
Egreso número 1
Eg r eso n úme ro 2
Eg reso número 3
Eg reso n úme ro 4
Eg reso número 15
Eg reso n úme ro 6
E g r e s o n ú m e r o 7
Eg reso n úme r o 8
Eg reso número 9
Eg reso n úme r o 1 0
Egreso número 11
Eg reso número 12
Eg reso n úme ro :i. 3
Eg reso n úmer o :1. 4
Eg reso número 1 5
E g r e s o n ú m e r o 1 A
Eg reso número 17
Eg reso número 18
EGR 19
EGR20
i;;:GR2:i.
EGR22
EGR23
EGR24
EÍ3R25
EGR 2 6
i;;:GR27
EGR28
EGR 2 9
EGR30
hl 10.2
hl 10-2
hl 10. .2
hl 10. . 2
hl 10.2
hl :l. 0 „ 2
M 1 0 . 2
hl 10. . 2
hl 10.2
hl 10. . 2
hl 10. .2
hl 10. . 2
Egr
Egr
Egr
Egr
Egr
Eg r
Eqr
Egr
Egr
Egr
eso
eso
e.o
OSO
eso
•eso
eso
eso
eso
eso
Egreso
Egreso
ni'uner
ru'uner
níuner
nüffttír
o
o
o
•o
ni'unero
nurii(í>i'
númer
nunu-M"
níunívír
nútner
in'imer
ru'uner
o
o
o
o
o
o
o
19
20
2 1
22
23
24
25
26
27
28
29
30'
índices:
TNKA3001 ,.NDX., CÓDIGO N
ARCH99.DBF - Archivo de claves y usuarios
CAMPO Tp.. An cho Descr i pelón
CLAVEJJ
NOIIBRE^U
MANT
MOVÍ
COWB
REPO
PROC
C ó
C 3O
C 10
C 10
C 10
c :io
C ':l.O
Clave c
Nombre
Acceso
Acceso
Acceso
ACOTO
Acceso
:lel
del
Al
al
al
al
al
usuar :i.
usuar
módulo
módulo
módulo
módulo
módulo
o
:i. o
de
de
de
de
de
-
man ten i m i en to
movimientos
consultas
reportéis
procesos
OTRA O 10 A e: c:e ÍÜG a !l. mód u 1 o d c? o i. ras o p c i orí es
índices:
:i:Ni)A990:i,»NDX".. CLAVE: u
05/18/93 ACTIVAR.PftB Paqe 119:50 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
«18,30 to 20,50do «hile ,t.
«19,35 say 'Salir S/N '«19,45 get ops picture 'íreadif ops í 'Sr
exiteUe
ops*'N'loop
endifendda
if ops = *S'cióse al!set talk onset status onset escape onset function 2 toset bell oflset score onI DN ERROR()
emlif
05/18/93 CLAVE.PR6 Page 219:50 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOhINA
davea=space{6)•ensl="«n5l='lísuario no autorizado'821, 38 say 'Clave'set confín onset consolé offaccept to claveaset consale crtclavea-clavea+spateli)cUvea=upper(clavea)clavea=5ubstr|rJavea,l,6)set color toset confín offsele 1use arch99 Índex inda9901
do converseek claveenif eofO
set color to wt923,30 say lenslset color to*ait "quit
elsepublic varOl, var02, var03, varOA, varOS, var06, aens, usua*ens= 'Usuario no autorizado'usua =space(15)var01=space(10}
var03=space(101var04=space(10)va rO 5=s pace í 10)varOt-spacedO)usua =arch99-)noibre_uvar01=arc)j99->Mntvar02=arch99-)iovi
var04-arch99-)repovar05=arch99->otravar06=arch99-)procreturn
endif
05/18/93 CONVER.PR6 Page 319:51 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHINA
dave=cUvea
do Mbjle i <- bvalo=110letra=Süii5tr(clave,i,I)if asc(letra) + 110 > 256
valo=0endifclaveen = claveen + chr(a5C(letraí+valo)i = i t 1
enddo
05/18/93 ERRORES.PRS Page 419:5J Copyright, UNIVERSIDAD CftTOLICft DEL ECUADOR, 1993
CONTROL DE NQHINft
iaenerr=' 'fuente2' 'progra='
nuiierr = errortíaerterr = nessaget)fuente = sessagefl)íprogra =set color to bg« 9,9 to 14,71 cleare 9,9 to 14,71 double210,10 say 'Error Nuaero :'£10,25 say nuaerr611,10 say 'Tipo de error :'£11,25 say teñen-§12,10 say 'Coiando :'112,25 say sufastrtfuente,!^)set color toif nunerr = 127
set print offenbifjk=0set escape ondo «hile .t,
if jk=iOOset color to M!613,22 say 'Por Favor Ingrese Nuevaaente al SISTEMA'Í15,0«ait ' 'quitexit
el se
endifenddoset color toif nuie/r = 3
quitendif
05/18/93 «ANTASI.PRS Paqe 519:51 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
t Mantenimiento clavesuse arch99 índex inba9901clearrestore screen 1ro* paOi82,1 say 'Ingreso / Codificación prioridades de acceso al sisteaa'«3,1 to 6,78( 4, 2 say ' Clave:'d 5, 2 say ' Usuario:1clavea =space(Mnoibrea=space(15]do while .t.
84,24 get clavea picture '!!!!!! 'readclaveen="if clavea = space(6)
returnendifdo corwerseek claveenif eo f ( )
923,1 say 'Usuario no existe'nait "§23,0
elsenoabrea = arch99->/ío*bre_uÍ5,24 say noibreaEKÍt
endifeneldodo «hile .t.
67,1 to 20,79 clearí 7,18 to 16,628 9,19 to 9,61set iessage to 25% 8,33 say 'Menú General'(10,20 proipt 'flanteniíiento de Archivos';
•ess 'ttantenüiento de Datos Personales, Puestos, Etc. '811,20 proapt 'Ingresos/Egresos ';
•ess 'Actualización de ingresos y egresos «ensílales'(12,20 proipt 'Consultas '}
•ess 'Consulta del rol lensual'(13,20 proipt 'Reportes 'j
•ess 'Rol de pagos, Aportes al IESS, Cheques'(14,20 proapt 'Procesos '¡
•ess 'Realizar procesos'115,20 proipt 'Otras Opciones ';
•ess 'Opciones adicionales'•enu to opcióndo case opcióncase opción = J
do ienuclal
05/10/93 MKTflSI.PM page ¿19:51 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
case opción = 2do «nucía?
case opción : 3do aenucU3
case opción B 4do aemicU4
case opción = 5do nenucla&
case opción = &cío ienuclaS
case opción = O .or. opción = 7exit
endcaseenddo
05/13/93 MANTCLfl.PRB Page 719:51 Copyright, UNIVERSIDAD CATÓLICA DEL ECítfDDR, 1993
CONTROL DE NOMINA
t (lantén miento clavesuse arch99 índex ir,da990i
resto rs screen fron paOla2,l say 'Ingreso / Kodificacior C laves '¿3,1 to 6,79e 4 , 2 say ' Clave: '$ 5, 2 say : Usuario:': ísvea =space (ó )
hhile .t.prj=' 5'54,24 get clavea picturD '!!'"!reatí
if ciavea = space(6)exií
endifdo converseet1 clareenna= ''f
endií
borrsdo-'N'if deleteO
=s pace (30)iti€¿•3,1 sdí1 "Registro Borrado"set ccior to gr+-t+§23,18 say uñ'seí color ío@23,1? sa/ "ctivar'set color to gr+++§23,26 say "C"set color to£2-5,27 say "anceíar"
¡ío «fui e ,t.if nu='S' .and. pri = 'S'
pri = 'N'
0?=' 'Í23,l 5ay 'Usuario nuevo J e s ^ a añadir S/N'do «fule .t.
«23,32 get op picture "read
05/18/93 KñNTaft.PRG Page B19:52 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE «OMINA
if op * 'S' ,or. op = 'N1exit
elseloop
endife/lado623,0if op = 'S'
§5,24 get noabrea picture '!!Pise
exitendif
elseif apc O 'IT
noibrea = arch99->noabre_uendif@5,24 say noabrea
endif
ienos=0if
Utset color to gr+t+623.1 say '6"set color to623.2 say "rabar*set color to gr*++«23,8 say 'B*set color to123,9 say "orrar"set color lo gr+++«23,15 5ay '«"set color to823,16 say 'odifkar'set color to gr+++«23,25 say -C"set color to«23,26 say 'ancelar*tlt
endif«as=0opc = ' *do while .1.
Í23,75 get opc pktt/re '!'readif íopc * '6KCB' .and. borratío='N'í .or. (opc $ 'AC' .and. borratío='S'
exitelse
loopendif
enódo
05/18/9319:52
HANTCLA.PRSCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHINA
Page 9
823,0if opc = 'C'
exitendifif opc = '6' .and. borrado a 'N'
íf nú = 'S'áppend hlank
endifreplace arch99->no«bre_u Mith noabrearepUce arch99->clave_u Mith claveenexit
endifif opc = 'B' .and, borrado = 'N'
opb='N'§24,1 say 'Desea borrar S/N ' get opb pictureread«24,0jf opb = 'S'
if nú O 'S'deletepack
endifendifexit
endifif opc - 'M' .and. borrado = 'N'
85,24 get noibrea picture 'í'"read
endifif opc = 'ft' .and. borrado = 'S'
recaíexit
endifenddo
84,24 to 5,77 cUarenddo
05/18/93 MASCARA.PRS Page i(19:52 Copyright, UNIVERSIDAD CATOLICfl DEL ECUADOR, 1993
CONTROL DE MOHÍNA
clearsel color toE0,i say a8->enpresa60,51 say 'Rol de Pagos '30,70 say a8->fec(ia_rclel,27 to 1,BO11,1 say 'Usuario:'£1,10 say usuaseí color toif tipotr = 'A'
£1,51 say 'Mensual'noitr^'Hensuar
endifif tipotr = 'B'
(1,51 say 'REtroactivo/Sobresueldo'noatrs'Retroactivo/Sobresueldo'
endifif tipotr = 'C'
£1,51 say 'Liquidaciones'ncmtr='í.iqiiidadone5'
endifsave screen to paOl
05/18/93 HENUCi.ft.PR6 Paqg19:53 Copyright, UNIVERSIDAD CATOUCfl DEL ECUADOR, 1993
CONTROL DE NQtlINft
opción = Odo Nhile .t.
clearrestore screen froa paOle 7,18 to 13,62 tíouble§ 9,19 tu 9,61set nessage to 25É 8,29 say 'Actualización de claves'§10,20 proapt 'Manteniíiento de Claves';
•ess 'Crear, Modificar, Borrar claves'€11,20 pro*pt 'Asignar prioridades 'j
BBSS 'Asignar prioridades de acceso a los usaurios'612,20 proapt 'Salir ';
mess 'Teninar sesión de trabajo'•enu te opcióndo case opcióncase opción = i
if substr(varOÍ, 10,1) = 'S1do iantcla
else82J,0 say 'Usuario no autorisarfo'Nait "
endifcase opción = 2
if Sübstr(var01,10(l) = 'S'do aantau
S23,0 say 'Usuario no autorizado'wait "
endifcase opción = O ,or. opción = 3
do activarif OpS = 'S'
clear teioryquit
endifenrfcase
enddo
05/18/93 HENUCLA1.PR6 Page 1219:53 Copyright, UNIVERSIDAD CATOUCft DEL ECUADOR, 1993
CONTROL DE NOMINA
al=' 'a2=' 'a3=' 'a4=' 'a5=' 'a6=' 'a7=' 'aB=' 'a9=' 'al=5ub5tr(arch99-)Bant,2íl)a2=sufastr(arcf)9?->Bant,3,n
a4=substr(arch99->fflant,5!i)a5=5Ubstr(arch99->Bant,íiJl)a6=substr(an:h99->iant,7,Íj
a8=substr(arch99->iant,9fiía9=substr(arch99->Bant,10,l)0 9,49 to 19,74 double§10,50 say 'Archivo iaestro«11,50 say 'Puestos612,50 sa/ 'Grupos íe aporteÍ13,50 5ay 'Tipos de trabajadores814,50 say 'Titulares915,50 say 'Datos iniciales316,50 say 'Áreas817,50 say 'Secciones818,50 say 'Claves / Accesos«10,72 get al picture '!'611,72 get a2 picture '!'612,72 get a3 picture ''.'13,72 geí a4 picture '!'614,72 get a5 picture '!'615,72 get ai picture '!'816,72 get a7 picture '!'$17,72 get aS picture '!'618,72 get a9 picture '!'reactpri=space(10)
replace arch99-)iant «ith pri
05/18/93 KENUCLA2.PR6 Page 1319:53 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
pri=space(lQÍpri='S'replace arch99->«avi «ith pri
J5/Í8/93 HENUCLA3.PR6 Page 1419:53 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
al=substr(arch99->cons,2,lía2*substr(3rcb99->ccns,3,l)
6 9,49 to 12,77 double810,50 say 'Consulta rol tensuai¿11,50 s¿y 'Consulta Kantex Eipleado'810,76 get al picture '!'«11,76 get a2 picture '!'read
pri='S'+al+a2replace arch99->cons with pri
05/18/93 HENUCLfl4.PRB Pa9e 15¿9:54 Copyright, UNIVERSIDAD CATÓLICA DEl ECUADOR, 1993
CONTROL DE MOHÍNA
al=' 'a2=' 'a3=' 'a4V 'al=substr{ arch99->repo,2, 1 )a2=substr(arch99->repo(3,l)a3=substr(arch99-)repo,4li)a4=substr(arch99->repo)5,l)
e 9,49 to 14,74 double910,50 say 'Reí de pagos§11,50 say 'Eiitir cheques812,50 say 'Lista de Aporte IESSei3,50 &ay 'Otros310,72 get al picture '!'611,72 get a2 picture '!'612,72 get a3 picture '!'613,72 get a4 picture '!'readpri-5pace(101
replace arch99->repo with pri
05/18/93 HENUCLA5.PRS Page19:54 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE «Nft
a4=' 'a5=' 'a6=' 'a7=' 'a8=' '
ai=substr(arch99->Dtra,2,lJa2=5ub5tr(arch99->otra,3,l)
a4=stib5tr(arcti99->otra I5Jl)a5=sub5tr(arch99-)otra,6,l)
e 9,47 to 16,78 doubleéíO(48 say 'Caibio flrchivo de Trabajo '§11,48 say 'Reindexar archivos812,48 say 'Reindexar & Coipriair Archivos'613,48 say 'Opciones de respaldo'$14,48 say 'Caebiar fecha de rol'815,4B say 'Coiandos DOS§10,77 get al picture '!'811,77 get a2 picture '!'Í12,77 get a3 picture '!'813,77 get a4 picture '!'814,77 get a5 picture '!'«15,77 get a6 picture '('read
pri=' S 'replace arch99-)otra nith pri
05/18/93 HENUCLA6.PR6 Page 1719:54 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
al*'
a4=' 'a5*' 'a¿=' 'a7=' 'aB=' 'al=su&str(arcn?9->proc,2, 1 )a2=5ubstr(arcn99->proc,3,l)a3=substr(arch99->proc,4,l)a4=5ubstr(arch99->prüc,5,l)a5=substr(arch99->proc,6,l)a6=sub5tr(areh99->proc,7,l)
@ 9,49 to 15,77 double910,50 say 'Eapezar nuevo íes611,50 say 'Deciao tercer sueldo@12,50 say 'Deciao cuarto sueldo@13,50 say 'Deciio quinto sueldo§14,50 say 'Decino sexto sueldo810,75 get al picture '!'Sil, 75 get a3 picture '!'612,75 get a4 picture '!'S13,75 get a5 picture '!'614,75 get a¿ picture '!'readpri=space(10}
replace arch99->proc Mith pri
05/18/9319:54
P.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
Paqe 18
«5,10 to 7,70 double36,11 to 6,69 clearÍ6,19 say 'Pontificia Universidad Católica del Ecuador'39,10 to 11,70 double610,11 to 10,¿9 cJearS10,20 say ' Prograia Aibato'
913.10 to 15,70 double814.11 to 14,69 clear«14,20 say ' RDL DE PASOS
05/18/93 RQLCLfWE.PRG Paqe 1919:55 Copyright, UNIVERSIOftD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
set talk offset status offset escape onclear eesoryset function 2 toset bell offset score offon error do erroresdo pdo clave824,23 say 'Espere un loiento .......'cióse aUsele 8use arcnOS alias aSpublic paOl, caalíSO), cat2|60}, 11, 12, 13, Ht tipotr, noatrpublic opstipotr='fi'cleardo lascaraáo
05/Í8/93 ACTIVAñ.PRB20:21 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOniNA
«19,30 to 20,50do «hile ,t.
819,35 say 'Salir S/K '819,45 get ops picture * íreíaif ops « 'SU1
exitel se
Dps='H'loop
endíf
if ops = 'S*cióse allset taU onset status onset escape onset fttnction 2 toset be 11 onset score ont ON ERROR í)
endif
05/18/93 ftREATRA.PRS Page 220:21 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
t DEFINIR ÁREAS DE TRABAJO
select 1use arthOl índex indaOlOl, indaOi02, indaOI03 alias alset order to 1selett 2use arch02 Índex inda0201, inda0202 alias a2select 3use arch03 índex inda0301 alias a3select 4use arch04 índex indaOAOl alias a4tSELECT 5í USE ARCH05select 7use arcfiO? alias a?select 6use arcnO¿ Índex indaOóOl alias a¿select Buse archOB alias aB
05/18/93 CADENAS.PR6 pige 320:21 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
I prograia para generar cadenas de códigos tipo eipleadosI y grupo de aportes
select 390 topde while .rtot. eof()
cadenal=cader)al+a3->grupa_iesssUp
enddo
select 4go topdo while ,nct. eof(]
cadena2=cadena2+i4->tipo_trabacUp
enddo
return
05/18/9320:21
CÁLCULOS.PRBCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
Page 4
procedure sueldoiI Procedimiento para calculo del Sueldo
sueldoi = round( (a2->5ueldo/30) t a6-)dias ,0)
return
procedure responsat Procedimiento para el calculo de la responsabilidad
responsa = roundí sueldoi í (a4->p_resp / 100) ,0)
return
procedure antiguI Procediiiento para el calculo de 1- antigüedad
antigu = a4->b_anti + (sueIdoí I U4->p_anti/100)í
diasj = (aS-Mechajol) - (al-)fecha_ing)antigu = Oano]=(diasj / 365)anoi*intíanoj)if anoi = 4
antigu = a4->b_antiendifif anoi > 4
anod E anoi - 4antigu = a4->b_anti + tsueldoi í (a4->p_anti / 100) t anod)if (antigu > sutldoi)
antigu = sueldoiendif
endifantigu = round(antigu,0)return
procedure costovidt Procedíliento para calculo de el costo de vida
costovid = round( (a4->c_vida/30) t a¿->dias ,0)
return
procedure subítai$ Procediiiento para calculo de subsidio faiiliar
subsf» * al->c_fa§ I a4->v_hijo
return
03/18/9320:21
CÁLCULOS.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NONINA
Page 5
procedure subsedui Procedimiento para calculo de subsisdio educacional
subsedu = al-)c_est I a4->v_estu
return
aesst Procedimiento para calculo de aporte al 1ESSI aiess = (a2->sueldo t (a4->p_aporte/100) / 30) I atediasantigul=antiguselect 3seel; al->grupo__iessii aJ->tipo = 'A'
aiess = Í(a2->sueldo + antigul + subsfam) t;Ia4->p_aporte/100) / 30) I a6-)dias
elseif a3->anti O 'S'
antigul=Qendifaiess = ( (a2->sueldo + antigul) S;
(a4->p_aporte/100) / 30) I i6->diasendif
aiess = rDund{aiess,2)return
procedure ingresosI Procedimiento para el calculo de ingresosingresos = Oif ¿l->tipo_calc = 'N' ,or. itipotr » 'B' .or. tipotr = 'C'J
ingresos s a¿->ing01 + a6->ing02 + a6->ing03ingresos * ingreso! * a6->ing04 + a6->ing05 + aü-Hng06
elseingresos = sueldo» + responso + antigu + costovid + subsfaiingresos - ingresos + subsedu
endifingresos = ingresos * afc-)ing07 + a&->ingOS + a&-)ing09ingresos = ingresos + a¿->inglO * a6->ingli + a¿->íngl2ingresos = ingresos + a6->ingl3 i afc-)ingl4 4 a¿->ing!5ingresos 3 ingresos * a¿-)ing!6 + aA-)ing!7 4 a6-)ingl8ingresos * ingresos + a¿->ing!9 + a¿-)ing20 +ingresos 3 ingreíof + aá->ing22 t a6->ing23 +ingresos c ingreso! + a6-)ing25 * a6-)ing26 ingresos = ingresos + a¿-)ing28ingresos s round{ingresos,2)
return
a¿-)ing21i&->ing24a¿-)ing27
procedure egresos
05/18/9320:22 Copyright,
CÁLCULOS. PUNIVERSIDAD CATOL
CONTROL DE N
t Procedimiento para el calculo de egresas
egresos = 0if al->tipo_calc = 'h' .or. (tipotr = 'B'
egresos = a¿->egr01else
egresos = aiessendifegresos = egresos * a6->egr02 + a6->egr03egresos = egresos + a¿-)egr04 * a6-)egr05egresos = egresos + a6->egr07 + a6->egrOBegresos = egresos + a6-);jrlO + a6-)egrllegresos - egresos + a6-)egr!3 * a6-)egr!4egresos - egresos * a6->egr!6 + a¿->egrl7egresos = egresos * a6->egr!9 t afi->egr20egresos = egresos * a6-)egr22 + aÉ-)egr23egresos = egresos t a6-)egr25 * a6->egr26egresos = egresos * a¿->egr28 +• a¿->egr29
.or. tipotr = 'C
+ ai-)egr06t a6->egr09+ a6->egr!2+ a6->egr!5+ a¿-)egr!8+ a6->egr21+ a6-)egr24+ a6-)egr27* a¿->egr30
Page t
egresos = round(egresos,2)
return
procedure recibet Proceditiento para calculo de total a recibir
recibe = Orecibe = ingresos - egresosrecibe = round(recibe,2)
rsturn
procedure vpuestot Procedimiento para validar el pueitoselect 2seek pueauif eofd
set color to ni623,1 say 'Código de puesto no existe'set color toluait 'Presione una tecla para continuar'
endifreturn
procederé ingresolt Procedimiento para «1 calculo de ingresos históricoingresol = Oingresol = a&-)ing01 + a6->ing02 + a¿->ing03ingresol B ingresol + a&->ing04 4 aé->ing05 + a&-)ing06ingresol = ingresol + a¿-)ing07 t'a6-)ing08 4 a&-)ing09ingresol = ingresol + a¿->ing!0 + a¿-)ingll * a6-)inql2ingresol = ingreiol + a6-)ingí3 t a¿->ing!4 * a&->ing!5
05/18/9320:22
CÁLCULOS.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
Page 7
ingresol = ingresol + a6->ing!6 + a6->ing!7ingresol = ingresol + afa-)ingi9ingresol = ingresol + a¿-)ing22ingreso!ingreso!ingreso!
return
ingresol * a6->ing25ingresol * a6->ing28round(ingresol,2)
a&->ing23a¿->ing2¿
a6->ingl8it-)ing21ai->ing24a¿->ing27
procedure egreso!t Procediiiento para el calculo de egresos histórico
egresolegreso!egresolegresolegreso!egreso!egresolegresolegresolegresolegresolegresol
= a6->egr01= egresol= egresol= egresol= egresol- egreso!= egresol= egresol* egresol= egresol= egresol
t+++++*+++
i6-íegr02a6->egr04a6-)egr07ai-)egr!0a6->egrI3aé->egrléafi-)egr!9a¿->egr22a¿->egr25a¿->egr28
++f+•f+++++
a6-)egr03a¿-)egr05a¿->egr08a6->egrliaó-)egr!4a6->egr!7a6->egr20a6->egr23a6->egr2¿a6->egr29
+*++++•f*+
a6-)egr06a6->egr09a¿->egr!2a6->egr!5a6-)egr!8i6-)egr21a&-)egr24a6-)egr27a6->egr30
- round(egresol,2)
return
procedure recibe!t Procedimiento para calculo de total a recibir
recíbele OrPCIbel= ingresol - egreiolrecibcl- round(recibel,2)
return
05/18/93 CANFEC.PR6 Paqe 820:22 Copyright, UNIVERSIDAD CflTOLICft DEL ECUADOR, 1993
CONTROL DE ÑOÑI NA
t Manteniíiento de archOS eupresa, patronocleardo pantOOSselect 8sueau=0e«pau=space(&OJnpaau=space(10)nruau=space(17)dirau-space{¿QÍtelau=space(fl)jefau=space{40Jcedau=space(10)fecau=' / / 'fecau=ctodífecau)
sueau=sueldo_iineipau=eipresanpaau=n_patronal
dirau=direccion
jefau=jefecedau-cedulá
gfl,20 so/ sueau picture 1,111,111,1*18S,20 say eipau picture 'í''Í6,20 say npaau picture 'Ittlllllll'«7,20 say nruau picture lltllttltlltilltl68,20 say dirau picture '§<'«9,20 say Ulau picture 'Itiiilli'§10,20 say jefau picture '6!'011,20 say ceáau picture IIHIIIII»112,09 say 'Fecha Rol: '«12,20 get fecauread•efl&aje=space(30)neRsaje='<6> Eraban <C> Cancelar'«23,1 say iensajeop«* 'do Mhile .t.
«23,26 get op picture '!'readif op t 'GC'
...endifenddoif op « 'C'
returnelse
replace sueldo jún Bith sueau
05/18/9320:23
CAHFEC.PRBCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
Pags 9
replace empresa nith eipaureplace njatronal Nith npaaureplace n_rur »ith nruaureplace dirección with diraureplace telefono Nith teUureplace jefe Nith jefaureplace cédula itith cedaureplace fechajol Míth fecaudo lascarareturn
endif
05/18/9320:23
CHEQ050.PRBCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1991
CONTROL DE NOHINA
Page 10
clearrestore scrwn froi paCl92,1 say 'Elisión de Cheques'store ' / / ' to fechan!fechaeii = ctod(fechaeii)nuicheq=Qstore dateO to fechaeii«4,20 to 8,63
do Nhile .t.«6,23 say 'FECHA DE EMISIÓN DE CHEQUES :'Í5,53 say 'u/dd/aa'86,53 gtt íechawireadstore dtccífechttii) to fechanif fechaau=' / / '
loopel se
exitendif
enddoco=' '
save serien to pa02do ahile .t.
codin*space{5)•estele = ' 'I 11,20 to 16, ¿3I 12,22 say ' Nüiero de íes' get leitile picture 'II'I 13,22 say ' NúMro di- chequt' get nuicheq picture 'Itittitt'I 14,22 say 'Ingrese il código para INICIAR' get codin picture '!!!!!'readif codin space(S)
? ' 'set print offreturn
endif
( 15,22 say 'Ingrese el código para FINALIZAR' get codfin pict '!!!!!'readif codfin E §pace(5)? ' 'set print offreturn
endifulcct 6lócate for (a6->codigo = codin}if eof{)
stt print offNait 'Código no existe'set print on
05/16/9320:23
CHEQ05G.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, Í993
CONTROL DE MOHÍNA
Page 11
loopendiffilt=space(60)sel print ondo cheqlOOrestore screen fro» pa02
enddo
05/18/93 CHEQIOO.PRG Page 1220:23 Copyright, UNIVERSIDAD CATÓLICO DEL ECUADOR, 1993
CONTROL DE NQMINft
t Reporte cheques acceso por código11=' '12=' '13=' '14=' 'select 6set delete on
if iessele * ' 'set filter to
elseset filter to a6-)>es = iesseleif a¿->ies O iessele
if .not. eof()skip 1
endifendif
endifcodaux=space{5)set procedure to calculo;seccaux=sub5tr(aÉ->r-:' 3)5*5=0
set color to « -?24,33 53- -iiiendo...'set 'os"' ce to print
t consolé off
í «hile .not. eof()public sueldoa, responsa, antigu, costovid, subsfan, subsedupublic aiess, ingresos, egresos, recibeselect 1set order to 1seek a¿-)codigoif eof()
set color to nit 823,1 say 'Error Código no existe'set color toI Hit ' Presione una tecla para continuar'i 123,0I 024,0loop
endif
clave2=al->puestoselect 2seek elave2if eof()
set color to HÍt 923,1 say 'Error Código de puesto no existe'set color to
05/18/93 CHE0100.PRG Page 120:24 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE KOHINA
1 Kait ' Presione una tecla para continuar'I «23,0I 824,0loop
endif
clave21sal->tipo_trabaselect 4seefc clave21if eofü
set color to wlt 023,1 say 'Error Código tipo de trabajador no existe'set color toI Hit ' Presione una tecla para continuar't «23,0t «24,0loop
endif
ttttutmI calculardo cheq!20
t Transformar a letrasdo cheqUO
t Upriiir chequedo cheqHOmmmt
if a6->codigo * codfinexjt
endif
select &skip
codaux=a6->coíiigo
enddoset devíce to screenset con10le on«24,33 say 'select &set filter to
return
05/18/93 CHEQ120.PR6 page 1420:24 Copyright, UNIVERSIDAD CfiTÜLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
I Cálculos
if al->tipo_calc = 'ti' .ar. (tipotr = 'B' .or. tipotr = T'sueidoi =a¿-)ing01responsa=a6->ing02antigu =aó-)ingOJcostovid=aí)->ing04subsfaa =a£r>ing05subsedu =aó->ingO¿aiess =a6-)egrOl
elseáo sueldotdo re&ponsado antigudo costoviddo subsfaido sübsedudo aiess
endif
do ingresosdo egresosdo recibereturn
05/18/93 CHEQ140.PRG Page 1520:24 Copyright, UNIVERSIDAD CñTGLICfi DEL ECl/flDOR, 1993
CONTROL DE NGHINft
if recibe ~ Oreturn
endif?5pa«(t5)+1 H+al->nDfflbrB+' '+aér>aes+' '+fJtoi:(dateO)+i B+aíi->;
código*" S/.'+tranírBcibe,'l,IIM«. «!'] + ' '+no«tr
b='»lt«9.99'?space( f c5 ) f canl(l) jtran(sueldo«,b),caiil(B) ,tran(a¿->ing08,b)??' ',caal(15),tran(a6->ingi5 !b),caal(22),tran(a¿-)ing22,b)?space(65), cafi l(2) ,tran(reEpDnsa fb),canil(9) Ítrart(a6-/íng09,[jí??' ',cailUM,tran(at->ingU,b),cafflH23],tran(aá->ing23,b|?space(65), ca«i(3j ,tran{antigu,b],caDl(10¡,tr3n(aó-)ingíO}íií??' ' ,ca»l(Í7),tran(a6->i(igl7,b),caal(24t,tran(ñ6-)ing24 (b)r ispace(65j, cail(4í ,tran(co5tovid,íiíícaiBl(ll},tran!aó->inglÍ,ÍJÍ??' ',cafflí(lB],tran!a6->ingÍ8,b],ca*i(25),tran(a6->inq25,bi
?chr(27]+chr(71J )5pace(!J+aI->noibre+spacell2)+'S/. '+tran(recibe¡,'»,!«, MI, II' J+space(7J+chr(27j+chrí72|
??caml(5) ,tran(sub5fa»,bj,cail(12í,tran(a6->ingi2,bj??' ' ,cail(19),tran(a¿->in9Í9 Ib} fcaal(26),tran(a6->ing26,b]
t CAMBIO DE 8 POR 3?chr(27)+chr(71} ,space(3)+12+spacB( l | tchr(27]+chr(72) ,space(4)''?cail(6),tran(5iib5edu,bj,cail(13),tranta6->ingl3,bj??' ' fcail(20) Itran(a6->ing20 Ib| fcaíil(27I }tran(a6->ing27 }bJ
cail(7) ,tran(a¿->ing07,b),caiH14),tran(a6->ingl4,b)??' 'Ica«ií21í,tranía6->ing2J,bí lcatlí28í ltran(a6->ing2Bfb)
TspaceíJS), 'Ingresos ---- > ',tran|ingresos,b)
<?chr{27í+chr(7nH4ichr(27íí-chr(72} I5pace(10)??caiH29)Itran(aies5,b),caBn37),tran(a6->egr09Ib)??' ',ca*l(45J ltranla¿->Bgri7,b)(ca»l(53),tran(a6->egr25,bj
?5pacB(65),caal(30)1tran(a6->egr02,b),cail(3B),tran(a6->egrlO,bl??' 1,ca*l(46),tra[!{afi->egrl8)b|}cain541}tranía6->egr26(bí
?space(65ílcailí3i],tran(a6-}egr03lfaí,cai!(39i,traíiíaA->egrIí)bí??' ' Icanl(47|)tranla6->egrl9,b)lca*l(55í,tran(a6->egr27)b)
?5pace(65J,cailt32í,tran(a6->egr04,b),cail(40),tran(a6->Bgrl2)b}??' 'fca«l|4B),tran{a6->egr20lb]fca«l(56),trin[a6->egr28Jb)
?space{65í,cail(33Jttran(a6->egr05Jb),caBÍ(41) ltranta6->egrl3,bí??' ')cail(49),tran(a6->egr21,b)(cail(57)ítran(a6->e9r29,bl
?space(65í,cail(34Jftran(a6->egrOÍ,liíIcaal{42|}tran(a6->figrl4)b)??' ',cail(50),tran(a6->Bgr22,b) fcaBl(58) (tran(a6-)egr30 (bJ
05/18/9320:25
CHEQ140.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
Page 16
?space(65),cail(35)}tran(a6-}e9r07,bÍ)cail(43¡,tran{a6-)egrl5,t!Í
?space(75), 'Descuentos ---- > ' , t ran(egre5GS,b)
lilinuacheq5=space{8)longi =len( l t r i i (s t r (nuicheq,8 ,0)))nu«cheqs=repl icate("0",(8- lQngH)+Hri i(5tr(nuicheq,8,0))replace a¿->tDtal_i»pr nitfi recibereplace a¿->nro_cheque Míth nuacheqsnuiícheq = nuicheq + 1return
05/18/93 CKEQ160.PR8 Page 1720:25 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
restore frw sucres
va *int(Mlor/1000GWÍvOO ^valor-vOílOOOOOOvi =int(vOO/100000)vil *vOQ-vltlÜOOOOv2 =int(vll/10000|v22 -vll-v2ílOmv3 =int(v22/1000)v33 =v22-v3HOQOv4 =int(v33/100)v44 =v33-v«100v5 =int(v44/10}v55 =v44-v5tlOvó =int(v55|v66 =v55
puente l= 'y '
HtltfunionO*' '
caipoO-icaípoOif vO O O
if vO » 1
unionO3' iillon '
unionO=J lillones 'endif
endiftltltlt
if vl<>0if vl=l
if v2=0.antf.v3=0,afid.vl=icaipol='x!00'
el se
endifendif
elsecatpol='xO'
endifcttpa2-V*Urii|itr|v2llO))if v2=0
puente l^' 'caipo2='xO'
endit
05/18/93 CHEQttO.PftG Page 120:25 Copyright, UNIVERSIDAD CfiTQLICA DEL ECUADOR, 1993
CONTROL DE NO HIÑA
catpo3='x'+Itríi(str(v3!if v3=0
endifif v3
endifif valor >=1000.and.valor<10000
puentel="endifif v2=i
caipo2*'x'Wri>{str(v2))Wrii(str(v3)í
puentel="endifif v3=0
puentel=' 'endifcaipo4='x'-Htrii(5tr[v4tlOO))if v4<>0
if v4=lif vt=0.and.v5=0.and.v4=l
elsecaipo4='xl01'
endifendif
elseca§po4='xO'
endifcaipo5*'x'+ltrii[str(v5llO|if v5=0
puente2=' '
endifCMpo6»'if v^O
caipoó-'xO'endifif v6«l
caipoia'XlOOl'endifif v5*l
endifif v6=0
puente2="endifif valor <10
05/18/9320:26
CHEQUO.PR6Copyright, UNIVERSIDAD CAÍQUCA DEL ECUADOR, 1993
CONTROL DE N O M I N A
Page 19
puente?-"endifItt
valor l=fvalor - in t fva lDr) ) l iOOpruero=caipoO+imionQ+' '+fccaipoi+' '+ftc«po2+' '+puentel+' 'union="if valor>=1000
union=' iil 'endifif valorl=0
centa*' 00/100'else
if valorl<9.?9?9centa='0'+strívaIorl)ÍI0}+'/1001
elsecenta=5trívalDrl,2,0)+'/ÍOO'
endifendif
5egunda=tcaípo4+' ' ' '+puente2+' '
12= Une a13="if 1 en ( linea )>40
U*Hibstr( línea, 4í , len(IinBa|-40)pos=atí' ',)!)12=5ubstr{linea,t ,40+pos}
if lefiíiinea) > 41+poi13=substr( linea, 41+pos,len(linea)-40)
endifendif
bUnco=space(¿0)12=5Ubstr(12+blancD}l,55)n=substrfl3+blanco,l,55)•es=ionth(fechaeii)Bes='H'+ltrU(str(ies,2,0}j
sucres
ino=str[year(fechaeii},4,0)if ionth(fechaeii)=12
•es-'Dicieibre'I4=substr(ciudad+', '
else14=substríciuda£(+'( '
endif
de r
' de '+ano+bUnco,i,55í
05/18/93 CLflVE.PRB p¿ge 2020:26 Copyright, UNIVERSIDAD CñTQLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
niensl=' 'aensl='üsijario FÍO autorizado'Í2i,3fl 5¿y 'Clave'set confira enset cantoie offaccept to clavesset consolé on
ciavea=Lpper(clavea)clavea=Eubstr(clavea,l,Íj)seí cclof toset confira offsele 1use arcti99 inde;; inda9901
do cor, verseet claveenif eof(¡
set color to623,30 sayset color to
quitelse
public varC'l, var02, var33, varúí, varOS, várOS, aens,«ers='Usuaric no autorizado'nsca =epa:e(15)varCÍ-spaceílC)varOZ=space(10]
varO*=spacetlOJvarOj=space(10)
usua =var01=arch99->ajant
var03=arch99-)cori5varP4=¿rch99-)repovar05-¿rch99->otravar06=arcft?9->procrettírn
endif
05/18/93 COMDOS.PRSCopyright, UNIVERSIDAD CATDLICft DEL ECUfiDQR, 1993
CONTROL DE NOMINA
Page 21
1 Programa: Coiandos del DOS
u='C'do while ,t.
clearset coló to g80,0 say versionO-t' MicroSoft "EXIT* Para Retornar ai Sistema'set coló to
set inte oífÉl, O say u*':\>* geí c pict '?!'set inte onreadif c=spac(40)
loopendiif tria(cí='EXir
BJíít
endiif c='A:'.or.c='C:'.or.c='B:'.or.c='D:
dos=tria(c)'¡(dosu==ufcs{c,l,l¡¡QOp
endidos5triitic)!Jdos
en dúoreturn
05/18/93 CÜNSiOQO.PRG Page 2220:27 Copyright, UNIVERSIDAD CftTOLICft DEL ECUADOR, 1993
CONTROL DE «NA
I Consulta de rol histórico accesado par codigojíclearrestore screen froa paOÍeele 6use arch30 índex indaSOO! alias a¿do pariUQ5¿do pantiOSI
cenan =spacE(6)pri*ero=0set procederé to cálculos5W = 0
opc:on='iíESl=' '
paso=0do «hile .t.
public Bueldoa, responda, antigu, costovid, subsfaffl, subsedapublic álese, ingresos, egresos, recibe, íngresol, egrese!, recibelopción ='C'if pritr.pro-0
62,24 get conau picture '§!'read
else§2,24 say a6->CQdiga_n5W=1
endi f¡f í'í' í ccnáj) .or. {'!' J conau}
save screen to pant002do aant025conau=spaceíó)restore s:reen froa pant0025W-0
íoopendiíif ccnau = space[6)
cióse procedureif tipotr = 'A'
sele fause archO¿ Índex indaO¿01 alias a6
endifif tipotr = 'Br
sele 6use archlíi índex irtdaUOl alias aí>
endifif tipotr = 'C '
sele ¿use archi7 índex inda!701 alias a6
endifreturn
endif
05/18/93 CDNS1000.P8G Page r,20:27 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQHINft
seiect 6set orcJer to 1
i f e o f í )set color to ni£23,1 say 'Error Ccdigojí no existe'set color towáií ' Presione una tecla para continuar'§23,0124,0loop
e n d i isave screen te panOl5Ȓ=0
do Hhile ,t.tipo_rol =de, case a6-)tipo_novicase a¿->tipo_ísovi = ' f i 1
tipo^roí = 'Mensualcase a6-)tipo_movi = 'B '
case a6-)t:po_BOvÍ = 'C'tipD_rcl = 'Liijuidaciones
?3, say a§3,24 sa/ aü- )noEbre§3,70 say a¿-)fecha_ing6 4 , 2 4 say a6->ncnjiuesto84,69 say a6-)suelda§5,9 say tipoj-ol65,51 say a¿-)ania§5,76 say a6->partida§23,0
65,64 say aesi picture 'II'
borrado='N'rango=' '822,0 to 22,80«7,11 say a6->diasdo con s 1220tío aenslÜOlrango='RSC'do while .t.
Í23,75 get opción picture '!readif opción $ rango
exite] se
r_n i—> s-z
--H Oí Q. OJ
05/13/9320:28
CONS1220.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHINA
Paga 25
t Cotienzo de visuaíizadon de datos
88,11 say a&->ing01 picture89,11 say a&->ing02 picture§10,11 sa/ ¿¿->ing03 picture311,11 say ai->ingC4 picture812,11 say a6->ing05 picture§13,11 say a6->ingO¿ picturesueldoe =a6->intj01responsa=a¿-)ing02¿iitigu =afc
picture 'picture 'picturepicturepicturepicture
1111111.18-tmiH.tti«tiltil.ttHHIH.HItlIHt.HIHMH.ir
subsfan =a¿-)ing05subsedu =a6-)ing06§8,11 say saeldoa§",11 say responsa§10,11 sa/ antigu611,11 say costovid@12,11 say subsfai@13,11 sa/ subsedu
litliit.it
514,11 say aó-)ing07 pictureg!5,11 &ay a6->ingCB picture816,11 say a6-)íng09 picture617,11 say a6->inqlO picture318,11 say aírHnqil picture«19,11 say a6-)ingl2 picturerOjll say a6->ingl3 pictureí2í,]l say a6->ingl4 pieture§8,31 sa/ a¿-íingl5 picture "Í9,31 s^y a6-)inqi6 picture '§10,31 sa/ aó->ingi7 picture§11,31 say a6~>ingl8 picture§12,31 say a6->ingl? picture613,31 say a6->ing20 picture§14,31 say a6-)ing21 picture§15,31 say a6-)ing22 picture@16,31 ssy a6->ing23 picture617,31 sa> a6->ing24 picture318,31 say a6->ing25 picture819,31 Sd'f aó->ing26 picture920,31 sa/ aír>ing27 picture§21,31 say a¿-)ing28 picture
< Egresos
HHHf.il'HIHH.it''Hiltil.H
ittHH.HHHHt.H'ltttltl.ltHtliH.itHHHt.HIIIHII.lt
'HHHt.H'IIISIII.lt
SStllll.ll"
HHHI.üi'
HHHI.ii'ItHHI.H'HHHi.lt'ttIHHi.li''Í#HHi.H'ttHHt.H'HtHSt.HHiftttl.HIttttlt.tt
' lftfltft.lt '
'HHHt.H'
67,51 say aír>egr01 picture 'HtitH.H'68,51 say a¿-)egr02 picture 'tiitHt.tH'«9,51 say a6-)egr03 picture 'HtHH.tr610,51 say a6-)eqr04 picture IHItO.it§11,51 say aír>egrQ5 picture 'IHHH.H'
05/18/9320:28
CQKS1220.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHIHñ
Page
«12,51 say a6->egr06 picture 'HiHH.H'913,51 say a¿->egr07 picture IHtW.tl814,51 say ai->egr08 picture W Wt.it§15,51 say aó->egr09 picture IflWl.lf816,51 say a¿->egriO picture HHHft.H'817,51 say a¿->egrü picture HHHf.H818,51 say atr>egrl2 picture HIHH.H'«19,51 say aír>egrl3 picture IHHH.H&20,51 say a¿-)egr!4 picture ÍIIHH.ttl621,51 say a6->egr!5 picture 'HHIH.lt'«7,70 say aó->egrí¿ picture '»«#».«'98,70 say 3É»->egrl7 picture
é9,70 sa> afi->egrlB picture310,70 say a¿->egrl9 picture 'HHtH.H'fill,70 say a6->egr2Q puture 'HHIH.H'§12,70 s¿y a6->egr2i picture l í ítfiíí . í*«13,70 say afi->eqr22 picture 'IttftH.H'§14,70 say a6->egr23 p ic ture 'llllllf.K'615,70 say a¿-)egr24 picture 'HHiHJI'916,70 say a¿->egr25 pic ture 'HHOf.if8J7,70 eay a6-)egr2¿ picture 'HHHt.ilt'919,70 say ai->egr27 picture 'IttHiHjr«Í9,70 say aá->egr2S picture 'HHIII.II'§20,70 say a¿-)egr2V pic ture 'HIHH.lt»1
621,70 fcd/ af i->egr30 p ic tu re ' IHIHI. i l 'do ingresaldo egreso!de recibe!«22,10 say 'Ingresos '922,20 say ingreso! picture 'HHfif .H'622,33 say 'Egresos '322,42 say egresol picture 'HHHt.H'«22, ¿2 say 'Recibe '822,70 say recibel picture 'IHHH.H'
t Fin de visuai izadon de datos
05/18/93 CONS200.PRG Fage 2720:29 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOH1NA
í Consulta de rol aceesado por código
clearrestare 3creen froa paCido pantC52tío pantQ51
IlaiB¿da=l
coríáux=5pace!5)conau = E p a c e { ¿ )priiero=0set procedure to cálculos5 W - 0
opcion='iíesl='pasosodo wtiile .t.
publi: sueldo*, responsa, antigu, costovid, sufasías, subssdupublic aíess, ingresos. Egresos, recibe
do while (SM = 0)opción =T'if priifierD=0
63,9 get codaax picture 'f i ! 'read
else33,9 say a¿-)codigo
SB=I
endif
if t'C $ codaux) ,or. ('/' J codaux)
save screen tu pantQOZdo aant025codaux=space(5J
restore screen fren pant002sw=0
loop
endif
if codaux = space(5)cióse procedurereturn
endif
select 1set arder to 1seek codauxif eofíJ
set color to MÍ
Í23,J say 'Error Código Gruco no existe'set color to
Presione una tecld pa-a continuar'
05/18/93 CQNS200.PRG Page 2320:29 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NORINfi
823,0324,0loop
elseif deleteí)
set color to wt823,1 say 'Registro personal borrado favor;
reactivar desde uanteninienta de archivas'set color towait ' Presión? una tecla para continuar'«23,0624,0loop
else823,0pri«ero=lexit
endífendif
enddo
save screen to panOl5H=0
do Nhile .t.
el¿ve2=sl-}puestoselect 2seek clave2if eof£)
set color to «1S23,i say 'Error Código de puesto no existe'set color toH¿it ' Presione una tecla para continuar'«23,0824.0loop
endifclave21=al->tipo_trabaselect 4seet clave2íif eofíí
set color to M!623.1 say 'Error Código tipo de trabajador no existe'set color to«ait ' Presione una tecla para continuar'Í23.0824,0loop
endif82,24 say al->codigo_n83,24 say al->nonbre
05/18/93 CON32QO.PRS Page 2920:29 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
83,70 sa/ al->fecha_ir.g84,11 say ai->píiestD£4,24 say a2->descripcia£4,69 say a2-)$üeldD85,8 say al->c_fat picture "II@5,22 say ai->c]&5t picture "II"§5,42 say al-)grupo_ies5@^,57 say al-/típo_traba
tttlte::,ccodigc3-5pace(7)cocí igc3=5ubstr(cadau}¡, l j5 i*-sub5tr( íae5Í I l í2)nuevo= 'N 'if paso = O
select 6¡ocate for (ai-ícodigo = 5ubstr(codigo3,l,5))paso=l
endif í paso
95,64 say seal picture '»# 'i f e o f ( i
nuevo='S'623,1 say 'Transacción sensual no existe'anadir='«ait '§23 ,0priiero=0exit
ehe
aien5aje=space{50}borradD='N'
select 6if deletel)faorracio='S'do *ens002rango='ftCRS'
endifdo Hhile .t.
822,0 to 22,80if borrado - 'N'
do Hhile ,t.if DpdorF'M' .and. 5ubstr(var02,l,l) = 'S'
«7,11 get ai->dia5read
else87,11 say a6->cfias
endif
T - d9 PUas
,8, = uoiDdo
diijs9 pajas
,3, = uopdo
xnppD3=nepo:
.5. = (T'z^OJMjJWis -pue- ,g, = uopda ITcppua
doojdo85 [3
xauondo T
'V 9IT4*1 °P
,S. O ope-JJOQ H
OZ2SU03 OP
mmtiti
j.ipuaOTZSU03 ap
do ¿i
OppU3
tíNIHON 30 10aiNG3
16/B1/5C
05/18/93 CQMS200.PR6 Page 3120:30 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQHINA
if baft)return
endifcodaux=a6->codigoexit
enáiiif opción = 'B'
select bdeleteborradD='S'exit
endifif opción = 'A'
recaíexit
endifif opción = 'd'
exitendifif opción = '5'
returnendif
en ¡id oendifrestare se re en froi panOlif opcion='C' .or. opcion='R'
exitendif
enddoenddo
05/18/9320:30
CON5210.PRSCopyright, UNIVERSIDAD CflTDLICfl DEL ECUADOR, 1993
CONTROL DE NDfííNfi
Page 32
I Cotienzo de ingreso de datos
if (al->tipo_calc = 'H r .or. tipotr = 'B' .88,11 get a6->ingGl picture "HHtit.liT§9,11 get at->ing02 picture 'IIIHM.**'110,11 get aó-.>ing03 picture811,11 get a6-)irig04 picture812,11 get a6-)irig05 picture813,11 get aó-/ ingOü picturesuelden =a¿-;-ing01responsa=a¿-)ing02antiau =a¿-
or. tipotr = ' C ' í
Hita**.»IHHH.H8HHit.tr
elsede sueldosdo respcrisado antigudo cüstovíddo subsfaado subssdudo 9155Ü
ÍB,li say sueldos69,11 say responsaS10,ll say antiguíll,ll say costovid@12,íl say sub^fai613,11 say subsedu
endif
picture 'picture IIHHil.picture 'tlllitipicture 'HliHtpicture 'HHHipicture 'HHHi
tl.il.M
214,11 get a¿-)ing07 picture '»l»Ht.ii'815,11 get a¿-)ing08 picture 'HHtii.H'«16,11 gst aó->ing09 picture HtiMt.tl«7,11 get aó->inglO picíure 'Htl»i.lf918,11 get a6-)ingll picture íUliM.H619,11 get aA-)ingl2 picture «Htltl.il820,11 get aó->íng!3 picture IIHtH.lt«21,11 get a¿-)ingl4 picture Hlttll.tt88,31 get aó->irgl5 picture "IHHtt.tr89,31 get aó->ingI6 picture HHH4.H«10,31 get a£>->ing!7 picture ItHlH.tt811,31 get a¿->ing!8 picture ttttltl.it612,31 get a6-)ingl? picture IHIHf.H813,31 get a¿~>ing20 picture tlttlH.tt814,31 get a¿->ing21 picture 'HtHH.H'815,31 get aó->ing22 picture 'IIHHt.lt'eíó,31 get a¿-)ing23 picture 'ilttttt.H817,31 get a6->ing24 picture 'HHHI.H'818,31 get a¿->ing25 picture fltlHH.t»!819,31 get a¿->ing26 picture ItHHt ti
I05/18/9320:31
CONS210.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
Paqe 33
620,31 get a6->ino,27 picture 'illiltf.it'«21,31 get a6->ing28 picture 'ittiiit.it'
I Egresos
if {al->tipo_calc = 'U* .or. tipotr = "B' ,or. tipotr = 'C'§7,51 get a6->egrQi picture tiiilit.H
else§7,51 say aiess picture HMtlt.lt
endifas,51 get a6->egr02 picture 'ütiitt.ii'§9,51 get at-)egr03 picture IIÍI*ll.ftÍ810,51 get a¿->egr04 picture «ti*til.i*«11,51 get a¿->egr05 picture flMWt.ttr012,51 get a&->egrO¿ picture ItWH ft!fiJ3,5i yeí a¿->egr07 picture «lililí.If§14,51 get a6->egr08 picture 'ItitMi.Sf615,51 get a¿-)egr09 picture 'UHftti.tt'516,51 get a6->egr!0 picture tltttll.lt617,51 get ¿6->egril picture tHlltt.tt916,51 get a6-)egr!2 picture 'ttiitii.tr§19,51 get a¿->egr!3 picture USHtí.tl320,51 get aó->egrH picturu '«llliti.H1
§21,51 get a6->egr!5 picture 'ttHHI.tt'§7,70 get a6-)egrl6 picture ttltttlt.ttf@8,70 get a6-)egr!7 picture 'IHDttt.ll1§9,70 get a¿-)egrlB picture tttttltl.t*§10,70 get a¿-)egrl9 picture ttlHtt.lt§11,70 get a6->egr20 picture§12,70 get a6-)egr21 picture§13,70 get a6-)egr22 picture 'ittifit.ii'§14,70 get a¿-)egr23 picture IttíHMt515,70 get a6->egr24 picture 'ltliitt.lt'§16,70 get a¿->egr25 picture ttttllt.tt§17,70 get a¿-)egr26 picture 'Itlliti.ir§18,70 get a6->egr27 picture llltltl.tl819,70 get a6->egr2B picture 'tliltti.il'«20,70 get a6->egr29 picture 'Ittiili.tf§21,70 get a6->egr30 picture ttttttl.Mreaódo ingresosdo egresosdo recibe122,10 say 'Ingresos '622,20 say ingresas picture llttttt.lt622,33 say 'Egresos '622,42 say egresos picture IIIHIt.ft622,62 sa/ 'Recibe '622,70 say recibe picture IHIfttl.1»
t Fin de ingreso de datos
I05/19/93 CQNS2IO.PRS Page20:31 Copyright, UNIVERSIDAD CfiTQLJCfl DEL ECUADOR, 1993
CONTROL DE NOMINA
05/18/9320:31
CQN522G.PRSCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHINfl
Page 35
I Colienzo de visualízacion de datos
if al->tipo_calc = 'H' .or. (tipotr = 'B' ,or. tipotr = 'C'«8,11 say a6-)ing01 pkture 'tüHti.!!*19,11 say a£r>ing02 picture «SIHH.lt110,11 say ai->iftg03 picture iiitilt.lt«1,11 say a6->ingQ4 picture SMISIt.tr§12.11 say aír>ing05 picture liftftH.li«3fll say a¿->ingü6 picture 'tlllttf.tt'sueldoa =aó->ing01respcnsa=a6->ifigQ2
tlsedotío responsado antigudo costo viddo Eubsíáado subsedudo aiess«8,11 say sueldon69,11 5áy responsa@10,11 say antigu§11,11 say costovid«2, 11 say subsfai«3,11 say subeedu
endif
picture IÍ9JW.Mpicture tmilí.tlpicture 'HtiitH.lt'picture 'ltttftli.lt'picture MtWt.13picture 'ttttttl.lt'
114,11 S5v ¿¿->ing07 picture •tittttt.it'«15,11 say a6->ing08 picture 'tlttttt.tl'«16,11 say aÉr>ing09 picture MtSitt.GI«17, n say aó->inglO picture 'tltttit.lt'«18,11 say a6->ingll picture 'Itttttt.tt'§19,11 say a¿-)ing!2 picture 'ttttttl.tt'520,11 say aó->ingl3 picture lllltH.lí«21,11 say aé->ing!4 picture 'ttttttt.tt1
«8,31 say aó->ing!5 picture "tttttlt.tt1
«9,31 aay a¿-)íngl¿ picture 'ttflfft.tt'«10,31 sav aírHnglT picture IMtttt.ltSil, 31 say aó-)ingl8 picture 'ttttttt.tt'«12,31 say a6->ing!9 picture MMIM.M«3,31 sáy *6~>ing20 picture MtMM.M«4,31 say a¿->ing21 picture 'ttttttt.tt'«15,31 say a6->ing22 picture 'ttttttt.tt'«6,31 say a6-)ing23 picture ItlIMt.M«17,31 say ai-)ing24 picture 'ttttttt.tt'«8,31 say a¿-)ing25 picture 'HHtttJt'«9,31 say a6->ing26 picture 'ttttttt.tt'
05/18/9320:32
CQNS220.PRGCopyright, UNIVERSIDAD CATÓLICA ffiL ECUADOR, 1993
CONTROL DE NOMINft
Page 36
820,31 say a6->ing27 picture 'IHHH.H«21,31 say a6->ing28 picture 'ilillH.il'
t Egresos
jf ál->tip3_calc = 'H' ,or. (tipotr = 'B' .or. tipotr = T)«7,51 say a6->egr01 picture 'HiHH.it'
else67,51 say aiess picture 'Hiiili.H'
endif«8,51 say aó->egr02 picture 'ttittti.H69,51 say a6->egr03 picture 'HHHi.H'610,51 say aír>egrQ4 picture 'HHHi.H'«11,51 say aá->egrí>5 picture 'HHHI.H'612,51 3ay a6->egr06 picture 'IHHH.H'613,51 say a6->6yr07 picture 'HiHH.H'@H,51 say aé->egr[18 picture 'HHHi.H'015,51 &ay ai-)egr09 picture 'HÍHH.H'616,51 say a6->egríG picture 'HHIH.ir017,51 say a¿-)egrll picture 'HHHi.H'618,51 say a6->egrl2 picture 'IIHHt.H'§19,51 say afi-)egrl3 picture 'HHIH.4I'@20,51 say a£->egrH picture HMIM.ttt621,51 say a6->egrl5 picture 'IHHH.it'EVO sar ¿¿->egrl¿ piciure IStIMI.íí6S,70 say a6->Egrl7 picture "HHÍH.H1
@9,70 say a6->eqrl8 picture 'IHHH.H'£10,70 say a¿-)egr!9 picture 'IHHH.ii'§11,70 say a6-)egr20 picture 'HHHI.H'§12,70 say aó->egr21 picture 'HHHi.H'613,70 5¿y a6->egr22 picture 'HHHI.H'gH,70 say a6-)egr23 picture 'IHHH.H'ei5,70 say a6-)egr24 picture 'HitHl.H'«16,70 say aí>->egr25 picture 'HHHi.H'817,70 say a6->egr26 picture 'IHHH.H'«16,70 say a¿-)egr27 picture 'lHIIH.lt'619,70 say a6->egr28 picture 'HHHi.H'620,70 say a6-)egr29 picture 'iliitH.H'§21,70 say ¿é->eqr30 picture 'HHtH.li'do ingresosdo egresostío recibe622,10 say 'Ingresos '€22,20 say ingresos picture 'HHttt.tlT622,33 say 'Egresos '622,42 say egresos picture 'HHHI.H'122,62 s¿y 'Recibe '622,70 say recibe picture 'IHHH.ttr
> Fin de visualizarían de datos
05/18/93 COMVER.PRfi Paqe 3720:32 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQHINA
clave=davealetra*' •i=ldo «Míe i <= 6
letra=substr(clave,i,l)jf ascíletraí 4 110 > 256
val o=0endifcUveen = claveen + chr(asc(letra)+valo)i = i + 1
enddo
05/18/9320:32
DEC1MQ3C.PR6Copyright, UNIVERSIDAD CftTOLICfl DEL ECUADOR, 1993
CONTROL 0E NOMINA
Page 38
if al->tipo_calc =*'H'sueltfcm =a6->ingQlresponsa=a6-)ing02antigu -a6->ing03castovid=a6-)ingOAsubsfai =ai->ing05subsedu =aó->ing06aiess =a6->Egr01
elsedo sueldoido resporisado antigudo costovittdo subsfaido subseduda aiess
ertdif
valor! = sueJtíoa + responsa + antigu +
05/18/93 DECIH03S.PR6 paQ2 1920:33 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHINA
set confín onclearrestore screen fro§ paOlÍ2,l say 'Calcular el Déciao Tercer Sueldo'$4,20 to 8,6185,22 say 'Monto Déciao Tercer Sueldo Fijado es '$¿,22 say 'Ingresos anuales, Sueldo, Antigüedad '$7,22 say 'Responsabilidad, S.Faiiliar / 12valor=069,20 to 12,61opc=0set procedure to cálculosdo Mhile ,t.
püblic sueldoi. íntigu, responsa, subsfan, subsedu, costovid«10,22 proipt 'Rol Mensual§11,22 proept 'Rol Retroactivo/Sobresueldo 'isenu ta opcdo case opccase opc = O
set confirn offreturn
case opc = 1ex i i
case opc = 2exit
endcaseenddocor,= 'ND'§13,22 say 'Continua Proceso <SI/NO> 'do «hile .t.
113,47 get con picture ' ! !'readif con = 'SI' .or. con = JND'
exitelse
con = 'NO'endif
enddoset confiri offif con = 'NO'
return
set color to U124,54 tí? 'Procesando...'set color tonmre=0sel e 1count to nuireconta=0•esa*' '»esa=ltrii(str(»onth(a8-}fecha_rolj f
05/18/93 DECIRQ3S.PR8 Piqe 4020:33 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHINA
if lenííesa) = i•esa = 'O' + lesa
endifestado=0if opc = i
sele 1go topdo Hhile .not. eof()
conta=conta+lestado=contatlOO/nuire824,50 say round(estado,0) picture 'III'Í24,53 say Tclavea=space(7)elavea=al->codigo + lesasele 2seek dispuestosele 4seek al->tipo_trabavalorl=0do deciio3csele ¿use arch30 Índex inda3001 alias a¿>set filter to (a6-)anio = year(afl-)fecha_rol]Jseek il~JcodigíMivalor2=0do «hile .t.
if (.not. eofOÍ .and. Ul->codigoji * a¿->codigo_nívalor2 = valor? + a6->ing01 + aé->ing02 + a¿-)ing03i
* afc->ing05else
exitendifskip
enddoif valorZ » O
valor = valorlelse
valor = (valorl + valorZ) / 12endif
sele t>use archOó índex indaOtOi alias a6seek claveareplace a¿-)íng25 Mith valorvalor = Osele iskip
enddoendif
if opc a 1
05/18/93 PECIM3S.PRS Page 4120:3J Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQHINft
sele 6use archló índex indáliOl alias a¿sele Igo topdo «hile .not. eo f ( )
canta=conta+lestado=contatIOO/nuire824,50 say round(esUdo,Ol pie tur e 'til'«24,53 say Tclavea=space(7)clavea=*l-}codiga + usasele 2seek al-)puestoselp Aseek al->tipojrabavalor 1=0do decno3csele 6use arch30 índex indaZQQl alias otset filter to (a6->at»io = year(a8->fecha_rol))seek al->codigo_nvalor2=0do Mhile .t.
if í.not. eofíí ] .and. íaí->codigo_n * ab->cQáiqoji}valor2 = valor? + a6->ing01 + a6->ing02 + a6->inq03;
+ a6->ing05e I se
exitendifsup
enddoif valor2 = O
valor = valorlelse
valor - (valorl + valor2) / 12endifsele 6use archU índex indaUOl alias atseek claveaif eof()
append blankreplace aíi->co<tigo nith al-)cadigoreplace a6->codigo_n nitfi al-)codigo_nreplace a6-)fecha_rol dith a8->fechaj-o!replace a6->tipo_iiovi «ith 'B'replace a6-)ies (tith íesareplace aó->dias Mith 30replace at->ing25 Mith valor
endifreplace a6->ing25 iiith valorvalor = O
05/1B/93 D£CI«Q4S.PRG Page 4320:34 Copyright, UNIVERSIDAD CñTOLICfi DEL ECUADOR, 1993
CONTROL DE HOKIKA
set confina onclearrestore screen frot paOi82,1 áay 'Calcular el Déciao Cuarto Sueldo'04,20 to 7,¿1?5,22 ¿ay 'Mon t o Dedeo Cuar to Sueldo '06,22 say ' Valor a pagar '
•.'alor=¿3->Sííeláoffiñ I 2?5 ,5G say v a l o r p ic ture 'I»»,»»*.II'§¿,55 get valor pícíure ' fff ,tftf .Jf'
53,20 te 11,61
39 ,22 proiipt 'Rol Hensual210,22 prcispt 'Rol Retroact ivo/Sobresueldo 'jr;enu to op:
íáss opc = Osc t canfiri of frelurn
:as? opc - 1
•;.ase opc =
?i:,2r sa/ 'Continua Proceso <SI/ND> 'd: while ,t.
§•2," get con picture ' ! !'readíf con = 'SI' .or. con = 'KO'
sisecan = 'NO'
endifenddoset confira offif con = 'NO'
returnendifset color to tw824,34 say 'Procesando.,.'set color toif opc = 1
sele 6use archO¿ índex indaQ&Oi aliasreplace a l l a¿->ing26 Nith valor
endif
05/18/93 ÍECÍXQ4S.PRS page 4420:34 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL BE NOMINA
•esa=aesa=ltrii(str(«ionthía8->fecha_rDÍ),2,Onif lendesa] = i
•esa = 'O' f aeaaendifif opc * 2
sele 6use archli índex índalóOl alias a¿sele 1do while .not. eoftí
davea=space(7)al-kodiga + aesa
6seek el a veaif ecfí)
append bhnkreplace ab-ycodigo «ith al->ccdígoreplace a6->cadi90_n with ál->codigo_nreplace a¿-)fecha_rol tíitíi áreplace a6->tipQ_fiO¥Í «ith 'B'replacB a6-}aes with aesareplace a6->dias Hith 30
endifse!e I
enddosele óreplacB al] a6->ing26 with valor
endif
if tipntr = 'A'sele 6use archOá índex indaOiOl alias a¿
pndífif tipotr = 'B'
sele 6use archíi índex indalbOl alias a¿
endifif tipotr = 'Cr
sele éuse are tú 7 índex inda!701 alias a?
endifreturn
05/19/9320:35
DECIH055.PÍÍ6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
'age 45
set confina onclearrestare screen frna paOl62,1 say 'Calcular el Décisio Quinto Sueldo'*4,20 to 7,61£5,22 say 'tonto Decían Quinto Sueldo 'íb, 22 ssy ' faJor ¿ pagarvalor =5
65,50 s¿y aB->v_d_quinto pictüre 'tH,ltt.H'S¿,50 get valor puture tlIJIi.ttSreád68,20 te 11,61
CD «Mis .t.69 ,22 prjflpt 'Rol Mensual610,22 proapt 'Rol Retroactivo/Sobresueldonenu to apcde case apccate op: - O
set cünfirc offreturr-
case op: = 1e-.it
case cpc = 2
en ti doc:n='í<G'SÍ2,22 5áy 'Continua Proceso <S!/Nfl>de «hile .t.
812,47 get con pícturs ' ! :'reatííf con = 'SI' ,or. con = 'NQ'
exiíelse
con = 'NO*endif
e/i d doset confiri offif con = 'NO'
returnendífset color to »N624,34 say 'Procesando../set color toif opc = 1
se] e ¿USB arch06 índex indaOóOl alias a6repJáce all a¿-)jng27 Kith valor
endif
05/18/93 DECIl IQSS.Pf lG Page 4620:35 Copyr igh t , U N I V E R S I D A D CATÓLICA DEL EC'JflDQR, 1993
COMTROL DE N O K I N A
n B 5 a = l t r i f l ( 5 t r U o n t h ( a 6 - ) fechado!) , 2 , 0 ) ]if JenUesa) = 1
aesa = ' O ' t íesaendifif opc = 2
sele ¿use archlá índex indaUOl alias a£>sele 1do «hile .not. eofl)
mesaseíe 6sefik c laveaif eof í !
append bhnkreplace aá-kodigo w í t h a í ->codÍQDreplace a6-)cadigc_n ni th ai-)cadÍQc_nrep lace a6 - ) fecha_ro l w i t h aB->fecha_ro lrep!¿ce a6->t ipQ__Bovi with 'B 'r e p l a c e aireas with aesarep lace aír>dias wi th 30
e n d i fsele i
sele 6replace aJl ¿6->ing27 with valor
endif
if tipotr = 'A'sele óuse a re ti 06 index índa0601 alias a6
endifif tipotr = 'B1
sele ¿use archl¿ índex indaliOÍ alzas aó
endifif tipotr = 'C'
sele t,use arch!7 índex inda!701 alias i7
endifreturn
05/19/9320:35
BECIH06S.PR6Copyright, UNIVERSIDAD CATÓLICA Da ECUADOR,
CONTROL DE NDKINft
Pace 47
set confiriü onclearrestore screen froi paOl82,1 say 'Calcular el Déciía Sexto Sueldo'g4f20 to 7,61£5,22 say 'Monto DÉduo Sexto Sueldo Fijado 65£6,22 say 'i/2 del sueldo del eapleadoyaior-038,20 ts U,61
de whi]e . t.£9 ,22 proapt 'Rol Hensua!610,22 proipt 'Rol Retroactivo/Sobresueldo 'fienu ío opt¿o Lase opccase opc = O
seí ccnfira offreíjr.T
cose opc = 1exit
case cpc ~ 2exit
enddoccn= '
812,22 say 'NúserD de612,39 geí «eses picíure '8'read§13,22 say ' C o n t i n u a Proceso < S I / N O >do wf i i l e ,t.
813,47 get cotí picture '!!'readif con - 'Sí' .or. con = 'NO'
exiteise
con = 'NO'endif
enddoset confirt offif con = 'NO'
returnendifset calor to tu«24,34 say 'Procesando...'set color toif opc * 1
sele 6USB archOí> índex indaO&Oi alias a6sele 1go top
05/18/93 DECIHOW.PRG Page 4820:36 Copyright, UNIVERSIDAD CATÓLICA BEL ECUflDQR, 1993
CONTROL DE NOHINfl
do Nhile .not. eof()sele 2seefc al->puestoíf .not. eof(]
valor = 1/B í a2->sueldoif valor < 10000
valor = 10000endifvalor " valor t aeses
endifsele 6lacate for a¿-)coilÍ30 = al->codigoif .not. eof()
replacE a6-/ing2B «ith valorendifvalor = Osele iskíp
enddoendifeesa='ttesa=]triiiÍ5tríiionth|aB->fecha_rol),2,0))if lenfíesa) - 1
aesa ='!)'*• aesaendifif opc = 2
sele ¿use archió índex indaliOl alias a6sele 1do «hile .not. eofO
clavea=space(7)clavea=al-)CDdigo + «esasele 2ssek dl-)puestoif .not. eof(í
valor = 1/8 t a2-)sueldDif valor < 10000
valor = 10000endifvalor = valor I teses
endifsele 6seek claveaíf eof()
append blankreplace a6-)codigo *fith ai-)cod:goreplace a6-)codigo_n with il->codigo_nreplace a¿->fecha_rol wiífi a8->feeba_rolreplace a¿->tipo_íovi «ith 'B'replace a¿-)ies with «esareplace a¿-)dias
05/18/93 DECIHD6S.PR6 Page 4920:3é Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHINA
replace a¿->ing2B nith valorendifreplace a6-)inq28 with valorvalor = Osele 1skip
enddoendif
if tipotr = 'A'se le 6use arch06 índex indaOéOl alias a¿
endifjf tipotr = 'B'
sele 6use archU Índex indaUOl alias a6
endifíf tipotr = T
sele 6use archi? índex inda!701 alias a?
endifreturn
&5/1S/9320:36
ERRORES.PR5Copyright, UNIVERSiDfi!} CATÓLICA DEL ECUADOR, 199:
CONTROL DE NO*!NA
Faqe 50
ntiierr=Caenerr=' 'fuente2' 'progra='
nuflerr = error( ]•enerr = íessagef}fuEnte = aessage(l)Iprcgra =set color to bgí 9,9 to 14,71 clear@ 9,9 to 14,71 double610,10 say 'Error Husero :'610,25 say nuaerr§11,10 say 'Tipo de error :'§11,25 say aenerr§12,10 say 'Cosando§12,25 say substr(fuente,l,45fset color toif nuaierr = 12?
set print offenáil
set escape ondo whüe .t.
if jk=600sel color to N(@13,22 say 'Por Favor Ingrese Nuevaaente al SISTEMA'§15,0Haitqüitexit
else
endifenddoset color toif nuaerr = 3
qaitendif
05/18/93 FIRMAS.PR6 Paqe 5120:37 Copyright, UNIVERSIDAD CATDUW DEL ECUADOR, 1993
CONTROL DE NOHINA
es=5pace(30)val ^'Elaborado y calculadova2 =' Revisadova3 ='va4 -'va5 ='va¿ ='
va7 =' Visto Bupnova8 =' Pagadova9 ='valQ='vall='«12='
Autorúado ;va!4=' Fecha ¡va!5=' '+aB->jefe
, val,es(va2?£paceí40),va3fes,va4?space(40),va5,es,va67?space(4D)lva7,esfva8?5pace(40),va9,ES,valO?5pacB(40),vall,B5,val2
?space(40),val5?spacei40),vaU
05/18/93 INICIO.PR6 pagB 5220:37 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHINA
seí tal* offset status offset escape onclear leaoryset function 2 ta 'set bell offset score offon error do erroresdo pdo clave824,28 say '.... Espere un «oiento ....'cióse alldo areatrapubUc paOl, cul(60)( cai2(60), 11, 12, 13, 14, tipotr, noitrpublic opstipotr='A'do tabla02cleardo uscarado «enu
05/18/93 UST01Q.PRG PagB 5320:37 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
I Seleccionar grupas de aporte
select 3con ta 1=0count tQ contalqo topdisensión detalleteontai)dinension pat(contal)i=ldo nhi le K=contal
deta l le ( i )=a3->grupD_iess+ ' '+a3->descripdo+' ' + ;sír(a3->porcentajef5,2)
pa t ( i )=a3- )pa t rona li=i+ls k j p
enddoi=l§7,4 to contdifS,45grupo=0do whi le .t.
do tthile ii(=coníaí¡f i i+7,5 proapt d e t a l l e ( i )i=i+l
enddosentí to grupoíf grupo = O
returnsise
exitendif
enddo
grupol =sub5tr(detalle(grupo},t,l)descrip=5ubstr (detalle (grupo), 3, 30 ;porce -Oporce =val(5ubstr(detane(grupD) ,34,^-1)patro =' '
select 3go topseekil tol U
£23,1 say 'Fin de archivo 3'Mit
endif
05/18/93 U5TG2G.PRSCopyright, UHIVERSIDflD CfiTOLICA DEL ECUADOR, 1993
CONTROL DE NQNINft
Page 54
restare fros sucres
ciudad='Latacunga '14=substr(ciudadv f
conan='
Bíipresa =a8->eiipre5apatrono =a8->jefecedulapa =aB-)cedulapatronal =aS->njiatronaÍrúe =a8->n_ructipopla=Ti=0
:f a3->tipo = ' f t 'i=2
elsei=12
endif
anoa=year(date(í)sesaMcese=0
set print on
?5pacefi),chrU4)Jtijíopla
' de '
?sp«ce(5l),iesi,' ' j '),' r,traíi(pag,'ft'í
?spacB(33), 'Públicos (2Í.50J
?space(l))eapresa
05/18/93 LIST020.PR6 Page 5520:38 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NDHINA
??patronal,space(3),ruc7?5pace(iO)I'COTOPAU LATACUM6A LATACUNBA
800-442'7?spacs(22),patrono,space(4),cedulapa
7?cfir(27)tchr(71),space(20))descrip,chr(27)Hhr(72j
05/18/93 LIST030.PR6 page 5420:38 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE KOKINfi
t Reporte de lista de aporte al IESS
select £>lócate for a6->codigo = al->codigoif eofU
fin06=lenditclave2=al->puestoselect 2seek clave2
clave21=al-)tipo_trabaselect 4go topseek clave21
tmmmi Inpriiir y calculardo
05/13/9320:38
UST040.PRSCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NONINA
Psge 57
i Calculo
if al-/tipQ_talc = 'H'sueldo» =a¿->íng01responsa=aír>ingí2antigu =a6->ing03costDYÍd=aó-}Íng()4subsfas =a¿-)ing05
aiess =aó-)egr(U
do sueldosdo respDfisado ¿ntigutío ccstoviddo subsfaado subsedudo aiess
endif
do ingresosdo egresosdo recibe
05/18/93 LIST100.PRB Page 5820í38 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NDHINA
í Prograia pira planillas «/iguales de IESSclearrestore 5 creen froi paOidiiension iesnoi(12)aesnoa (1) - 'Enero 'íesnoi (2} * 'Febrero 'aesnoi (3) = 'Marzo '•esnoi (4) = 'Abril '•esnoa (5) = 'Hayo 'íesnoi (6) = 'Junio '•esnoi (7) = 'Julio 'íesnoi (9) * 'Agosto 'nesnoi (9) = 'Septieibre '•esnoi (10) = 'Octubre 'íesnoi (11) = 'Novieibre '•esnoi (12) » 'Dicieibrí '«2,1 say 'Listas de aporte al IESS'
descrip='grupo=0grupol=0
nesl-space(15)•es=0anio=0aniD=year(dite(Hdiastra*3012,25 to 8,67 doublefechaaux=' / / *store ctod(fechaaux) to fechaeiistore datet) to fechaeii•essele = ' '«3,30 say 'APORTES DEL HES DE :'«3,51 get «si pict '!!!!!!!!!!!!!!!'«4,30 say 'Núwro de íes :«4,51 get lessele picture 'II'H.,30 say 'AÑO«5,51 get anio pict 'Hit'«¿,30 say 'DÍAS TRABAJADOS :'«6,51 get diaitra pict 'II«7,30 say 'FECHfi BS EHISIQN :'«8,51 say 'n/dd/aa'17,51 get fechaeiireadsave screen to pan 01anio= { (¿ruó/ 100) - int(anio/100) ) t 100anio=strUnío,2,0)do Nhile .t.
restore screen froi panOlselect 6if lessele = ' '
05/19/93 LIST100.PR6 Page 5?20:39 Copyright, UNIVERSIDAD CATOUCfl DEL ECUADOR, 1993
CONíROL DE NOfüNA
set f i l t e r to90 top
elseset filter to afi->ies = aesseleif .not. e o f ( )
if íí-'/tes í> mssseleskip 1
endifendaf
endif
do listOlO
if grupo = Oreturn
endifnro=0select íset filter to (al->grupD_ies5 = substr(grupol,l,l}}count to nroset order to 2go topif nro = O
823,1 sa/ 'No hay registros 'set filter tonait«23,0S24,0loop
endif
[tiaei)i=5tr[day(fechaeii},2,0tnesnuii=ionth(fechaeii)
cíudad='Latacunga'anioi=yearídatef}janion=space(4)
144=' '144=substrUiud»d+', '+ies+iíiaeii+' de '•fanion+í!lanco,l,35)
pag=0trabajadtipopla=T•esa=ionth(date{))
set color to N!924,33 say 'Iipriiiendo...'set color to
05/18/93 LISTIOO.PRS Page 6020:39 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHINA
set consolé offset device to print
IIIt líipriíir cabecerado Iist020til
conta=0tsueídos-Osueldoneto=0sst pracedure to cálculosselect 1
do Hhile .not. eof()public sueldoi, responso, antigu, costovid, subsfais, subsedupublic aiess, ingresos, egresos, recibe
rio Iist030
1 Cierra antes de SKIPjf (aJ-)grüpo_iess = grupol)
áo UstOW5L)eldoneto=0
antigul=antiguif (a3-)tipo = 'fl' .and. sueldoiOOJ
sueldonetQ=5ueldo» + antigul + subsfaaelse
if a3->anti O 'S'antigul=0
endifsueldoneto^sueldo* + antig.il
endif
if conta > 35
conta=0contado=ldo «hile .t.
if contado=9?' ',144CDntado=contaiío+l
else?
contado=contado+lif contado > 31
exitendif
endifendito
05/18/93 L1ST100.PRB Paqe 6120:40 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE TONA
I Iipriiir cabecerasdo Ii5tf)20Uttt
endif
tsueldas=tsueldos+5ueldonetonotbrel =substríal->noflbre, l ,2fl}
if finOi = Oconta =conta+itrabaja =trabaja+l
??tran(a6->diasf'H')ltran(5ueldoneto, '111,111'endif
endifselect 1skipfin06=0
enddo
apDrteind=0seguroses-0aportepat=0secáp =0iece =0parcial =0subtoíal =0totalt =0tipoab ='
if a3->tipo = 'A'típoab='20.50'aporteind=tsueldos t Ía3->ajjersonal / 100)5egiiroses=tsueldDS I (a3-)s_cesantia / 100)aportepat=t5ueliío5 I ía3->3_patrDnaI / 100}secap =tsueldos t (¿3-ísecap / 100]iece =tsueldos I (a3-)iece /100)
elsetipoab='21.50'aporteind=tsLeldos t {a3->a_personal / 100)5eguroses=tsueldos t U3->s_cesantia / 100}aportepat=tsueldos I /a3->a_patrojja] / J O O )
endif
parcial^aporteind+aportepatsubtotal=aporteihd^seguroses-t-aportepat+secap+iecetotal t^aporteind-t-seguroses+aportepat+secap+iece
óo ahile .t.if conta>=35
05/ÍB/93 LIST10D.PR6 Page 6220:40 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
exitelse
tonta=tanta-t-l7
endifenddo
if corta O 369
entíif?space(22),tran! trabaja,'Hi1),5pace!35)ftran(t5ueldosí'til,
MI')
x='«,»»#,!*'•"?5pace!3I!,tipoab,spa:e(30),tran{parciai,x?space(31),'5
?' ' ,144??space(31),tran(secap,x
?space(68), tran(total t ,x)?
contís=l
ICorrer papeldo Hfule .t.
if contís > 15exit
endif
enddoset consolé onset device to screenset print off«24,33 say 'sele 6set filter to
enddo
05/18/9320:40
HANTOOI.PR6Copyright, UNIVERSIDAD CflTOLICfl DEL ECUADOR, 1913
CONTROL DE NOMINA
Page 63
I Hanteniíiento archOl archivo «estrocieardo pantOOlsave aereen to pOlcadenal=r 'taáena?-' 'do cadenasec=0if llasiáa=0
CQdau=space(5Jendifcodaux = space{5)no»au-space[30)conau=space(6)pueau-space{3)
store ' / / ' to fecau
cafau=0caeau=0gruau=space(i¡tipau=spaceíl)cedau=5pace¡10)af íau=5pace(íüí
codau)
select 1opc = JC'
do «hile .t.vacU=ipn='S'84,24 say cadau picture '!if (T $ coda u) ,or. ('/'
save screen to pantOQ2do iant025codau=space(5)restore screen froa pant002Joop
endifif codau * space(5)
exitendifdo valid002if vacla£0
set color to H!823,1 say 'Error Área, Departamento no existeset color toMait ' '«23,0
05/18/9320:4i
HftNTOOl.PRBCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMIKfi
Paqe 64
loopendifselecí 1set arder to Iseek codaunu='N'if eofíí
nu='S'endif•ensa2=spacetl4Jborrado-'N'if deletei)
borrada='S'•ensa2=space(30ldo iensOOi
endifdo nhile .t.
if nu='S' .and. pri = '3'pri = 'N*op=' 'Í23,l say 'Código nuevo desea añadir <S/H)'do tfhile .t.
§23,34 get op picture '!'readif op a 'S' .or. op * 'N'
exitelse
¡copendif
enddoÍ23,0if op * 'S'
do tantOllelse
exitendif
elseif opc O 'H'
codau = al->codigonoiau = al-)noabreconau = al->codigo_npueau = ai-)puestaparau = al~)partidafecau = al->fecha_ingcafau = al->c_fa«caeau = al->c_estgruau = al->grupo_iesstipau = al->tipo_trabacedau = al->cedulaafiau = al->afiliacion
- al->tipo_calc
05/18/93 MANT001.PR6 Page 6520:41 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
endif63,24 say con a u£5,24 say nonau66,24 say pueauí?c=0select 2seek pueauif eoffj .or. deíeteO
set color to wl623,1 say 'Error en código de puestonait ' 'set color to123,0ec=l
el seset color to gr+§6,28 say a2-)descripcio«¿,¿0 say a2->sue]do picture S,ííí,JÍI.IIset color to
endif67,24 say parau83,24 say fecau89,24 say cafau picture 'II'610,24 say caeau picture «'611,24 say gruau612,24 say tipau613,24 say cedau@H,24 say afiau615,24 say cal ¿u
endif
ienos=0select 1if deieteíi
borrado5' S'endifif horrados'N'
do «ensDOSelse
•enos=22endif»s=0do Hhile .t.
if ec*lopc*'H*exit
elseopcs' '
endif
05/18/9320:42
HWÍT001.PRBCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQhlNA
Page 66
.or. opc='H' .or. opc='CJ) .and.;íopc='A' .or. opc='C'] .and. borrado='S'í
Í23,75 get opc picture '!readif fíopc='6' ,or. opc='B'
borrado='N') .or. (exit
eJseloop
endifenddo823,0if apc = 'C'
exitendifif opc = '6' .and. borrado = 'N'
if nú = 'SJappend blank
endifreplace al->codigo MÍth codaureplace al-)naibre xith noaaureplace al-}codiqo_n viith conaureplace al->puesto «ith pueaureplace al-)partida with paraureplace al->fecha_ing «ith fecaureplace al-)c_fa« with cafanreplace al->c_est Nith ca^aureplace al->grupo_ie55 with qriaureplace al->tipo_traba nith íip;ureplace al-)ceduU «itti c=d¿ ;replace al->afiJJacion «ith afi¿Lreplace al-)tipo_calc nith calauexit
endifif opc = 'B' .and. borrado='N'
opb='M'§24,1 say 'Desea borrar <5/W> ' ^et upí¡ picttireread024,0if opb = 'S'
if nú O 'S'deleteselect 6set filter to a&->cDdigo = c;dadelete allset filter toselect 1
endifendifexit
endifif opc = 'H' .and. borrado='M'
05/18/9320:42
HANT001.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
Page ¿7
do untOü
endifif opc - 'A ' .and. borrado='S'
recaíexit
endifenddo
noiau=space(30)
pueau=space(3)parau=space(3)fecau=space(9)store ' / / ' to fecaufecau=ctod(fecau)cafau-0caeau=0gruau=space(3)
cedau=space(10)
cilau=space(l)restore screen fren pOlif lUiada'l
returnendif
encttio
05/18/93 HMITOG2.PR6 Page 6920:42 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1995
CONTROL DE NOMINA
I Hantenmiento arch02 archiva sueldast use arch02 índex inda0201clearda pantOQ2
desau=space(30í
select 2opc =do xbile -t,
pri='S'£4,24 qet pueau picture 'Mí'readif pueau = space|3t
exitendifif (T * pueau) ,or. ('/' $ pueau)
save screen to pant002if [T í pueaul
do iant021else
do iant02Uendifrestore screen froi pantí)íí2pueau='loop
endifseet pueaunu='N'if eof(3
nu='S'endif•ensa2=space{14)borrado='N'if deUteO
borrado5' S'•ensa2*spaceE3C)do aensOOt
endifdo «hile .t.
ii nu='S' .and. pri = 'S'pri = 'rop*' '623,1 say 'Código nueva desea añadir S/N'do «hile .t.
123,31 qet op picture '!'readif op * '5' .or. op = 'N'
exite] se
loop
05/18/93 MftNTOG2.PRG Page 6920:42 Copyright, ÜMÍVERSIDftD CATOLICfl DEL ECUADOR, 1993
CONTROL DE NQHINft
endifenddo623,0if cp = 'S1
85,24 get desau picture '8!'«6,24 get sueau picture I, Ht, Sil. II
elseexit
endifelse
if opc O 'H'desau = descripciasueau = sueldo
entíif85,24 say desau6,24 say sueau picture 'I, til, til. tu'
endif
*encs=0if barrado='M'
doendif
do Mhile .t.823,75 get opc picture '}'readif t(opc='S' ,or. op:='B' ,or. oc:='M' .or. opcs'C') .and.;
borrado='N' ) .or. (íopc='fi" .or. opc='C'l .and. feorrado^'S'EXÍt
elseloop
endifen d tí a«23,0if opc = 'C'
exitendifif apc = 'B' .and. borrado = '!*'
if nú = 'S'append blant
endifreplace puesto xith pueaureplace descripcio Mith desaureplace sueldo nith sueauexit
endifif opc = 'B' .and. borrado'.'N'
opb='N'824,1 say 'Desea borrar S/N ' get opb picture '!'resd
05/ifl/93 NANTG02.PRG Page 7020:« Copyright, UNIVERSIDAD CATOLICfl DEL ECUADOR, 1993
CONTROL DE NQHINft
624,0if opb = 'S'
if nú O 'S'delete
endifendifexit
endifif opc = 'H' ,and. borradci='N'
S5,24 get desau picture '6!'§6,24 get sueaü picíüre f,líl,lll.f8read
endifíf opc - 'fl' ,and. borrado='S'
recaí
endifenádopueau-space(3)
sueau=084,24 to 6,77 clear
endáo
05/18/93 HAHT0021.PRG Page 7120:43 Copyright, UNIVERSIDAD CATÓLICA KL ECUADOR, 1993
CONTROL DE NOMINA
seíect 2brotrse freeze sueldo noappend noaertu
05/ÍB/93 HANT003.PRG Page 7220:43 Coprrigfit, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
t ttantenmento arch03 archivo grupo de aporte IESSf use arcfi03 índex indaOJOlcleardo pantQOSgruau=spaceü)desau-space(30)perati=0.0patau=0.0cesau-0.0secau=0.0iecau=0.0 .porau^O.Oselect 3 Iopc = ' ' Ido ulule .t.
pri='S'84,24 get gruau pitture 'A'readif gruau = space(l)
exitendifseek gruaunu='N'if eof()
nu='S'endif
3 ' N 'if deleteü
borrado^'S'•ensa2=space(30)do • e r; 5 O 06
enáifdo Mhile .t.
if nu='S' .and. pri » 'S'pri = 'N'op=' '023,1 &ay 'Código nuevo desea «nadir S/Ndo Hhile .t.
K3,3i get op picture '!'read§23,0if op = 'S' .or. op = 'H'
exitelse
loopendif
enddo«22,0if Qp = 'S'
85,24 get desau picture '&!'
05/18/93 HANT003.PRS Page 7320:44 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
8A,24 get perau picture '11.11'87,24 get patau picture '«*.«'88,24 get cesau picture '**.«'19,24 get secau picture '11.11'810,24 get iecau picture '11.11'porau = perau + patau + cesau t secau + iecauread112,24 say porau picture '11.11*
elseexit
endifelse
if cpc O 'H'desau = descripcioperau = apersona]patau = ajatronalcesau = s_ce5antiasecau - secapiecau = ieceporau = porcentaje
endif§5,24 say desau86,24 say perau picture 'I*.II'§7,24 say patau picture '11.11'86,24 say cesau picture II.IB$?,24 say secau picture 11,11810,24 say iecau picture '».«'porau = perau + patau + cesau * secau * iecau812,24 say porau picture '11.11'
endif•ensal=space(80)•enos-0if borrado='N'
do tensOOSendif•as-0opc = ' 'do «hile .t.
823,75 get opc picture '!'retaif t(opc='B' .or. opc=«'B' .or. 3pc='H' .or. opc='C'} .and.;
borrado='N'J .or. í(opc='A' .or. opc*'C') .and. borrado='S')exit
elseloop
endifenddo823,0if opc » 'C*
exit
05/18/9320:44
«ANT003.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NO*]NA
Page 74
endifjf opc = '6' .and. borrado
if nú = 'S'append blank
endifreplace grupo jess ttithreplace descripcio Mithreplace porcentaje *ithreplace ajiersonal Hithreplace a Apatrona I Mithreplace s_cesantia nithreplace 5 e cap withreplace iece Hithexit
= 'N'
gruaudesauporauperaupataucesaulecauiecau
if opc = 'B' .and. borrado='N'opb='N'024,1 sa/ 'Desea torrar 5/N ' get opt) pictureread«24,0if opfa = 'S'
if nú O 'S'de le te
endifendifexit
endifif opc • 'ÍT .antí, borrado='N'
Í5(24 get desau picture '£!'86,24 get per a u picture 14,11'£7,24 get patau picture H.ll'98,24 get cesau picture ti. II19,24 get secau picture 11.11'tiO,24 get iecau picture '11.11'readporau=perau + patau + cesau + secau + iecauC12, 24 say paran picture II. M
endifif opc = 'A' .and. borrado='S'
recaíeifit
endifenddogruaü=space(lídesau=5pace(30)perau=0,0patau =0.0cesau'0.0secau=0.0íecau^O.Oporau=0,0
05/18/93 NANTOÜ3.PR6 Pagg 7520:44 Copyright, t/NIVERSIMD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
14,24 to 12,77 cleareneldo
05/18/9320:49
HANTOÜ4.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
Page 76
I Mantefíiiiento arct)04 archivo tipo de eipltadocleardo pant004tipau=space(l)desau=space(30)porau=0.0bantu=0panau=0cosau=0vhiati=0vheau=0papau -O
select 4opc = 'do «hile .t.
pri='S'Í4,24 get tipau picture 'A'readif tipau = spaceíJ)
exitendif
seefc tipau
nu='N'
if eofOnu='S'
endif
borrado='H'if deleteO
bDrrado='S'
do iens006
endif
do while .t.
if nu='S' .and. pri = '5 '
pri,Vr923,1 say 'Código nuevo desea já -dO NflJle .t.
$23,31 get op pif. .¿ ' • 'readÍ23.0if op T • • <Dr. [¡p = 'n1
,Í5B
loopendif
enddo«22,0
if op = 'S r
S/N
05/18/93 HftNT004.PRG Page 7720:45 Copyr igh t , UNIVERSIDAD CfUOUCfi DEL ECUADOR, Í995
CONTROL DE NOflINft
65,24 get ¿esau p i c tu r e ' 6 ! '86,24 get porau pic ture '11.11'67,24 get hanau picture lí, tH.il£3,24 get fianau piciure '15.1*'@?, 24 set cosau pic ture II, til. II'610,24 get vh iaü p ic ture 'II, III. II'SU, 24 get vheau p i c tu re «1,111.18'£12,24 get papau p ic ture 'II. II'read
e líes¡;it
sr id i fel se
:f cpc O •« '^ssaa = descr ipcic;-.jrau = p_respjsriau = b_ant i
andif35,:; ^y d?5¿i.9ó,M say por da p i c t u r e 'M.IIT
?3,Ií ssy p.maj p i c t u r e 'II. I*'^,:' f a y cosiu :icíjre '11,111.11'?10 ;"í say v h i a ü p i c tu re '11,111.11'31!, 2Í say . 'heía p i c t u r e '11,811.11'5i2;"í sa)-1 f 'ápiíj picture 'ítJS'
if bor
jo r.ensend.filla S -O
do A h i l e . t .527,75 get opc picturerea í;f ' ícpc='S' .ar. opc='B' .or. opc-'H' ,or. opc='C' ) ,and.¡
b c r r a d o = ' N ' ] .or , t ( o p c = ' f l ' .or. o p c = ' C ' J . and . b o r r a t í c - ' S 1O"! l
L' ! S£
•eope f d í 1
05/18/93 HANT004.PRGCcpyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHINA
Page 78
if ']p; - '3' ,ar;d. Serrada = '$'if •'.j - ' E '
i n 101 (i h1 Í1--1-irr.,,u j.a ,r.
C ¡ u i >
• • ^ ' ' i ^ s ^ ' ^ : ^ ^ ' 'J^J W T ^ h t ^ r * v i± > - J - u I.A.JVJ _ . O > - i 4 n l t a M L * w a J
.- - - ' •,- o •{ p c - r • -- r -1-, u i *• h ri p : 3 • ¡- r - . I - k . i J U * * ] X t J 1 - ^ U T l ^ L l l U E w b t > J
t opb picture
Í?,V ¿et cosau picture T-;\:4 3et ví.iau piclure '";',"4 get v^e;u pirtare '
' f l ' . a n d . b o r r a d o = ' S '
I-,; +
e n d i fentldatipac - E p a c e d Jdesau - spáceíSO!
banau
C2S.;.:
05/18/93 NftNTOW.PRS Page 7920:fl£ Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NDKJNA
er.d;
05/15/9! MftNTOOT.PRB Paqe BO2C:4£ Copyright, UNIVERSIDAD CflTDUCA DEL ECUADOR, 1993
CONTROL DE NOMINA
I !í¿:tE:..r,:=nt: de titulares archO?
2f,:0 get a7->descrip_c
3,: s,,, ''A> Anterior <C> Ccntinuar <S> Salir'
823,40 gst cp picturs '''
i' ;:h $ 'ACS'...• v
MANIÓOS.PRGCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
Page Si
t Canter. liiento de archOB empresa, patrono;leardo pantOOSselect 9
telau=5pacE(8)jefau=5pace(40]cedau=space(iQ)
£Ueau=íe<tpau=ínpaau=n_patronalnruau=n_rucdirau rdireccionte lau- te le fonoje f au= je f ecedau=cedula
§4,20 get sueau picture t,iH,«l,H*85,20 get eapau picture '&!'86,20 get npaau picture 'IHHÜi*!'§7,20 get nruau pict-'jre88,20 get dirau picture89,20 get telau picture610,20 get jefau pitture611,20 get cedau pictureread•ensaje=5pace{30)fflensaje='<G> Grabar123,1 say lensaje
'8!'iiiiHii
<C> Cancelar'
do Hhile .823,28readif op $
exitendif
enddoif op * 'C
re turaelse
replacereptacereplacereplacereplacereplace
t.get op picture '!'
'6C'
sueldo_iineipreíanjitronaln_rucdireccióntelefono
Hith sueauHith etpauHith npaauNÍth nruauwith dirauHith teUu
05/18/93 HANT008.PR5 Page 8220:46 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
replace jefe nith jefaurepUce cédula «ith cerfaureturn
endíf
05/18/93 KflNT009.PRG Page 8320:46 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CDNTñOL DE MOHÍNA
t Mantenimiento arch21 archivo seccióncleardo pantOQ9dep3U=spaceíí)sec¿ü=space(2)todau=5pace(3¡6ecau=space(2)parau=5pace(3Q)nofiiau=space(40)select 1use arth20 alias a7
count to nuerego tap
do while .not. eof()a reai¡=areó t¿«-aakip
enddoselect 7use arch21 indsx inda2101 alias a7opc = ' 'jo «hile .t.
pri='S'S4.24 get depau picture ' !'85,24 get secau picture ' ! !'l@4,24 6ET ccdau PICTURE ''!''readcodau = depáu •*• secauif codau = space(3)
BXÍt
endifif T I codau
save screen to pantQQ2do itant026restore screen fraa p¿nt002codau='loop
endifif substr(codau,l,l) $ areau
xc=0el se
set color to «I823,1 say 'Error ftrea no existeset color toxait ' '«23,0Í24,Qloop
endifseek codau
05/18/93 HflNTOG9.PR6 Page 8420:47 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
if eofOnu='S'
endifnensa2=space¡14)horradD='N'if dejetpií
borrada='S'
do iensOOiendifdo while .t.
if n:í='S' .and. pri = 'S'pri = 'N'op=' '§23,1 say 'Código nuevo desea añadir S/ílrdo Nhiie .t.
823,31 get op picture ' í 'readif cp » 'S' ,cr. op = 'N'
823,0exit
elseloop
endifenddo822,0if op = 'S'
86,24 get paran picture '8!'£7,24 get noaau picture '8!'read
e] seexit
endifelse
if opc O Tparau = a7->partidanoiau s a7-)noibre
endif86,24 say parau17,24 uy nouu
endif•ensalnpaciOO)•enos'Oif borrado='K'
do i«ns005endif•as=0opc = ' 'do «hile .t.
823,75 get opc picture '! '
05/18/93 HftHT009.PRG Page 8520:47 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CDNTRDL DE TONA
readif Kopc^'B' ,or. opc='B' .or. opc='H' .or. opc='C'| .and,;
barrado='N') .ar. ((opc='fl' .or. opc='C'J .and. oorrado='5'Jexit
eiseloop
endifeneldo623,0if opc = 'C1
exitendifif opc = 'S' .and. borrado = 'N1
if nú = 'S'append blank
endifreplace a7->area nith depaureplace a7-)seccion nith secaureplace a7->partida «ith paranreplace a7-)/ícabre with noasuexit
endifif opc = 'B' .and. borrado='N'
opb='N'S24,l say 'Desea Borrar S/H ' get opb picture '!'read824,0if opb = 'S'
if nú O 'S'(télete
endifendifexit
endifif opc = 'M' .«nd. borrado='N
86,24 get parau picture '§87,24 get Roaau picture '8!'read
endifif opc * 'A' .and. borrado*'S'
recaíexit
endifenddodepau=space(i)secau-space(2)codau=spice(3)
no«au-5pace{40)84,24 to 7,77 clear
endío
05/18/93 NANT009.PR6 Page 8620:48 Copyright, UNIVERSIDAD CflíOLICfl DEL ECUADOR, 1993
CONTROL DE MOHÍNA
05/18/9320:48
KANTQ10.FRGCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQMINA
Page 87
I Han tenia i en to arct)20 archivo áreasel cardo pantOímareau=space(í}parau=space(30)no»au=space(40)select 7use arch20 Índex inrfa2QGl alias a7ge top
opc -da while . t.
pri='S'14,24 get areau picture '!'read:f areau = space(i)
c X l í
endifif areau = T
save screen to pant002
restare screen frou pant002
loopendifseeknu='N'if eofíí
nu='S'endif
if deleíeí)borrado='S'
do aensQOiendifdo «hile .t.
if nu='S' .and. pri = 'S'pri = 'N'
£23,1 say 'Código nuevo desea añadir S/Wdo «hile .t.
Í23.31 get op picture '!'reatlif op = 'S' .or. op = 'N'
823,0exit
siseloop
endif
05/18/93 HflNTOlO.PRB Page 8820:48 Copyright, UNIVERSIDAD CflTOUCA DEC ECUADOR, iW
CONTROL DE NGHINft
enddo«22,0if op * 'S'
S¿,24 get noiau picture '§!read
elseexit
endifelse
if opc O 'ITnoiau = a7~>noibre
endife¿,24 say
endifnensal=space(90)
if borrado='N'do lensOOS
entíif•as=0opc = ' 'do Mhile .t.
Í23,75 get opc pkture '!'readif (|opc='6' .or. opcs'B' .or. opc*'M' .or. opc='C'| .and.;
borrado='N'l .or. ((opc='A' .or. opc*'C'| .and. borrado*'S'exit
elseloop
endifenddo623,0if DpC = 'C'
exitendifif opc = 'S' .and. borrado = 'N'
if nú * 'S'append blank
endifreplace a7-)area Hith areaureplace a7->notbre *íth no»auexit
endifif opc = 'B' .and. borrado='N'
opb='N'824,1 say 'Desea Borrar S/N get opb picture '!'readÍ24,0if opb = 'S'
if nú O 'S'belete
05/18/93 HANTOIO.PRG Page B920:49 Copyright, UNIVERSIDM CATOLICE DEL ECUADOR, 1993
CONTROL DE NQMINfte
endifendifexit
endifif opc = 'U' .and. borrado^'N'
66,24 ge! ncnau picture 'fi!'read
endifif opc = 'fl' .and, borrado='S'
recaíescit
endifenddo
64,24 to 6,77 clearenddo
05/1879320:49
HANTOil.PRSCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE N5NINA
Page 90
83,24 say conauS5,24 get notan picture 'fi!1pueaul='pueaul-pueaudo «hile .t.
66,24 get pueau picture '!!!'readif 'S' $ pueau
save screen to psntOG?do sant021restore screen fro« pant002
loopendifif pueau-'
exitendifdo validOOlif eofl)
loopelse
set color to §rt!¿,28 say a2-)descripcia6,60 say a2~>sueldo picture Í,$U,$H.Hset color toexit
endifenddo
Í7,24 get parau picture 'lii'§H,24 get fecau§9,24 get cafau picture 'II'£10,24 get casan picture 'II'
gruaul=' 'gruaui=gruaudo Mhile .t.
set color to gr+811, 26 say cadena!set cQÍor to811,24 get gruau picture Treadíf gruau = ' '
exitendifif gruau = T
save screen to pant002do aant022restore screen froi pant002gruau = gruaul
05/18/9320:49
HANT011.PRBCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
Page 91
loopelse
if griuu I cadenalexit
else823,1 say 'Error (Espacio) para ningún grupo'gruau='loop
endífendif
entídc@23tOeil, 26 say ¿lance
tipaul=tipaudo «hile .t.
set color to gr+112,26 say cadena2set color to812,24 get tipau pie ture Treadif tipau - ' '
exitendifif tipau = T
save screen to pant002áo id ni 02 3restore screen froi pan t 002tip¿u=tipaulloop
elseif tipau i cadena?
exitelse
§23,1 say 'Error (Espacio) para ningún tipo de trabajador'tipau*' 'loop
endifendif
«23,0§12,26 say blanco
bien=0do Nhile .t.
113,24 get cedau picturereadif cedau='
exitendif
05/ÍS/93 «AUTOn.PRB Page 9;20:49 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
do cant024if bien = 1
exiteise
set color to wt£23,1 say 'Cédula Incorrecta espacios ninguna'set color ÍQwait ' '«3,0324,0
endifenddo
114,24 get afiau picture IHtilHMre-ádopt=0do titule .t.
915,40 proapt 'ñutoiatico'115,40 proapt 'Manualmenú to optif opt = 1
calan - 'fl'exit
entüfif opt = 2
calan = '!Texit
endifif opt = O .and. calau O ' '
exitendif
enddo815,40 say spate(25)
05/18/93 NANT021.PRS Page 9320:50 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
t prograaa para dar ayuda sobre los códigos y puestos
select 2go tcpcontadocount to ccntago topdinension vecl(conta)i=ldo «hile .not. eofí)
veclíií = a2->piiesto + ' '* a2->dpscripdo *' '+ stría2->sueldo,10,2)skipi=iH
enddoblal=space(50)«Ensaje=' Código Puesto Sueldo'ind=lindl=0
íf conta >= 17topei = 22
elsetoppi = 4 + conta
endifÍ2,27 say lensajeÍ3,28 to tapei,80do «hile .t.
filaM5H=0
do víii Je stí = Oif fila >= 21 .or. ind > conta ,or. ind < 1
SlFl
elseSfiU,29 say blal§fili,29 say vecl(ind)llfila,29 proipt vecl(ind)
fila=fila + 1endif
enddo ISHif ind > conta
•24,1 say 'Fin de Archivo '824,0
endifopa=Cdo HhiU .t.
123,1 proipt 'Avanzar '123,12 protpt ' Regresar '823,24 proapt 'Salir ' '•enu to apado case opa
05/18/93 MANT021.PR6 Page 9420:50 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
case opa = 1indl=ind
exitcase opa = 2
indl=indl - 17if indi < J7 ,Qr. indi < 1
ind = 1e he
ind=indlendiffiUMexit
case opa = 3 .or. opa = O«23,0return
endcaseenddo i.t.if ind = 1 .or. ind >s conta
loopelse
H,29 to (topei-11,78 clearendif
enddo
05/18/93 IWNT0211.PR6 Page 9520:50 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR,
CONTROL DE NOMINA
t prograia para dar ayuda sobre los códigos y puestosí ordenado por descripciónselect 2set order to 2go topconta=0count to cuntago topdínension vecl(conta)i=ldo «hile .not. eof()
veclli) = a2-)puesto + ' '+ a2->descripdo t' '+ str(a2-)süeldo,10>2)skipi=i*i
enddoblal=space(50íaensajB=' Código Puesto Sueldo'ind=i
topei=6if tonta >= 17
topei • 22else
topei = 4 + contaendif$2,27 say tens¿;e93,28 to topei, 80do «hile .t.
fila=45H=0
do vhíle SM = Oif fila >= 21 .or. ind > conta .or. ind < 1
Stí=l
eUeefila,29 say blaltula, 29 say ved (ind)ind=intH
endifenddo ISMií it\ > conta
824,1 say 'Fin de Archivo824,0
endifopa=0do while .t.
£23,1 proipt 'Avanzar 'Í23, 12 proipt 'Regrezar '123,24 pro»pt 'Salir•enu to opado case opa
05/JB/93 NANT0211.PRS Page 9620:51 Copyright, UNIVERSIDAD CflTGLICA DEL ECUflDOR, 1993
CONTROL DE NGKINñ
case opa = 1índl=indfíla=4exit
case opa = 2indl=indl - 17if indi < 17 .or. indi < 1
indl=lind = 1
ind=indlendiffila=4exit
case opa = 3 .or. opa = O§23,0set order to 1return
endcaseendda ).t.íf ind = 1 .or. ind >= conta
loopelse
84,29 to ítopei-11,78 cíe?endif
enddo
*-
03/18/9320:31
HANT022.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
Page 77
I Programa para dar ayuda sobre grupo de aportes al iess
select 3go topconta=0count to contago topdisensión veel(contal
do «hile ,not. eof t )ved | i) = a3->grupo_iess +
str(a3->porcentaje,5»2)skip
a3->descripcio +' *+¡
enddoblal=space(50)•ensaje-'Codigoind=l
Descripción Porcentaje'
if conta >= 17topei = 22
el setopei * 4 + canta
endif£2,28 say aensaje83,28 to tope i,80do «hile ,t.
fiia=4
do «hile su = Oif fila >B 21 .or. ind > conta .or. ind < 1
el se
lfila,29 say ved i ind)
fili-fila * 1endif
tSM
if ind > rosta124,1 say 'Fin de Archivo124,0
endifopa-0
,t.proipt 'Avanzar '
123,12 proipt 'Regresar '823,24 proipt 'Salir«nú to opado case opa
do Mliile123,1
05/18/9320:51
HANT022.PR6Copyright, UNIVERSIDAD CATÓLICA DEl ECUADOR, 1993
CONTROL DE NQHINfi
Page 98
case opa - 1indl=indfila=4exií
case opa = 2indl=indl - 17if indi < 17 .or. indi < 1
indl=lind = í
elseind=indl
endiffi!a=4exit
case opa ~ 3 .or. opa = O623,0return
endcaseenddo t.t.if ind ~ I .or. ind >= tonta
loopelsc
§4,29 ta (topei-i)(78 clearendif
enddo
05/18/9320:52
HANT023.PRGCopyright, UNIVERSIDAD CATÓLICA DEÍ. ECUADOR, 1993
CONTROL DE NOMINA
Page 99
t programa para dar ayuda sobre tipos de trabajadores
select 4go topconta=0count to cortaqo topdiaension ve el (con tai
do nhile .not. eof()vecl(i) = a4-)tipojraba +t + str(a4->p_resp,5,2);I + str(a4->b_anti(7,2)
skipi=ül
enddoblal=5pace(50J»ensaje='CodigDind=lindl=Qtopei=6if conta >= 17
topei = 22el se
topei = 4endif92,28 say lensaje«3,28 to topei, 80do while .t.
'+ a4-)de«cripcio
str(a4->p_antiJ5,2J
Tipo ds trabajador
conta
5M=0
do «hile SK s Oif fila >= 21 ,or. ind > conta ,or. ind < i
SH=1
else8fiU,29 say blalífila,29 say veciíindj
fila=fila + í.endif
enddo Is*if ind > conta
124, 1 tay 'Fin de Archivo124,0
endifopa*0
.t.proipt
do xhili123,1423,12 protpt
'Avanzar'Regresar
«23,24 proipt 'Salir
05/18/93 HANT023.PR6 Paqt 10020:52 Copyright, UNIVERSIDAD CATÓLICA BEL EBMHR, 2993
CONTROL DE NOMINA
i en u to opado case apacase opa = 1
indi=indfilaMBXÜ
case opa = 2indl*indl - 17if indi < 17 .or. indi < 1
indi»!ind = 1
el seind=iridl
endzf
exitrase opa = 3 .or, opa = O
623, 0return
endcaseenddo i.t.if ind = 1 .or. ind >= conta
loopel se
14,28 to (topei-ü,78 clearendif
enddo
05/18/93 HANT024.PR6 Page20:52 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQHINft
1 validar 1a cédula de identidad
diaension vpar(lü)í«£fai¿='05Q09¿9720'cani=ldo while con! <= 10
vpar(co(il)=val(5ubstr(cedau,cQnl,l))conl=conl+i
enddodigver=0
conl=ldo Mhile conl <* 9
valor=0valor = vpar(conl) t 2if valor > 9
valor = valor - 9entfifvpar(conl) = valorconl=conH2
enddoconl=lvaloreodo «hile conl <= 9
valor s valor + vpar(coni)conl=conl+l
enddodigi=Üdi5l=((int(valor/10)+l)tlO) - valorif digi=10
digl=0endifif digl^igver
bien=lendif
05/18/93 HftHT025.PR6 Paqi 10220:52 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
select 1set order U 1if ['{' $ conau .or. T i
set order to 2endif90 topaensajE='CodÍgo Codigojí Nonbre '$2,27 say Masaje«3,28 to 20,80do aarit0255do «hile .t.
£23,1 proipt 'Avanzar '«23,12 proipt 'Regresar'•enu to opado case opacase opa = i
do ian10255case opa - 2
col=0do «hile |colí=32 ,and, .Rot. bof|))
skip -1col=col+l
enddodo sant0255
case opa = Oreturn
endcaseenddo
05/18/9320:53
HANT02H.PRBCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL BE NOMINA
Page 103
M,29 to 19,78 clMrif bofí)
skip 1endifif eof(]
skip - 1endifdo «hile .t.
if ( .not. eof{) .and. .not. b o f [ ) )í 3+co,30 say al->codígoI 3+co,37 say al-)codi9D_ní 3+co,45 say al->no«brE
.or. bofO)
skipendifif (eofí)
returnendifif co)H
exitpndif
enddo
05/18/93 HAMT026.PRB Page 10420:53 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
S programa para dar ayuda sobre los códigos y puestos
select 7qo topconta=0count to contago topdi tensión vedi conta)i=ído Mhile .not. eof()mili) = a7->area +' '+ a7->seccion +' '+ a7->partidaj
+' '+ a7->noibreskipi=i*l
enddoblal=space(75)•ensaj e=' Código Partida Noefare 'índ=Iindl=0topei=¿if conta >= 17
topei = 22else
tope: = 4 + contaendif62,4 say iensajíÍ3,3 to topfli,80do Hhile .t.
fila=4SM=0
do «hile SM * Oif fila >« 21 .or. ind > conta .or. ind < 1
sw=íelse
«fila, 4 say blalsay ved (indi
filasfila + 1endif
enddo ISHif ind > conta
Í24,i say 'Fin de Archivo«24,0
endifopa=0do Mhile .t.
123,1 proapt 'Avanzar 'I2J,12 proipi«23,24 protpt 'Salir•enu to opado case opa
05/1B/9320¡53
MANT026.PRBCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
Page 105
case opa = 1indlsindfiía=4exit
case opa = 2indl=indl - 17if indi < 17 .or. indi < 1
indl=lind = 1
elseind=in¡}l
endiffiU=4exit
case opa - 3 .or. opa * O123,0return
endcaseenddo l.t.if ind = i .or. ind >s corita
loopelse
«4,29 lo ítopei-11,78 clearertdif
enddo
05/18/93 NANU01.PRG Page 10620:54 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
I Mantenimiento archOl archivo taestrocleardo pantlOlsave screen to pOlcadenal=' 'cadena2=' 'do cadenasec=0if ilacada=0
codau=space(5)endifcodaux=space(5)codauxl=space(5)
conau=space(Mpueau=space(3)
fecau=space(8)store ' / / ' to fecaufecau=ctod(fecau]catauro:aeau=0gruau=spacB(l]tipau=space(l)cedau=space(10)afiau=space{10)calau-space(l)select 1opc ~ ' '
do «hile .t.vacla=lpri='S'14,24 get conau picture '!!!!(!'readif [T $ conau ) .or, ('/' « conau)
save screen to pantOD2set order to 1do §ant025
restore screen froi pant002loop
endifif conau = space(¿)
set order to 1exit
endift do valid002if vacia*0
set color tu ni£23,1 say 'Error Área, Departatento no exilte
05/18/93 HANT1GÍ.PR6 Page 10720:54 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQHINA
set color ta
«23,0624,0íoap
endifseleet 1set arder to 3see* cortatinu='N'if eof l í
nu='S'etídifBensa2=spacE|14)bDrrado='N'if deleteU
horradcF'S'Ben5a2=Epace(3Q)do aensOOt
endifdo «hile .t.
if fiu='S' .and. pri = r 5 'pri = 'N'op='623,1 say 'Código nuevo desea añadir <S/N>'do «hile .t.
323,34 get op picture '!'readif op = 'S' .or. op = 'N'
exitel se
loopendif
enddo«25,0if op = 'S'
do iant!02elee
exítendif
elseif opc O 'H'
codau « al->codigocodauxl = ai->codigonoiau = al-)noibreconau = al->codigojipueau = al->puestoparau * ál->partidífecau » al-)fecha_ing 'cafau = al->cja§caeau s al-)c est
Q5/1B/93 NANT101.PR6 Page 10920:54 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQfllNA
qruau * al->grupo_ie55tipau = al-)tipo_trabacedau = al->ceduíaafiau = al->afiliacioncalau = al-ítipo_calc
endif95,24 say noiau85,71 say codau§¿,24 íay pueauec=0select 2seek pueauif eofO .or. deleteO
set color to wt§23,1 say 'Error en código de puesto 'nait ' 'set color to§23,0ec=i
elseset color to gr*
§¿,¿0 say a2->sueldo picture '«,$*$,Mt.lt'set color to
endif§7,24 say parau§8,24 say fecau§9,24 say cafau picture 'II'§10,24 say caeau picture 'II'§11,24 say gruau§12,24 say tipau§13,24 say cedau§14,24 say afiau§15,24 say calau
endif•ensal=space(80)
select 1if deUtel)
borrado='S'endifil borrabo='H'
do lensOOSelse
•enos=22endif•as=0do HhiJe . t.
if ec=l
05/18/93 HANTiOl.PRS Page 1020:55 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINfl
exitelse
opc=' 'endif
823,75 (jet opc picture '!'readif t(opc='G' ,or. opt-'B' ,or. apc='H' .or. opc='C'] .and.;
borrado3 ' N ') .or. ((cpc^'fl' .or. opc='C'| .and. borrado='S'exit
elseloop
endifenddo823,0if opc = 'C'
exitendifif opc = '6' .and. borrado = 'N'
if ñu * 'S'append blank
endif
if (al-kodigo O codau)replace al->codigo Ni th codausele ¿go topdelete for a¿-)codigo = cadauxl
endifselect 1
replace al-)noBbre Nith noeaureplace al->cod:go_n Nith conaureplace al-)puesto Nith pueaureplace al->partiíía «ith paraureplace al->fecha_ing with fecaureplace al-)c_fa§ Nith cafaureplace al->c_est Nith caeaureplace ai->grupo_iess Nith gruaureplace al->tipo_traba Nith tipaureplace al->cedula mth cedaureplace al-)afiliacion Nith afiaureplace al->tipo_calc Nith calauexit
endifif opc = 'B' .and. borrado='N'
apb='N'824,1 say 'Desea borrar <S/N> ' get opb pictureread924,0
05/18/9320:55
HANT101.PR6Copyright, UNIVERSIDAD CATOLICfl DEL ECUADOR, 1993
CONTROL DE NQHIMA
Page 110
if opb - 'S'if nú O 'S'
deleteselect 6set filter to a¿-)cc(íjgo_r» * ccnaudelete ¿Hset filter toselect 1
endifendifexit
endifif opc = 'PT .and. bofrado='N'
do aantiO?
endifif opc = 'A'
recaíesit
endifenddocodáu*space(5)
.and. barrado='S'
conau=space(¿)pueau=space(3)parau=ipace(3)fecau-space(B)store ' / /fecau=ctod(fecau)
to fecau
caeau-0gruau=space(3)tipau=spac»(3)
áfiau»space(ÍO)calausspace(l)restore 5 ere en froi pOlif l]aiida=l
returnendif
enddo
05/18/93 HANT1Q2,PRS Page 11120:56 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NONINA
*«5,24 get notau picture '8!'pueaul*'pueaul=pueau85,71 get codau picture '8!'do «hile .t.
86,24 get pueau picture '!!!'readif T % pueau
sdve screen to pant002do aant021restare screen frai pint002pueau=pueauiloop
endifif pueau='000'
exitendifdo validOOiif eofí)
loopelse
set colar to gr+«6,28 say a2->dfscripcio«6,¿O say ¡2->sueldo picture Í,HÍ,HI.»
£ set color toBJfJt
endifenddo
17,24 get parau picture 'III'88,24 get fecau89,24 get cafau picture 'II'110,24 get caeau picture 'II'
b!anco:space(IO|gruaul=' 'gruául-gruaudo «hile .t.
set color to gr*Sil,26 say cadenalset color to811,24 get gruau picture 'X'readif gruau = ' '
exit\f
if gruau = Tsave «creen to pant002do tant022restore screen froi pantú02gruau - gruaul
05/18/93 MANT1Ü2.PRS Page 11220:5¿ Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
loopelse
if gruau I cadenalexit
else823,1 say 'Error (Espacia) para ningún grupo'gruau='loop
enóüendif
entído§23,0811,26 say blanco
tipaui=<
ti (Huí-tipaudo while .t.
set color te gr+812,26 say cadena2set color to812,24 get tipau picture 'X'readif tipau =
exitendifif tipau = T
save screen to pant002do iant023restore screen froa pant002
loopelse
if tipau * cadena?exit
else823,1 say 'Error <E§pacio> para ningún tipo de trabajador'tipau='loop
endifendif
eneldo
812,26 say blanco
bien=0do «hile .t.
013,24 geí cedau pie ture 11»»»»»'readif cedau='
exitendif
05/18/9320:56
HANT102.PRGCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
Page 113
do iant024if bien = 1
exitelse
sel color to wt123,1 say 'Cédula Incorrecta espacios ninguna'set color to
Automático'Manual
«23,0124,0
endiienddo
914,24 get afiau picturereadopt-Qdo Hhile ,t.
115,40 proipt£15,40 proc.pt•enu to optif opt - i
c a l a . = 'Aexit
endifif opt = 2
caí ¡u = Mexit
endifif opt = O
exitendif
entidQ015,40 say space(25)
IHtHHH
.and. calan O
05/18793 HASCARA.PRS page 11420:5¿ Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MffIKA
clearset color to r++++m+«0,1 say a8->«presa«0,51 say 'Rol de Pagos '«0,70 say a8->fecha_rol«1,27 to 1,8011,1 say 'Usuario:'«1,10 say usuaset color toif tipotr = 'A'
01,51 sif
endifif tipotr = 'B'
91,51 saffioit r= ' Retroact ivo/Sobresue Ido'
endifif tipotr = 'C'
«1,51 say 'Liquidaciones'noitr='Liquidaciones'
endifsave screen to
05/18/93 NENS001.PR6 Paqe 11520:57 Copyright, UNIVERSIDAD CATÓLICA DR EC(tóDQff, 199J
CONTROL DE MOHÍNA
set color to gr+++823,1 say 'D'set color toÍ23,2 say "atos personales"set color to gr+++823,19 say '«"set color to§23,20 say "odificar"
set color to gr++t§23,30 say "B"set color to823,31 say morrar"seí caíor to grt+t823.38 say "C"set color to823.39 say "ontinuar1
set color to623,49 say 'R"set color to§23,50 say 'etroceder"set color to grt++«23,61 say fS'set color to823,62 say 'alir1
return
05/18/93 REP0250.PRB Paqe20:43 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
I Upriiir totales
if subgrupc = 5pace¡2tlínea5' '
endif
eject
do repo235da tabU035pi=5pace(í)
da ulule ti (= 31)if [i <= 29)
?5pacE[25)tca»l(il,space(4),cai2(i),5pace!2),transítoi|i),b),5pace(10)sise
spl=space{121í
endif??5pl fcai l (29+i) ,spaceM),cai2(29+i) íspace[2), t ransí toeí i ] ,b ii=iU
Jt enddo
do finaseject
do tabla02
05/18/93 REP0260.PRB Page 11720:45 Copyright, UNIVERSIDAD CATOlICfi DEL ECUADOR, 1993
CONTROL DE NOHINft
«usaje*1? a r t i d a >'ultct 7use arcti2i índex inda2101 alias a?ga tcpseek substr(a6->codigo,l,3)linea = ' '+a7-}partida*' '+a7-)noibreuse archO? alias a7
05/iam RESP010.PRG Page 11820:45 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
clearrestore screert fron paOÍ£2,1 say 'Proceso para obtener respaldos de las programas'
do «hile .t.810,10 say 'Continua Proceso S/N'£10,35 get ap picture '!'readif op í 'SN'
exitelse
loopendif
enddoif op = 'S'
312,10 say 'Por favor inserte un ¡Jiskette foriateado en !a unidad A; r
wait ' Presione una tecia para corstifiuar'set consolé offrun pkzip rolnue í.prgran cop/ rolnue.zip a:run cüpy t.nen a:set consolé on
endifreturn
RESP020.PR6 Page 11920:45 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOKINfl
clearrestore screen froi paOl82,1 say 'Proceso para obtener respaldos de los datos'op='S'do wtiile ,t.
610,10 say 'Continua Proceso S/N'610,35 get op picture '!'readif op i 'Sr
exitelse
loopendif
enddoif op = 'S'
Í12,10 say 'Por favor inserte un dislcette fonateado en 1a unidad A;wait ' Presione una tecla para continuar'$et consolé offrun pkzip roldbf t.dbftrun ptzíp rolndx t.idxrun pkzip rolndx t.ndxrun copy roldbf.lip a:run copy rolndK.zip a:set consolé on
endifreturf)
5/18/930:45
RESPQ3G.PRGCopyright, IJNIVEflSIDAD CATÓLICA DR ECUADOR, 1993
CONTROL DE MOHÍNA
c;earrestare screen iros paOl12,1 sav 'Proceso para restaurar datosop='S'tía wh:;p .t.
110,10 53y 'Continua Proceso S/N1§10,35 get op picture ' ! 'resdif op í 'SN'
BXlt
looptndif
snááoif cp = '£'
612,10 say 'Por favor inserte s! diskatte :on los Jatos sr\í Presicrie ür¡a íecli para íc-r-
set consolé offrun cop? á:roicbf.:iprufí copy a:roUd;:.;íprun plur,::p roldcf -or'jr pkunnp rolnd>: -aset ccnsolf or
05/18/93 TABLA02.PRB Pace í?l20:44 Copyright, UNIVERSIDAD CATÓLICA DEL ECUflDQR, 1993
CONTROL DE NOMINA
I Iniciar tabla de descripciones
select 7use arch07 ¿üas ¿1\--\o top
do nhile ii<=58)caKl(i}=dE5Crip_c
skipi=i + l
enddcreturn
t
05/18/93 TftBLftOJ.PRG Faqs 12;2Q:4¿ Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CDNTRGL DE NDMINft
t iniciar TIRULf i f iES SUBTOTALt:select 7use archO? alias a7go top1=1-de nhils ¡li-ívi
if U=29i
i-í-1sndi fCóf í l ( i ! = d e s c r i p _ c
¡-Í + 1
endao
return
•:-a
(je
^Ds p
,SC;UBV:*\::CI "p ír
„.,.. .-,,, . j,.lm ,J n 7 > A T a--- ,t . - j , - , - - - -" yu U(ff
p üc 1339 {33, Í E S £7*9 g
T? ' 6 oí OZ'é §arqnop 29^1 o} ¿i'¿ g
52 o; aBessaii ;as
Ti i J f* cp
13026 /6T /SC
~ 05."" " VflLIDOOl.PRS • Pagp 124Copyright, UNIVERSIDAD CATQL:CA DEL ECUADOR, 1993
CONTROL DE NQí"V-
:. _ - - ; ;::;.-"d --digo del puesto
'.' -:. '::-::; cíe puesto ^o existe " Ninguno'• i..
1 ' " :;:::= un.a tecla para continuar'
- - y-..'335
N 30 lOa «noie
1
05/ífl/W PANT004.PRG PaqB 14721:13 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NGKINfí
I Pantalla para datos del archivo de TIPO DE EMPLEADOrestore screen froa paOl§2,1 say 'Ingreso / Jloriificanon as tipos úe eupleados'83,1 to 13,78§ 4, 2 say ' TIPO ErtPLEflDD;'@ 5, 2 say ' DESCRIPCIÓN:'§ ¿, 2 say 'PORCENTAJE RESPONSflBi*e 7, 2 say 'BASE PftGO ANTIGÜEDAD:'? 8, 2 say ' I flNÜAL AfíTÍ6tíEOA:'« 9, 2 say ' COSTO DE VIDA:'Í10, 2 say ' PAGO PÍ3R CADft HIJO:'111, 2 say 'PftBO POR CADA ESTUDI:'§12, 2 say ' I APORTE AL IESS:'
05/18/95 PAN7007.PR6 ?aqs :¿S:i:13 Copyright, UNIVERSIDAD CftTOLICfi DEL ECUADOR, 1993
CONÍRGL DE NOMINA
t Pantalla parta titulares archO?
t Pantalla para datos del archivo SUELDO MÍNIMO JEFErestore screen froi paOi92,1 say 'Actualizar titulares'§3,1 to 7,7Sg 4, 2 ssy 'NQflBRE DEL CAMPO:'¿ 5, 2 say 'DESCRIPCIÓN CORT:'
S fe, 7 ¿a; 'DESCRIPCIÓN LARG:'
05/10/9321:16
CflDENftS.PRBCopyright , UNÍVERSI8AÍÍ CATÓLICA DEL ECUfiDOH, 199;
CONTROL DE N O M I N A
í¿9
I progresa para generar cadenas de códigos tipoI y grupo ds aportes
select 390 íspÓD *hi je .noí. e o f í )
sí. i?enddo
4
90 topde hhüe .ncí.
CaC!eriá2aca(Js k i p
re turr j
05/18/93 CALCULDS.PRG Page HO21:16 Copyright, UNIVERSIDAD CATOLÍCft DEL ECUADOR, 1993
CONTROL DE NOMINA
pracedure sueldoií PracediíientD para calculo del Sueldo
sueldo» = round( (a2->suelda/30) I a6->dias ,0)
return
procedure responsot Procediaiento para el calculo de la responsabilidad
responsa = round! sueldot t (a4->p_/esp / 100) ,0]
return
procedure antigut Proceditiento para el calculo de U antigüedad
antigu = a4-)b_anti + (sueldo» t (a4->p_anti/10QI)
díssj * (aS->fecfiajDl! - (al->fecha_ing)antigu = O
anDÍ=intíanoj)if anoi = 4
antigu = a4->ÍJ_antienriifif anoi > 4
anod - arioi - 4antigu = a4-)bjnti + (sueldoi I (a4-)p_anh / 100J I anod)if (antigu > sueldoi)
antigu - sueldoiendif
endifantigu - round(aniigu,0}return
procedure costovidt Procediiiento para calculo de el costo de vida
costovid = roundí (a4-)c^vida/30) t aó-)dias ,0)
return
procedure subsfanI Procediiiento para calculo de subsidio faiiliar
subsfai = al->c_fa» t a4-)v_hijo
return
Q5rW/W CÁLCULOS.PRS Page J?i21:1¿ Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
procedure subsedüt Procedímento para calculo de subsisdio educacional
subsedu = al-)c_est I a4-)v_estu
return-
proceíure aiessí ProcBdiaiento para calculo de aporte al IESSt aiess = Ía2-)sue]do í U4->p_aporte/i00) / 30) I aé-'.-áiasantigul=antiguselect 3:esl al-)grupoj.essjf a3-)tipo = 'A'
áíess = í í a 2 - > 5 í i e l d D •*• ant igul +• sabsfau} I;U4->p_apcr te /1001 / 30) i a¿->dias
elseif a3 - í an t i O ' 5 *
anl igul=0end i faiess - í (a2-)sueldo t antigu!) I;
(a4-/p_aporte/lOO) / 30! I aírídiasenaif
aiess = ruund(aiess,2)return
procedure ingresost Procedimiento para el calculo de ingresosingresos = Oif al->tipo_calc = 'U' .or. (tipotr = 'ET .ar. tipotr - 'C'í
ingresos = a6->ing01 •*• a¿->ingC2 * aíi-)ingC3ingreses = ingresos + ai-)ing04 + afc-)ing05 + aó->ing06
sisesubsfaiingresos * sueldoi ^ responsa + antigu * costovid + ¡
ingresos = ingresos + subsedueridifingresosingresesingresosingresosingresosingresosingresosingresosingresos
return
procedure
= ingresos += ingresos += ingresos *- ingresos += ingresos 4= ingresos +•= ingresos += ingresos +
ai->ing07a¿-)ifiglOai->ingl3a6-)ing!6a¿-)ingl9afi-)ing22a¿-)ing25a6->ing28
+ aá->ingOS ++ ai-Mngll 4* a¿-)ingJ4 +* a6->íng!7 44 a6->íng20 4+ a6-)ing23 +4 a6->ing26 4
aÁ->ing09a6->ingl2a6->ingl5aó-)ing!8a¿->ing2ia¿->ing24a6-)ing27
= round(ingresDS,2|
egresos
05/18/73 CÁLCULOS.PRG Page 17221:16 Copyright, UNIVERSIDAD CATÓLICA SEL ECUADOR, 1993
CONTROL DE NOHINA
* í Procedimiento para el calculo de egresos
egresos = Oíf al-)tipQ_cah = 'tí' .or. ítipotr = 'B' .or, tipoír = 'C'
egresos = a6->egr01else
egresos = a¿es5endifegresos = egresos + a¿-)egr02 + a6->egr03egresos = egresos -*• aó->egr04 -t a¿-)eqrOS * aó->egr06egresos = egresas + a6->egr07 + a6->egrOS + a6-íegr09egresos - egresos t afi-)egrlO -*• a6->egrll + afi-)egr!2egresas = egresas * aír>egrl3 * a¿->egr!4 + ai->egr!5egresos = egresos * j¿->egrl¿ •*• ¿b->egri7 + a¿->egr!8egresas = egreses t aé-)egrl? i aó-)egr20 + a6-)egr21egresas = egresos * aó-)egr22 + i6->egr23 + a6-)egr24egresos - egresos t ai-/vegr25 t a6->Bgr2ó t a6-)egr27egresos = egresos •*• a6-)egr28 + a6->egr29 + a6->egr30egresos = raijnd!egresos,2)
return
procedure recibet Procedí Diento para calculo de total a recibir
recibe - O'* recibe = ingresos - sgrescs
recibe - rounií(recibe,2J
return
procedure vptiestoI ProcediEientQ para validar e! puestoselect 2seek pueauif eof()
set color to H!S23,l say 'Código óe puesto no exjste'set color totwait 'Presione una tecla para continuar'
endifreturn
procedure ingresolI Procediiiento para el calculo de jngresos historicDingresol - Oingresol = a6->ing01 + a6->irig02 + aá-)ing03
™ ingresol = ingresol + a6->ingG4 + afc->ing05 + a6->ing06ingresol = ingresol + afc->ing07 + a&->ingOB + a¿->ing09ingresol = ingresol + a6->ing!0 + ac-;ingü + aA->ingl2ingresol = ingresol + a6->ing!3 + at-^inqlA + a6->ingl5
05/18/9321:17
ingresol =ingresol =ingresol =ingresol =ingresol =ingreso! -
CALCULOCopyright, UNIVERSIDAD CA
ingresol +ingresol +ingresal +ingresol +ingresol +•
aó-)ingl6 -a6->ingl9 Hai-)ing22 Ha¿->ing25 iafi->ing28
, *í->¡n9!7 •' a6->ing20 ^f a¿-)ing23 i• a6->ing26 ^
CONTROL D
> tí-)i^B^ a6-)ing21f a6-)ing24!• a¿-)inq27
roundíintjresol^)
Page 173
return
procedure egresolt ProcediHiento para el calculo de egresos histórico
egresol = a6->egr01
egresoleqresoleqresolegresolegresolegresolegresolegresolegrESolegresol
return
a6-
>í~
egresolegresolegresolegresolegresolegresol + a6-egresol + a¿-egresol +• ai-egresoí + a6-egresol + a¿-raundfegresol
>egr02>egr04>egr07>egrlO
>egrl¿>egr!9•>egr22>egr25>egr28,2)
->egr03->egr05 f a6-->egrOB + at-->egrll t a6-
•>egr!7 4 a&-•>egr20 + a¿-•>egr23 + a6-•Íegr26 + a6-•)egr29 + ai-
•>egr06>egr09•>egr!2>egr!5>egr!8>egr2J>egr24>egr27>egr30
procedure recihelI Procedimiento para calculo de total a recibir
recibel= Orecibel= ingresol - egresolrecibel= round(recibel,2)
return
CANFEC.PRG págB 17421:17 Copyright, UNIVERSIDAD CftTDLICA DEL ECUftDQR, 1993
CONTROL DE MOHIKft
I Mantenimiento de archOS empresa, patronoclear
da pantOOBselect 8sueau=0
npaau=spaceílQ)íiruau=Epaceíl7)dirau-spaceUO]teUu-space(3)
/ /í&cau=ctod( fecau¡
nruau=nruc
tilau=telefonojefau=jefecedau=cedulafecau=fecha_rol
É4,20 say sueati picture 'Í,#*M**,W65,20 say eupau picture ' 8 ! '$6,20 Sáy npuu picture '*t»l#m*f$7,20 say nruau pictureÉ3,20 say dirau picture ' 9 ) '§9,20 say telau picture 'IHttltf§10,20 say jefau picture ' § ! 'MI, 20 say cedau picture IIHtWtl§12,09 say Techa Roí: '@12,20 get fecaureadiensaje=space(30)Aensaje='<5> Grabar <C> Cancelar'§23,1 say tensa jeop=' 'tío «hile .t.
123,28 get op picture '!'read
if op í 'GC'exit
endifenddoif op = 'C'
returnelse
replace sueldo^iin with sueau
05/19/93 CftRFEC.PRG Paqe 17521:17 Copyright, UNIVERSIDflO CATÓLICA DEL ECUADOR, 1993
CONTROL CE NOflINA
replace espresa *ith eupaurepJace njiatronal *itb npáaureplace n_ruc Kith nruaureplace dirección Hith diraureplace telefona Hith telaureplace jefe ttith jsfaureplace cédula Mith cedaureplace fecha_rol Nith fecauda eascarareturn
endif
05/18/93 CHEQ050.PR6 Page 17621:17 Copyright, UNIVERSIDAD CflTflLICfi BR ECUfiüGR, 1993
CONTROL DE NOMINA
clearrestore screen fros paOl92,1 say 'Esision de Cheques'store / / ' to fechaenifechaeii = ctodífechaesi)nuicheij=0store da te ( i to fechaeii84,20 to 8,63
¿o whiíe .t.66,23 say 'FECHA DE EMISIÓN DE CHEQUES£5,53 say 'w/dd/aa'66,53 get fechaesireadstore dtoc(fechaeai) to fechaauif fechsau=' / / '
loopelse
exitendif
entídoCD=' '
save screen to pa02do xhile .t.
'« tessele = '6 11,20 to 16,63fi 12,22 say ' Nú«ro de «es' get aesseU picture II% 13,22 say ' Núaero úe cheque' get nuicheq picture Itlltlll8 14,22 sa/ 'Ingrese el código para INICIAR' get codin picture 'íí.'í!'readif codin = space(5)
? ' 'set print offreturn
endifcoiífin-space¡5)S 15,22 say 'Ingrese el código para FINflLIZflR' get codfin pict '!!!!!'readif codfin = space(5)
? ' 'set print offreturn
endifselect 6
- lócate for (a6->cadigo = codin)* if eoff)
set print offHÜ 'Código no existeset print on
05/19/93 CHEQ050.PRB Paqe Í7j21:18 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CDNTRGl DE NQitíN.-i
loopendiffilt=5pac6Í60)set print enda cfieqlOOrestare screen iros
enddo
05/18/93 CHEQ100.PR8 Page 17B21:18 Copyright, UNIVERSIDflO CATOLICfl DEL ECUADOR, 1993
CONTROL DE NOMINA
t Reporte cheques acceso por código11=' '12=' '13=' 'J4»' 'select Bset delete on
if íiessele = ' 'set filter to
elseset filter to a6-/ies = aesseleif a6->ies O lessele
íf .not. eofí)skip 1
endifendif
endifcodaux=space[5)set procedure to cálculosseccaux=substr(a¿-}codigo)l,3)5*5=0.
set color to N!424,33 say 'Upriiiendo...'set color toset device to printset consolé off
do «hile .not. eof()public sueldoi, responia, antigu, costovid, subsfai, subsedupublic aiess, ingresos, egresos, recibeselect 1set order to 1seefc a6->cDQigoif eof()
set color to wlt 123,1 say 'Error Código no existe'set color toS «ait ' Presione una tecla para continuar'S «23,0t 824,0loop
endif
clave2=al->puestoselect 2seek elava2if eof()
set colar to H!I 123,1 say 'Error Código de pufsto no existe'set color to
05/1B/93 CHEQ100.PRG Page 17921:18 Copyright, UNIVERSIDAD CATÓLICO DEL ECUADOR, 1993
CONTROL DE NOMINA
' Presione una tecla para continuar't «23,0I £24,0loop
endif
clave21=al->tipo_trabaselect 4seeJt clavf21if eofí)
set color to HÍt «23,1 say 'Error Código tipo de trabajador no existe'set colar taí wait ' Presione una tecla para continuar'I «23,0t «24,0loop
endif
t calculardo cheql20
t Transformar a letrasdo cneqlóO
t Iipriiir chequeifo cheqMOtmmitt
if a6~>cadigo - codfinexit
endif
select t>skip
CDdaux*a¿-)codigo
enddaset cíe vi ce to screenset cánsale an«24,33 say 'select ¿set filter to
return
05/J8/93 CHEQÍ20.PRG Page 19021:19 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOPlINft
I Cálculos
if al->tipo_calc = 'H' ,or. (tipotr = 'B' .or. tipatr ~ 'C"isueldoi ~iii-
aniigu =aó-costavi[i=ai->ing04
ii =a6-)ing05
aiess =a6-)egr01elss
da suelüOido responsade antigurfo costaviddo sutsfaado subsstíudo aiess
endif
do ingresesdo egreso^do recibereturn
05/18/93 CHEQ14Ü.PRS Pag* IB2J;J9 Copyright, UNIVERSIDAD CATDLICfi DEL tCUADDR, 1993
CQNTRÜL DE MOHÍNA
if recibe = Oreturn
endif?spaceí¿5)+' "*al->noibre+' 'taA->«5+' '+dtQcfdateí))+i B+a6-'
código*1 S/.'+traní recibe,1 1,1», til. 11')+' '+noitr
b=1l«l«9.99'"5pace(653, cail(l) ,tran(sueldH}b},i:aii(8) ,tran(a6->ingOB,b)?•?' ',ca«l(i5),tran(a6->ingl5,b)(cail(221,tran(a6->ing22Ib)
, ca§l(2) ,tran(respon5a,b),caal(9) ,tran(a6->ing09,b)
?5pace[W), ca«Í(3) , t r a n i a r ) t i g u , b ) , c a B l ( 1 0 j , t r a n ( a ó - > i n g l O , b ¡??' ' I c a « l í l 7 í , t r a n t a 6 - > i n g l 7 í b ) ( c a « l { 2 4 | , t r a n ( a 6 - > i n g 2 4 , b í?space(65) , c a a l t 4 ) , t r a n ( c o 5 t o v i d , b } , : a f f l i ( l l ) ) t r a n í a s - > i n g i l , b )??' ' , c a B i ( 1 8 ) , t r a n ( a f i - > i n g l 8 ) b ) , c a » l ( 2 5 ] , t r a n t a 6 - > i n g 2 5 , b |
" 1 ch r i27 )nh r (71 ) I sp3CB( lHaÍ ->no«brB+5pacBÍ 12) + ' S / . ' + t r an í recibe;, ' 1,111 ,111. II' í+space (7 |+ch r í27 l+c f i r (72 ]
""ca*l(5í , t r a n ( 5 u b 5 f a B , b ) I c a n l í l 2 ! , t r a n ( a ¿ - > i n g l 2 , b )??' ' f c a f f l l ( i 9 ) . t r a n í a í i - > i n g l 9 , b ) , c a B l ( 2 ¿ ) , t r a n ( a ¿ - > i n g 2 4 1 b )
í C A M B I O DE B POR 3? c h r ( 2 7 ) + c h r ( 7 1 J , 5 p a c e ( 3 1 + I 2 + 5 p a c e ( l | f c h r ( 2 7 í + c h r t 7 2 ) í s p a c e ( 4 )^":a»il¿l,trafi(5ut35edu,b)f ca«l( 13}, tran(a6-)ingi3,b)^' 'Jca«l(:0),tran(a6-)ing20,b),ca§l(27),tran(a6->ing27tb|
, t ranía¿->ing07,b) ,caj i l í l4) , t ranía¿->ingÍ4 !b)??' 1 , c a i l t 2 1 ) l t r a n [ a f i - > i n g 2 i , b ) , c a i i l í 2 8 ) , t r a n ( a f i - > i n g 2 8 , b )
^spacs(75i , ' Ingr6scs — > ',tran( ingresos ,b)
^ c h r ( 2 7 i + c h r ( 7 1 ) + 1 4 + c h r ( 2 7 ) + c h r ( 7 2 ) , s p a c e { i O )77cMl(29 í , t r an(a ies5 ,b ) , ca i l (37) , t r an(a6->egr09 J b)??' ' , ca«Í(45) , t ran(a¿-)egrÍ7 ,bí f caf l Í Í53í ) t ran(á¿->egr25,bí
7spaceí¿5) ,caal (30) , t ran(a¿->egr02,b) ,ca i l (38t , t ran(a6->egr lO f b)??' ' , ca í l (46) f t r an(a¿->egr l8 ,b ) , ca i l (54) ) t r an(a6->egr? í 1 , :
7 spacf i{65) ,ca i i l (31] I t ran(a6->egr03 ) b) l caaÍ(39) ) t ran(a6->eQ i ' ; , . t"' ' ( c a ( B Í ( 4 7 ) ( t r a n ( a í 1 - > e g f l 9 f b ) , c a B l ( 5 5 ) , t r a n ( a 6 - > e g r 2 7 , b )
?5pacB(65) ) ca*i f32) , t ran(a6->egr04 ,b) ,ca i l (40) , t rw(a6->egr l2 ,b)^' ' ,cas l (48) í t ran(af i ->Bgr20 Jb},ca*](5¿) } t ran(a6 '>6gr2B,b)
7spacpÍ65) ( ca»l (33) ) t ran(a6->egr05,b) , ra t l (41) , t ran(a6->Egr l3 ,b}i?' ' , ca« l (49) J t r an (a6 ->egr21 f b í , c3« l i57 ) , t r an (a6~>egr29 ! b)
?space(65J,cat l (34J f t ranía6-)Bgr06,b | , :á i t l .42J, t ranfa6-}egrH,b)??' ' )caj l{50), t ran(a6->egr22,b) ,caB!,58í , t ran(a6->egr30,b)
05/18/93 CHEQ140.PRG Page 18221:19 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
"™ ?5pace(A5),cail(35),tran(a6->egr07,b)fcaill43)}tranía¿->egrl5,b)
??' ',cail(52),tranU¿->egr24fb)
''gpaceí?!)), 'Descuentos ---- > ',tran(egresos,b)
lilinuB!:heq5=5pace(B]longi
repíace a¿-)total_iipr with reciberepíace a6->nro_cheque «ith nutcheqsnuficheq = nutcheq + 1return
05/1S/93 CHE9I60.PRG page 18321:20 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
restore fro* sucresvalor=recibeaux=valorvO =int(vaIor/100GOOO)vOO =vaIor-vOUOOOOOOvi =inttvQQnomWvil =vOO-vltlOOOOOv2 =intlvl l /10000)v 2 2 =v l i -v2 t lOOOOv3 =int(v22/1000)*:3 =v22-v3ll(WOv4 =intív33/100)v44 =v33-v4HOO/5 = í n t ( v 4 4 / i ü )v55 =v44-v5HOvó =int(v55|vf,6 =v55
11(111unionQ=' '
if vO O Oif vO = 1
Icaipoü=fccaiipo0«•poO=suíistr(««pflO,l)2)f'unionO=' Billón
elseunionO=' iillones '
endifendifHKltlcaBpol='x'+ltrÍB(5trívlt lOQi)if vlOO
if vl=lif v2=0.ancf.v3=0.and.vl=l
caiipol='xlOO'else
ca»pal='xlOrendif
endifelse
cupol*'xO*endif
ca«po2='x'tltrii(5tr(v2tlO))if v2=0
puentel="caipc2B'xO'
endif
05/18/93 CHEQ16G.PRG page21:20 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NONIIJA
caipo3='x'Tltriiístr|v3))if v3=0
caipo3='xO'enrfifif v3=i
ca«po3='xlOOÍ'endifif valor >=1000.and.valor<10QÜO
puentei=' 'endifif v2=l
catpo2='x'+Itrii(str|v2))+llrit(str(v3))ea»po3='xQ'puente! -' '
endifif v3=0
puentel=' 'endiícaBpo4='x'+ltrii(5trtv4llOOIÍif v4<>0
if v4=iif v6=0.and.v5=0.and.v4=l
ca»po4='xlOO'else
caipo4='xlOrendif
endifelse
endifca»pD5='x'+ltrialstr(v5tlO))if v5=0
puente2="caipo5='KO'
endifcaipD6='x'tItrii(str(v¿)5if v6=0
endifif v6=l
caapo6='H001'endifif v5=l
caipo5»'x'+ltri«(5tr¡v5))+ltrii(str(v6))
caipo¿='xO'endifif v6=0
puente2="endifif valor (10
05/18/93 CHEQUO.FRS Page 18521:20 Copyright, UNIVERSIDAD CñTDLICA DEL ECUADOR, 1993
CONTROL DE WOffINA
puente2="endiftil
valorl=(valor-int(valor))(100
unión-''if valor>=1000
unian^' milendifif valorl=0
:enta='00/100'else
if valcrl<9.9999
elsecenta=str(valDrl,2,0)+'/100'
endifendif
5egundo=4canipC!4+' 'UcaupoS^' '+puente2+' ' +4caaipD6-*- ' 'tcenta-*-' sucreslinea^priiero+union+segundopos=0
13="if len(Iinea|>40
ll-5ubstr( linea, 41 ,len(linea)-40)pos=atí' ',ID12=5ubstr(lineafl}40tpos)
if len(linea) > 41+pos13=substr|IinBa(4Hpos,len(linea)-40)
endifendif
blanco=space(60}12=substríl2+blanco,l,55)13=5ubstrll3+bUnco)l,55)»(?s=iOnth(fechaeií J•e5='H'*ltrii(itrÍBK,2,0))dia=str(rfayffBcfiaeBÍ| )2,0)ano=str(year(fechaeii),4,0)if •onth(fecfíaeii)=12
«es='Dicie*breJ
]4=substr(ciudad+% '+ÍBS+' 1+dj¿j-' de '+anotfaJancD,l,55)else
14=5ubstríciudad+', '+4ses+' '+dia* de 'endif
05/ÍS/9J21:21
CLAVE. FREÍCopyright, UNIVERSIDAD CATÓLICA DEL ECUftDCR, 1993
CONTROL DE MIIdA
Page 1B6
cUvea=space{6)iensl=' 'aensU'Usuario no autorizado'621,38 say 'C la /e 'set confirn enset consolé offaccept te claveaset consolé on
clavea^upperíclavea)
set colcr tuset confiri offsele 1L.SP arth99 índex inda9901cUveen=' 'do conversee^ cláveenif eofí)
set color te wt«23,30 eay lenslset color towait "quit
eisepubíic VdrOl, var02, var03, var04, varOS, varOi, aens, USL•en5=' Usuario no autorizado'
var01var02var03var04var05var06usuavar01var02var03var04var05
=space(10¡=space(íOÍ=space(10)=space(10)space(10)space(10)arch99-)noibre_uarch99-)iantarth99->ioviarch99-)consarch99->repoarch99-)otra
returnendif
05/1B/93 OTJQS.PRE Page 18721:21 Copyright, UNIVERSIDAD CATÓLICA DEL ECUflDQR, 1993
CONTROL DE NDHINft
t Prograíáí Coiaftdos del DOS
u='C'da while .t.
clearset cejo ío qeo.G say versión! ) + ' MicroSoft "EUT" Para Retornar al Sistsaset coló to
set inte offtí,0 say u+':\>' qet c pict '«!'set inte onreacJif c=spéc[40)
er.diif t
endiif c= fl:'.or.ts'C:'.or.c='B:1.or.;= D:'
dos-trifi(c¡'y os
loopendidD5=trii(c)
Q5/18/9J CONS100Q.FRE f>aqe J8821:21 Copyright, UNIVERSIDAD CftTQLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
I Consulta de rol histórico accesado por codigojíclearrestore screen fro» paOlsele 6use arth30 índex indaSOOl alias a¿do pant!052do pantl051!la»ada=lcodaux=spácef5)tonau =spacel6)priiero=0set procedure to cálculossn=0opcion=' '
do «hile .t.public sueldoi, responsa, antigu, costovid, subsfa», subsedupuíilic aiess, ingresos, egresos, reciííe, ingreso!, egreso!, recibe!opción ='C'if priiero-0
Í2,24 get conau pictüre 'ffread
else§2,24 say a6-)codiqo_nsw=l
*" endifif (T » conau} .or. ('/' $ conau)
save screen to pant002do «nt025conau=space(¿)restore screen froi pant002SK=0
loopendifif conau = space|6)
clase procedureif tipotr s 'A'
sele ¿use archüfc Índex indaÜ601 áli&s a¿
endifif tipotr = 'B'
sele 6use árenla Índex indal&Ol alus a¿
eridifif tipotr = 'C'
« ^ele ¿use archl? intíex indaí701 alias a¿
endifreturn
endif
05/18/93 CQNS1000.PRG Page 18921:22 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
select Qse t order to 1seek conauif eofO
set color to M!823,1 say 'Error Ccdigcji no existe'set color toHait ' Presione una tecla para continuar'«23,0124,0loop
endifsave screen to panOlSH=0
do Hhi le .t.tipcjol = ' 'do case a6~)tipo_iovicase afc->tipo_iovi = ' A '
tipo_rol 3 'Hensuaicase a6-)tipo_iovi = 'B '
tipo_rol = 'Retroactivo/Sobresueldo'case a6->tipo_«ovi - 'C'
tipo_rol = 'LiquidacionesendcaseÍ3,9 say a6-)codigoÍ3,24 say aír>noibre63,70 say a6->fecha_ingÍ4,24 say a6-)no»j)uestoÍ4,6? say a6-)sueldoÍ5,9 say ti pojo 165,51 say a6->anio15,76 say a6-)partida823,0•esl-a¿i->»esÍ5,64 say aesl picture II
rango=' '«22,0 to 22,00§7,11 say a¿->diasdo con si 220do ienslOOlrango='RSC'do Nhile .t.
123,75 geí opción picture '!readif opción t rango
exit
opcion='C'
05/18/93 CQNSÍOOO.PRG21:22 Copyright, UNIVERSIDAD CATÓLICA DEL ECUflDGR. 1993
CGNTRQL DE ÍÍÜHIÍJA
loopendif
endcloíf opción = 'C'
t
if eofíiexit
endifif cañan O ¿ó-kodicjojí
exitendif
endifif opción = 'R'
eeiecí ósrip - 1¡f boto
exitenai fi = conau '..' a6-:'CDdiaí :-
e;:iterdi'
endifif Dp:;on - 'c
e;u:endif
enticaLDr3LI=" • 6)
= screen froi panOi•o
'V18/9321:22
CQNS122Q.PR6Copyright, UNIVERSIDAD CATCL3CÍ "L tCüflOQR, 1993
CONTROL DE NOMINA
Fage 191
t Colienzo de visualizadas de dates
«8,11 say ai->ing01 picture 'iiitlii.lt'§9,11 say a6-)ir.gc: picure 'itmti.it'910,U s¿y á¿-;:,-g:3 picture '»«««».»'fi¡:,i: =^} £Í-MngO« ficture 'ttttm.tf§12,:: say 5^ing05 pictureÉl?,!; *í¡ :£•-.'; ngfá picíure '•
picare 'it»l«l.t#'picture 'tllftttl.tt'
r ' :"-• ral:
s:4.e:3: ¿u:'j' "«19220621«e,;«9,;«10,en,«12,§13,«14,«15,«16,«17,«18,619,320,«21,
* *• •
j **
i : i,:i
•¿ i1 •,11,11,11sisi,31,3131,313131313131313131
= - í::
*-¿)
sa/£SJ
=a/sd>¿dV-** í
5a/
saysaysaysaysaysaysaysaysaysaysaysaysaysay5ay
zúiic-vid-..W f ,
^ts¿¿£¿-"iig07á6-/ir.508ai-íi.-.gj?aé->ir,filOíó-í inglla6->ingi2á¿->ingl3a6-/ing!4
a¿-)ingl5a6-)ingl6ai->ingl7a6-)ing!8a6->ingl9a6->ing20a6->ing21a6-)ing22a6-)ing23a6-)ing24a6->ing25a6->ing26a¿-)ing27a6->ing28
P::turspicturepicture
pie ture¿icí-repicturepJEturepicí'jrE?picturepicíurepicture
picture "picture 'picturepicturepicturepicturepicíurepicturepicturepicturepicturepicturepicturepicture
'ittmt' tiltil? .'tttfiitf,
'üJáÜÉÍs,•EíiCísl.'tttjtltii.SliSiü.ítitttltt.
'Ílt#tti.«iittil.i6tmi.illilliMimttt.ittiiti.tmttt.ittitfl.ittiitt.mmt.ttlttit.tittiii.'titttit.titttii.'iittttt.ÍHJt»tt.
.tt',tt'.«*
,tf.tt-.»'jfir
tiilH"!f
it
tt
«'
Üt'ti'itti'titi'it'titi
t Egresos
«7,51 say a¿->egr01 picture 'ttitiit-It'«8,51 say aé->egr02 picture 'Mttfti M'89,51 say a6->egr03 picture 'ttttSi*. r«10,51 say a6->egr04 picture 'Itttlíi tf«11,51 say a¿->egrD5 picture '«!»»;.»'
21:23CONS1220.PRS
Copyright. UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993CONTROL DE NOMINA
Page 192
é!2,51 say aó->eqr06 picture fttIMMt§13,51 say a6->eqrQ7 picture IMMH.ttt§14,51 £av 56->egrOB picture 'ttttttt.tt'§15,51 say a6->egr09 picture 'tttlttt.lt'§16,51 say a6->egrlO picture 'ltltttl.lt'§17,51 say a6->egrll picture 'ttttttt.lt'Í1E.51 say ai->egrl2 picture tiltil!.**§19,'1 5ay áó->egr!3 picture 'IftlIHft.Ü'£20,51 say aó->egr!4 picture 1*11111.11'§21,51 say a¿-)egrl5 picture 'tttlttt.lt'§7,7i' say ¿¿->egri¿ picture 'Htttít.JfS'«B,70 say a6--egr!7 picture "tHHtt.«"3=,70 say a6-)egr!B picture 'ttttttt.tt1
110,70 say aá->egrl9 picture 'lililí!.It'«11,70 say só->egr20 picture 'ttttttt.tt'§;2,70 say aó-)egr21 picture 'IMIItt.lt'613,70 say a6-)egr22 picture 'MMttt.lt's!4,70 say a6-/egr23 picture 'ttlittf.M'115,70 say aé->egr24 picture rfttttllt.tt#'§16,70 say a6->egr25 picture 'MMItl.lt§17,70 say a6->eqr2í picture 'IMHH.Ii'S1B,70 say a6->egr27 picture 'MMttt.tf§19,70 say a6->eqr28 picture 'Mttttt.lt'§20,70 :ay 3¿-'egr2? picture 'Mltttt.»!'a:i,70 say afi->egr:0 picture 'MtMIt.M'ció ingreso!d: egreso!^c recibe!§22,10 say 'Ingresas£22,20 say ingresol picture§22,33 say 'Egresos '522,42 say egreso! pictureí22,62 say 'Recibe 's;:2,7>} say -ecibel picture 'IMMtt.!*'
t F;n dt visualizacion de dates
05/1B/93 CDNS200.PR5 Pag e 19321:23 Copyright, UNIVERSIDAD CATÓLICA EEL ECUADOR, 1993
CONTROL DE NOMINA
I Consulta de rol ¿ccesado por códigoclearrestore screen from paOlde panto 52do pantOSl
conau -spacEíó)pnssero-0set procsdure to cálculosStí=t)opción^'!Í9=1='
páso=0do «hile ,t.
public sueidoi, responsa, antigu, ccstovid, subs^ft,public aies-s, ingreses, egresos, recibe
do «hile ÍSH = 0}espejen ='C'íf priiierc'O
S3.9 geí coda^f, picture '$'. 'read
eise
endif
if í't' $ codáüx) ,or. {'/' í codau.i)save screen to pant002dD isant025
restore scrte:i from pantOOZs«=0loop
if ccdaux =cióse procedurereturn
endif
select 1set order to 1seek codauxif eofíí
set color to *t823,1 say 'Error Código 6ruD: no existe'set coJor toW3it ' Presione una tecla p:ra continuar'
05/13/93 CONS200.FRS Page ic
21:24 Copyright, UNIVERSIDAD CATÓLICA L'EL ECUADOR, 1993CONTROL DE NOHIKñ
«23,0§24.0loop
elseif deíeted
set color to wt923,1 say 'Registro personal borrado favor;
reactivar desde mantenimiento de archivos'SEt calar towait ' Presione una tecla para continuar1
S23,:624,0loop
else§23,0prinero=lexit
sndifendií
save screen ío panOisw=0do while . t.
clavp2=al->puestoselect 2seek clavE2if eofí)
set color to H*823,1 say 'Error Código de puesto no existe'set color tonalt ' Presione una tecla para continuar'§23,0§24,0loop
endifcUve21=al->tipo_trabaselect 4seek dave2Ii f e o f ( )
set coJor to wl323,1 say 'Error Código ..30 d& trabajador no existe'set color toHait ' Presione una tecla p3M continuar'«23,0824,0loop
pndif82,24 say al-)codigo_n63,24 say ai->noinbre
05/18'9i CQNS200.PRG Page21:24 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1593
CONTROL DE NOHINft
§3,70 say al-)fecha_inq94,11 say ai->puesto84,24 say a2-'descripcio
85,8 say ál->c_fa« picture "I65,22 Sdy 3l->cj?&t picture n*l"15,42 say al-/grupo_iessS5.Í7 say jl->tipo_traba?5,76 ;ay al-)partidauní
cod igo3=5iibstr(codatjx, i, 5 j+subs t r í iie5l,l,2]nuevo='N'if pase - O
select 6lóca te for íaó-} código = substr tcQdiqü3, l ,pü£C=l
endif ipasoaesi^aíi-'-aes^5 ,64 say fflEsl pi;i,re '»'if e o f í )
Í23,i say 'T ransacc ión sensual no ex is te 'añadir^'
primero^e:;:t
elss
flensaje=5pace[50]barrado='N'ranga-'select 6j f de le te t )
tarrado='S'do íiens002
endifcía wfíiie .t.
$22,0 to 22,80if borrado = 'N J
do while ,t.if opcion='H' .and. subs-.rí ar07 1,1) = 'S1
87,11 get aó-)dias
eíse37,11 say a&->:'-=.s
endif
05/18/93 CONS200.PRG 'age 19621:24 Copyrigíir. UNIVERSIDAD CATÓLICA CEL ECUADOR, 1993
CONTROL DE NGHINfi
if a6->dias )= 1 .and. aí¡->dias <=30sx i t
e n d i feneldo
íf opcion='fT .and. substríyarü¡2,l, l] = 'S'do cons2iO
endif
itumttt
ÚQ cons220
ÍÜl i l I l í l
endif ( Borrada
if barrado O ' S '
rango- DRS3J1C'er .áif,-^T U^l la f'- _• ÍT + J 1 ¿ C i L i
s23,75 qet opción piciire '!'readif apcion 5 rango
exiteise
Icopendif
enddcif opción = 'D' .and. S'.;b5tr;vár01,2,i) = 'S'
1 Modificar Dates pErecnólescodau=space(5;codau=codauxdo flantOOlesit
endifif opción = 'C'
selsct tistipif eofíJ
returnendifcodaux=afi-)codigoexit
endifif opción - 'R'
select 6Ekip - 1
05/lB/tt CONS200.PRG Page 19721:25 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQflINA
if bofi)return
endifcoda¡i¡i=a6->codigoexit
endifif opción = 'B'
selact 6deleteborradD='3'
endifif cpcion = 'A'
recaíexit
endifif opción = 'U'
exitendifif opción = 'S'
returnendif
en¡¡doendifrestcre aereen frca panOIif opcion='C' .or, opcion='fi'
exit
endifenddo
enddo
05/IB/9321:25
CONS210.PRGCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR,
CONTROL DE1993
Fage 193
I CQHÍEFÍ20 de ingreío de datos
if íai->tipo_cak = 'u' ,or. tipotr - ' B ' .ar.«8,11 get"a6-;-ingOí picture "IHHM.H"§9,11 get aá-)irtg02 picture 'HMftftft.H'«10,11 get a6-)ing03 picUre 'fttflHI.ftr811,11 get aó->íng04 picture '«Iffff3f.il '812,11 get aé-)ing05 picture 'tMllll.fl'«13,11 get a¿->ing06 picture 'flttitH.llt'
tipotr - 'C'
ar.tigu =afc- ; :ng0
e I sedo sueldosdo respectado dñtigudo c35tovirido subsíaa
do subsedu
do aiess
*S,iI sav sueldan«9,11 s a v re^ür.sa110,11 aa/ antigu811,11 bay costovid812.11 5ay subsfsi813,11 say subsedu
endif
picture '»##*##. #1 'picture 'ilIHitt.ifpicture '«IftlUtt.irpicture '«Ittttt.H1
picture 'HHtHt.tl'picture 'ItHSM.H'
814ais816817519§19§20821«359,
810en812813814815@1¿«17«18819
,11,11,11,11,11,n,n,11311-1,31,31,31,31,31,31,31,31,31,31
getgetgstgetgstgetgetSet
gstgeígetgetgetgetgetgetgetgetgetget
a6->ing07ai-íing08a¿->ing09aó-)ínglOai-)ingüai-)ingl2a6->ing!3a6->ingl4
a£r)ingl5a¿->ingl¿a¿->ing!7aá->ingl8ai-)ingl9ai-)ing20ai->ing21aé->ing22ai->ing23ai->ing24a6->ing25ai-)ing26
picturepicturepicturepicturepicturepicturepicturipicture
picture "picturepicturepicturepicturepicturepicturepicturepicturepicturepicturepicture
ntttm'IHIIH'HftIHttfltlf*'HWH[fililí't««$tiiIII ittttlt^^.
HtlHí
'IHItttittttitfttlfliil'!«*»«*IHftIHIHIIU'««illti11*1111IllllllHIMH
.St'
.11'Jl.!#'.«'.11'.11'.11'i»1HItt'.»!'.H'.tiJl.**',fii.«'.11'.ti1
<l •«*• •*•ar
l_ 3» B*>
•_
oí
«s««*
MiiMI=«=
LJ
o.
C-J
t-
1-o
OJ
"lu
cocu
a»
L_ZJ
LJ••-Iex
L_enai
' t-Om
ai
-*,.
(j-tSÍ
a* a»
Qj OJ
Q- 0-
-»- 10
CP fOí t"
1 1-íl ~ü•u '-n
QJ 01
1/-I u"l
k— . -. -<
5} ;aJ
a»
ae
OJ
Q-
CT.
.. -.,
-OrO
Qj
U1
12J
a»
QJ
n
CJ_
OJ--vi
~oni
Oí
iT?
t-1
^
a»
oí
o.t»
tu
(-o.rJ
•licu
ir»
,-H
3*1
Oí
d.
enul
-ora
aiLn
^trjT-I(XJ
M*
a»
QJ
ex
cr>OJ
,^-%
f-o
QJC31
LO
*^
a*
ai
d-
criOí
,*•-.i
-ora
OJCT-
LO
^1<BJ
at
a*
QJ
O.
r i
CT>Oí,",1
-Q
OJ
— íU~J
a*>
«*
01
ct.
oí. '•^
-Q•U
Vlj
Ul
Cr
s
as
QJ
n.
•a-
CTi
I-O
ru
ío
t • i
at.-A:
J«f
5»
(U
E3-
OJ
1-13ra
Oíu-
u~l
,l '
ac
at
LJ
Ci.
-ot-
•w
Qj
^f -'9.1
3»
a*
a*
LJ
o.
^
i
OJ
o
coOÍ)
n
at=
i*
uo.
V-
1
•n
"qj
CJ-
a*
OJ
o.
o-
tllrn
f-°^
-Í3tu
OíC.J'
í¿
s
a»
Oí
o.
of-4
CT-OJ
x--x
(-o
OJ
<TJ
••--<
QJ
ra
oí--•-^i
-J3•O
LUta«
•oh-.
S
-) -
a«
cu
-•-*ex.r-j
oí,-
~T3n)
O)en
r¿riC5J
=M>
a*
OJ
=3
C'-J
U
-ofO
OJcu
(-~
<ÜJ
.«=
•b
54»:
QJ
CL
01CU
Xx1
•J3rO
QJCTl
r--
ov
ac
OJ
=>
a.
cuoí
-oITJ
OJen
t^
-O
ou
>wa»
«*at
a*
oí
ex.-O
CT>(U
¿^t
~ott
OJCJl
íí
£
a*
Oí
=3
.-^O-
r-4
QJ-^^1
~o
VCT>
r--
CTi
W
ati
cu
Q.
en
CTtQJ
^%.1
-o
OJcr>
íio-CTJ
«f
•*>a*r
OJ
d-
o-
OJ^^*
-o1)
Oíen
r .
caí
a»
oí
Q.
Oro
cuoí
i-o
Oíce
<o
r-<
VI
u>oí
cue;
n)•JJ Ot- -o
ainL.
O-o
aiXI
uai
o-n
ula
Oí
e
—i(M
a*
OJL.
u•—1o-in
Ul
ene
••o
o
t-j
Ul
u>
o>
•out
^O
r*i
tk
a%
afcMI
Oí
LJ
O.
Q
V,cr.
T»
CN
<--*(Bí
1*K
a*
OJ
3
LJ-^Q,
.O tu
Oí LJee: oí
*• ni
ÍM 0
r-j. c--«<BJ Al
&5/19/93 CONS210.PRB Page 20021:26 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
05/18/93 CADENAS.PRE page 20121:26 Copyr igh t , U N I V E R S I D A D CATÓLICA DEL ECUADOR, 1993
CONTROL DE N O M I N A
- I prograia para generar cadenas de códigos tipo eapleadosJ y qrupo (Je aportes
select 3go íopcíe h h i l e .Tro t . e a f ( I
cader¡al=catíenal+a3-, '-grupo_iessí l"ip
e n d d o
se lec t 4^c topdo w h i l e .rot. e o f í í
cadeRf l2= :adena2+a4-> t ipo_ t rabaskip
e-:d(io
return
CflLCULOS.PRG Page 20221:26 Copyright, UNIVERSIDAD CATÓLICO 0a ECUADOR, 1993
CONTROL DE NOMINA
procedure sueldoȒ Procedimiento para calculo del Sueldo
sueldos = round! (a2-)sueldo/30) t a6-'dias ,0)
return
procederé responsat Prcjcediaiento para el calculo de la responsabilidad
= rcundí sueidoa I U4-íp_resp / :00) ,Cj
procedure antigut Procedimiento para el calculo de U antigüedad
antigu = a4->b_anti t [sueldoa t ¡a4->p_ant: i / iOO)í
diasj = (a8->fecha_rol) - (al->fecha_ing]antigu - Oanoj=(diasj / 365)anoi=int(anoj]if anoi = 4
antiqu = a4->b_antiendifif anci > 4
anod = anai - 4antigu = a4->b_anti + (sueldoi I (a4-)p_anti / 100 ) I anad)if (antigu > sueldos)
antigu = sueldoientfif
endifantigu = round(antigu,01return
procedure costovidI Procedí «lento para calculo de el costo de vida
costovid = roundí (a4->c_vída/30J I a6->días ,0)
return
procedure subsfait Procediiiento para calculo de lubsidio faiiliar
subsfal = al->c_fai t a4-)v_hijo -
return
05/IB/9321:26
CÁLCULOS.Pí?GCopyright. UNIVERSIDAD CfiTQLICA DEL ECUADOR, 1993
CONTROL DE KGJ1INA
procedure subsedjI Procedí mentó para calculo de subsisdio educacional
subsetíu = Í I a4-;vestu
re tur u
prccedure aiessI Procedimiento par¿ cauda ús aporte s¡ IE3SI SIBSE = (¿2-"sueldo í Ía4->p_apcr te / ' l í '0 ) / 3¡>i ? aá->£Üa
a - tipo - ' H 'ÓÍESS - !. ¡a¿-." !5ueIdD t aritigul ' íu::s
Í a 4 - ' p_cpori;e;iOC'} / 30; f a6- d;--s ise
if a>;^ti (; ' E '
er.dif¿iess íií-.'s-jeldc + antigul)
¿pcrte/ lOOi / 30) t aíendif
aiess = roundiaiess,2¡return
protedure ingresosI Procedimiento para E! calculo de iiuir—^ingresos * Oif al->tiaci_c3h = 'HJ .cr. (tipotr - '8r .or. tipatr ~ JC'
ingresos = a6-)ir¡gOí + a6-):ng02 + ai->incCos = ingresos t 3¿->ing04 + aó-HngO:: t afc-)ifiq06
ingresos = sueldo» t responsa + antiau •*• costovid tingresos = ingresos + subsedu
entiifingresas * ingresos t a6-)ing07 t a6-)ingOS + af>-)ing09ingresos * ingresos + 3¿->inglO + ai-Vingll + 3á->ingl2ingresos = ingresos + a6-)inql3 + a¿r>ingi4 + a¿->inql5ingresos - ingresos + a6-)inglé + a¿->íng!7 + afi->ing¡BiniiresQs = ingresas + a6->ingl9 + a6-)ing20 + a6-)ing21ingresos a ingresos + a&->ing22 + a¿-)ing23 i a6->ing24ingresos = ingresos + a6->ing25 + afc-)ing2fi + a6->ing27ingresos * ingresos + a6->ing2fiingresos - round(ingre505,2)
return
procedure egresos
5/18/9321:27
CÁLCULOS.PRSCopyright, UNIVERSIDAD CftTOLICA DEL ECUftDQR, 1993
CONTROL DE NQHINA
Page 204
í Procedifflientc para el cálculo de egresos
egresas = Oif al-)tipo_calc = 'H' ,or. (tipotr =
egresos = aá->egr01e] se
egresos - aiessendif
'B' .or, tipotr = 'C'l
egresos =egresos =egreses =egresos =egresos =egresos =egresos ~egresos =egresos -egreses =
egresosegresosegresosegresosegresosegresosegresosegresasegresosegresos
+ ab->egrQ2 1+ a6->egr04 •+ aó-)egr07 i+ a6-)egr!0 •+ aó-)egri3 H* ai-íegrli <+ aó-)egrl9 i+ aé-)egr22 -•F aó->egr25 H+ a6->Egr28 H
i- a¿->3gr03> ai-íegr05 •h a6-)egr03 ii- a¿->egrll •^ a¿-)egr!4 ^K a6-)egr!7 H
!• ai->eqr20 ^H ai->egr23 J
- 36->egr2¿ ^^ a6-)egr2c) i
(• a6->egr06• afi->egr09^ ao~/EGrl¿r aa"/eQri5>• at-^sgrlS^ 3¿-'''eflr21i- a6->egr24• a¿-;egr271 a6-)egr30
egresos = roufíd(EgresDS,2
rsturn
p^ocedure recibe1 Frocediiuento para calculo de total a recibir
r ecibe = Orecibe = ingresos - egresosrecibe =
eturn
procedure vpuestoI Procediaiento para validar el puestoselect 2
pueauif eof()
set color to «t123,1 say 'Código de puesto no existe'set color toIwit 'Presione una tecla para continuar'
endifreturn
procedure ingresolt Procedí níenío para el calculo de ingresas históricoingresal = Oingresol * a6->ing01 + a¿->ing02 + a6->ing03ingresol = ingresol + a6->ing04 + att-'. :ng0541 ingresol = ingresol + a6->ing04 + aAvingresol = ingresal + a6-)ing07 * ai- .ngOBingresol = ingresolingresol = ingresol
afi-)ing!0 +a¿-)ing!3 *
aé 'ingll +inglí +
a6-)ing06a6->ino09a¿-)ingl2a¿->ingl5
05/16/9321:27
ingreso! =ingreso! =ingresol =ingreso! =
CALCULOCopyright, UNIVERSIDAD CA'
ingreso! •ingresol 1ingresol Hingresol -f
*- a6->irig!6 •*H ai-)ingl9 tH aír>ing22 +• a6->ing25 *
a6-;ingí7 •*•ai-)ing20 +a6-uag23 +a¿-)ing26 +
CONTROL D
aíi->ingl83¿->ing213¿->ing24aí>->inq27
Page 205
ingreso! = incresol + a6-Mng28ingreso! = roundíingresoi,2J
return
prccedure egreso!í procedíjuiínio para el calculo de egresos histórico
egresa!egreso!egreso!egreso!egresolegresolegresolegresolegreso!egresolegrese!egresa!
= a6->egr01= egresol += egresol += egresol +- egresol += egresol += egresol += egresol += egresol += egresol -t-= egresol +
a6->egr02aé-/egr04a6-)egr07*6->egrlOa6-)egrl3a6-/egrl¿a6-)egr!9a¿->egrZ2a6-)egr25a6-)egr28
+ aó-)eqr03+ d6-íegr05+ a6-)eqr08+ ai-)egrll+ a6-)egr!4+ a¿-)egr!7+ a6->egr20+ aé-)egr23+ a6->egr26•*• a¿->egr¿9
+ afi-;egr06t aó-)egr09t a6-)egr!2+ a6->egri5t a6-)egr!8+ a¿->egr2J+ aé-:egr24+ afi->egr27+ át~;egr30
= round(ggresoi,2J
return
p.'ccedure retibel( Procedifliento para calculo de total a recibir
^ Orecibel= ingresDl - egresol
= round(recibel,2)
rcturn
05/18/93 CAMFEC.PRG p¿ge 20621:28 Copyright, UNIVERSIDAD CATOLICfi DEL ECUflDCR, 1993
CONTROL DE NOMINA
I Hanteniaiento de arcttOS eapresa, patronocleardo pantOÜS
select 8sueau=0eapau=5pace(¿0)npáau=space(10|finiau=5pacelI7)dírau=space[60)telau=5pace(8)je féu-space(4C):edau=5pace(10)fecau=' / / '
r,paau=njjatronalnruau=n_rucdirau=direcciontelau=teleforio
jefau=jefe
fecau=fecha_rol
84,20 say sueau picture 'Í,tH,HI,ISIt'@5,20 say eipau picture '8! '«£,20 say r.paau picture 'tttüHHI'§7,20 say nruau picture 'ilttltHliltlHtl'ÍB,20 sáy dirau picture '8! '89,20 say teláu picture 'Stttlllt'810,20 5áy jefau picture '8! 'Ílí,20 say cedau picture IMIttiMt§12,09 say 'Fecha Rol: '
812,20 get fecauread»E(isaje=space(30!
5' <B> Srabar <C> Cancelar'say re n saje
do Hhile .t.Í23,23 cet op picture '!readif op $ '6C'
exitendif
tnddoif op = 'C'
returnel se
nplice sueldo_iin «i th
o, o• K~t_i <xlit (-J
""O ra *D PO *U «U
i, —¡ I .
05/Í3/93 CHEQ050.PRG pa?e 20821:26 Copyright, UNIVEft5IDflD CfiTDLICA DEL ECUADOR, 1993
CONTROL DL MOHÍNA
clearrestore screen freí paOi62,I 5S? 'Enisian de Cheques'store ' / / ' to fechsBBifechaesii = ctcdlfechaem)
store dsttt1 te fechaeni54,20 to 2,63
co «hile ,t,§6,23 sa/ TECHA PE EíUSIQN SE CHE3UES :
resd=5tijr9 dtocifechaemi} te fschaaüif f fechaau=' / /
OQ pelse
exítendif
cc='
•:rseri to pa02rio «h:ie .t.
ccdir i=space[5¡eessele ~§ ¡1,20 to 1A,¿36 12,22 say ' Número de «es' get raesseie picture 'ti'É 13,22 sav ' Niiaero de cfieque7 get nuacheq picture #tllHtSS 14,22 say ' Ingrese el código para INICIAR1 get codir. p:cture ' : ' : ! ! 'readií codíií =
set print offreturn
endifcod f in^space fS)i 15,22 say 'Ingrese el código para rlNñLIZfiíT get codfin pict ' ! ! ! ! !readíf codfif i = space(5)
set print offreturn
endifselect &lócate for Ía6->codigo - cotJin)if B0f()
set print offnait 'Código no existe'set print on
21:2?CHEB050.PRB
Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993CONTROL DE NGHINA
Page 209
loopendiffüt=spaceíiG)set print onde cheqlOOresíore screen freí pa02
enddo
05/16/93 CHEQIOO.PRS Page 2ÍO21:29 Copyright, UNIVERSIDAD CflTDLIC/S DEL ECUADOR, 1993
CONTROL DE NOHINfi
& I Reporte cheques acceso por código11=' '12=' '
14=' 'select dset deiete or
if asaseis - 'set filter to
eiseset íiiter to ai-)aes = aesseleif at-;res O üessele
if .not, ecif;jsfcip 1
endifendif
=ndifccdain=space(5|set procederé to cálculosseccaux=substr(a6->codigo,I,3)
set colcr to wl
set color toset device to print
^f- set cansóle off
da while .not. eof(¡public sueldoi, responsa, antiqu, castavid, sufasfara, subsedupublic aiess, ingresos, egresos, rEcib-select 1set order to iseefc afi-)cadigoif eof(í
set color to wíí 523,1 sáf 'Error Código no existe'set color toI wait ' Presione una tecla para continuar'1 823,0I 824,0loop
endif
clave2=al->puestoselect 2seek clave2
f, if eofOset color to wtI Í23,l say 'Error Código as puesto no existe'set color to
05/18/93 CHEQÍOO.PR6 F¿ce 21!21:29 Copyright, UNIVERSIDAD CATÓLICA DEL ECUftDQR, 1993
CONTROL D£ NON!NA
t wait ' Presione una tecla para continuar'1 623,0I §24,0loop
endif
dave2i=al-;:tipo_trabaselect 4seek clave21if eof()
5et colar to H!I §23,1 say 'Error Código tipo de trabajador no existe'set color tot Hit ' Presione una tecla para continuar'I 323,0t 624,0loop
endíf
mittmi* calcularde chet)120
t Transforaar a letrasdo cheqliO
t Inpriaír chequedo cteqÍ40U1UIÍ1IÍ
if a6->codigo = codfinexU
entíif
select 6skip
cod¿ux-a6-)codigo
set devire to screenset consolé of¡§24,33 say 'seíect 6set filter to
return
05/18/93 CHEQÍ20.PÍÍS Piqe 21221:29 Copyright, UNIVERSIDAD CATOLICft DEL ECUADOR, 1993
CONTROL DE NDHINfi
t Cálculos
jf ál->tifQ_calc = 'JT ,QT. ítipotr = 'B' -or, tipoír = 'C'jsueldoí =a¿->ing01respansasa6->inq02antígu =a6->irig03C05toviii=a6->ing04
subsedü -aó-)ing06aiess =at->egr01
sisedo sueldodo respor.sado ¿ntigudo costoviddo subsfaido subseducío aiess
endif
do ingresasda egresasda recibereturn
CHEQ140.PR5 p¿:;2i::0 Copyright, UNIVERSIDAD CATÓLICA DEL ECüftDOR, 1993
CONTROL DE NOfllNA
if recibe - Oreíurn
endif7spaceí¿5)+' Val-)noíbre+' '+a6->*es+' '+dtflc(datB())+" "+aá-
código*" S/."+tran¡recibe.'l,HI,tM.II' ) + ' +noitr
b='l««f9.99'"spa:e(65), canil (1) ,traíi{sueldoi,bJ,caiH8) , t ran(aá-?:nqOS,b¡7? 1 ' ,ca i i l í l5) I t rar 1Ea6-í :ngÍ5 Jb) ,ca i l (22J J t ran{a6- í i r ig22.b;''spaceíiS), cail(2) ,traníre5pofisa,b),í:a!ilí9) ,traníai->ing09,binr ' ,caaIí l6) l t raR(a6->ingl¿ Ibí,cai l (23) } t ran(aé->in523 lb)? 5 p a c 2 Í & 5 ) , casi (3¡ ,tranfanUgü,b),cafilílü),tranU¿->inglí¡,bS
pace í¿5) , can i (4 ) ,tr¿fúco3toyid,bí ,cafll(ll) ,traníaó->ingil 5 b ;' ' ,c£BÍÍ ie). t . ran(¿¿-; ingi8,b),cai l [25i, tran(a¿->ing25,b)
"^c i f f l í í?) ,trsnísijbsfaii,b),caal(12),traíí;a6-}ingl2 )b!"!"' ' ,cáa!(19¡,traniai->ingl9,b),canlS2ó) ! t ran(a6->ing26 fbi
í CfifíSífl DE 3 POR 3?chr (27)+chr {7 l ) ( space(33+12+5paceí l ! ,chr (27} tchr (72) .spaceí4)
?' • ,ca* l (20| ( t ranta6-í ing20,b| ,cai l (27), t ran(aA->ing27 lb)
c«l(7J ,tran(a¿->ingC7,b),cul(H] ltran{a¿->ingl4 lb)??' ' )caíIí21),tranía6->ing21 fb),c¿aÍ(28í í tran{a6->ing2B,bJ
?space(75) , 'Ingresos ---- > ' ,tran{ir:gresD5,b)
"chr(27) íchr(71J+M+chrí27)+chr(72) l5paee(10)"?caílí29)jtran(aiE5E,bí,caiU37),tran(a6-)egr09,b)??' 'J¡ :aiBÍ(45) f t ran1aá->egrÍ7,b) Ica6Íí53)J t ran(a6->egr25,b)
?space(65),cai l(30) ) t ran(a6->egr02 íb).cai l(38J í t ran(a6~>egrlO,b)"?' ' ,cáf l l (46),tran[a6-)egrí8 fb(,cai l{54í ) trarr(aí.->egr26 Ib)
?5pace{65),caíi(31!,traníaé->Bgr03,b!,ca«l{39),tran(aíi->egrl i íb}?*>' • ,ca i l {47] , t rar t fa6->egr i9,b) ,ca i l (55} , t ran(a6->*gr27.b j
' Icai l (48) } t ranta6->egr20 fb),cai l í56), t ran(a6->egr:8,b)
?space(¿5í ícai l(34|, tran(a6->BgrOé.b),ca«lí42i, tran(a4->egrí4,bí??' ' ,w»l(501 ttran(a6->Bgr22,bJ,cail(:8),tran(a¿-; 'egr30 íb)
CHEQÍ40.PR521:30 Copyright, IMYERSIDÍU) CATOLICE DiL ECUADOR. 1993
CONTROL DE NQfll:^
'SpacB(¿5) ,ea« l (35) , t ran(a&^egr07,b) ,caf t l (43) , t ran{a i ->eqr l5 , tn
liíin.uisc•ong: -Ier=í iíriaísírí.Tuazfieq,^
rap lace s£i-'>total_iipr ;uth recibe
repiáce a6->nra_rheq!Je wí th riüisc
.'.jacheq = nuachea * 1
return
05/10/93 CHEB160.FSG Page 21521:50 Copyr igh t , UNIVtRSiDflD CflíQUCfi 0£L ECiWDQff,
CONTROL DE N Q W I N f l
rcstore fres sucresvalor=redbeaux=valorvO =int(valor/1000000)vOO =valor-vOllOOOOOOvi =int(vCQ/100000ívil =vOO-vlllOOOOÜv2 =intlvll/10000)v22 =vli-v2ílOOOOv3 =int[v22/1000ív3? =v22-v3»1000v4 =int(v33/100)
v5 ^v55 =v44-v5J10vi ^i
p u e n Í B l = ' y 'puente2= 'y 'tutuunionO=' 'c a B p o O = ' ) í ' t i t r í r i Í 5 t r ( v O i
if vO O Oif vO = 1
m. ícampoGaJcaipoO=sub5tr(caipoO,l,2)t' '
elseun ionO= ' «il íanes '
endifendifI I I K Mc a i p o l = ' x ' + l t r i i ( s t r ( v l t l O O )if vlOO
if vl=lif v2=0.and.v3=0.and.v
caspols 'x!00'elss
ca«pol= 'x lOrEfJCÍif
etidifelse
ta*pol= 'xO'endif
ca»po2='xO'endif
I05/18/93 CHEQ160.PR621:31 Copyright, UNIVERSIDAD CftTOLICfl DEL ECUADOR, 1993
CONTROL DE NOMINfi
endifif v3=l
caipo3='xIOOrer.difif valor >=1000.and.vaior<10000
puentel- ' 'endifif v2=i
M « p o 2 = ' x ' + l t r i i i t s t r l v 2 í ) 4 l t r i B ( 5 t r í v 3 )caapo3='xO'puentel=' '
if v3=0püentel = "
endif
if v4<>0if v4=l
if vÉi:::0.and.v5=0.and.v4=l
else
endifenriif
elsecanpo4="'xO'
endifcaipa5=V+ltriilstr|v5tlO)if v5=0
puertte2::' 'casipa5='xO'
endifC3ipo¿='x'+ltrii(str(v6))if vt=C
endifif v6«l
endifif v5=l
puente2="
endifif vi=0
puente2=1' 'endifif valar <10
CHEQHO.PRG Page 21721:31 Copyright , UNIVERSIDAD CflTOLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
fjuente2=' 'endifttt
valor l=(va lor - in t ( v a l o r ) ) 1100priuro=caipcO+union(H' '+4caipol+' 'Hcaipo2+' '+puentel+' '
if valor>=1000
endifif valorl=0
centá='00/100'eíse
if vaÍDrl<centa='0'+str(valorl,l,0)+'/100'
elsecenta=str[vaiorif2,0}t'/100'
endifetídif
5egundo=4cáipD4+' 'HcaopoS*' '+puente2f '+4campQó+' '+centa+' sucreslinea=priierc+union+segündo
13="i f l e n ( l j n e a ) ) 4 0
I l*sub5tr t l inea, 41 , l en ( l inea l -40 ípos=a t í ' ' ,11)12=6ubstr(lineaíl,40tpD5)
if l en íJ ines) > 4í+pos1 3 = 5 u b 5 t r ( l i n e a , 4 i + p Q S , l e n ( l inea) -40)
endifendif
b lanco=space(60)12=subs t r (12+bUnco, l l 55)
»e5=ionth( fechaemi)
d i a = s t r í d a y ( f e c h a e i i ) , 2 , 0 tano=s t r{yeá f ( f e c n a e » i } , 4 } 0 )
sise1 4 = 5 u b E t r í c i u d a d + ' , ' ifiies+' ' + d i a + ' de ' + a n 0 + b U n c o , ! , 5 5 ¡
endif
05/16/921:31
CLfiVE.PRGCopyright, UNIVERSIDAD CATÓLICA BEL FCUABDR, 1993
CONTROL DE MOHÍNA
e 2i8
claveasspace{¿¡aensl-"íensl=r Usuario no autorizado'«2i.3fi sar 'Clare'set confiri enset consolé offsccept tj ciaveaset consale en
set cclor toset confina offseis 1use arch99 índex inda9901
cío caá verseek claveen:f eo f í )
set color to *tÍ23,3£) SAY wnsiset color taH d í t
qaiteise
public varOi, var02, var03,iefis=;üs!jario no autorizado
varG5, var06, sens, usua
vsr01=spaceíiO)var02=5pacBÜO)var03=spsce(10)var04=5pace(10)
varCá=space(10)usua =arcfi9var01=arch99-)iantvar02-arch99-)iovivar03=arch99-)con5varG4=drch99->repovar05=arch99-)otravarOfc=arch99-)procreturn
endif
OS/18/9;21:32
CQHDOS.PR6Copyright, UNIVERSIDAD CATGLICft DEL ECUADOR, 1793
CONTROL DE NQHINft
Paqe 219
J Programa: Coaaodos dp] DOS
do Nhíle .t.clearset coló to 9Í0,0 sa¡r vtrsioníH' ífi:roSoftset coló ta
' Para Retornar al SisteW
set inte offél, O say u+':\>' qet c pict '%'.set inte onreadif c«spat(1Q!
loopen diif triiíc)='EJIT-
exitendiif c3'A:'.or,c-'C:'.3r.c='B:I.or
'idosu-5übs(c,l,l;loop
!Wos
reLurn
05/18/93 CQNS1000.PRB paqe 22021:32 Copyright, UNIVERSIDAD CATÓLICA DEL ECUflDQR, 1993
CQHTROL SE
1 Consulta de rol histórico accesado por codigojíclearrestore screen froi paOlsele 6use arch3Q índex indaSOOl alias aódo pant!052do pantíOSlIlasi¿c!a=lcadaux=spacef5)conau =space(i)priiero=0set procedure to cálculos
•esl='pasc=0tío nhile .t.
public sueldos, responsa, antiqu, costoviri, subsfaa, sucsedupublíc siess, ingresos, egresos, reiibe, ingresiii, egrescl,opción ='C'if prÍBero=0
S2.24 qet conau picture '?!'read
el a e£2,24 say a6-
endifif (T í canaui .or. ( ' / ' í cotieu)
save screen to pant002tío aantD25conau=space(6}resíore screen fro* pant0025N=Ü
loopendifif conau = space(¿j
cióse procedureif tipotr = 'A'
use archOíi indeü indaOfiOl alias aóendifif tipotr = : 8 '
sele 6use archli índex indaHGl alias a¿
endifif tipotr = 'C'
seis 6use arch!7 índex indai701 alias aí>
endifreturn
endif
05/18/93 CQHS1000.PRG21:33 Copyright, UNIVERSIDAD CftTÜLICft DEL ECUADOR, 1993
CONTROL DE NQJ1ÍNA
select éset crrfer to iseek canauif eof()
set color to wl823,1 sa/ 'Error Codjgo_n noset color tawait ' Presione una tecla paraÍ23,CÍ24,0iücp
endifsáve screen tu panulbw=0do «hila .t.
tipu^rol -dC L¿££ ^_
',"": ;•••. ¿f:'::•- picture
tn t=t ta
— a u. o
05/18/9321:33
CDNSÍ220.PRSCopyright, UNIVERSIDAD CflTQLICfl DEL ECUADOR, 1993
CONTROL DE NOMINA
I Cosienzo de visualizacion de datos
É3,ll say aó->inqüi picture§9,11 say aá->inqC2 picture '«llfflfl.810,11 say a6-)ing03 picíure§11,11 5¿y ai->ing04 picture512,11 say ai-;inq05 piciure513,11 say a6->ir,g06 picturesueldos =aír>ing01
ftltfftM.ftftí MUÍS, si
u =ai->inq03
ure•18,11 say sueldos picti69,11 sáy responsa "—'••810,11 say ant igu611,11 E¿/ costovid p ic tu re§12,11 sa/ subsfait pic(.ure613,11 say subsedu picture ' f i f f f f f t f t . l f
picíure
íílítflI.H
DIHIH.UItfiiil.KtIttUMfJtftSfiftfft.iS'
tilHtl.tt
IHIiM.fi
814,11 sa/ a6-;:ng07 picíure615,11 say a6-)ins08 picture816,11 say a¿->ing09 picture617,11 say a6->inglQ picture818,11 say aírhngli picture§19,11 say a6->ing!2 picture820,11 say a¿-)ingÍ3 picture621,11 say a6->iric,H picture8B,31 say ai-)ingi5 picture '6?,31 s¿y a6->inglé picture810,31 say aí>->inql7 picture81i,3J say aA->in5iB picture612,31 say a¿->ingi9 picture613,31 say a¿-)ing20 picture614,31 say áB-ying2í picíure615,31 say ai->ing"2 picture616,31 say a6->ing23 picture617,31 say aó->ing¿4 picíure813,31 say a6-)ing25 picture819,31 say £¿->ing2¿ picíure§20,31 sa/ aó->ing27 picíure621,31 say ah~>inq2B picture
I Fgretos
37,51 say a¿-)egr01 picture 'ittitii.tl'SE,51 eay a6->egr02 picture 'tfifflf.lf89,51 say a6-)sgr03 picture 'tlIHIt.ll'810,51 say a¿->egr04 picture 'INMtt.lt'811,51 sa/ a6-;egrQ5 picture 'ffllllff.lt'
'tfttm.ti1'Itttttli.üt
'lltltft.ltt'
KS l"0K J r . ,
-jí cu --< ro r-j
ni ¡j LU oí a, o.- ui o> tu a
rti m rn
-o -o,-. n
u*.- »--
4» *s
r-i ^•J h 3 r-j r.j ro KJ
T3 "ti T-, TU T' 13 T3n n o
ro fti i"f «n 'c* re fb m ro f*1
*C «= «;
««««:•*>
COMS200.PKSCcpyrigí-.t, UNIVERSIDAD CATQLICfl 5£L £CüflDQfl,
EaL DE
* clearI LQnsuit¿ CE re: accesáda por código
restare screen iraní paOide í'áníúSrdo pant&5!
set procejurt te ce icu ícs
cpc ion= I
do n h i l e . t.piifcjjc susJtíDa, respc-nsa, antign, castovi j ,public d iess, i r-gresos, egresos, recibe
dtJ whi ls? ( s w = 0)OpClüfi = C
if pri/serc-O§3,9 get codau:; piciure '!!'read
el se33,9 say aá-$x=l
e n d i f
if íT J c o d á j x j ,or. ( ' / ' í=ave aereen ta pantG02tío íianí025
-estaré screen frcaí pant002
¡caoer.dif
x = space¡5 )cióse prjcedurereturn
endif
select IE6t order to 1seek codauxif e o f í )
set color to NÍ823,1 say 'Err;r Código Srupo nc existe'set color tonait ' Presione una tecla para continuar'
05/18/9? CONS200.FRS Paqe 2221:35 Copyright, UNIVERSIDAD CflTQLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
823,0«4,0loop
e.seif deletel i
set color to wt§23,1 say 'Regis t ro personal borrado favor;
reactivar desde iantenisiento de archivos'set color towait ' Presione una tecla para continuar'§¿3,0§24,0loop
9 He
323,0
sxitenriif
endifenddo
save scr¿en to panOiSM=0
do while .t.
c¡ave2 : ;ai-)puestDsslect 2seef. chve2if e o f l )
set colar to wí623,1 say 'Error Código de puesta no existe'sst Cdlor taW3it ' Presione una tecla para continuar'«;,o624,0loop
cndifclave21=al->tipo_trabaselect 4seet; c!ave21if ecfíí
set color to wt023,1 sa/ 'Error Código tipo de trabajador nc existe'set color towait ' Presione una tecla para continuar'§23,0Í24,0¡oop
endif§2,24 sa/ al->co<figoji83.24 say al->ncibre
CON3200.PRB Fage 227Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, Í793
:ONTROL DE NONlNft
63,70 B&; .-:l->fEcr!3_inq14,11 537' ¿i-'>pue5t3
§4,24 5a/ .-»descripc:o§4,69 sa/ ¿Asueldo@5,S iay .:-->c_faa picture "*t§5.2: sjy 3l-;c_E5t picture !'f*"
¿5,5^ ^j" ¿:-;tipo_trabafí,7¿ íív a!-/par:idáüíli
i pase •
if ecfí íp d S G -' J
rue;c='S'8"3,i 53V 'Transacción «ensiia", iio existe'
W31*
§23, O
e,'itel se
select 6if deietef)
borradü-'S'do fflsnsC'02rango^'ACRS'
sndifjo Hhile .i.
122,0 to 22,30if borrado = 'N'
do «hile .t.if opción*'!!' .and. 5ubstr{var02,l,lS
17,;i get ó¿->diasreaa
sise«7,11 sax a¿->d¿3G
endif
05/18/93 CONS200.PRS Page 2282i;35 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOHIMft
if a6-><Jias >= 1 .and. a6->dias <=30
entfifenddo
íf DpciDn='H' .and. substr(var02(i,l) = 'S'do cons210
endif
tlttUtllI
do CQns22G
lUUIftil
endif I Borrado
if borrado O 'S'do lensOOlrango='DRSBHC'
endifdo «hile ,t.
S23,75 get opción picture '!'readif opción í rango
entelse
opdon='C'loop
endifenddoif opción = 'O' .and. substr(var01,2 fl) = ' S 'i fíoiíificar Datos personalescodau=space(5)codau=cci!auxdo nantOOlsxit
endifif opción = 'C'
select 6skipif eof()
returnendif
enitendifif opción =
select 6skip - i
L T D ' j *
. n , : < • ' ' ' - ' ' • , •
t ' - ' r ' Í S
« N I H D H 3G IGHINODí:66i '
CONS210.PRGCopyright, UNIVERSIDAD CftTGUCA GEL ECUAÜQfl, 1993
CONTROL DE NOKINA
t CoiienzG de ingreso de datos
:f ial->tipo_calc = T ,or. tipotr = ' B ' .cr. tipotr *§3,11 get si->ingül picture 'tttftfttl.tt*§9,11 geí ¿6->ing02 pjcture 'Itliift8.tr610,11 cet a¿-:irg03 picture 'fttftttftl.H'«11,11 get aS-:inq04 picture 'tttttll.tt'Í12,i: get 2¿->irt§05 picture 'tftmt.tt'ei:.,ll gei a6->ingQ6 picture 'tttlttt.tf
:-:stcvic!=a&->ing04
=ubsedu =¿6-)irícÜáe! se
cío antiqudo ccatcvic!
do a ie&E66,11 £5? Süeídor, picture 'It«*ft#.t4'§9,11 ts§10.11 5sil,11 sar co^ tov id iiicture 'ttttftt.tt '612,11 s«;' ^tsfsa picture 'ltftt#»ft.»r
613.1! say sutsetiu picture 'StSUSI.il'endi f
614,11 get a¿-)inq07 picture ' tftttttt.tt1
§15,i: get at- ' ingOS picture ' tttttftt. lt '316.il geí aé-hngO? pícíure ffl^lí. í617,11 get a¿->inglO picture tlfitlli SS618,11 get a¿->ingll puture 'ftftftftttft.lt»'619,11 get a¿-)ing!2 picture 'fttftftH.y620,11 get a¿-)ingl3 picture ' Iftttfttf.ftS'621,11 get a¿-)ingi4 picture 'lftfttftli.it'$5,31 get aé->inq!5 picture •ttttm.tft"Í9,31 S ét aírHngU picture 'Itttttt.tt'§10,31 get ai->ingl7 picture 'ttttttt.lt'§11,31 get aé->inglS picture ItIHIf S¡§12,31 get a¿->ingl9 pkture 'ttttitt.tft'613,31 get aó->ing20 picture 'Siltftftl.H'514,31 get aó->ing21 picture ' f t tfttftftf . ftt '615,31 get 3Í-)ir;c:-2 pictare 'ftlttftftft.ftr31¿,31 get ai-Mr^S picture 'ttttttt.tft 'Él?,31 get a6->ir.g24 picíure '«fttftftlft.li'SIS,31 get at->ing25 picíure 'im«ftt.l«'619,31 get 5¿->ing26 picture 'Iftttttt.tft'
cr »-. u*m cr om m
"2Í
i-l-
O1
O
<T> ~O CO -~J O- cJi j:. i J i j
^ J 3 " J ? Í ' ~¿ ~~* ~""1 ~ J
'S ' í r j^^ 'S ' íá ' í í ' íü ' í
* O^ O"* Q*" O- O" Cr- O ¡T~t i i i i i i i <. o f B f f i ' O f l i f T i m r t . f i ,-1 -! -1 -1 -, "1 -1 "1 -*.
~ó co ~-j (r- tji -*" oí 10 -~
•-J -J O .-,
•-I") J J«io j;j itr n -rri iTi , f r*-rf -1-
£j £"
U^ tí- 1 11 1 s • . -
fTi (t. U.-J u^
-1 -1 .- ...0 ~U
'-=- -..n
TI <!.,r-*- n,
u.
1 0-1
JJ mK~* ~1
. n
•» -f) UJ -~i cr- r.n<-n (ji t_n ,.n t-n rjr
• -*- r-r r-t- ,-r- r-r r*
f " CT C.l1- OL Cl - C -1 1 1 1 ) 1
m ni T, r¿ n, ¿
— -T — 1 -1 1 *^
-*• i i fO 1— -J,' -O
* r;< n cji
•ti l£l
0- tr-
ro m-. ~OO ---1
K) ,_
Oí '„"
r- f-*-
l.r- tí
TI ro"i "f- CJl
on
w
u-1
rt>
-i-f»
•J3
<jnm
CU
1
.-i
o.
:CÍ
m
o-
i
(O
<TÍ
T3 -O "O
J3 M-1<—.
(u luo^ o-
t l
ro toUJ -~J
T3 T3
ra ro ro roI- E.. (- r.
a * i a * « > a » < 4 k a ) > a * i * M a » ••*a k a * a k a ^ a » i * * i a « a e a « a*9 > = a f c W 9 K Í M : * h a K ± t t ! 4 * i 4Ka n « K « & a r ' * f w « a « a * i » ' •»
i— inn ro
o x> »—C3 '
: r-í tn•—' T>seX> C3
05/19/93 COHS210.PRS rage 23221:37 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CDNTfiOL DE NGHINfi
1:37CQNS220.PRG
Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993CONTROL DE NOMINA
Paqe 233
de v ÍEüa Í i : ac :on cíe datos
f a!->üpD ca le = K ' -or. f t i p o t r - ' B ' ,or. t ipotr =68,11 5sy a t - í ingQl p ic ture§9,11 say aó-)ing02 p i c tu r e110,11 say a6-) ing03 p i c tu r e«11,11 say a í i -Mng04 puture«12,!: 537 aó-}ing<35 p ic ture«13,11 say á t - / i rg06 p i c tu reSaeldsu =a6->ing01
atlttttl.tt'tflfffti.il'
án t igu =a t -> ing03
do 5Lib;faiido s u b = E d udo
'ftiilftftf.il''fiOftf.M''ttflititt.H1
59,11 say resporisa p«10,11 5a7 ántigu pitture 'fftfft«.ff«lí.ll say costovid picture 'ffltHt.tt'
¿::,11 s¿y subsedu pictjre 'itittil.tr
5:4,11 picture£15,11 i¿> s6- ; ingC8 pictureS l í , i l 5áy d¿->ing09 p ic tu re«7,11 £a ; aé-)inglü picture«18,11 sa/ a¿->ingll p i c tu r e§39,11 say a¿-)ingl2 picture§20,11 say a¿->ing!3 p ic tu re«21,11 say a¿->ing!4 pic ture@S, SI ssy a6->ing!5 p ic ture69,3] say a¿-) ingl6 p ic tu re110,31 say ai->ingl7 p i c tu re«11,¿1 sav at-'/ir.gie picture612,31 say a6-)ingi9 picture^1J,51 say aé->ing20 picíure«14,31 say a6->ing21 pic ture«15,31 ssy a¿->ing22 p ic ture@16,31 say aé->inq23 pic ture«17,31 &ay a¿->ing24 pic ture§13,31 say a6->ing25 p i c tu rp« l í f r i say a¿-)ing26 p ic ture
'«Hit».»''ilittlt.il''IHIIHJt''iiiliii.irl«tfiil.«|'litttli.tlItlWIIÍ.M
'M*«f«f,iflitttlH.ít'ItiiHt.it'tltttH.JIf
'fiiifff.f'tiltil*. i
a» o aca <c cei_> ea i—
•* II» "*
ni ,-, Jj o tu iu <>• Oí oj ni 1>1-. I., 1~. L. L. t. 1_ 1_ L- t, i-• i ;J ^ 71 7.1 -i -J . i ~I 73 3
U '-I
CJ- CX
r l r-J
i |
.,.T> lT1
—1 J
"~- 1
in
•»
o
L j
Cli
>--•(C1,1
W^,
->•uXII
Oí
LJ
r-ji_CT"
|
3-
'*" *—*
ui isj
rl
CL
T- )
Jj
i-al
J--
•—4u )
*
di
Cl. Ci-
T- iri
rrl ni
"J "
, f V— |
LO Lf'i
—. -r~", »• <^ i *• *
~¿¡ r- (>n [>- '.-> '•• r J r <
í. — L. - L.. w. -,_ »_
i]j UJ UJ i jj lll CLf lil
1 ' 1 : ! . 1-O -J3 - r : • j - 1) -J.i -,3 --O.^j ni ,n . , .1 a n :r;
- *-. -- :r- j,_ .b-.
^-, >-H .... r-1 ,-, r-1 .J .-tu~» Uf' ' u'j L- - ULV \r~> ir > i'" '
ir *- *, - -v — - p-
. J j . J -"-' -t-. 1 .' LJ i-l ,_J
¡ % ex rx--1 - ' -JLi ' .', ; — < r'j C-J i .
ijj * i rj < • T^ '" 'U di ti.' 1j
r 1 ,-•. .• , - - 1 1 i-jj .J1 ( 1 -11 .1 l -U 0
3. i- --^ > . : , -i..
~" "* "; r,." !; I13 'n JJ íl!
' 1 Ul l'l ""• — • •""• O1 i ~~' i'~'- oí
- r - - r ~ - r - - - ^ - .
Ll- Ci.
f-1 •*•i -i r-J.1- L_
) 1-a ./j•1.1 nj
-"- -j-.•-3 m
•1". p--*
»j- u"><. .1 , - 1
l_i LJ LJ
l_1 d. Ci
irj -a (--.i ' r i c i
ai a> a¡^ •- ' - ^ -'---i i i
•-O -13 -O••0 111 '1
---- -- , ?r~*
• ~ r *"> f^>\ r . i-.
- r.
-~íí t ' - 1- 1 J»-4 ^ -i - -H
I.3. «1 (11
LJ
d.
txir-j
CT1
--—11
,—• »
ifi
LJ
tx
o~(• 1l-J"(U
1
>-.
' *
r 4
LJ•--4n.
L.ni,'r-^i
-u*u
,'-^
<^->r -.
—- -í
r-t¡mt
Ln
LCTtr.
— i
CJTJ
; J
CTiai
t3Ti
-^l l
Ul
l'li-l
C)Ul
>^_'0
m^
f'l
~J
LJ•—1U.
UlUni
O"
— «
'>->-
o»-
¿'•4i!'-*1SI
UlnLA
í*
í?
h->r--i
•h
T--JuSU
L.3
-*JLJ•HCl-
1(1nniiu>*,lír-i^
-f'LÍr- 1au
•4-Jl-l
Cl.
k.
>— í-<-03 min u
*. — .
CM C^ov fm
05/18/9? CQNVER.PR6 Page 2352J.-3B Copyright, UHIVERSIDflD CñTDLICA DEL ECUflDQR, 1993
CONTROL DE «QUINA
ciave=clavealetra*' -i=iJo «hile i (= b
valo=110Íeíra=sübstríciavefi,iíif aEcüetra) + 110 > 256
valo=0endif::aveen = claveen + chr(asc(letra}+'/alD)i = i M
oviam21:38
DECIH03C.PRBCopyright, UNIVERSIDAD CATQLICft &EL ECUADOR, 1993
CONTROL DE NOttíNA
Paga ¿JÜ
if ¿i-)tipo_calc = 'H'sueldoi =¿6->ingOi
sntigu =a6->i
subsfara sa¿->insubsedu =a¿-/irig06
eisedo(i o respor.sado antigu¿c ccstovíd;J: subsfamcío subsedudo aiess
alorl = suelddi + responsa + antigu * sufasfaa
05/13/9' EEEIKG3S.PRG Page 23721:36 Copyright» UNIVERSIDAD CATÓLICA DEL ECUftDQfi, 1993
CONTROL DE NOMINA
set tonfiríi en-lear'estare scresn fres: paOi§2,1 sáv 'Calcalar si Denso Tercer Sue!¿o'64,2o tD B,él05,22 say 'Monto Décuo Tercer Sueldo Fijado es '£¿,22 sa>- ' Ingresos arrales, Sueldo, fintiguedao
99,20 to 12,01
set prevedure to csicüiosdo «hile -t.
pubii: sueldos, ¿ntigu, reaponsa, s.bífaia, subsedu, costovid
ist c:nfirs o f freturr¡e op: z 1e;¡íte cpc - :
J!3,22 sáy 'Continus FTQCSSD íSI/Nu?• J0 hlli \f . f.
í i\,1? ye t L..-.II pu ta r e ' ' ' 'rt 'ád
if c¿n = 'SI ' .cr, co¡i - 'NO'e;,;t
elseccr, = 'NO'
endifer.ddoset ccnfira o f f
if con = 'NO'
endíf5at color to fM¿4,34 say 'Procesando..,'
Est color tonusire=0sele 1CDunt to nu«reconta=0
•esa=ltrii(5tr(§onth(aB-)fBcha rol),:,
05/iam DKIH03S.PR6 Page 23821-39 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
jf len{*esa) = 1Besa = 'O' + B95a
endifestado=0if opc = 1
seie ígo topdo nhile .not. eof (
«24,50 ssy rsundlestado.Oj picture 'Iff§24,53 si/ "í'cUvea -spaCE(7 }cUveá=aí-)coo: i30 •* «esa£e Í e 2seek ai->pue=tosele ^ssek ai->t:po_trabavalorizo
&ela tuse arch>0 ir.dex inda300í alias aóseí filter to |a6-)anio = year[aB~vfecha_rol] )seek ai->cüdiQQ_nvalor 2*0da whiU .t.
if Í.Fict. eo í ( Í ) .and. (al-)cDú:qo_n = afa-ícodigo_n)valor? = vilor2 t a¿-/írigC'i f a¿-."-ing02 + a¿->ing03;
* a6->inq05el se
if vaiür2 = Ovalor = valorl
elsevalor = (valor! + valor2) / 12
er.dif
sele iuse arcfiOó índex ¿ndaOíiC1seek claveareplace a6->ing25 «ith valorvalor = Osele 1sHp
enddoendif
if opc = 2
DECIH03S.PR6Copyright , U N I V E R S I D A D ZflTGLICfi DEL ECUADOR, 1993
CONTROL DE N O M I N A
tele óuse archU Índex indaliOl alias a6sele 1ge topdo nhi!e .not. eof()
§24,50 say roi :nd(sstado,0] p i c tu re 'ttf
sc-ek al-'puesto5Ele 4seek ai->tipo_trafca
j j - ^ - i - - * ^
i;st ar:h30 índex i n d a Z O O i al ias ?í>
seet; al- ;acfigüji
do w / . i l e .',.:f í.nat. eofíí; .and. (al-)ccdiqD_n = a6-)codigo_n)
va-úr2 - valor? •* at-;ing01 •*• a¿-)ing02+ a6-)íng05
Sílt
endiiskip
-ndúoi ; va!or2 - O
elssv a l o r - í .valorl •*• valor2i / 12
enJifse le 6use arcMA ináen ií)dal¿01 alias aiseek el a veaif eof ( )
¿ppend biáTikr e p l a n e a6-)codigo «i th al->codiqo
1 3¿->ci2£Í:go_íi w i t h al-/codigo_í)a¿-)fecha_rol wi th aa->fecha_rol
replace a&->t ipa_iovi t*ith 'B'r ep lace afc->aes wi th sssareplace a6"/dia5 Hi th 30
£ replace ai->ina25 «thendifreplace a¿->ing25 ni th valorvalor - O
05/18/93 DECIHQ3S.PR6 Page 24021:39 Copyright, UNIVERSIDAD CflTOLICfl DEL ECUflDOR, 1993
CONTROL DE NOttiNft
sele 1sfcip
enádoendif
2* íjpotr = rflsele 6use archOt índe^ indaOóOl alias ai
endifif tipotr = 'B'
sele 6use archló inde;: indaltOi alias s6
endifif íipotr - 'C'
sele 6ese archl? índex inda!701 alias a7
Eíídif
return
05/18/93 DECIHQ4S.PR6 Page 24121¡40 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
set confín onclearrestore screen fro§ paCl92,1 say 'Calcular el Déciic Cuarto Sueldo'64,20 to 7,61§5,22 say 'Manto Déciw Cuarto Sueldo '£6,22 say ' Valor i, pagar '
valrr=aB->sueldo_iin I 285,50 say valar picture W.IH.II66,50 get vaior picture tftt,l«f.*fre¿áÍS,2Q to 11,61opc=0do whíle .t.W ,22 proípt 'Rol «ensuá]110,22 proapt 'Rol Retroactivo/Sobresueldofien u to opcdo case opcCSSP c^c = O
set confiri offrsturn
use opc = 1exit
case opc =exit
endcase
=
wn='HO'612,22 say 'Continua Proceso (SI/NO)do «hile .t.
IÍ2,47 geí :on picture '.'!'
if con = 'Sí' .or. con = 'NO'exit
eísecon = 'Mu'
endifenddoset cofifirt offif con = 'NO'
returner.difstíí color to Iw^24,34 say 'Procesando...'set color teif opc = I
sel e Ause archOi índex indaOóOl aliasreplace all a6-)ing¿¿ «ith valor
endif
ui m t-.- o> o.
Cí- CJ~ tr-
tu o o
c-j ox» •**—r tn
"
05/13/93 DECIHQ5S.PRS PagE 24;2 1 M O Copyr igh t , LÍNIvHSíDflD Cf l íOLICA Í£L ECUñDQf?., 1991
CONTROL DE N O M I N ñ
set ccnfirfi enclearrestore aereen froinÉ2 , i sa>' ' C a l c u l a r e l Décisio Q u i n t a Sueldo '§4,20 to 7,61•5,22 53)1 'Monto Tár i f f lo Q u i n t o SueJdo§c,22 say ' Valer a pagar
35,50 say aB-)v_djuinto pícture ' H t t , l t t . H '&6,50 cet v a l o r p íc tu re ' f t f , # f i . f l '
*8,20 to l í . t l
jo «hi le , t .69 .22 prcdipt 'Sol tensuaiílí.22 proiipí: ' f t c l
do case opccase cpr = O
set c o n f i r * o f freíu'n
case cpc = 1c x i t
c¿se occ - 2E S i t
c o n 5 ' N O 1
§12,22 say ' C o n t i n u a ProcEso < ' S í / N O > 'da tiltil e .í.
112,47 get :on picture ' ! ! 'readif LEO = '5!' .or, con = ' N O '
eútelse
ccíi = ' N O 'endif
enddoset confir»! offif con - 'NO'
rettirnendifsst calor to tw?24,34 say 'Procesando,. . 'set color toif opc = 1
sel e óuse archQ¿ indsx ind¿060i alias a¿replace all aís->inq27 «ith valer
endif
05/18/93 DECIH05S.PR6 P*ge 24421:41 Copyr igh t , UNIVERSIDAD CftTQLICfi DEL ECÜftDÜR, 1993
CONTROL DE NOMINA
aesa=Urii(str(ionth(a8->fechajoI),2,0)if lení«sa) = 1
mesa = 'O' + lesaenáifif opc = 2
sele 6use archl¿ Índex indaífcOi alias a¿sele 1do «hile .not. eofj)
clavea=space{7)
seie 6seek claveaif eafí)
append blankrgp]jce a6->ct)(tigD with a]->codigoreplace a6-)codigo_n Mith al->codiqo_nreplace a6-)fecha_rol «itfi aS-ífecha_roíreplace a6->tipojiovi ttith 'B'replace a6-)aes Nith «esareplace a¿-)dias nith 30
endifsele 1skip
enddosele 6replace all sá->inq27 with valor
endif
if tipotr = 'fl*sele 6ase arch06 Índex inda0601 alias a6
enditíf tjpatr - 'B'
sele ¿use arch!6 índex ¡ndslcOl alias a¿
endifif tipotr = 'C'
sele 6use ¿rchl? Índex indal?0i alias a?
endifreturn
DECIHQÍ.S.PRS Page 24521:41 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL CE NOMINA
£€t confim enciearrestore screen fra» paCl§2,1 say 'Calcular el Décino Sexto Suelda'«4.20 to 7,6195,22 say 'Monto Décus Sexto Sueldo Fijado esfi¿,22 say '1/8 de! sueldo del eapleado-/alor=0«6,20 ta íí(61
de hhile .t.§9 ,22 prt»pt 'Rol flensualÍ10,22 proapt 'Roí Retroactivo/Sobresueldo 'eenu ÍD opcdo rase opccase op: = O
set confim offreturn
case opc - 1
case opc = 2exit
endcaseenddocon='NC'
812,22 say 'Núnero de íeses 'S12,39 geí aeses picture 'S'readS13,22 say 'Continua Proceso <SI/NO> 'de Hhile .t.
613,47 get con picture ' ! !'readif can = 'Sí' .or. can •= 'SO'
exitsise
con = 'NO'endif
enddoset confín offif con = 'NO*
returnendifset :olor to IN
set color taif opc = 1
sel e ¿use archOó índex inda06Dl aliaseie 1go top
05/18/93 DEC1HQ6S.PR6 Paqe 24621:41 Copyright. UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NÜHINft
do while .not. eofí}sele 2seek al-)puestoíf .not. EDÍÍJ
valor = 1/8 í a2->£ueldoif valor <: 10000
valor * 10000endifvalor = valor í aeses
endifSEle 6lócate for aírkodigo = al->codiqaif .not. eofí¡
replace aó->ing28 with valorendifvalor = Psele 1s);ip
enddoendif•esa^' 'ae5a=ltriaístr(aontfi(a8-}feclia_rolí,2!l3j)if Ien(*e5a) - 1
aesa = 'O' * Besaendifif opc = 2
se i e ¿use archtó inde;; indaUQl alias ¿asele ído while .not. eofí)
cUvea=space(7)clavea=al-)codigo *• sesasele 2seek al-)puestoif ,not. e o f f j
valor = 1/8 I a»suBldoif valor < 10ÜOO
valor ~ ÍOOOOendifvalor = valor I Beses
endifsele &seei cUveaif e o f f )
append blafifcreplace a6-)codigD Mith al->codÍ90replace afi-)coííígo_n witft al->codigojireplace a¿-)fecha_rol Hith aS->fecha_rolreplace a6->tipa_iovi KÍtti 'B'replsce a6-)ies nith tesarepiace a6~>dias «ith 30
05/18/93 DECIHQ6S.PRG Page 24721:42 Copyright, UNIVERSIDAD CftTDLICA DU ECUADOR, 1993
CONTROL DE MOHÍNA
replace a6->ing28 itith valorentíifreplace a6-)ing2S itith valorvalor = OseU 1£Üp
enddoendif
if tipotr = 'A1
sele ¿use arch.06 índex indaOiOÍ alias a6
endifif tipotr = 'B'
sele ¿use archU ir.dsx índaüOl aliai á¿
endifif tipotr = 'C'
sele éuse archl? índex indai70i alias a7
e/idiírsturn
05/18/9321:42
ERRORES.PRGCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQHINft
page 243
senerr-'fuente='
nuaerr = errorí)•enerr = aesEagelífuente = aessagefl)tprogra =sefc calor to bg£ 9,9 to 14,71 clear8 9,9 to 14,71 double610,10 say 'Error Hunero :'§10,25 sax nuaerr611,10 say 'Tipo de error :'811,25 say iienerr812,10 say 'Coíardo :'«12,25 say substrífuente,i,45iset color toif nuaerr = 127
set print offendífjk=0set escape ondo Khile .t.
if jk=600set color to wt613,22 say 'Por Favor Ingrese Nuevaaente al SISTEHft'615,0Máít '
(JUÍt
exitelse
endifenddoset color toif nuaerr = 3
quitendif
va? =' Visto BuenováS =' Pagadova9 ='va!0='vall='va 12='
va!4=' Fechavai5=' '*a
?space(40),va3,es,va4")space(40J,va5,es,va67
* ?space{40) ,va7 ,es ,va87 space(40J,va9,es^a lC
'35.''15>?: FIRMAS,PÍÍS Page 24921:42 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE
Es-5par.el50)••.•¿i ^ 'E labo rada y calculado :V32 =' Revisado :va3 ='va4 ='
7space(401,valú
05/18/93 INICIO.PR6 Page 25021:43 Copyright, UNIVERSIDAD CftTOLICA DEL ECUADOR, 1993
CONTROL DE «NA
set taU offset status offset escape onclear iteiorySEt functicn 2 to 'set bell offset score offon error do erroresdo pdo claveÍ24,28 say ' . . . . Espere w «asento ,...'ClOEE olí
do areatraptjblic paO!, caalliO), ca«2(60), 11, 12, 13, 14, tipotr, no»trpublic opstapDÍr='ft'do íabU02cleardo lascarado «enu
05/18/9321:43
LIST010.PRBCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
Pape 251
t Seleccionar grupos de ¿parte
select 3contal=0count to contal50 topdimensión detalle(contal|diiension pat(ccntaí)i=láo ahile i(=CDJital
detal le( i}=a3->grupojBSs+' '+a3-}descripcÍQ*'s t r ( a 3 - > p o r c e n t a j e , 5 , 2 )
pa t ( i )=a3->pat rona li=mskip
entído
?7,4 togrupo=0do tthile .t.
do Hhile ( i í=conUl)Si+7,5 proipt deUlle(i)Ui+1
enddocenu to grupoif grupo = O
returnelse
exitendif
endtío
'qr1-, f , l )descrip=5i:b5tf | t le tal! í i),3,30)porce =0porce - v a l ' : ' P (de ta l l e (g rupo) ,34 t 5
•elect Sqo íopses). substr (grupo!, 1,1)if eof()
623,1 say 'Fin de archivo 3'nai t
endi f
, (05 '92)
, ep
J5153J
VNIUQH 30 lDtüW33133 w
LIST020.PRGCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL EE NOMINA
•i ;::;/:" );: LATACUNGA LÍUACUNGA
:i:44LIST030.PR3
Copyright, UNIVERSIDAD CftTOLICA DEL ECUADOR, 1993CONTROL DE NOMINA
254
t Repor te de l is ta de aporte al IESB
select ¿lócate fo r a6->codi t )G = a l -kürf iif e o f ( ]
c iave2=a l ->p i i e s toselect 2seei. c l a i . e2
;;¿ve21=al->ítpo_tratíaseJpct 4ge topEeek clave2I
tuntúnt lepriftir y calcularda Iist040
21:44LIST040.PRG
Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993CONTROL DE NOMINA
Faqe ¿:5
t Calcule
if al->tipo__c3!: = '
responsa-ai-HngOxantígu =a£-) ing03
aiess
do
de ingresesdo egresosde recibe
05/18/932l:4í
LIST100.PRSCopyright , UNIVERSIDAD CftTOLIEft DEL ECUADOR, 1993
CONTROL DE NOflINfi
Paqe 25&
í Programa para p lani l las (sensuales de IESSclearrestore streen fron paOldisensión «esnoi(I2j
El) = 'Enera '(2) = 'Febrero '
fflBsricn (3) = ' forzó '¡fesROi ( 4 j = ' f i b r i i '
siesnc/s (¿)i T v
^ n \a (9)
(sesnoi (10)assnaa (11)fflesnou (12)
= 'Junio= 'Julio '= 'Agosto '= 'Septienbre '= 'Octubre= 'Noviembre '- 'Dicienbre '
82,1 53^ 'Usías de apcríe ai IESS'p a t r o n a l - B p a c s f l O ;destr ip- '
grupol=0fin06=0fflesí=space(I5í
a,TI o=0
i i íastra=30?2,25 to 8,67 doublef e c h a a u x = ' / /store ctod(fechaaux) to fechaeaistors dateO to íechaesiuessele -?3,30 ssy 'APOSTES DEL flES DE :'83,51 geí «esí pict84,30 say 'Niiaero de BES@fl ,5 i get (tessele picture '25,30 say 'ftííO25,51 get anio pict 'IIM'S6,30 say 'DÍAS TRABAJADOS«6,51 get diástra pict '«'Í7.30 sáj- 'FECHA SE EMISIÓN
87,51 get fechaeiireadsave s creen to panulanio* í (an io / ÍOO) - int(anio/í00) í UO
do whiJe ,t.restore &creen froB panOlselect í>if
LISTIOO.PB6Copyright, UNIVERSIDAD EATOLICft DEL ECUflDQR, 1993
CONTROL DE NDHINA
257
set filter tege top
eise=c í ^ r o 3if .noí, ecfj;
if aí-íaes O
retaraendifnro-Gselect 1;et íilter te ;a!-)grüpojsss = stíij_*ccuint tj r.rjs=t or¿er te 2SC tcpif nro - O
SI3,i sa/ 'Üo hay registrosset filter tewait
b l a n c c = - : p £ c e ( 4 0 ]d i a e f l n = 5 t r l d a y í f e c h a e i n i j , 2 , 0 i
aMci=year!date¡))a n i o n = s p a c e ( 4 )
HA=' '!44=5übstrítiu(íad+'l
pag=0trabajadot ipdpla=Tiesa=iDnth(cia íE(})
set color to wts24,33 sáj1 'lset color ío
i+' de
05/18/93 LISTIOO.PRS Page 25821:45 Copyright, UNIVERSIDAD CftTOLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
set consolé offset Jsvics to print
111í Iflprmr ta&ecerado Ii£t020Ilt
set procedure to calculasselect 1
do while .not. eof()public suelden, r&spansa, antiqu, coaíovid, subsfaat,public aiess, ingresos, egreses, recibe
do Iist030
I Cierra antee de SKIFif (ai-'"'grüpo_i=;5
de- IÍSÍ0405Le!doneto=0
a r , t i gu l=an t iguif (a3->tipo = ' A ' .and. sueldo^ . . , " / )
sueídoneto^sueldoai + antigui 4 --ubsfanElse
if a3->anti O 'S'antigul=0
endifsueldoneto^sueldoa antigui
endif
if conta > 35conta=0
da Nhile .t.if contadD=9
?' ',144cQntada=contada-H
else
if contado > 31exit
endifencüf
enddo
05/18/93 LIST10Q.PRGCopyright, UNIVERSIDAD CATOLICfi DEL ECUADOR, 1993
CONTROL DE NDHINA
Paqe 25?
I lepriair cabecerasdo Iist020HUÍ
endif
n o n f a r e j =5ubst r (a l - . " : r ,ont i re ( l ,28í
j f f infló = 0conta =conta+l
=trabájá-*-l
?nrania6->dia5 , ' t t i r ] , t ra r ¡ Í5Lje ldaneto , 'end i í
IskipíinOt-0
enddo
setap -O
parcial =0subtotal =0totait =0tipoab ='
if a^-.-tipc = 'A'tipcab='20.5Q'aportpind=t5iieldos (a3->a_persiD''..l
áportepat=tsueldDSsecap =tsueldosiece =tsueldos
elsetipoab='21.50'aporteind^tsueldos 1Eegurose5=tsueldos taportepat-tsueldos t
endif
(a3-)a_patrona.(a3->secap / 1C(a3-)iece /100)
(a3->i_personal(a3-)s_cesantia(a3->a_patrona!
100). 100)i 00)
100)100)100)
parcial=sporteind+aportepatsubtotalsaporteind+segurose!total t=5porteintl-t-se9urD5es+aportepat-*-se cap+iece
do «hile .t.ií
Q5/1B/93 LÍST100.PRG Paqe 2602i:4¿ Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
edtelse
contaron U+l
endifenddo
:f cor. U •-.) 36•?
endif?5pace(22), iraní trabaja, '«l'ljspacetisí.trarittsueldosi'ltit,»!,!*
U*'/
?space(31) ,tipoab,5pace (50) ,tran( parcial, x)?spacB[31),'5 : ,space(30),tranÍ5eguroses,x)77
?' ',144
?5pane(6B|,tranti6ce,x)
contis=l
tCorrer papelcío w f u l e ,t.
if contis > 15exit
endif?
contis=cDntis+ienááQset consolé onset devíce to screenset print offÍ24,33 say 'sel e 6set filter te
enddo
05/Í8/93 íWWITOOi.PftS Pags 2612i:4¿ Copyr igh t , U N I V E R S I D A D C A T Ó L I C A DEL E C U A D O R , 1993
CONTROL DE NOMINA
I Han ten miento archOi archivo aaestrocjearr io pa/ i tCOlsave screen to pOl
de cadenasec-0if iléisada='5
store ' I I ' ío fecau
t ipaiFspaceíl i
£. a í i a u = 5 p a c e ( 1 0 )
select 1cpc = 'C'
do while .t.vacla=lpri='S'84,24 say codau picture '!!!!!'if (T $ codau) .or. ('/' $ coc.u)
save screen to pant002do aant025codáLi=space(5)restore screen freí» pant002loop
endifif codau - space(5)
exitendifdo vaIidOQ2if vacla=0
set color to ni123,1 say 'Error Área, Depártales r,¿ existeset color towiíK3 fO524,0
05/18/9321:47
HñNTGQi.PRGCopyright, UNIVERSIDAD CftTOLICA DEL ECUftDQR, 1993
CONTROL 0E «NA
Page 2á2
loopendifselect 1seí arder to 1seek codaunu= 'N 'i f e o f í )
nu='S'endifaier;sa2=space[Íbcrrado='N J
if d?;EÍe( jborrad o='S'
da stendifdo w h i i e . t .
if n u = ' S ' .ri =
pri = '5'
823,1 sai,- 'Código nuevo desea añadir <S/N>do while .t.
£23,34 get op picture '!'readif op = 'S' .or. op = 'N'
exit
loop
enddo123,0if op * 'S *
do eantOllelse
exitendif
Biseif opc O
codau =
canau =pueau =parau =fecau =cafau =caeau =gruau =tipau =cedau =afiau =¡ralau =
'«'al-)cadigo
al->codigo_rsal-)puestoaJ-)partJdaal->fecha_ingal->c__faBai->c_estal->grupo_ies5.aí-)tipo_trabaal->c&dulaal->afiliacionai->tipo_cá]c
05/Í0/93 HANT001.PRB Fage 26321:47 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NÜMINft
endif£3,24 say conau§5,24 say naaauÉÍ6,24 say pueauec=0SBlECt 2
seek pueaui f e o f f j ,or. deletef)
set color to wt§23,1 say 'Error en código de puesto 'K5lt ' '
ssí caJor to823, Cec=l
elseset coíor to gr-t86, 2B say a2->descripciüSá,É*0 say a2->sueldo picture '$,««,«». 18set color to
endif§7,24 say parati68,24 say fecau?9,24 say cafau picture 'II'§10,24 say caeau picture 'II'811,24 say griiau912,24 say tipau313,24 say cedau§14,24 say afíau515,24 say calau
endifíensa!=space(90)
1if dsletsO
entíífif borrado- 'Al'
do tnensOOSElse
ieno5=22
do «hile .t.
opc='f1'exit
siseopc=' '
endif
05/18/93 RftNTOOl.PRG Paqe 26421:47 Copyr ight , UNIVERSIDftD CATÓLICA DEL ECUADOR, 1993
COIÍTROL BE NOMINA
823,75 get upe picture '!'readif ((opc='B' .or. apc='B' .or. opc='fT .or. opc='C') .and.}
borrada*'!*') .or. (fopc='A* .or. cpc='C') .and. borraáa='S")exií
elseIcap
endiferiddo§23,0if opc = 'C'
e;;itendif
= '6' .and. barrado = 'N''S*
append blankendifrep lace a l ->CDdiqo with codaurep lace ai-)noibre Ni th noitaureplace ai-}codigo_n «th canaureplace al->ptiesto w i t h pueaurep lace a l - )par t ida with paraureplace al-)fechajng itith fecaurep lace al~)cjaff l w i th c a f a urep lace al-)c_e5t ni th caeaureplane aí->grtipo_ies5 «Jth gruaurepiace ab>tipo__traba w i t h tipaureplace a i ~ ) c e d u l a *ith cedaureplace a l ~ ) a f i l i a c i o n w i t h a f iaurep lace al-/típo_!:alc: wi th calauesit
prtd i fif opc - 'B' .and. b o r r a d o = ' N '
o p b = ' N '
824,1 say 'Desea borrar <5'N> ' qet opb picture '!'read@24,&if opb = 'S'
if nú O '5'deleteselect 6set filter to i6->cod:go * codaudelete allset filter toselect 1
endifendifexit
endifi* Qpc = 'tt' .and. borrado='N
05/18/9321:48
MflNTOOl.PRBCopyright, UNIVERSIDAD CATÓLICA BEL ECUADOR, 1993
CONTROL D£ NDflJNA
Page 265
de nantOll
endifIf opc = 'A' .snd,
recaíexit
entíiíendtiQ
fecau-spacetS)' / / tu
cafau=C:aeau=0gruau=space(
calaurspace(i)restare screen fro* pOl
retur.iendif
enddo
05/18/93 HANT002.PR6 Page 2¿62i:4B Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE MOHÍNA
I Hanteniaiento arch02 archiva sueldosi use arch02 índex inda0201cleardo pantC'02pueau=spaceI3}desau-space(30)
select 2cpc -do «hile .t.
pri='S'§4,24 get pueau picttire '.'!!'readif pueau = spaceS3¡
exítendifif ('t' % pueau) ,or. ('/' J pueau)
save screen to pant002if TI' t pueau)
tía iant02lelse
da «nt021¡endifrestore screen fro» pant002pueau='
endifseek pueauniF'N'if e o f f )
nu='S'endifsiensa2=spaceíl4)borrado='N'if delBteO
borradD='S'§ensa2=space(30)do aens006
endifdo while .t.
if nu='S' .and. pri = 'S'pri = 'íl'op=- '
923,1 say 'Codiga nuevo desea añs; r S/N'do while . t.
§23,31 get ap picture '!'readif op - 'S' ,ar, op = 'ff
exitelse
loop
05/16/93 WNT002.PRS Page 2i721:48 Copyright, UNIVERSIDAD CftTDLICA DEL ECÜñDOR, 1993
CQHTROL DE NBMINft
enoifendds«23,0:f op = 'S'
55,24 get desau picture '3!'S6.2-Í get sueau picture *,tfl,*tl.íl
siseexit
endifelse
if opc O 'Í1'desau = descripcio
endif§5,24 say desauS¿,¿< say 5L¡?áu piclurE 't,tl#, f8ft.lt'
endifiensal=sp3ce(SOi
if borraoc= 'N '
da aiensOOj
'
opc =do «hile ,t.
^23,75 qet opc picture '!'readif f(Qpcs'6' ,or. opc='E' ,or. apc='M' .or. opc='C') .and.:
borrado='N') .or. ¡;opc='fl' .or. opc='C') .and. borrado='S'sxit
el seÍODp
endifenúúo§23,0if DpC = 'C'
exitendifif apc - 'S' .and. borrado = 'N'
if nú = 'S'append blank
endifreplace puesto Mith pueaureplace descnpcio Mith desaureplace sueldo with sueauexit
endifif opc = 'B' .and. borrado='N'
opb='N'824,1 say 'Desea borrar S/N ' jet opb picture '!'read
05/1879;21:49
HftNT002.PR3Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE
Page 268
524,0if opb = '3'
if nú ',; '5'delete
er,difendife x i t
endif;f opr = 'f1: ,and. barrada='N'
§5,24 get íiesau picture 'Si'S¿,24 get sueaa pictüre '1,1*1,111.11'
endifif apc * 'A' .and. borrado='S'
recaíSXlt
endif
pueáu=space[3)
64,24 to ¿,77 cíearer.ddo
05/18/9321:49
HAHT0021.PRBCopyright, UNIVERSIDAD CfiTOLICA DEL ECUflBÜR, 1993
CONTROL DE NDHINA
Page 269
select 2brottse freeze suelda noappend noiemí
O5/IB/9521:49
«ANT003.PR3Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NDÍ1INA
Page 270
t Man ten luiente arch03 archivo grupo de aparte IESSt use arch03 índex inda030ícisarda pant003gruaiFSpaceíi)
perau=0.0patau=0,0cessu^Q, Osecado.1;iecau=0,0parau=G.C<select 3opc =do while .t.
pri='S'§4,24 gst gruat! pictarp 'readif griiSU
e:;itend i fSE-fc'r, f'JÓ
if EDÍÍ )
nu='S'endif
if
aensa2==pace(jO)
endifdo whíie .t.
if nu='S' .and, pri = 'S'pri = 'H'0(1='
823,1 say 'Código nuevo desea añadir S/N 'do «hile .t.
§23,31 get Dp picture ' ' 'read823,0if op = 'S' ,or. op = 'N'
exite] se
loopendif
endda$22,0if op = 'S'
Í5,24 get desau picture 'ÍT'
05/18/93 (1flNT003.PR6 Page 27121.-49 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NÜHINft
86,24 get perau picture '44.44*§7,24 get patau picture 'H.li'&B,24 get cesau picture '11.41*09,24 get secau picture '*».4I'110,24 get iecau picture '41.44'porau = perau t patau * cesau + secau + iecauread512,24 say porau picture '44.44'
elseexit
endiíelse
if opc O 'ñ'desau = descripcioperau = ajersonalpataiJ = ajjaírona]cesau = 5_ct?santiasecan - secapiecau = ieceporau ~ porcentaje
endif15,21 say dseauS¿,24 say perau picture '44.44'67,24 say patau picture '44.44'88, 24 say cesau picture 'lt.lt'99,2? s¿y secau picíüre '44.44*§10,24 say iecau picture '44.44'porau = perau + patau + cesau t secau •*• iecau§12,2^ say porau piciure '14.44*
endif»ensal=spacefSOí
if borrado='N'da aensOOa
endifflias=0opc = ' 'do while .i.
423,75 get opc picture '!'readif ííopc^'S' .or. opc='B' ,or, opc*'N' .or. o c-'C') .and.;
borrido='N') .or. ((opc='A' .or. opc='C') .and. borrado='S')ÍXlt
elseloop
endifenddoí*23rOif opc = 'C'
exit
05/18/93 HANT003.PRB Paqe 27221:50 Copyright, UNIVERSIDAD CATÓLICA DEL ECUftSGR, 1993
CONTROL DE NOMINA
endifif opc = 'B' .and. borrado - 'N'
if nú = 'S'append blank
endiireplace grupo_iess with gruaurepace descripcio *ith desaureplace porcentaje with poraurepláce ajjersona! íutfi persareplace ajatronal »tith pataureplace s^cesantia wiíf) cesaareplace secap with secaureplace iece with iecaueút
endifif cpc - 'B' .and. bDrrado='N'
Qpb='N'224,1 say 'Desea borrar 5/fJ ' get opb picturere¿d824,0if opb = 'S'
if nú O 'S'delete
endifendifexit
endifif opc = 'W .ana. borrarfD='ÍJ'
@5,24 get desau picture 'fi!'S6,2^ get perau picíure 'I*. II'87,24 get patán picture '11.11'¿8,24 get cesa tí picture 'II. ti'§9,24 get secan pícture 'II. O'@10,24 get iecau picture 'II. II*readparau=perau + patad + cesan + secau * iecau812,24 say porau picture '11.11'
endifif opc = 'A' .and. borrado-'S'
recaíexit
endifenddogruau=space(ljdesau=5pace(3Q)perau=0.0patau=0.0cesau=0.0secau=0,0
porau-0,0
C5/18/9321:50
HANT003.PRGCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQHIKA
Paqe 2?;
§4,24 to 12,77 citarenááo
05/16/9321:50
HANT004.FRGCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, i993
CONTROL DE NQflINft
Page 274
I Manteniiiento ¿rch04 archivo tipo de e«pl fiadoc I fiardo pantOC4tipaiFSpace(l)desau sspace(30)parau=G.O
panau=Q
vhiaiPGvheau^O
select 4opc = 't ío nh í i e . t ,
64,24 get tipau picture 'A'readif tipau = spaciíl)
exítendifseek t ipaun u = ' N 'i f e o f í )
n u = ' S 'endif
borrado='N'if deleteí)
borrado='S'aensa2=space{30|da tensOOi
endifdo Hhile .t.
if nu='S' ,and. pri = 'S'pri = Top=' '823,1 s¿/ 'Código nueva desea añadir S/Ndo «hile .t.
Í23,31 get op picture '!'read«3,0if op =
exitelse
loopendif
enrido«22,0if op - 'S'
5' .or, op =
05/1B/9J «HT004.PRS Page 27321:51 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
§5,24 get desau picture '«!'§¿,24 get porau picture 'H.IT«7,24 get banau picture 11,111.11£8,24 get panau picture 11.11«9,24 get cosau picture 11,111.11«10,24 get vhiau picture II,MI.II«11,24 get vheau picture II,ttt.lt'«12,24 get papau picture it.llread
el seexit
endifel se
if opc O 'U'desau * de sen paoporau = p_respbanau = b_antipanau = p_ant¿cosau = c_vidavhiau a vjiijgvheau * v_estupapau = p_aporte
endif«5,24 say dssau«¿,24 say porau picture H.lt«7,24 say banau picture il,IM.««B,24 say panau picture II.II«9,24 &ay cosau picture II,III.II'110,24 say vhiau picture ll,ttl.fff«11,24 say vheau picture 'it,tH.H'«12,24 say papau pie ture '«.«'
endif•ensal=space(BO)•enos-Oif borrjdos'N'
do otensÚOSendifjeas=0opc = ' 'do while ,t.
Í23,75 get Dpc picture '!'readif /íopc»'S' .or. opcs'B' ,or. opc*'H' .or. opcs'C'í .and.;
borrado='H') .or. ((opc='ft' ,or. opc='C'í .and. borrado='S'Jexit
elseloop
endifenddo123,0if opc * 'C'
05/18/9321:51
KANTÜG4.PR6Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
27á
.and. ÍJorrado='N'
Desea borrar Srtí ' qet opb picture
exitendifif opc = '6' .and. borrado = 'N'
if nú = 'S'append blank
endifreplace tipo_traba wíth tipaureplace descripcío with desaureplace p_resp with poraureplace bjmti with banaurgplace p_anti «th pánaureplace c_vida with cosaureplace v_fiijo with vfiíaureplace v_estu «ith vheaureplace p_apcrte with papauexi t
endifif opc - 'B '
apb='N'«24,1 sayread»24,0if opb = ' S '
if nú O '5 'delete
endifendifexi t
end:fif opc = 'M ' ,and, borrado^'ÍT
«5,24 get deeau picture ' 8 ! 'Í6,24 get porau picture '«.!#'87,24 qet banau picture 'ltttH.lf§9,24 get panau picture '11.11'69,24 get cosau picture íí.W.H@10,24 get vhiau picture M,íM.II«11,24 get vfjeáu picture 'ti, III. 41'612,24 get papau picture '!!.«'read
endifif opc = 'A ' .and. borrado='S'
recaíexit
endifenddotipau = space(l)desau = space(30}porau = Obíftiü = Opanau = Ocosau = O
05/18/93 «ANT004.PR6 Page 27721:52 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE KQRINA
vhiau = Ovheau = Opapau = O«4,24 to 12,77 ciear
enddc
05/18/93 MANTQ07.PR6 Rige 2782l;52 Copyright, UNIVERSIDAD CATQLICft DEL ECUADOR, 1993
CONTROL DE NOMINA
I líanleniiiientQ de titulares archO?
clearde pan t007select 7go tcpop='tío while .t.
if eof í } .or, bof i)return
eise§4,20 say a7-)codigaif 5ubstría7->cDdÍ90,10, !)='('
@5,20 say a7->descrip_cS6,20 say a7->destripj
else
66,20 get a7-)descrip_lread
endifendif623,1 say XA) Anterior ÍC> Continuar <S> Salir'op='C'do "tule .t.
§23,40 get op picture '!'readif op $ 'flCS'
exitertd j f
enddo623,0if op = 'ft'
sfcip -iendifif op = 'CJ
skip tiendifif op = 'S'
do tabla02return
endifendda
05/18/93 HANT008.PR6 Page 27921:52 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQHINft
1 Hanteniíiento de archOB eapresa, patronocleardo pantOOSselect Bsueau=0eapau=space(ií.G)npaaiFspaceUO)nruau=space(17)
telau=space(8)jefau=space(4ü)
5ueau=5ueldoiin
fipaau=nj)átronalnruau=nj-ucdirau^direccicntelau=telefonojefau^jefe
¿4,20 get sueau picture 'l,»il,lftt,litt'£5,20 get eupau picture '§!'@£i,20 get npaau picture ftfftftlffi'?7,20 get nruau picture '«HHtttftHHHftft'SB,20 get dirau picture 'fi!'é?,20 get te ¡ai picture IHttlttÍ10,20 get jefau picture '«!'sil,20 get cedau picture SMWIWread
mensaje5'<B> Erabar <C> Cancelar'§23,J say «ensajeop=' 'do wfiíle .t.
Í23,28 get op picture '!'readif op I '6C'
sxitendíf
enddoif op = 'C'
returnsise
replace sueldojiin Mith sueaureplace eipresa ttith eipaureplace njiatronal Mith npaaureplace n_ruc «ith nruaureplace dirección »ith diraureplace telefono with telau
05/18/93 MftNTOOB.PRG Page 2BO21:52 Copyright, UNIVERSIDftD CATÓLICA DEL ECUADOR, í?93
CONTROL DE NDRINA
repUce jefe xith jefaureplare cédula Mith cedaureturn
endif
05/18/93 RftNT009.PRG Paqe 29121:52 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1W3
CONTROL DE MOHÍNA
t Hanteniaiento arch21 archivo seccióncleardo pant009cfepau=5pace(ÍJsecau=space¡2)codau=spacel3)secau=space(2)parau=space¡30)noinau=space{40)seiecí 7use arch20 alias a?nüRre=0count to nunre90 top
tío xhile .not. eofí)areau=areau+a7->areaskip
enddoselect 7use arch21 índex iníaílOl alias a?opc = 'do whíle .t.
pri='S'64,24 qet depau picture '!'Í5,24 get secáu picíure '!!'I8A,24 GET codau PICTURE '!!!'readcodau = depau i secauíf codau = space(3(
exitendifif T $ codau
save screen to pant002do aant02¿restore screen frot pant002codau='loop
endifif siibstr(codau,l,l) $ areau
KC=0
el seset color to wt123,1 say 'Error Área no existeset color to
023,0«24,0loop
er.diíseei: cotíau
5- at o- o. -i Ln •-o m o rti (u (u -*
c cr"> -im fD
05/18/9321:53
HANTOOV.PRBCopyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL ÜE NQKINA
Faqe 2B3
readU (íopc='S' .or. opc^'B' .cr. opr=T ,or. opc*'C'í .and.;
borrado='N') .or. ((opc='A' .or, opc='C') .and. barrado2' S'exit
elseloop
endifenddo§23,0if OpC a 'C'
eátendifif opc = 'fi' .and. borrado = 'N'
if nú = 'S'append bíaní;
endifreplace a7-)area H i t h depaureplace a7-)seccían Míth secaureplace a7-}pártida with paraureplace a7->noibre «ilh ncmauex i t
endifif opc = 'B' .and. bor rado= 'N '
§24,1 sajr 'Dessa Borrar S/Nread924,0if opfa = 'S'
if nú í> 'S'delete
endifendifexit
endifif opc * 'W .and. borrado^'N'
(6,24 get parau picture el'87,24 get noatau picture '?! 'read
endifif apc = 'A ' .and. borrado='S'
recaíexit
endifenddo
get opb picture
secau=5pace{2)codau-spacel3)
noiau=space{40)84,24 to 7,77 clear
enddo
05/18/93 KAN701Q.PRG Paqe 28521:54 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
t HantenUiento arch2Q archivo áreascleardo pant00915reau=5fjaceí I )
noiau=space(40)select 7use arch20 Índex inda200i alias a7go top
opc =do «hile .t.
pri='S'84,24 get areau picture ' !'readif areau = space(l)
sxitendifif areau s T
save screen to pant002do aantO 26restore screen froi pant002areau='loop
endifseei; areaunu='N'if eofl)
nu='S'endifftensa2=space(14)b o r r a d o = ' N 'if deleteO
borrado='S'
do «ensQOéendifdo Nhile .t.
if nu='S' .and. pri = 'S'pri = '«'op=' '923,1 say 'Código nuevo desea añadir 5/N'áo «hile .t.
923,31 qet op picture '!'readif op « 'S' .or. op = 'N:
«23,0eut
elseloop
endif
05/18/93 NANT010.PR6 Paga 28621:54 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NOMINA
enddoS22,0if op = 'S'
8ó,24 get noaau pitture 'ti'
elseexit
endife ¡se
if opc O 'H'nciau = a7->notbre
endif86,24 say noiau
endif•ensal-ápace(80)
if borrado='N'do oensOOS
endíf«ás=0opc =do «hile .t.
823,75 get opc pícture '!'readif líopc='G' .or. opc*'B: ,ar. opc='N' .or. opcs'C'' .and.;
borrado-'N' ) .or. l(opc='A' .or. opc='C') .a, :. orrado='S'exit
elseloop
endiferiddoÍ23.0if opc = 'C'
exitendifif opc = '6' .and. borrado - 'N'
if nú = 'S'append blank
endifrepiace a7-)area wíth arejureplace a7->noíbre with noiauev,it
endifif opc = 'B' .and. borrado*'**'
opb='N'?24,1 say 'Desea Borrar S/'N ' get opb picture '!'read«24,0if opb = 'S1
if nú O 'S'delete
05/18/93 HANT01G.PR6 Page 28721:54 Copyright, UNIVERSIDAD CATÓLICA D£L ECUA20R, 1993
CONTROL DE MOHÍNA
endifendifexit
endifif opt = 'ÍT .and. borrsdo-'N'
í¿,24 get ncuu picture 'É?'read
endifif opc = 'A' .and. borrado='S'
recaíexit
endifenddoareau-spaceílj
«4,24 to 6,77 clearemitió
05/18/93 mWWil.PM Page 23321:55 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQRINA
m' .24 say conau•"",24 get noiau picture 'íí'pueaul*'pueaui=pueaudo «hile ,t,
Ib,24 get pueau picture '!!!'readif T I pueau
savfi screen to pantQ02do QantO21restore screen frot pant002pueau-pueaulloop
endifif pueau='
entendifdo validOOlif eofíi
loopelse
CO' ••-' -r l - - ,13C h i _ w - _ > hv ^i
^ ' " - • : "* '-ípr-"''-!-• --•/ •"- . uC-i.. *f
:¿,r i:/ a:-;sj2!do picture í,$$í,íít.íf
. i 3> . ..,._- ^ .t.-_, i;"• --L -.... _[;rt.,ra
HANT011.PRS Page 289Cspyrighí, L'NIVERSIBAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NQNINñ
323, i say 'Errzr íEspacio) para ningún grupo'gr^au^'¡cop
er.dif
§23,0eíí, 26 sav blanco
ti paúl"1
íipaui=tipau¿o while ,t.
set color to gr-*-«12,26 say Ladena2set calor to12,24 qet tipau picture :X'
if tipau =t,;it
endifif tipau = T
save screen to aant002do «aní023restore screen froa pant002tipau=tipaulloop
elseif íípau t cidfiíiáz
exitelse
S23,i sdy 'Error (Espacio) para ningún tipo de trabajador'tipau=' 'loop
e/idifendif
enddo923,0ei2,2¿ say blanco
bien=0do «hile .t.
«3,24 geí cedau picture 'readif cedau='
exit
05/16/93 MAHTCil.PRS Page 29021:55 Copyright, UNIVERSIDAD CATÓLICA DEL ECUADOR, 1993
CONTROL DE NCRINA
do HRt024if bien = 1
exitelse
set color to wl823,1 say 'Cédula Incorrecta espacios ninguna'set colar towaitÍ23,0824,0
endifentída
§14,24 get afina pieturereadcpt=0rio while ,t.
815,40 prorapt 'Autosiatico'615,40 proiípt 'Manualmenú to optif cpt = 1
caiau = 'A'exit
er,difif opt = 2
caiáu = 'H'exit
endifif cpí - O .and. caláu O ' '
System: CONTROL DE HOMINHAuthor: FAUSTO ACOSTA CEVALLQS05/18/93 20:20:41Tree Diaqram
INICIO.PRGt ERRORES. PRGj ^ -ERRORO (functian in ?)
Í MEBSAGEO (function in ?)í -_~S U B S T R O (f u n c t i o n i n ?)P.PRG
I -CLAVE. PRGARCH99.DBF (datábase)INDA9901.IDX (índex file)
.-SPACEO (function in ?)UPPERO (functiun in ?)SUBSTRO (function in ?)CONVER.PRG
SÜBSTRÍ) (function in— --A SC O (function i n ?)
-CURO (function in ?)-EOF() (function in ?)
-AREATRA.PRtiDBFDBFDBFDDF'DBFDBFDBF
ARCH01AK'Ct-l02,ARCHÜ3ARCMO-'ARCHÜ7ARCHOÓAÍÍCH08.IHDA010J.rHDAOÍ.02,INDAOlOjINDA0201INDA02Q2INDA0301
INDAOÓ01TABL.A02.PRG
ARCH07.DBFMASCARA. PRG
(datábase)(datábase)(datábase)(datábase)(datábase)(datábase)(datábase)
1DX (índex file)IDX (index file)IDX (índex file)IDX (índex file)IDX (index file)IDX (index file)IDX (index file)IDX (index file)
)
(datábase)
SUBSTRO (function in ?)—MENUA.PRG
SUBSTRO (function inMANT101.PRB
.- -PANT101.PRGCADENAS.PRGL EOF() (functionSPACEO (function inCTODC) (function in '
—..-MAIIT025.PRO[- 41ANT0255.PRG
t .BOFO (function in ?)L EOFO (function in ?)BOFO (function in ?)
-EDFO (function in ?)DELETEO (function in ?)
—I1EN80QÓ.PRGPIANT102.PRG
I1ANT021.PRG— £ O F () (f u n c t i o n i n ?)
STRO (function in ?)SPACEO (function in ?)
VALID001.PRGi EOFO (f uncí ion in ?}EOF() (fun c t i on i n ?)-SP ACE () (f un c t i on i n ?)HANT022.PRG
EOFO (fuñe: ti orí in ?)' STRO (function in ?). SPACEO (function in ?)
-J1ANT023.PRG^ EOFO (function in ?)I. SPACEí) (function in ?)
- MANT024.PRG-VAL() (functiün in ?)
- SUBSTRO (function in ?)I -.-..INTO (function in ?)
1ENS005.PRG-MENLIA2.PRfi
.J1ANT002,PRG..-PANTQ02.PRG....SPACEO ( funct ion in ?)...HANT021.PRG
. EQFO (function in ?).STRO (function in ?)SPACEO (function in ?)
...J1ANT0211.PRG£GF() (function in ?)
—STRO (function in ?)—SPACEO (function in ?)
_£OF() (function in ?)—DELETEO (function in ?)-J1ENS006.PRG.-J1ENSOQ5.PRG
—41ANT0021.PRGMANT003.PRG
SPACEO (function in ?)OFO (function inELETF.O (functionHENSG06.PRGMENS005.PRG
ANT004.PRG—PANTOOA.PRGSPACEO (function .
EGFO (funct ion in0ELETEO (function
I J1ENSOOÓ.PRGI MENS005.PRG
?)in
i
— MANT007.PRG__ PANTOQ7.PRG--------- £OF( ) (function in ?)— ...... -BOFO (function in ?)---- SUBSTRO (function in ?)
I __________ TABLA02.PRGARCH07.DBF (datábale)
-ÑAÑIGOS. PRG1 -------- PAHT008.FRGI __ SPACEO (function in ?)
-J1ANT01Ü.PRGARCH20.DBF (datábase)IMDA2001.IDX (índex file)
— FANT0091.PRG- ..... SPACEO (function in ?)
!- __________ J1ANT02Ó.PRGin ?}
in ?)— ...... -E ÜFí) ( f u n c t i o n i n 7 )..... —DELETEO (function in ?)
Í -------- J1ENSOQA.PRGI. ........... -.-JIL'NSOOS.PRG
-MANT009.PRG1 ARCH20.DBF (datábase)
ARCH¿1.DBF (datábase)IHDA21.01.1DX (índex filo)-FANT009.PR(3
------------ SF'ACE ( ) ( f un c t i on i n ? )— EOF( ) (function in ?)
------- WANT026.PRG------- E ÜF() (function in ?)
U EÜFÍ) (functionI— SPACEO ífunctiün
JIEh
SPACEO (funct ion in ?)----- SUBSTRO (function in ?)-.. ....... -I) E L E T E O ( f u n c t i o n i n ? )
~-.-J1ENUOOa.PRG............... -MENS005.PRG
IUB.PRÜ........ .SUBSTRO (function in ?)— MÜVI001.PRG
---------- PANT052.PRG- ..... - ..... FANT051.PRG
-SPACEO (function in ?)J1ANTQ25.PRG
-- HANT0255-PRG:OF() (function in£OF( ) (fuñe lian in
— BOF( ) (function in ?)------- EOF () (function in ?)- DELETEO (function in ?)------------ MONTO (fundían in ?)
in CÁLCULOS.PRG)in ?)
| STRO (function in ?)—-SUBSTRO (function in
MENS004.PRGSUELDQM £ procedureI ROUNDO (function
—..RESPQNSA (procedure in CÁLCULOS.PRG)L ROUNDO (function in ?)
_ ANTIGU (procedure in CÁLCULOS.PRG)INTO (function in ?)
—flQUNDÍ) (function in ?)-.-.COSTOVID (procedure in CÁLCULOS.PRG)
I ROUNDO (function in ?)—SUBSFAI1 (procedure in CÁLCULOS.PRG)
SUBSEDU {procedure in CÁLCULOS.PRG)—AJESS (procedure irt CÁLCULOS.PRG)
i ROUNDÍ) (function-INGRESOS (procedure
L ROUNDO (function-.-EGRESOS (procedure
in ;')in CÁLCULOS.PRG)in ?)
in CÁLCULOS.PRG)L ROUND O (function in ?)RECIBE (procedure in CÁLCULOS.PRG)t ROUND() (function in ?)
-—MENS003.PRGMANT001.PRG
PANT001.PRGCADENAS.PRGI EOFÍ) (function in ?)SPACEO (function in ?):TOD() (function in ?)ANT025.PRG
ANT0255.PRG| BOFf) (function in 7)I EOF() (function in ?)
~.BOF() (function in ?).-VALIDÓOS.PRG
ARCH21.DBF (datábase)INDA210KIDX (índex file)SUBSTRO (function in ?)EOF() (function in ?)
EOF() (function in ?)DELETEO (function in ?)Í1ENSOOÓ.PRG
J1ANT011.PRG-J1ANT021.PRG
U_EOF() (function in ?)STRO (function in ?)
t -SPACEO (function in ?)—VALID001.PRG
l EOF O (function in ?)EOF() (function in ?)PACE() (function in ?)ANT022.PRG| EOFÍ) (function in ?)—STRí) (function in ?)
I SPACEO (function in ?)MANT023.PRG
OF( ) (function in ?)SPACEO (function in ?)
—HANT024.PRGVAL O (function in ?)
-SUBSTRO (function in ?)INTÍi ( funct ion in ?)
I I1ENS005.PRGJCNUC.PRG
SUBSTRO (fuñeti-:':,- in ?)—CONS? - "'RG
— PANTO52.PRG.PANTO S I - P R GSPACL ' í ) ( funct ion n. '
; -BOFO (fu,:.; ..;;i, in ?)L £OF( ) (fu.K't- icr. in ? )
...ftüFÍ ) (funcl- :.úh :;.n '<'')} ( f uri ct ion -.¡i '"•' ]T'L í ) ( íuin::l.iün ii'i 7 )
í í1, { ) [.'íliíi Ctíül'i .i [L : }
:;o;:.pRG::io..r 'RG-^'JELÜCn úu\n-..-u:!urt? in CÁLCULOS.PRO
i ROUND O ( fu i . , :c ion in ?). K'ESPONSA í,:)r-..). .udiAre in CÁLCULOS.PRG )
¡ - ÍCÍHJHD ( ) i ¡ ' - .A , i :: L \.^\\u 9 )
AMTIGU (p|-i),:i-dür^ in CÁLCULOS.PRG )i . - -. '[MT( ) ( fui'n i. i ' j i i i n ?)
! . - l íOUNOt ) í run.:Uon in ?). Ü ' O S T O V I D . :M i -^ . .udure i.ti CÁLCULOS .PRG)
1 ROUND ( ) í í'uii'.: L i 0,1 in ?).^líBSFA!1! ípl":.il:r»,.¡nrtí in CÁLCULOS.PRG)
;! / tt s;:;: DI: (¡., • .-•> - - ü u Y ,-? i n c A L c u L o B . p R n)-ííIESS (proLadur f in CÁLCULOS.PRG)
i - ROUND í ) í í'ur.i.. L i o r i in '? )-^NGREínS ..v.roi:K(kire in CÁLCULOS.PRG)
¡ R::UNDO ( • f -u^ -uoü in ?>EGRESOS í¡-ir"í;::'.^.liira in CÁLCULOS.PRO)' R HUNDO -; í ' : u ; : ; - L Í L , ; i in ?)
.i.'ECIBE (proi.:9:Jur:- in CÁLCULOS.PRG)
SUELDOi1! (p i , ' -Jura in CÁLCULOS. PRG )'- ................. ;>C!JMJ>O : . ' >or, in ?)
fíESPONSA í ^ j ' . ' . ' iure in CÁLCULOS. PRG); ..... -.-.ROUND; ) ; í .n . . , in ?)íiNTIGU ( p . - ' í - v - v u - . r - .:n CALCULO^,, PRG ); .............. IKTí ) í fui i- Ltur. i;i "?)' ................. ROUMDO (fui..: .,:JD in 7)
.CH3TOVID ( ! ) . • . . • • . .!uri= in CÁLCULOS. PRG)
i ¡]
J1ENS.J1ANT
)
BOFi.OO-,,ÍAP.. ¡f
EOF() (function in ?)-DELETEO ( funct ion in ?)J1ENS006.PRGMAWT011.PRG
— J1ANT021.PRGEOF() f function in ?)
~..STR{ ) ift.mct.ion in ?)•..- !:i P A CII" ( ) ( fuñe t i o n i n '
-VALID001.PRG1— -EO F ( ) {function i n ?)
i EOF O (function in ?)|. SPACEO (function in ?)
-MANT022.PRGI £ OF() (function i n ?)L—-SIRÓI SPACE' '
-HANT023.PRI..EOF O <-SPACEO
HANT024.PRG-VAL() (función in ?)—SUBSTRO (functio: in-INT() (function ir ?)
¿NS005.PRG;function in ?)
O.DBF (datábale)
(funcíion in ?)¡ (function in ?)
{ : ! t ion in ?), ' C t i o n in ?)
;. R O U N I) t ) (f!' 1 1 c t i o n i n ?)INGRESOS (procedure in CÁLCULOS.L ROUND() (function in ?)EGRESOS (procedure in CÁLCULOS.PI ROUND() (furiction in ?)RECIBE (procedureí in CÁLCULOS.PRt ROUNDO (function in ?)
001.PRG001.PRG
PANT001.PRG.-CADENAS. PRG
í- EOF () í funct ion in ?)...SPACEO (funct ion :i.n ?)...-CTOD() (function in ?)J1ANT025,PRG
HANT0255.PR.Íj....- —fiOFí) (funcíion in
i i £ O F ( ) ( - f u n c t ion i ní ~.BÜF( ) ( funct ion in ?)VALJD002.PRG
ARCH21.DBF (da tábase )INDA2101.IDX uncíex file)
-SUBSTRO (fi.u¡ctiün in ?)--..EOF() (function in ?)
i
PRG)
RG)
G)
ARCHOá.DBFARCHló.DBFARCH17.DBF
(datábase)(datábase)(datábase)
INDA300IINDAOóOlINDAi601ÍHDA1701.P ANUO 52CANTÍOS!-SPACEÍ )
-IDX.IDX.IDX-IDX.PRG.PRG(function
(índex(índex(índex(índex
in ?)J1ANT025.PRG
J1ANT0255.PRG.- --BOFO (function
—EOF() (functionJBOFÍ ) (function in
KOFf) (function in ?)£QNS1220.PRG
INGRES01i -ROUND ()
inin
•EGRESO 1
{prüctíiJure(fun ction
(proctídure-ROUND() (function
prot::;:?dure—.ROUND () (funciion
in CÁLCULOS.PRG)in ?)
in CÁLCULOS.PRG)in ?)
in CÁLCULOS.PRG)in ?)
JBDFÍ ) ( function in ?)
f SUBSTRf ) (function in ?)REP0100.PRG[— S P A C E ( ) (function i TÍ ?)
-REPOÍéO.PRGARCH20.DBF (datábase)ARCH07.DBF (datábase)INÜA2001.IDX (índex file)SUBSTRC) (function in ?)
REP0170.PRGARCH21.DBF (datábase)ARCH07.DBF (datábase)INDA2101.IDX (índex file)LTRIMO (function in ?)SUBSTRO (function in ?)
-—LTRIJ1Í) (function in "')L.. -REP0120.PRG
UBSTRO (functioiOF() (function i
..- -£HR() (function in ?)REP0130.PRG
™TABLA02.PRGARCH07.DBF (datábase)
-SPACEO (function in ?)(function in ?)
ARCH21.DBF (datábase)ARCH07.DBF (datábase)INDA2101.IDX (índex filo)
in
L - -GUBSTRO (function in ?)-REPG230.PRG
S T R ( ) (f u n c t i o n i n "r1)DATE f j (fun cti on í n ?;
_ CHR ( ) í f un c t i en i r » ? )__ S P A C E O (f u n c t i o n i n ?)
I TIME< ) ( funct iun in ?)--..- -REP020Q.PRG
j -S P A C E O C f u n c t i o n i n ?)-GUBSTRO (function j.n ?)KEPQ2ÓO.PRG
ARCH21.DBF (datábase)ARCH07.DBF (datábase)INDA2101.IDX (índex file)
i -....S U B S TR O (func t ion i n ?)E UFO (function in ?)REP0230-PRG
-.STRO (functiun in ?)—DATEÍ ) (fuñe ti DI, in ?)CHRO (functiun in ?)
—SPACE í) (fun ct i on in ?)-T111E O (function in ?)
REP0240-PRGTABLA03.PRG
ARCH07,DHF (datábase)REP0235.PRG
STRO í function in ?)DATEÍ) (function in ?)CHR() (Tunction in ?)
—-SPACEO (function in ?)- T111E O (f u n c t. i o n i n ?)
— SPACE() (function in ?)TRANSO (function in ?)-FIRMAS.PRGL. - SPACEO (function in ?)EQF() (function in ?)
í -—TABLA02.PRGARCH07.DBr (datábase)
REP022Ó.PRGREP0220.PRG
-SUELDOM (procedure in CÁLCULOS.PRG)I ROUND > (function in ?)
-—RESPONSA 'nrocedure in CÁLCULOS.PRG)i ROUNDO • : nction in ?)
_ANTIGU (pr ;,:;, !ure in CÁLCULOS.PRG)1——INT() (fun>-. Ui,-i in ?)1 ROUNDÍ) (fun •t.i.n in ?)COSTOVID (procfiuif.. in CÁLCULOS.PRG)1 ROUNDO (functic.n in ?)SUBSFAH (procedurt in CÁLCULOS.PRG)
¡ SUBSEDU (procedure in CÁLCULOS,PRG)A1ESS (procedure in CÁLCULOS.PRG)1 ROUNDO (function in ?)INGRESOS (procedure in CÁLCULOS.PRG)
,PRG)l ADUNDO (function in ?)
—EGRESOS (procedure in CÁLCULOSI ROUND() (function in ?)
—RECIBE (procedure in CÁLCULOS.PRG)L ROUND O (function in ?)SPACEOTRANSO
—REP0222.PRG.REP0224. PRG.REPQ25Q.PRG
SPACEOREP0235
( f u n c t i o n( f u n c t i o n
i o n
inin
in
inin
in '
'1 ABLA02.PRÜARCH07
HEQ050.PRGX'TODí )DATE ()ÜTOCO
- -SPACEí- FflFf >
ARCH07.
-DBF (datábase)
( f un c t ion in 7(function in ""(function in "
) (function iní function in ? )
i, Tune:PRG
S T R ( ) (f u n c t i. o n.- DATE O (function
CHR() (function—SPACEO (function in ?)
TIME() (function in ?)—TABLA03.PRG
ARCH07.DBF (datábase)—TRANSO (function in ?)-FIRMAS.PRG
l SPACE() ífunction in ?)—TABLA02.PRG
DBF (datábase)
- -CWEQ100.PRG£OF() (function in ?)SPACEO (function in ?)
__SUBSTR() (function in ?)CHEG12CKPRG
SUELDOM (procedure in CÁLCULOS.PRG)L ROUND() (function iíi ?)RESPONSO (procedure in CÁLCULOS.PRG)l ROUNDO (function in ?)ANTIGU (procedure in CÁLCULOS.PRG)
-INTO (function in ?)-KOUNDO (function in ?)
;OSTQVID (procedure in CÁLCULOS.PRG)l ROUNDO (function in ?)SUBSFAM ínrocedure ín CÁLCULOS.PRG)SUBSEDU (procedure in CÁLCULOS.PRG)
_AIESS (procejtire in CÁLCULOS.PRG)I ROUNDO (functionINGRESOS (procedureI ROUND () (functionEGRESOS (procedure
in ?)in CÁLCULOS.PRG)in ?)
in CÁLCULOS.PRG)ROUND O (function .in ?)
.RECIBE (procedure in CALCLIL.OS..PRG)L ROLJNDO (function in ?)
i- -CHEQláO.PRGSUCRES.MEM ímemory file)INTO (function in ?)LTRIMO (function in ?)STRO (function in ?)
..— SUBSTRO (function in ?)—LEN( ) (function in ?)
ATO (function in ?)— SPACEO (function in ?)
-.-MONTHO (function :i.n ?)DAYO (furu.t:i.i.>n in ?)YEARÍ ) (fuñe tion in ?)
-SPACEO—DTOCO
..- DATE O
.-..-.- TRANO— -CHRO
LEÑO
C f un ct:l. on(fuñetion(function(functipn
(functlon(fuñe tion
inininin
in ?in ?
LTRIHO (function in- STR() (function in ?)
REPLÍCATE() (function inLIST100.PRG
-SPACEÍYE ARO
-DATE OCTODOINTO
) (function(function(function(function
ífunction
inin "•in 7i n "I
in ?)in ?)in ?)
in
STR() (function—EOF() (function~4_ISTOÍO.PRG
STRí) (function in—-SUBSTRO (function—VALÍ) (function in ?)—.EOF() (function in ?)
SUBSTRO (function in ?)-JDAYO (function in ?)-41ÜNTHO (function in ?)~-.LIST020.PRG
SUCRES.HEM (memory file)SPACEO (function in ?)SUBSTRO (function in ?)YEARÍ) (function in ?)DATEO (function in ?)MONTHO (function in ?)
—-_._CHRO (functiun in ?)TRANO (fuñe ti orí in ?)
.IST030.PRG:OF() (function in ?)
-LIST040.PRGSUELDGM (procedureI ROUNDO (function
in CÁLCULOS.PRG)in ?)
...-.RESPDNSA (procedure in CÁLCULOS.PRG)I ROUND() (function in ?)NTIGU (procedure in CÁLCULOS.PRG)
JNTO (function in ?)CUNDO (function in ?)
XOSTQVID (procedure in CÁLCULOS.PRG)I ADUNDO (function in ?)-SUBSFAN (procedure in CALCM' .PRG)
- -SUBSEDU 'procedure in CÁLCULOS,,PRG)(procedure in CÁLCULOS.PRG)
ÍOUNDO ífi'.r '..L'-n in 7)... .TKSRCSOí} (procedure in CÁLCULOS.FRG)
1 RGüHDí ' ' í;unct:;.oii in ?)-.-..EGREDOE :p;-ocedure in CÁLCULOS,PRG)
! ROUND' ; f function in ?)RECIBE 'p.Ticsdure in CALCULOG.PRG)f. ROUMi;-; :• ; function in ?)
íliELDail (prü' ROUND O ífu
•ít irtí in CÁLCULOS.PRG)•!. i.a:t j.n ?)
(p r . : ) . . • . - . . ! ( re in CÁLCULOS.PRO ): - ROUND O ( f ' . ( • • • " L . ' i .3n in ?);:NTIGU CprüL:\- ' ' :1i:;"--í in CÁLCULOS.PRG); - INTO (fuñe U j¡i in ?)' ROUND O ( fun . .LJ .o i i in ?)
• :OSTOyiD (p íor^ . lure in CÁLCULOS. PRG )' ROUNDO (fu;vli.on in ?)/JUUSFAM (pt•üv-,;.h.u'-e in CÁLCULOS.PRG)
Cp
..... ...... ROUNDO (TMGRESOS ;,,
ri in CÁLCULOS .PRG )i.n CÁLCULOS. PR(3)
i.n ?)re in CÁLCULOS. PRG)
: ROUND O ¡. f i ; . - . l .1 .:E[CIBE (pruc-cii.,,
-TRANt '•• (function in ^)'ILi-IUD^.PRG
fíEPOlOOO.PRG*r- —-GPACEO (function in ?)j - REP0160.PRG
í ARCH20.DFF (datábase)ARCH07.DBF (datábase)INDA2001.IDX (índex file)
! SUBSTRC) (function in ?)-REP0170.PRG¡ ARCH21.DBF ' '.,:.. ' ase)
ARCH07.DBF (,í,.' aba .-)JNBA2101.IDX (ih.1 *x 'l&)
\O (function :n ":*1 SUBSTRí) (function 1.1 ' •
—-I.TRIWO (fanction in ?)...- REPO1200. PRG
in CÁLCULOS. PUÍ3)in ?)
in CÁLCULOS. PRG ;
r;[-:r'ín26o.,":•::ARCIIZ1
MONTMO'."'!:•"<( ) í fuñe: t i
l'NDAQAOl.:
TNDA3001•'''iPACE () ¡: 'c
ANTIfvu; TMT-; ;L. ROUND {
1 -COSTO VI!)
! —.ROUND (-— -SUBSFAM
SUBSEDU—AIESS !
INGRES;./': i P.OUI.' EGRESOS
t ROUND (1 RECIBE
' •".:•..lux file)" -,'lüx file):',:-; in ?)
' '. .; 'u"; in "> )j;', ." n ? )
/ - = -t)dure in CÁLCULOS.PRG)• - * f\¡ c 11 on ;i.n ; )
• . • . : ' lo-ídure in CÁLCULOS.PRG)' " " • - . ; , ! " : 1:';; \¡ i n ? )' , > . .;::-dure in CÁLCULOS.PRG):' '''.-.¡i •..lion in ?); ( function in ?)
' p rocedure in CÁLCULOS.PRG); ' ' fanction in ?)/¡/rtvcedure in CÁLCULOS.PRG).;,'!octídure in CÁLCULOS.PRG)
p: ' icedure in CÁLCULOS.PRG); (functiüM in ?)
(pracedure in CÁLCULOS.PRG)' function in ?)
tcedura in CÁLCULOS.PRS); rtion in ?)f nn re in CÁLCULOS.PR6)
' t JÍOLÍMD:; f-*-, ••' .n in ?>I i. YEARC) (function in ?)
' -..SPACEÍ) (function in "•')—HUEIVOSOO.PRO1
I M K : '
.ROUND c :
A I ES 3í ........... -f:Qu¡INGRESOS
' ....... ..... -ROUN'V '•
1 .......... — YEARO (fMREATRA.PRG
ARCH01-DBFARCH02.DBPARCH03.DBPARCH04.DBPARCH07.DBFARCH06..DBFARCH08.DPFIS'DAOIOl.XDXINDA0102.IDXIN0A0103.IDX
i\~) 7):v..::.-dur'e? in CÁLCULOS. PRG). , r:l;'0¡! in ?;; • -•ieJurs in CÁLCULOS. PRG)'... !/. !. iün in ?)--.-.í.ínr¿.' in CÁLCULOS. PRG)"• '..¡.cín in ?)'i!'.i:-tion in ?),•• ;rsdur^ in CÁLCULOS. PRG)•..,.•:••:>;. in ';1)>..:tf!lur<? in CÁLCULOS .PRG).r . - c J i í i ' s in CÁLCULOS. PRG),...'urp in CÁLCULOS,, PRG)•.>;; ciion in ?):-"H::títUire in CnLCi.IL.D3. PRG)'^ctioü in ?)r,.:edure in CÁLCULOS. PRG)
' .. ction in ?).-dure'in CÁLCULOS. PRD)
' > . , ction in ?)Ft ¿n ?)
atábase)
•Je, Libase)
r ,i
1SDA0202IMDA0301. :
( i r ; r t e x f i l e?: .:.!vl??x f i le )' j.!".dex f i le) .; : . r . - Jc?x f i le)' : . ; ' , ^ e x f i l e ): M ' . - l t o x f i l e )•; ' i " . : j i - - x f i l e )' : v k > x f i le )
I I1ASCARA.PRÜJIUEV0300.PFÍJ
A R C H O ^ . D B F (d,r';,v)A R C H l . v . D E F C H .A -. ^j.A R C H 1 7 . D D F Ul : ' " . / ' ; .I M D A O Ó 0 1 . I D X:NDA1¿C1.II)X
..... NÜEV0310.PRG
, !u!" .-••> : L v i C Á L C U L O S . F R G ); • ' . ; n; i i n ?}•-..•-.lí.r;» ;¡,n CÁLCULOS.PRG)
• ! i .rv; :Ln CALCÓLOS ., PRG);..n .;.n ?)':V:.on in ?): .-'-.luríí in CñLCULHíiS.r-RG)
' . . - '¿ . r . in ?)-.V.ictí in CALCULÜS. .PRG)
;•;,-:• .¡.n CALCLJLnr i .PRG)• •• '•• ¡n CÁLCULOS , .PRG>
1 \.i ,.;n in V )vtiLri? in CALHUL-OS.PRO)'.. ;on in 7)
'•.¡i ire in CALCULO!1;.PRB).!..:..';n in ?)!.:r« in CÁLCULOS,.¡ : : 'RG)• ' • ' ,•,•;; in ?)
! —MASCAfíA.PRCJ'ECIMÜ3S.PPG
! f iRCH30.DBF (da* .&bw>}.DBF ( d a t a b a - . ' .
I
v-; H- C *- C C= ^ S v - -
— í i- ^ >í-
U. jo.,
Lü
ARCKO^DBFARCH04.DBFARCH07.DBFARCHOá.DBFARCH1Ó.DBFARCH17.DBFARCH08.DBFARCH20.DBFARCH21.DBFARCH30.DBFARCH99.DBF1NDA0101.IDXINDA0102.IDXINDA0103.IDXINDA0201.IDXIHDA0202.IDXINDA0301.IDXINDA040UIDXINDAOA01.IDXINDAlóOl.IDXINDA1701.IDXINDA200Í.IDXINDA2101.IDXINDA3001.IDXINDA9901.IDX
-AREATRA.PRGARCH01.DBFARCH02.DBFARCH03.DBFARCH04.DBFARCH07.DBFARCH06.DBFARC.SI08.DBF
(datábase)(datábase)(datábase)(datábase)(datábase)(datábase)(datábase)(datábase)(datábase)(datábase)(datábase?)
(índex f(índex f(Índex f(índex f(índex f(índex f(índex f(índex f(índex f(Índex f(índex f(índex f(Índex f(índex f
INDA0101.IDXINBA0102.IDX
(datábase)(datábase)(datábase)(datábase)(datábase)(datábase)(datábase)(índex file)(Índex file)
IDXIDXIDXIDXIDXIDX
(índex(índex(índex(Índex(índex(índex
,DBF,DBFDBF
INDA0103INDA02Q1INDAG2Q2INDAÜ301INDA040INDAGÓ01
...... -RE:iNDEX2.F'KGARCH01ARCH02ARCH03ARCHíXJARCH07ARCHOÓARCH16ARCH17ARCHOBARCM20ARCH21ARCH30ARCH99INDAÍHQ1I NI) A 0 10 2INDA01Ü3INDA0201INDA0202INDA0301INDA0401INDAOÓ01INDA1601INDA1701INDA2001IMDA2101INDA3001INDA9901
JIEhíUEó.PRB|. ------------ KESP010.PRG|. ----------- «ESP020.t -------------- -RESF'030.
XAHFEC.PRG--- PANT008.----- -SPACEO----- CTODí) (function
L --------- MASCAR A. PRG-EQílDOS.PRG
- ..... -VERSIÓN*) (function-- SPACO (function in-- TRIMO (function in— SUBSO (function in
..-..-...ACTIVAR. PRO
file)file)file)file)file)file)
.DBF-DBF.DBF. DBF.DBF.DBF«DBF.DBF,DBF (.IDX.IDX.IDX.IDX.IDX.IDX.IDX.IDX.IDX,IDXIDXIDXIDXIDX
(datábase)fdatabas^)(datábase)(datábase)(datábase)(datábase)(datábase?)(datábase)(datábase)(datábase?)(datábase)(datábase)(databasív-)
(índex f 3(índex f :i(índex f:i(índex f :¡(índex f i(índex f:¡(índex fi(índex f :i(índex fi(índex fi(índex fi(índex f i(Índex fi(índex fi
,PRG,PRG
PRO(function in
in :
n.
• jy s ten i s C O N T R O L DE H Q f l l N AA u t h o r : FAUSTO A C Ü S T A C E V A L L D S05/18/9:: 20:20:07D a t a b a - ; ^ Stru.clurí:? G
13 da ha bases in t heA R C ! 1 V 9 H D B FA R C H 0 1 . D B FA R C H 0 2 . D B FA R C H 0 3 , I > B F
svstem
:-j trucbu"'-' fui" c
Huriibivi- u'f d<". laL ,"'. :•:• ^
ríe! c! T . i r l 1 n:1 CLAVL. .U
,' MAM"!
••1 MOVÍ
3 COHS
6 REPO? pra¡üG OTRA
** !'0t si ##
:] a '1 a b a s e zr t ' í .or di:; ::upd ated :
uno TyprCha rae
t ! h a r a c:(.' l'i a r' a cCha raí::Cha raeCha raeC h a r a c
ARCH99.DBF
u5/
ter
lerterterterLerter
51 ír- / TÍ "/ ^ J. *n '"i -""i i..i/S'o a t í-., í /..-.'
Uidth DC? Í .ó
-I r:.1 j10.1.0101010
1082
Star!.J./
3 * '42520272
End6
314151Al7181
Tfiia datábase appear-s to be associated with índex file(s):: INDA9901.IDX (Índex key not found)
üsed by: CLAVE.FRG: RE INDI;:: xi. PRO
Structure for datábase : ARCH01.DBF Alias : AIM u m f o e r of data records
Last u p d a t e dF:' i e 1 d F i e? 1 d ñame T y p e
1 CÓDIGO Character2 HOMBRE Character3 CODIGÜJ'1 Character4 PUESTO Character5 PARTIDA Character
37604/13/93 at i:
W i d t h5
306
:15Dec !. i r t
16
36
End
4,14447
¿ FECHA....ING Date 8C FAf'l Numeric 2
S C ,,,.EST Numer i c 2
9 GRUPÜ_I ESS C ha ra c ter 110 TIPO_TRAI¡A Charac ter 1.11 CÉDULA Character 1012 AFILIACIÓN Charac ter 1013 TIPCLCALC Charac ter 1
#* Total *# 83
Thi 3 datábase appe^rs to be associated w:i. th: INDAülü! , 1DX (Index key not found): I H D A 0 1 0 2 . ?: D X ( i n d e x ke y ri o t f o u n d ): INDAOR'3,. "DX í índex key not found)
Usad h> : ARttí IRA.Pral:: REINDEX1.PRG: REINDEX2.PRG
Struc:ture for datábase : ARCHÜ2.DBF AlN u m !: e i o f d ¿i t í\ e c: o r' d s : 101
Last updated : 04/13/93 at 12:15Fíele! F:U-'ld ñame Type lüidth Dec:
J PUESTO Cha rae ter 32 HFSCR1PCTC) Cha rae: ter 30o SUELDO Numeric 10 2
V* TüLal ** 44
fhis datábase appears to be associated with:; I N D A 0 2 0 1 „ 1 1) X { i n d e x ke y n o t f o u n d ): 1NDA0202.. IDX (índex key not round)
Ustfl uy: AREATRA.PRGí REINDEX.UPRG: REINDEX2.PRG
Structure for datábase : ARCH03.DBFNumber of data records : 8
Last updated : 04/13/93 at 12:15Fie Id Field ñame Typi Width Dec
1 GRUPO IESS Char<-:::ter 12 DESCR I PC 1 0 C ha r a c :.e r 303 PORCENTAJE Numer .¡ 5 2•• ! A mj-' E R í:¡ 0 N A i... N u m e r . 5 25 A_PATRONAL Numer-: 5 26 ^.CESANTÍA Numeric. 5 27 SECAP Mumeric 5 28 IECE Numeric 5 2
4856586061627282
1 n d c x f i 1 e ( s )
las: A 2
Start1434
índex f i 1 e ( s )
1 a s : A 3
BU. • t.1.?323742475257
55575960617181P'?
.
End3
3J43
,
End1
3136'-;4 /,515661
9 PATRONAL Character 10 ¿210 TIPO Character 1 72íl AHTI Character 1 73
** Total ** 74
This datábase appears to be associated with índex filéis): INDA0301.IDX (índex Rey not found)
Used by: ARE AIRA. PRG: REINDEX1.PRG: REINDEX2..PRG
Sti-ücture fur datábase : ARCH04.DBF Alias: MHüíñbv.vi' oí ¡.¡ata records : 15
Last updaíed : 04/13/93 at 12:l!íF i f? 1 d F i e 1 el n a ¿¡i e T y p e W i d t h D e c S t a r t
i. TIPO TRABA Character 1 11; DE'SCRIPCIÜ Character 30 23 P.REíP Numeric 5 2 32-í E ...AMT'I Muflieri c 8 2 375 F1 AHT I Nume r i c 5 2 4 56 C.VIDA Nuíneric 8 2 507 VJUJÜ Numcric 8 2 588 V JJfílU Numeric 8 2 669 P APUK1T. Numeric 5 2 74
** Total ** 79
"Ih:i. ..; d,L 1 aba:i.ü a p pe a r «; to be Associated w.i. !.h Index file(a): IMDAO'íol.rDX (Índex key not f oi.tnd )
üü&í! by: AREATRA.PRG: REINDEX1.PRÜ: REINDEX2-PRG
Structure for datábase í ARCHQ7.DBF Alias: A7Numbúíi" uf data records : 58
Last updated : 05/12/93 at 7s51Fie Id Field ñame Type Width Dec Start
1 CÜÜIÜQ Character 10 l2 DESCRIP.C Character 10 113 DESCRIP^L Character 50 21
** Total ** 71
717273
.
End1
3 1.30444957657378
,
End102070
FoxDac did fíat find anv ,-.-:sociated índex files
Used by: AREATRA.PRG: TABLA02.PRG
Lü
cLJ
03 &. 04 W co o- o *-* r-4 f co o- o •-*c-4 c--i í"-- r-i
es o- otrs m u"' ITJ tnoo t>* o IH f-ir-j ^ c--í c-4 c--j
r-i r4 r-4 r-4 r-4 '--i r-4 r-4 r-.J c-4 c-4 c-4 r-4 c-4 r-4 r-4 r-.
¡n tr> *ri*o r-s ooc-J CM CM
c-j
trs m ITJ mc-j ro f info ro f ^ ?-T
r--j c--j c--j
£=J
^c
IC
ni -MTJ
•H '¡S -Hl '¿__ ;L
a> QJ GJE £ £
j U ' j U U ' J U U U U U Uj -r-i --i -s-i -iH T-! -i-i -i-i -r^ -H -!-! -H
; 1 _ ¡ i _ ' . k ^ l l _ i . Í _ Í ^ Í _ L . V n
S '-í! CJ CJ CJ & Oj GJ flj Oí SJ ?l J i;^ S 1 ^ ^ ^ l ^ S £ í n - ^ ' : - ^ -™ " "
-H -rt ---I
C ^ ^ i ^ ^ í . D c D C ^ c ^ e ; ^ O L D C 5 ¡ L D Í £ C J F - 2 C D C 3 C 3 t D t D
— Cj i—! i—! '•—' —í '-— [••-: i—. >— i — ' ^ — ¡ r — ! : — s !—Ij^-::—I i—í I—1 I—f *
c--j fo -3- m o rs CQ T-Í f-4 ro «3- m -or-J r-j r-i r--j '--i r-J c-g c-j o o o o o o
Lu
O *-* í'4 f-" T ^ -O f^ CG O- O í-t C--j fO sT iTJ ^c fv.r^ r-.( t- j r-4 r-4 r-4 :--¡ c-4 c-4 r-4 f¡ n to fo r-o r-T ro n
41 LGR07 Numeric32 EGR08 Numeric43 EGR09 Numeric44 CGR10 Numeric45 EGR11 Numeric46 EGR12 Numeric47 IÜGR13 Numeric4Í:> EGftJ.4 NumerJ c:49 1TGR15 Numeric'.:.H) EBRló Numeri c51 ECÍR17 Numeric52 [-GR;18 Numeric:33 I:."GR19 i'-fumeri r.£>4 EGR20 Numeric5S FGR21 Numeric5¿ ¡T.GR22 Numeric;37 £GR23 Numeric58 EGR24 Humera c59 EGR25 Numeric¿0 EGR26 Hume ríe:f>\. EGR27 Numeric:61' LGR2G Numer :u:63 EGR29 Numcíric64 EGR30 Numeric¿5 NRO..CHFQUE Character66 TDTAL_II1PR Humen c
*JK Total **
10 210 210 210 210 210 210 2,10 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 2&
12 2025
Thií» datábase appears to be associated with: INDrtOAOI . IDX f índex 1
Used hy: AREATRA.PRG: CONSJOOO.PRG: DECIÍ103S.PRG: DECH1Ü4S.PRG: DECinOSS.PRG: DECIltOóS-PRG: TIPOTRAN.PRG: REINDPXl.PRG: REINDEX2.PRGí NUEVO! 00. PRG: NUEV0300.PRG: NUEVO 110.PRG
Structure for datábase r ARCH08Humber of d;\ta records :
;ey not fcmnd )
.DBF AI1
365375385395405415425435445455465475485495505515525333545555565575585595605613
.índex file{
ic -s: :CJ
374384394404414424434444454464474484494504514524534544554564574584594604612024
5):
Last updated s 05/18/93 at 18:54Field Field ñame Tyiu-
1 SUELDO_PIIN Numo: ic2 EMPRESA Char cter3 N_PATRONAL Char acter
Width Dec105010
Star1
1161
E-nd100070
4 N RUC CharacterÜ DIRECCIÓN Character6 TELEFONO Character7 JEFE Character8 CÉDULA Character9 FECHA... ROL Date
•i .". ti T D ("• A r • r* i rJ. u lJlK_bi-tl- Lhiii'at: U-?r11 CT'A_CflNT Character
1? V._.I)_TE;;r?rn: Numeric13 yj)._CUARTO Numeric3-'"í ;'-' ...ELPUIMTQ Murneri cJ.í.1 V DJiFXTQ C ha rae: ti-? r
*# Total **
17 7100 888 14840 15¿10 1968 206
25 21420 23912 2 2591 1 -.1 *•.> ~7 ti i. /.. i. / 1
12 2 28360 295
353
873.47155195205213238258270282294354
1-axDo'.: el id not find .irty as^aciated índex files
Used hv: ARt'.ATf.A.PRG: Ri;:lNl;í;.X.l .PRO; UL]:NÍ)Í:X;\.PKG
Gtructure fc-r datábase = ARCHINumbfc-'i" ÜT da 1 \s s
LÍ". :;.t nnd^tiíd :: O''í/í\ i e 1 d F: i H 1 d n itie T y pe
.! ARFu C'hai' J rt i?r2 MONBRí: i::iiafact(.?r
** Total *.*
T I i i s d j •[•. ,.i b d s P a p ¡j i? a r i» t o b G a «I H DA 2 0 <"' .1 . 1 D X í i n d e x
Usecl by HAHTOIO.PRBPÍANT009.PRGREINDEX1.PRGREINDEX2.PRGREPOléO.PRG
Structure for datábase r ARCH2Number of data records :
:O.DBF nliass A79
J / 9 3 a t 1 ?. ; 1 •'-Width Í)P.. Stai-t
i J30 232
ísociated with índex filéiskey not fotind)
l.DBF Alias: A745
EndJ
31
Last updated : 04/13/93 at 12:16Field Field ñame Type
1 ÁREA Character2 SECCIÓN Character3 PARTIDA Ch¿.racter4 NOMBRE Character
## Total **
Width Dec Start1 12 230 430 3464
End133363
This datábase appears to be associated with índex file(s): INDA2101.IDX (índex key not found)
Used \:>y MANTOOV.PRGREINDEX1.FRGREIHDEX2.PRGREPOÍ70.PRGREP02ÁO.PRGVALID002.PRGREP01260.FRG
Structure for datábase : ARCH30.DBF Alias: A30Numbei
¡:r i e 1 (]i2• i456"7
b'r*
101 ii/:1:314151¿i 7
13392021222.5242526272829303132J334353637
" üf data records ¡Last íjpd
Field ñameCÓDIGOCUI)IGa_NMÜI'IBRCNOH_PUESTQR1IFI PO
i ECHA..IHGCE." DULAAf I L I ACIÓNH;:CHA .ROLTI:PÜ NO viI'IL-JGDÍASANIUIMG011HG02ING03JHG04ING051NG06IHG07ING08ING09ING10ÍNG11IHG12IND13IHG14ING15JNGláING17ING18ING191NG20IHG21ING22IHG23
ated : 04/1Type?C ha r actorC h a r a c: t & rCharacterC h a r a c t e rN u m e r í cCharacterDateCharacterCharacterDateC hará c 1 t?vCharai-terHume r i c!-lumtor:¡ c:Numer i c:Mumerí í.:Nú m e ríe:NumericNumericNunieric:NumericNumeric:Hume r i cNumericNumericNumsricNumericNumericNumericNumericNumericNumericNUfflLTIC
NumericNú raer i.cNu¿ner .chfufftrr j. ":
17533/93 at 18:35
Width I)ec56303010 238
101081•">
2410 210 210 210 ¿10 210 210 210 210 210 210 210 210 210 2101 010 210 210 210 210 210 210 2
Start1ó1242728285931031131 2 11221241261301 4 0150160170180190200210220230240250260270280290;•)•• o3iv3¿0330340350
End5
11417181
921021121201211231251293.3914915910?17918919920?219229239249259269279289299309319329339349-359
. ? tí
;';'. 9
404 142•1 Z¿H
45464740495051CJ25354c: r
5657r-ü59606 1626 ¿
640:.60/;i 7686 97 07:!./' 2
** Tot
ihií. d
Usec! b
1NB24ING251NG2ÓIMG27TNG2SEGRG1EGR02HGRQ3EGR04EGR05i;i:GR06EGR07EGRÜ8EGR09CGRIOEGR11EGR12EGR13EGR14EGR15l'ijRlóL!üFa7cora atGRIV[:GR.?0
EGR21CBR22CGR23LGR24EÜR25CGR26LCR27i;-GR2tíEGR29E-GR30
al *t
atábase appe: INDA3001.
/: CONSÍOOO.: DECin03S.2 FíElHDEXl-;; REINDEX2.s HUEV0110-; NUEV0210.: NUE:VO/,JO.
Muíiieri cNumeric:Numeric:Numeric.NumericNumericKumeri cNumericNumericNuinericNumericNumericNumericNumericMurner icNumericNú me r i cNumeric:Numer i c:Nuítierí tMu mor ¡ cNumericNumen cNudiericHumenc:Numeri cMumericNurnei-icMu íh en cNumericNuíiiericHumericMumer i c.Humor. i. cWunieri c
10 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 210 2.10 21010 210 210 210 210 210 210 210 210 21010 :10 210 210 210 2
710
360370380390400410420430440450460470480490500510520530540550560570580590600610620630640050660670680690700
36937938939940941?42943944945946947948949950951952953954955956957?5895990096190296396496596 09679689699709
ara lo be associated with Índex filefs):íDX i índex
PRGPRG•'RGPRGPRGPRG:'RG
Structure for datábase : ARCIUNumber üf da ta records :
Last upd ated : 03/22
key riüt founü)
6. DBF Alias:0
/93 At 10:45
A6
Field1i~-.
4567a9
101112131415161718192021L. L.
232425262728293031323334353637383940414243444540474849505152' 3
Field ñameCÓDIGOCODIGO_.NFECHA_ROLTIPOJ1QVIMESDÍASING01ING02ING03ING04ING051NG06ING07ING08ING09ING10ING111NG121NG131HG14ING15ING16ING17ING18ING19ING20ING211NG22ING23ING24ING25ING26JNG27ING28EGR01EGR02EGR03EÜGR04EGR05EGR06EGR07EGROBEGR09EGR10EGR11EGR12EGR13EGR* -EGR15EGR16EGR17EGR18F.GR19
TypeCharacterCharacterDateCharacterCharacterNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumeri cNumeri cNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumericNumeri -NudiericNumericNufliO: :"ÍC
Nume?""i cNumericNumt-i ic;>•!•..•,::. .. J. L..
Width5681221010101010101010101010101010101010101010101010101010101010101010101010101010¡01010101010101010
Dec Start16122021232535455565758595105115125135145155165175185195205215225235245255265275285295305315325335345355365375T., , *
395405415425435445
End5
il1920222434445464748494104114124134144154164174184194204214224234244254264274284294304314324334344354304374384394404414424434444fl.lZ464•174
X] Ui O -O 03 xi L-J
•—i t-t H-f !_I >—!
2: z z 2: 2 .*.CD Cl CT3 C7 C5 C5 u* ujM - i - ' i - ' O O O O Oro — <-> -~ f - - --
t - i i ^ n i — f = — ( i — i s - J Ü I S — ! ~ H2i2:z:2:2;>~ím^m
— u* —• uj ~- en en ci en en a> tn T? o'-'oQoooooOQtn QX:o o to xj o oí -e* í,-j ro HJ.
3: :zr z 2:
o rs "n o TCD O «• -h H3o o rs»~i i-í s-> ~ c. -i,O Oí G. £.' S1 OO O LT r-¡- ~
O£= E3 3Ü) fD
• r =
r" i—
3 ÍfD rg• —
n n
c C3 3
fD (B"i T
n n
i ifD (DT T
n n
1=3!flT
n
fZ í-
3 3ro m-í T
n n
umer]umer:
n n
=r =r£lí Ü>
T "íPJ >n r-i
! i^ H-(C RJ
a. rrr»- »•ro T
5*OH-ro
=r X&. -cT 0&•ní-í-
fD
H3 C -Q. U!
O-b
íí! 1
ra !
3>??
•c -oH- í,.j
ex
o o o o o o o o o o o o r o r o ^ c o o c n
-o ro ro r-j ro ro ro ro w ro ro
n
oo?•*!
tn
w w i- o -o oo vi => e.- ü c-i hj ro M ro >-iUt y) rj» yi yi (j, r_- ,_„ r_- yj y, w <;> j
r>
fo >-» o íj oo xi o- tn -& cj ro ro roJJ» ja -r: k J* ji i» ji A *» 4S r-J O
rn3
ÍJ! CL
i—; m m m m o 2:T> í~3 n r; ;-; 121 o
D. sínaX $r
aiTT inro ox n
fDo.
o E,-. ¡j.tj r-l-O_ ^T
CLÍD
ui ro co o c.
»-•• o "-o í-,C-J Oí Oí C_.
O* CS O- cro t-» o •<
o^ o TH c--irt- iTj U" iTj
íT' \T¡ "•> ÍO03 c?. o THLO u~J ^O -O
3 p
0 0 0 o o o o ;-; o o 3 o <-- o o o ra +> O•u c-HLJ XO GJ
S £ = S S £ £ £:¿ Qj Ü ÍÜ i-£ s e e =gr¡ zi 15 ^ x:
Si¡1
System: CUNTROL DE NOMINA
ñu-Mior: FAUSTO AGOSTA CEVALLOS
F.U'ld ÑameAFILIACIÓN
ANIüAHTIARFA
A . . P A T R O N A LA r'ER.'JOMAL.
P. ANTICI:M¡LA
a..w uÜÜl> i 1 'U
r:or.;:T)
t. (.h,'¡ 'U M
CQNSC T A fÜI-ITC ESTC...FÑMCJJH'ADt-SrRIRCH)
DESCRÍE. C
DEISCRrP LDÍAS
DIRECCIÓNDIR JJAF
EGR01
EGRG?
Ty pe Le?nC " 1 0
N 4C 1c: l
N 5H 5N fíC :l. 0
C 6
(.: i or; 5
c; ¿t
G 10C 20N 2N 2N 8G 30
G 10C 50N 2
C óOC 25N 10
N 10
De->c,"¡
000
ni..
¿:.'-\
0
00o
C)
00o0oi.
0
000
0
0oi.
o•!_
DatábaseARCH01.DBFARCH3C .DDF
AKÍ:H;K).DBFARCf!0:J0DBF
ARCI-I2Ü.DBFARCÍJ21 ..DBFARCH03..DBFARLH03.DPFARn-K)4,,DE!FARGH30..DBFARGMO.I. .DBF
APCHOB.DBFARCM99.DBF
ARC1-Í07.DBFA R CiU 7. DBFARLH06., DBFíi !-.'!"'(•! '-Ti ÍH-'íF-"[••i! •. i • 1 1 ..) Vi ~ i.1 1.» r
Ar-. ' i . lUí..DBFA P n i u L . D B FARÜi'l30.DBFARfiJOl .DBFA RC IR!. / . .DBF
A R C H O A - D B FARGÜÍ 6, .DBF
ARCH99.DBFARCI IOS.DBFARCHOí .DBFARGN01.DBFARGMOa.DBF
ARCH02.DBFARGH04.DBFM F¡' / ' u ( v-í nPF"[•iKt.iM'v''..) u U 01
,;Rr:il07-I)BF..•-.! . f i07.DBF
. 'MI 7. DBF( , ^.DBFARi. wc. r>BFARGH,;, ',!J.L '"•ARCHOB.r -Br -ARCHOB.DBiARGH30.DBFARCH06.DBFARGH16.DBFARCH17.DBFARCII I / .DBF
o o o
men
r-o r-o
C.-i O =- C-J s-^ OO O* xj O í>- O* "i tí-- ¡Tí Nj £S O» O O^
C ti£ E ? ! U ' 2 3 W i 3 ? W l 3 3 r z ; t ? ' j P i 2 E 1 O T r o w t £ Í Í I l £ ?
jaa"90Hjyy z oí N
oí N
OT
jaa-90H3yy
jaa -,:.,. iy s oí:
OT N
oí w
OT
O T
33
ar
O T
O T
O T
EH
OT
OT
O T
K ÍCi ÍS; íi Ci a CLj tljLL-U-U-U-U-L i .L i_L i - i - L .U .L i_ü_U_L-U_L i .U .ü .U .ü .
o o
o co
ING10 N 10 2 ARCHló.DBF£ ARCH30.DBF
ARCHÍ7.DBFARCHOó.DBF
INGil N 10 2 AFÍCH30.DBFARCHOó.DBFARCH17.DBFARCHló.DBF
I Huí:; N 10 2 ARCH17.DBFARCHló.DBFARCH30.DBFARCHOó.DBF
ING13 H iO 2 ARCHOÓ.DBFARCH30.DBFARCH17.DBFARCHló.DBF
IHGl'i N 10 2 ARCHOÓ.DBF
ARCHló.ÜBFARCU17.DBF
ING1S N 10 2 ARCHló.DBFARCH30..DBFARCHOó.DBFARCU17.DBF
i HUÍ 6 N 10 2 AÍ--CHIÓ..DBFARCH30.DBFARCHOri.DBF
P ARC!l:l.7,,E)BFINGí? N 10 2 ARCH30.DBF
ARCH17.DBFARCHüó.DBFARCHJ.Ó.DBF
1NOJR N 10 2 ARCHOÓ.DBFARCH30.DBFARCHló.DBFARCH17.DBF
ING19 M 10 2 ARCHló.DBFARCH17.DBFAFÍCH30.DBFARCHOó.DBF
INQ20 N 10 2 ARCH17.DBFARCHló.DBFARCHOó.DBFARCH30.DBF
ING21 H 10 2 ARCH17.DBFARCH30.DBFARCHló.DBFARCHOó.DBF
N 10 2 ARCIIOÓ.DBFARCH30.DBFARCHló.DBF
ING23 1-: 10 2 ;,;-'::H30.DBFpRi:H16.DBF
ING20
ING2L'
10
10
ARCH17ARCHOÓARCH17ARCH30ARCHOÓARCHlóARCHI.7
.DBF,DBF-DBF, DBF.DBF.DBF.DBF
RÜHló.DBF
INGZ¿
ÍMG ;-:;*
IHG28
JEFEHANTMES
t'IUVJ.
HOMURL
NDm;R!:.. UNOMJ-'UESTOHRü.. CHEQUE
H/ 'ATRÜHALN _RUCGTRAPARTIDA
PARTIDAPATRONALPORCENTAJEPRÜCPUESTO
P_ANTIP_APORTEP_RESPRÉPOSECAP
N 10
M 10
N 10
( 00C 10( 2
C 10C 30
C 15C 30i; 8
C 10C 17C 10C 3
C 30C 10N 5[.; 10C 3
N 5N 5N 5C 10N 5
2
'•i*..
'-iL.
000
0ü
000
0000
00200
oi-
2202
ARCH30.DBFAHÍ: MI 7. DBFARCH16.DBFARCHOÓ. DBFñRCM06.DBFA R D U A . DBFARCHl / .DBF
A ROGO .DBFAK;!t:i.7.DBFARCH30.DBFAF-.CH16.DBF(•¡RL:HOÓUDBFAÍVCH03.DBFARCH99.DBFARL: MIÓ. DBF
ARí. :HOA.DBFA R C H 3 / . . D B FAI-;i;H9'7-DBFARCH01.DBFARCH30.DBFA R C Í I 2 1 ,.DBFAKCI-I^O.DBFARCH99.DBFÁRCH30.DBFARCH16.DBFARCHOÓ. DBFARCH17-DBFARCH00MDBFñRCHOO.DBFARCH99.DBFARCH01-DBFARCH30.DBFARCH21.DBFARCH03.DBFARCHG3.DBFARCHVa.DBFARCHOJ -DBFAR::Í 'O..DBFARC¡-i:,'4.DBFARCHOÓ. DBFARCHO'. -DBFARCH9y ,:DÍ'fFAÍÍCHO:*. .DBr
ÜECCIONSUELDO
SUELDO..HIN3. CESANTÍATELEFONOTIPOTIPU...CAI...C]1]-'ÜJ-10VM
TIPÜ_TKABA
TOTAL... I11PR
VJ>.. CUARTO•/D_(HJ.[;-tTC)V í,'< SEXIOV I ) '[ERCERV_ESTUV HIJO
CN
NNCc;cc
c;
N
14NCNNN
*•»í.10
1058111
1
12
1212001288
0oJ-
0f\
0000
0
'~lt.
r\
«•>
0'V>
¿.oi-.
ARCH21.DBFARCH02.DBFARCH30.DBFARCH08-DBFARCH03.DBFARCH08-DBFARCH03.DBFARCHOl.DBFARCH16.DBFARCH17.DBFARCH30.DBFARC:l-IOé.DBFA RC 1-10 4. DBFARCH01.DBFARCH17.IÍBFARCUló.DBFARCHOA.DBFARCHÜ8.DBFARCH03.DBFAK'CHOB-DBFARCH08.DBFARCHO^.IiBF'ARCH04.DBF
5vstem: CONTROL DE Nuil I NAAuthor: FAUSTO AGOSTA CEVALLQS05/18/93 20:20:05]' n d e x P a r a m e i e r £ u m m a r >-'
índex files in the systemIHDA99G1.IDXIHDA010Í.IDXIHDA01Q2.IDXINDA0103.IDXIHDA0201.IDXINDA0202-IDX1HDA0301.IDXIHDA0401.IDXTNDAOÓ01.TDXIWDA2001.IDXINPA2101.IDX
IHDAlóOl.IDXJNDA1701.r»X
INDA99Ü1.IDX
This índex file ¿ippearx to be associatod w.i. th database(s): ARCH99.DBF
Used by: CLñVE-PRD: RF:iMDf:X:l.-PRG: REINDEX2.PRG
1HDA0101.IDX
This Índex file appears tp be associated with database(s): ARCH01.DBF
üsed by; AREATRA.F'RG: REINDEX1.PRG: REINDEX2.PRG
INDA0102.IDX
This indox file appears to be associated with database(s)s ARCH01.DBF
Used by: AREATRA.PRG: REINDEX1.PRG: REIHDEX2.PRG
1HDA0103.IDX
•a01
O
LJ
CD r~ÍS ££ S
fu C--4
'-'
Ul•r-fx:
1
" 1-~-Ul 1--'ai i1/1 i<s ;X)
*TS
•u•o
-C-H
3
-O0¡
1«-iHiJ
O«1
S
£U_D
iflh-n; CD CDill f! L£ ff
íi- U- ='- Ü- t'j-
c. 05 CL • •rt5 £^ . i-f C'-J
<E X ><flí *3" CiC UJ LJ
r~i O i C5 Q
j-i 31 -<X. 21 ZX 'f- CJ Lij f—< nO CC iK Lü Uli — i x <T <r ¿y y
• OJT-H tj »• r« "« ••
O c X
o<t til -3J-1 -í-í OíX £ iíi
mi
• s
ifl
^*Oí
ififí;
_Q
í•u
TD
.C-tJ
3
•a011 *
•i-Huo<nSOíjnG
-"i_
íi3<DríCLrg
OíI— i-^
X 4-O^^ X
• OírH -o
0 c*^J LiHo*£ gi0 -r-J
Z J=i-i v-
LL.ííj
O
"-OOXC_)a:•cii
: CONS100G.PRG:: DEniHQ3S.,PRG:; WEnTI-Km.PRG: DEC;iNÜ5S.PR(3¡ DnCinOAS.PRG= TIPOTP.AN.PRG
;; NU!.:VO:!.OO..PRG
: MIJ[ :VO?OO.F- 'RG:: WUE.V0110.PFÍG
INDA2001.1DX
This índex filp app
^ ARCHrO.DBF
to he? associatod w:i. th d a t a b a ü e C s )
Usied I:-.-/: Mñi 1 1 010 „ PRÜ
INDA;.: ¡oí..
I N D A 3 0 0 1 . I D X
This indt?x file:' appears to be assaciatcíd w l th database(s)ARCHSO.CBf
Used hy COHS1000.PRGDECIM03S.PRGREINDEX1.PRGREINDEX2.PRGNUEVOUO.PRGWUEV0210-PRGNUEV0310.PRG
I N D A 1 A 0 1 . I D X
Thiib inclex file appears to be associated wi. th datAbase(s): ARCHU.DBF
üsed b>: CONS1000.PRG: DECJH03S.PRG
: DEnil'IÜíiS.PRG: DECTnOóñ.PRG: TÍPUlUiULPRG: RE1NDEX1.PRG;: REi:H(>EX2.PRG: NUEV0300.PRG: NÜEV02:!O.PRG
1NDA17Ü1.IDX
T'his índex file appears to be associated w:t l.h da tabasefs )ARCH17.DBE
üsed by CONS1000DECHIÜjGDECIMQ4S
DECIPI06STJPDTRAH
REINDEX1
RE IW OCX 2NUEVÜ300
.PRG
. PRG
.PRG
.PRG
.PRG
-PRG
.PRG
.PRG
.PRG
.PRG
no
o o n n n rs rí o n o o o n o o
f O f D f O t I i i T i t í 1 C * ) O r £ ! r 5 f D r 3 í t i ( t ; f I l f t ' 5 í Dí - O- Cl. Q. O. «i S> $3 G- r i_CL i - i C L j - ^ P - n Q_ n
x x x x "< o if e t x x N < x 1 X ' x x x " x x.= .c »• .. .. m » -» » .. » .. .= .= " .. •= .." ^ - . "~* ^- . „ — ^~
3 ó ?: ; "j o o • o o o í r3 3 o M ro oC" £- t-o i—•• o — c-J ^ • í-1 ?j t-o o -£» ro 5-i ow c- o o — —• — sj. i- o o w o o o •-*o . * . . o o o » • n • • • •
o o o i-», ro 3 c; '-•ji r.j
? » U i - * ¿ b w o o bo o o . • n • • =
o
73 OO
GíC5 £13
•O -* -hflí C ET 3 =3su n n
i/í
0 0
on »-•• »--ID =s 3
a- c*
ore =s
"OCL
^-oC.-J
C--!CD
' nc oin 3
Cb
o o H- n o o ri o n o n n
1-^3 1 — ' i — " i — ' t_¡ h-' h-i !_' i_¡ I—'3 | _ i ^ ^ i — 1 > — ' i — j
Q. «« ftj á . Q . O . Q . O . O , O - Q . O - , = íi; O _ Í 2 - ^ . 1 ^ - D -
en w x x x
m3 en TO so o o c:
X X X X Z '.i;
r j o o o ó o v-". r-o o ro ho o o o o o
cncn
o o
Cl O
O O O O O
o r-o
rü 35 O £7) 33en en en CD
OP H>-
fl) U
-o
CÜNG220.PRGLIS 1010.PROREPQ220.PRGCHEQ120.PRGNUEV0110.PRGWUEV0210.FRGNUEV0310.PRGROUND()
RECIBEby: NÜVIOül,
CONS210
byby¡by,by;by;by:by:
CalledCallee!CalledCalledCalledCalledCalled
CalisContains:
CalledCalled byCalledCalledCalledCalledCalledCalledCalled
CaliContains: VPUESTO
Calis: EOF OContains: 1NGRES01
Called by: CON51220Calis; RÜUNDO
Contains: EGRES01Called by: CONS1220,
Cali?,: RÜUNDOContains: RETÍS El
Called by: CL1NS1220.Calis: ROUND()
by;byby:byby;
by;
hy;
PRGPRGPRGPRGPRG
LIST040,REP0220.CHEQ120.PRGNUEV0110.PRGNUEV0210.PRGHUEVOS10.PRGRÜUNDO
PRG
,PRG
(functíon in ?)(Params: none)
(function in ?)(Paraní!;;: none)(function in ?)(Params: none)
(function in ?)(Par¿unís: none)
(fuñe ti orí in ?)(Parama;; none)
(function in ?)
tea : t 19yol
1. of 2
CGNUEX
i
MENUCLftin f»*nuda.(i
CX3NUEK
1ME>IUCLfilin 1
CONTROL DE (OMINA
FAUSTO r GO; (=( CEUñULOS
Desciripticm: MfíNIXNI^IE) • ' t i DE CLAUES
~I? I
ía i
05/1 íiti: 0Sí: :4
11:21:20File :
.1 of 8
I O
EBRDREÍ • p I p ~7¡¡ Ti AREñTRi, I
COHUEfl
PñNTIÚl 1 CADENAS |
MñHTDl
i
I rwm:i¿ I MñHT002 I PAKT003 I
GC3NTROL DE NOMINA
FAUSTO AGOSTA CEUAULOS
CONTROL DE NÜMINft
OTOIHWW
r
T
OOiHyd | SOOSN3W | 9DOSH3UJ
T ^ Ái
k
| &U01HH-J
8: ts vi
::*.^^ i st»
fVintea:
05/22/SK3 08 : B5 : i
0S/22/93 11:21:
File :
3 of ti
INICIO J
MftKTODS
MEN300E I PrtNTÜO? I MANTOc* I rTNSüflS I ^ENSOPE PrtNTQSZ
It 3 H
PftHTOEl 1 ^ • z T^IIMrtMTuZS J rtHSÜlW II., . m \ I
i
RÉSPQNSrt
F i l e :IN1C.TO.PRG
' -1 oí fí -
^ '
MMT1GU 1
1
*
FTN
•K,
'
* 1
'
MOVIDO 1 |
r"
COSTDUIt'BI Í:JE::Í
kFñT'1 I
,SUESENJ I
i
H3ESS |
i
j
TT
INGRtSC'S I
,
EGRE-i r
RECIEt I^ '
MENÍTia? |i'
M^NTODl I
._,,. 2 p
Pñt-ííí<52 I
ce
! z
H
C3HH
gí
O! 01*• V
í
atea 08 : BC5 : 2¿l F i l e :
I iu h
hENSlUül 1 REPO]6D 1
•* '
REPD170 1
•* 'REPD123 I
,REPD30D 1
^ r
REPDI3P 1
JkTñEtñCC: 1
T f
REPD2GÜ 1
'•REPO
r
23D g
^ 'REP020D I
'
ir,r-TNUD 1
CHEQ090 1
T 'CHEQ10Ü 1 LET010 | USTGZO |
05
51
¿CL,
HH
ri:i_i
co
Sis01 C
0)
cu
A
í }) H
i
í o.P
uU I I ;!•
íí !
Rol cié Pingouiéi i — —
Í.'J (:!- as üp<--iones
PONTIFICIA UN.[VERGUEAD CATÓLICA DEL ECUADORU s u arios A D MIM1S T R A D O RInqreso / ñodii 'í":i. <::ac::i.on de? ciatos personales
Rol cíe Pací os-Mensual - —
i Código.N:i NQHBREsí PUESTO:i PARTIDA:í FECHA DE INGRESO:j CARGAS FAMILIARES:1 c A R G A ;: E ;;;; T u D i A N T 11.. E: ;•;:i GRUPO AI::'DRTF. It'BB:í TIPO DE EMPLEADO:! NUMERO DE CÉDULA:(NUMERO DE AFILIACIÓN:i TIPO DE CALCULO:
CODIGO:
PONTIFICIA UNIVERSIDAD CATÓLICA DEL ECUADORUsuario: ADMINISTRADOR -
Rol cle-í--Mensua 1
04/22/9;
Menú puf?s I \ Actúa 1 izar Suel dos
iHn.i-:M:i.;:i:A UMI:VERÍ;Í:I:I>AI> Í:;ATÜL:I:CA DI;;:L ECUADOR Roí deuarió: A D M IN1 S T' R A D OR - - -TI e n su a 1o r i» •!;• c j / I'11 () el :i. f' :i. c:: a c: i o n el c? p IA e «i t c:j «í
PUESTO:DESCRIPCIÜNs
SUELDO;
•.J|.IT:!:F:I:CIA UNIVERSIDAD CATÓLICA DEL, ECUADORJ 5 u a r i. o : A D MI NI S TR ADOR — —
jso / Nodi'fi í::ac::i.on qi'upíj^; de aporte a!l. ',
(3RUPODESCRIPCIÓN
APORTF: PERSONALAPORTE PATRONALSEGURO CESANTÍA1
S - El. C . A . ¡::;' „1 , E . C - E.' „ :
PORCENTAJE:
Rc:<;i. de......Mensual
TIPO EMPLEADODESCRIPCIÓN
'-'ORCXNTAJE RESPOHSíiB :DASE PAGO ANTIGÜEDAD
/I ANUA) ANTIFHJEDA;COL-Ti) DE VIDA
PAGO POR CADA HÍJC):PAGO POR CADA ESTUDI,
7. APORTE AL IESS:
i üüTiFiciA UNIVERSIDAD CATÓLICA DEL ECUADOR Roí de Paqo;Usuario: ADMINISTRADOR - - -M e n s u a 1
¡NOMBRE DEL CAMPO: INGO.1¡ D E! S C R I F C I ü N C O R 7 : S u e I d oíDESCRIPCIÓN LARG: SUELDO
yia un ríen:
3Q OttHNDN
A OWINI
* n s u a w —• y p a y y L s j N ]: w G y s o T j
Ro'l cié-Mensua
*"Mip;:;|....<!í'..¡K, ,
'i; i:Ule ;;[.-^cp'i.
v>p-i:,Y-.o.|':--' ..
pi^pav1!...'!:') ' : ' .
•i:<:p:.:-:i; ( ! ' i f i ' i ' . -•
orí T SS3I
odT
•ni.
Tj -!
<IU5LÜ
na
m
JN:I:VERS:I:DAD CATÓLICA Rol d.. ;3 u^c1- l J- '•- - i -i*-.' É i * r i J. ^.j i i M it-j -— /; .. — _....,......—_..„-,.—.—. — ., - — ...,...,.,.
.P (-1 cí i g o n -
Código NombrePuesto
Rol
-lo,, D.i.aíü Ap•Vi--1 ' 'i rtn TNGKesiponísabá IWGn¡vt.:Í.qu(odad JMG'.••;(.jsto-"V.i.da .IMG-':'l 1 bíii— :'::UTll "1, "U"!G
':.:i
.6. 7.8.9•:0
i'HG07 :I:NG.VLI t - IGOB 1NG22í.'hir-iv"1 . ) ! ; • ] G23:I:HG.IO IHG24TlAf'í 1 )"* i "RCf'R '::>
riíni ° r> ruARTn s
•. ;jii;: :-;:: •; i':" ,7Í
:' ;'!;: -¡i:!('•)!
•G!
;>¡i,
i;
; :<-.:<
< ,•j;i
i1'
:!G!:;'
::GK"f'-í )•'•"' '
:'M¡.,'
ÜML'l.a I) ,. QUINTO. ÍS EGRRJiTM D,. SEXTO ..B EGR
. „
f ech<;, .. .' riciSueldo
Año Mf
'••- ] K.BK 1> :,-'•'' 1:••..:. 1)4 |
f
'' ••''•• 1
'7 tJÜ I)v í. 0 1
:i. l'-•' i
S Par-
G[-5Í'O
GGü
Ü
01ÜGli.;,>":l
•::\.¿, -i -•
V .i
i,' 2fl '''."• ;
Íí:lx:,,-,..,.
<2-'"l;•;•"-.
!2'':''•;•• •• '--• i- ...• ¡ -^ ,'i.
• ' n-ü :::9! 1 • i I1'. *.!i '.
LID tas de aporte* al I ES SnrRí -1 c! •
~Mc-.inBLt.ri !.
r
'00 p-, -j.
fino de
op IBUCJ G:¡ --.'. . ou.1 --^
o p T .3 vi •-. p ?.. (} i ri n f;í ur: ' > opians o:.¡ ..,it.'vri '•:-:!.rr 'Í.-JOpTGVlQ ..,I-". J JO . 1 . ! . i i . l '1T I'-::.1
B^UJ .::ip LII
In UNIVERSIDAD CATÓLICA DEL ECUADOR Rol cíe PAUDÍÜADMINISTRADOR — —Mensual- . .—
Fin de m <•?<=; ¡1
M o v i rn i e? n 1. a s m e n s u a 1 e sRet.roact i voL iquidacio n e s
L .— . . _ ....,
a archivo h;i.s
UN í .*. ¡': .'f." c "i" Á UN i VI;;;RS i I:-AD CATÜL. j; c A DE::Li s u ario: ADMINISTRAD OR
ÜUAIMJl Rol cíe Pa(.i1..-Mensual -
i Procese para eliminar registros de movimiecitos dey En v i a r d a tos a ar c h iva hi sto rico
o, .TLp ..IB B G..,C| E.BHUJ OATi-p ir ap 304 v?p ..,i v? 7 A u q Ai uj T A o u; a p : -. r\j :j«;; r 6a .j ..,i v 1.1 T u> T T a n? j P d o r~. a ::.i cr. 4 , i
••-oí n irioíR UNIVERSIDAD CATÓLICA DJ s u a r i o : ADMINISTRADOR ..... --------------:;a ]. cu 1 -;'. i"
EÜUAPÜR Rol íí c - I-Mensual
! Monto Décimo Tercer Sueldo Fijado es¡ I n q r e s o s a n u a 1 es s , S u e Ido, A r i t ..i q u e d a d. . . . 1I Respamsab.i 1 iclaci , Í3 . i"" a mi 1 lar / 12
Rol Mensua l!;:;; o 1 R e t r o a c: t i v o / S a b r e s u e Ida
: i - i v:i:r :LLIH ¡.iM.n/^RSiíW) CATÓLICA DELiar J.G : ADI IIN 1 STRADOR ~ — —
..!!. cu .1. vi \" e :i. De* e :i. mo Cu a r to Su e? 1 el a
Rol deJ'-l e n -su a 1
Monta Décimo Cuarto Sue1 do 120,OOO.00Va 1 or a paqar 120 , OO'-.>. 00
Ral Mensu.vi 3.R oí R e V. r o c t i v o / 3 a b r & •, u es 1 el o
OH i :I:F:I:C:Í:A UNIVERSIDAD CATÓLICA DELs u a r i o : A D ¡11NI C T R A D O R - -al cul.ar co! Í}<-í*c:üiio üu in to í:>i.u--ldo
Ro!l. de 1..Mensual
hon to Décimo Qu.in tu ^uo 3 do SO „ 000 . OOVv^ilor r-¡ p.jqar 50,, OOO . Uú
CATÓLICA Día.. ECUADC.HUsuarias ADMINISTRADOR
Rol de-Mensual
Otras op c iones
Cambio de archivo de trabajoR e i n d e ;•; a r ArchivosReindexar & Comprimir ArchivosOpciones de RespaldoCambiar fecha de rolComandos DOS
C ¿un b :i. a r a r <:: h :i. vo d t;1 t r a ba.:¡ c:i
ÜNT:i:r- :i:c: :i' A iJNI y ERS:i: DAD c;A roí...:i:c; A DELJsuaricJS ADMINISTRADOR
Rol cíe l-'aqos-Monsua 1 --•••- - ---
S e? 1 e c c i. o n de a r c h 1 v o s el e m o v i m .i en t o s
Rol MensualRol Retroactivos/SobresueldosRol Liquidaciones
MANTENIMIENTO.-
t
Para un mejor funcionamiento del sistema, se han incluido algunos
procesos que sirven para dar un adecuado mantenimiento:
El sistema dispone de una rutina de tratamiento de errores, la
que en caso de producirse algún error daré una descripción del
mismo, lo que permitirá tomar las acciones que permitan superar
el mismo.
Para manejar las bases de datos en forma mee rápida es necesario
ejecutar la opción de fin de mes que se encuentra dentro de
procesos, la misma que sirve para eliminar los registro de los
movimientos mensuales y enviarlos a un archivo histórico,
41 alivianando asi el volumen de datos en los archivos de
movimientos mensuales.
Reindexar archivos permite un reordenamiento de los archivos de
trabajo, se deberá ejecutar siempre que el sistema presente
problemas de búsqueda, muestre datos en desorden o se ha
eliminado un registro en forma lógica.
Se dispone de una opción reindexar y comprimir archivos, que
permite realizar una eliminación física de loe registros que
previamente fueron eliminados en forma lógica, además procede a
reorganizar las bases de datos.
El sistema dispone de una opción que permite respaldar la
información a un medio de almacenamiento secundario, esta opción
debe ser ejecutada periódicamente, asegurándose de que la
información a respaldarse se encuentra correcta, la frecuencia
con la que se ejecuta este proceso dependerá de la variación que
haya tenido la información. Es recomendable que cada respaldo se
haga en un Juego diferente de diekettes.
Es importante que previo a la ejecución del rol se fije la fecha
prevista para tal efecto, ya que el sistema realizaré todos los
cálculos en base a dicha fecha.
Además el sistema permite ejecutar comandos del sistema operativo
sin abandonar el sistema, se debe tener cuidado en que dichos
comandos sean realizados por personas que conozcan sus efectos,
evitando se realicen funciones indebidas.
TJ TJr
•un*^_KJ
C 3>z
cr -I
J
Tí O 1, ON 1
MANUAL DE USUARIO
Introduce; i ÓIL
ha sido diseñado y de,sarro I í ,-j,j
ivontroi de nomina, en base a lar; necesidades de la .-mpresa.
Los rrebramas están hecho en FOX BASE Versión 2.! y funciona
c-n rníc rocoiTiputacioras con un s i stema operat i vo D. O . S . , en
Permito 1 levar el control de nómina de una so la empresa, e 1
¡ -f •••'.'o e :-'--i"' '.".¡¡.¡0 se realiza es on liu-'v^j. ^sto quiei— (.U.fr: i T' "_jrt ¿.-J
íiiiitinento que se realiza la ací u '11 ización do las trarisaccii -i-.-'.í-.j
Autómata oíiínente se realizan los cálculos en cada módulo que
se uti J i ~<'t o-n el sistema, pcrm i te 1 levar el control de tres
tipos de movimientos. El Rol Mensual, Retroactivos
Sobresueldos, Liquidaciones, el usuario debe escoger con que
tipo de rol desea trabajar.
Este sistema esta compuesto de seis módulos, MANTENIMIENTO DE
ARCHIVOS, INGRESOS/EGRESOS, . 'NSULTAS, REPORTES, PROCESOS,
OTRAS OPCIONES.
Operación del Sistema.
i<;i usuario puede ejecutar el sistema de nómina escribiendo
ROL, desde el indicador del sistema operativo, al ingresar al
3 '.p-.tema aparece la presentación del mismo, pudiéndole al
usuario que ingrese la clave.
'"-liando la clave es reconocida se muestra las opciones de
trabajo del sistema, caso contrario sale nuevamente al sistema
operativo.
1 MANTENIMIENTO DE ARCHIVOS. Esta opción permite la
actualización de loe archivos que contienen información
básica, como los Datos Personales, Puestos y Sueldos,
Grupos de Aportes al IESS, Tip-> de Trabajador, Titulares,
Sueldo Mínimo Vital, Áreas, Secciones, Estos archivos
permiten almacenar los dat. - los mismos que tienen
relación o intervienen direc:.-imente en el de Datos
Personales.
Al escoger esta opción el usuario puede alterar los datos
de los dj ferentes archivos, cuando el registro
correspondiente al código existe e i programa muestra en
pantalla los datos del registro, en vi caso de no existir
da una opción para añadir al registro para ese código, en
la parte inferior, muestra las siguientes opciones:
Grabar Borrar Modificar Cancelar.
La opción Grabar permite actualizar los datos del
registro en la base de datos. Borrar permite borrar el
registro - el borrado se reci I iza. en forma lógica, esto
quiere decir que el usuario puede recuperar el registro
borrado - hay que tener cuidado de no utilisar la opción
Reindexctr £ Comprimir en O tras opciones, para no eliminar
físicamente los registros ya que luego de efectuado este
proceso el usuario no podra recuperar la información
borrada . Modi f icar permite tnodif loar la información de i
regi str-vj seleccionado, Cancelar permite cancelar
cualquier acción que el usuario realizó dentro del
re ¡4 i e. ti-o seleccionado .
En el caso de haber borrado físicamente algún registro el
usuario puede activar el mi tuno, ya que el borrado que se
lo realiza es un borrado lógico, en la parte inferior
aparece el siguiente me- n.ie:
Activar Continuar
Activar activa el registro, Conuinu-r vuelve a pedir
nuevo código.
Esta es la ferina de utilización de los mtnus dentro de lo
~ 4 -
que es mantenimiento de archivos.
1.1 DATOS PERSONALES.- Este archivo almacena loe datos
personales del empleado como el Código Principal, el
Código de Ubicación, Nombre, Puesto, Partida, Número
de Hijos, Número de Hijos Estudiando, Grupo de
Aporte al IESS, Tipo de Trabajador, Número de
Cédula, Número de Afiliación.
1.1.1 El Código Principal, este código permite
identificar a un registro (Datos
personales). Tiene una longitud de 6
caracteres alfanuméricoe, en los 4
caracteres primeros se debe escribir las
primeras letras de los de los dos
apellidos y de los dos nombres, la
posición 5 y 6 permiten escribir un
número secuencial por si ee repite el
código generado por las letras de los
nombres y apeülidos.
Ejemplo:
NOMBRE
VILLAGOMEZ ESCOBAR MARÍA DEL CARMEN
MALDONADO PRIAS MrRIO JAIME
CODIGO_P
VEMC01
MPMJ01
5 —
En caso de coi no id ir el código generado i-^r letras de los
ape11 i do e* y nombres, se debe diferenciar por número
secueneia 1, ejemplo.
viLLAVICENCÍO ESTRADA MARIO CARLOS el código generado por las
letras «-e VEMC idéntico al de VILLAGOMEZ ESCOBAR MARÍA DEL
CARMEN que es VEMC, la so lúeion es asignar un número
secuenciai 02 pare diferenciar finalmente quedaría:
VILLAGOMEZ ESCOBAR MARÍA DEL CARMEN VEMC01
VILLAVICENCIO ESTRADA MARIO CARLOS VEMC02
El número secueneial se asigna de acuerdo al orden en el que
se ingresaron los datos en el archivo maestro ee por eso que a
VILLAGOMEZ ESCOBAR MARÍA DEL CARMEN se le asigno el número
secuenci a 01 quedando el siguiente código VEMC01, y a
VILLAVICENCIO ESTRADA MARIO CARLOS se le asignó el código
VEMC02, con un número secuencia! 02 porque evidentemente
leguen segundo Ixigar.
1.1.2 Nombre. Permite ingresar el nombre del
empleado, siempre .-« debe ingresar con letras
mayúsculas, ya que estrí permitiré la identificación
tanto para la identifica - i r ¡i tanto para el listado
del rol de pagos como para la emisión de chequee y
también para el listado de aporte al IESS.
.1.1.3 Código Ubicación, este código permite definir
la ubicación, física del empleado dentro de las
di fererites áreae y secciones, es xm campo que puede
almacenar cinco caracteres alf^numéricos, los mismos
que son llenados siguiendo los siguientes pasos.
* E1 primer campo indica el número de área de
salud, empezando con Planta Central que es el
numero 0n 1 Ares 1 Latacunga, Hasta nueve
áreas, el segundo y tercer campo ye lo utiliza
para definir la sección dentro del área de
salud definida anteriormente, ejemplo: Planta
Central, Administración, sería 001 y finalmente
eJ campo 4 y 5 que permiten indicar el número
de empleado dentro de este área y sección,
ejemplo: 00101, será el empleado 01 de (0)
Planta Central, (01) Administración y el
empleado número 01, permite definir hasta 99
empleados dentro de cada área y sección, así
como 99 eecci<:s"^s dentro de cada área y sección
y hasta 9 áreas;. n el caso de los contratos se
toma como un área • - cional.
1.1.4 Pueeto. Se debe ingresar al código del puesto,
el código es numérico de tres d.igatos, hay que tener
cuidado que el código ingresado ^xista en el archivo
puest's.
1.1.5 Partida. Permite ingresar la partida
individual dentro de la partida global que envía el
Ministerio de Finanzas, puede ingresar hasta 999.
1.1.6 Fecha de Ingreso. La fecha de ingreso indica
la fecha de ingreso a la Insti t.uci ón o la
re liquidación que rr-ali^a Recursos Humanos, esto
quiere decir que si el empleado tiene tiempo de
servicio en otras Instituciones se debe añadir a
esta fecha d€j ingreso, es muy importante puestos que
•_-on esta fecha se re^li::^ el cálculo del Subsidio de
Antigüedad. El formato para ingresar la fecha de
i'les. Día, Año (mm/dd/&a * .
1.1.7 Cargas Familiares, En este campo se debe
ingresar- e 1 número de r-areas familiares, este dato
permite el cálculo del pago de Subsidio Familiares
que dispone cada tipo de empleado.
1.1.8 Cargas Estudiantiles. Este campo permite
almacenar el número de cargas estxidiantiles, al
igual que el campo anterior permitiré el cálculo del
pago del Subsidio Educacional que algunos Tipos de
Empleados lo disponen.
1.1.9 Grupo de Aporte al IKSS. En este campo se debe
- 8 -
ingresar el código del grupo de aporte al IESS que
es una letra mayúscula de la A-Z, este código debe
existir el archivo grupo-aporte, este código
permitirá agrupar en distintos grupos para el
listado de Plantilla al IESS.
1. 1.10 Tipo de Empleado. En este campo se debe
ingresar el código de Tipo de Empleado que -:-s una.
letra mayúscula de 1 a A-Z, este código debe existir
en el archivo Tipo-Empleado, el mismo que permite
identificar al tipo de empleado y los diferentes
rubro e; cada tipo de empjeado.
1.1.11 Número de Cédula de Identidad. Se debe
ingresar el número de cédula de identidad de cada
empleado teniendo cuidado de ingresar correctamente,
en el caso de que el número sea erróneo aparece un
mensaje en la línea de mensajes, si no disponen del
número correcto llenar con espacios el '--ampo.
1.1.12 Número de Afiliación. Ingresar el número de
afiliftoión al IESS.
1.1.13 Tipo de Cálculo Ingresar el tipo de cálculo
<A> Manual, <A> Automáti Al ingresar como tipo de
ce leu 1 :< Manual el usuario debe ingresar todos los
— 9 —
campos tanto de ingresos como de egresos. Tipo de
cálculo Automático , el programa calcula algunos
ingresos y egresos , por ejemplo el Subsidio de
Antigüedad, Subsidio Familiar, Subsidio
Educacional,Compensación del Alto Costo cié la Vida,
Subsidio de Responsabilidad, de acuerdo al tipo de
Empleado, También calcula el aporte al IESS.
i.2 Puestos
1.2.1 Puestos. Permite- actualizar los datos en e 1
archivo de puestos, tatos datos son de mucha
importancia, ya que tienen relación directa con el
archivo maestro , en este archivo se almacena loe
siguientes datos .
1.2.1.1. Puesto. Sirve para ingresar -1 '-ódigo
del puesto, fjs d^to de tipo numérico que puecK-
ir desde O n*r 999.
"" . 1 . 1: líese r i pcio . Permi te ingresar- la
-oripción de i pn«-sti_ * •• respondí i e >.-•-' e a in
!igo especí T i c-w . E.jemplt. O6d.i:--o 10i.) i e,
ripción es ABOGADO 4.H.P.
Sueldo. Permite ingresa, •--] sueldo
correspondiente a cada puesto.
1.2.2 Actualizar Sueldos. Permite actualizar los
sueldos de los diferentes puestos.
1.3 Grupos de Aportes al IKSS.
Este archivo permite guardar datos correspondientes
a los grupos de aporte al IESS, los mismos que
servirán para clasificar o agrupar de diferente
forma el momento de emitir el reporte de las
planillas de aporte al IESS.
1.3.1 Grupo. En este campo ee debe ingresar una
letra de la A-Z para identificar a un registro.
1.3.2 Descripción. Ingresar la descripción del grupo
y aporte al lees, por ejemplo CÓDIGO DE TRABAJO.
1.3.3 Aporte Personal. Ingresar el porcentaje de
aporte personal, por ejemplo 16.35X
1.3.4 Aporte Patronal. Ingresar el porcentaje de
aporte patronal.
1.3.5 Seguro de Cesantía ir<?resar el porcentaje del
seguro cié cesantía.
- 11
1.3.6 CECAP. Definir el porcentaje para el pago a
CECAP .
1.3.7 IKCE. Definir el porcentaje para el pago a
TECE.
1.4 Tipos de Empleado^.
R'n ente archivo se definen ios parámetros para el
pago de los beneficios de acuerdo a los diferentes
t j pos de empleados.
1 .A . J. Tipo de Empleado. ;>r ingresa nn código Letra
de 1 a A-Z . permite i dent. j f icar ¿i un determinado
r •:•• * i e tro de t i po de tra V>f í.:\r .
íncr ipción. - 'Ir- ! . - i i 1 nr ^] nornV»rc de t - i po de
trabajador por ejemplo Adüi in istración .*
1.4.3 Porcentaje Rectpon&ahil idad. Se debe inpresar
e.l porcentaje de la responsabilidad de acuerdo al
tipo de trabajador .
Ejemplo: 50%
1.4-4 Base pago de Antigüedad. Definir la cantidad
que se debe pagar en los primeros 4 años de
eervici o .
1.4.5 Tanto Porciento Anual de Antigüedad. Ingresar
el porcentaje que se debe pagar cada año a 1. servicio
apartir del 4 año.
1.4.6 Costo de Vida. Definir la cantidad que- se debe
pagar por el alto costo de vida.
t.4.7 Pago por Cada Hijo. Poner el valor que se debe
pasar por cada hi ,i(_>. de acuerdo a i tipo de
1 , 4 -8 Pago por cada Eatudi. poner e 1 va j.or que se
••iV-he j 'asrir por cada h i .1 o que este' es tu o i ár ido .
1 . 4 . 9 % AT>orte al letu;. Indicar e 1 por o entróle de
aporte personal al 1 e¿'u--. ' • • . i « . : t u p l . < . - l t > . 3h'^
1 . f í Ti tu
Al escocer esta opo i un el usuario podrá alterar en
nombre de los ingresos o egresos de la plan illa
mensual del rol por e.jemplo todos los 'ingresos que.
deben ser alterados mamialinente están definidos por1
IMG y un numero secuencia 1 hasta el 38-, y los
egresos que pueden moda f icados manualmente están
definidos por EGR y i.-¡. numero secuencial hasta el
numero 30, es usuario puede alterar el contenido de
esta descripción.
El procedimiento para a Iterar el contenido de los
titulares es sencillo, se debe ir a ingresos o
egresos que se quiera cambiar de nombre y
posteriormente actúaI izarla, hay que mencionar que
también permite alterar la descripción larga del
ingreso o egreso la minina qxie permitirá identificar
tne.jor en el resumen do los totales y .subtotales en
las listas de los roles.
Al altera les nombres de los campos de ingresos y
e^resoo, se alteran para todos los procesos que
requiera, el uso de campo, como ejemplo el 1 ist.ado de
roles. emisión de cheques, lista de aporte al leas r
consultas , ingresos egresos, ete.
Las opciones que presenta esta pantalla son:<A>
Ant.«?rior <C> Continuar <S> Salir, A r,ermite
ref.roceder un regí . t-ro, C permite continuar un
registro hacia adei • e. S permite salir de este
menú.
1.5 Datos Iniciales.
Esta op • 1 ón permite actualizar parame v-os básicos
como el sueldo mínimo vital, nombre del director,
- 14 -
cédula de identidad del Director.
1.6 Áreas.
Permite definir las áreas en las cuales se
distribuyen los diferentes trabajadores, por ejemplo
I área 1, en numero máximo de áreas es 9.
1.7 Secciones.
Permite definir dentro de cada área las diferentes
secciones a las que pertenecen cada uno de los
empleados, por ejemplo 01 puede ser Administración 0
el nombre que el usuario lo define, el numero máximo
de secciones que puede definir el usuario es 99.
Los puntos 1.6 y 1.7 son de mucha importancia ya que
permite generar el código de ubicación de cada empleado.
INGRESOS / EGRESOS.- Esta opción permite realizar la
actualización del registro de movimientos de cada
una de los empleados, este registro es generado mes a
mes, se identifica por el código de ubicación luego se
ingresa el numero de mes que corresponde en la parte
superior aparece los datos del empleado que se encuentra
ubicado en el lugar indicado por el código, acontinuaciori
-
el Uouario puede ingresar los datos, numero de días
i.fK.i i<:-'i cuantos clí as a trabaj ado , el mi p;nio que í-ermi te
Calcular los valores automát i cor. por el numero de di as
i nd i er»d<-) anteriormente .
Hay dos columnas de ingresos y dos columnas de egreso;;.
Cuando se especifica como calculo manual e i r^nistro del
empleado el programa acepta todos los campo;?. caso
contrario se especifico corno calculo automático el
prv'híranvi sa Ita automáticamente- los campos ca lci.il ó fio:-..
IV'.ie-io de llenar los ingresos y egresos en la parte
i •; T <: r \ :• se muest ra c 1 t'~) '".--11 de 1 os ingresos , egresos y
•=-1 J i ' - i í i i d c i ri recibir, también presenta otras opciones quf-
deta i. l.aiinjfc.'. ti con t inuac ion .
Dar o.-' person-n les Modificar B^ir rar Cont i nú'a t -
DriT:c»s Personales.- Al t?sr-íu!;er esta opción el programa
P'erinji.e mod;ificai- los datos del registro d^l archivo
maestro de 1 empleado.
Modificar. - Permite modificar- ios ingresos y egresos.
Borrar.- Permite borrar el registro del movimiento del
empleado
10
•
Continuar.- Permite actualizar un nuevo registro de
movimientos.
Pera abandonar esta pantalla el usuario debe I leñar de
espac 1 o? e I campo cód i go de ub.i cae ion .
3 Conñu1 tan.
3. ]. Consulta Rol Mensual. Permite realizar con«u Ltas de
1 ó ?> t raneía o i • ionee- real i zadao mensualmente , el usuario
.i.-iif 1 i , i r--;--,-,i' el ciDdigo «:)e <-duoación del eriH'leado desde
r-.^t-i « i p t - i 6n £-.e puede rea Li:iar modificaciones tanto de los
ingresos, euresos, y los dai,tj¿-; del archivo maestro.
Üaí.v a: r_.,:-rsonales Modificar Horrar- Corita nu.-i i Retroceder
ti'í-ü Personales.- Al es<:-'"!(=;;er esta opción el programa
permite modificar los datur del registro del archivo
maestro del empleado.
Modificar.- Permite modifiear i Ingresos o Egresos.
Borrar. - Feriin te borrar el registr < ¡¡ i movimiento del
empleado
Continuar.- Permite consultar un nuevo registro de
movimientos
Retroceder.- Permite retroceder un registro de
movimientos
Salir.- Permite abandonar la opción de consultas.
3.2 Com3ul1,a Kardex del Empleado. - permite cónsulí.nr loe
da ton del archivo histórico, el usuario debe disitar el
•:>'<•.] i.-^o del empleado .
4. KKPORTKÜ.
Kf;t/.i opción permite ^-n--rf\f reporten c i > n i < > listado de
roles de pagos mensuales, 1 i pr,ado de che-yuet-., listado de
aporr.et; al IESS otros.
4.1 Rol de Pagos.- Permite generar listados de Los roles
de pago el usuario tiene que ingresar el mes del rol el
año luego presenta dos opciones, la primera es listados
del rol por áreas, la mi, •< que permite emitir un listado
global del área selecci- r < ' incluyendo todas sus
secciones, La segunda opción permite generar un listado
de vi área y una sección especifica dentro de cada área.
E] ; te rio de salida de los dato;--; hacia el papel es
orde: io de acuerdo al código de educación.
Al e
del ;
esco1
DEPA:
por
t- mpl-
odoii
las
emit
pone
trarr
ger esta opción el usuario debr- ingresar el nombre
y del año, luego de esto aparece la opción para
:- el tipo de rol puede es por áreas o por áreas-;.
-MENT03. El rol por áreas emite un listado cíe todos
-leados que se encuentran ubi cados en dicha área
ampio todos los emplead fie d^ planta central , la
••:• i ón em i te el J. i st ¿i do >"3e un grupo e spec i f i oo de
~is ubicados en determinada área por ejemplo Ion
ogo rurales del Área 1 después de escoger una de
'3 opciones pide en numero -.13 mes esto permi te
el reporte de un mes especi f ico, en el caso de
espacios el pro^r-'V""1 listara todas las
-clones existentes en e i. -¡rohiv-.) de movimientos.
4.2 C'HEQUES.- Permite imprimir lo. meques de cada uno de
los ^¡pleados., la impresión se lo, liza en la chequera
cont. : • . <a .
Los i os para imprimir los cheques sun 1 oa siguiente .
Tn . r-esar "ia fecha de •'"noresión del cheque, el
comí" -idor,!' ^resenta una fec:¡ • taimada del calendario
interno con el formato MM/DD/AA.
- Numero del mes. - El usuario debe ingresar el numero del
mes que corresponde el rol, en caso de poner espacios en
blañoo se toma en cuenta todas las transacciones que se
enciKjí)tran en el archivo de movimientos.
- Iii^resar el código inicial
- Ingresar el código final
ua forma de emisión de loe. chequee e:-; secuencial ordenada.
por •-. ] cocí i so de ubicación .
4.3 Iiásta de aportes al Iens_- Permite generar el listado
de aV'ortes al lees, es U os listadlos son emitidos en
formularios que están ya impresos p-l numero del mes que
permi te seleccionar transacciones del mes indicado, en
caso de ingresar espacios se tomaran en cuenta todas las
transacciones existentes en el archivo, luego el usuario
debe ingresar el nombre del mes al que corresponde el
aporte, el año , días trabajados (fecha referencial 30
días*, fecha de emisión.
Luego de esto el usuaria debe escoger de que grupo de
aporte quiere en el listado.
4.4 Otros.- Imprime la lista cíe empleado;
5. Procesos.
Esta opción permite realisar procesos como calculo
cié sobre sueldos, fin de mes.
1 Fin de Mes.- Permite preparar el archivo de
trabajo para los movimientos mensuales.
5.1.1 Movimientos Mensuales.- Al escoger
esta opción el usuario debe indicar
que campos deben en cerrarse (S/N) ,
para el nuevo roes las transacciones
actuales se refieren a un archivo
histórico .
El use i o debe especificar el
numero d ; nuevo mes, el numero
permite ge ir un nuevo registro
para los ¿. >•• nientos mensuales,
luego de esto ¡f-be confirmar la
ejecución del proceso, esto lleva un
poco de tiempo .