Table DOCUME specification   

Table name: DOCUME 
DOCUME needs conversion 
 
Warnings  

 rgz0007 Attribute  DocuSobre does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  DocuProvee does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  DocuDigest does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  DocuXML does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  DocuTip Character (7)Not null  DOCUME.DocuTip 
 
  DocuNro Numeric (7)Not null  DOCUME.DocuNro 
 
  DocuStatus Numeric (2)Not null  DOCUME.DocuStatus 
 
  DocuAtados Numeric (3)Not null  DOCUME.DocuAtados 
 
  DocuPaquet Numeric (3)Not null  DOCUME.DocuPaquet 
 
  DocuCajas Numeric (3)Not null  DOCUME.DocuCajas 
 
  DocuFchEmi Date Not null  DOCUME.DocuFchEmi 
 
  DocuAfcTip Character (7)Not null  DOCUME.DocuAfcTip 
 
  DocuAfcNro Numeric (7)Not null  DOCUME.DocuAfcNro 
 
  DocuAfcFch Date Not null  DOCUME.DocuAfcFch 
 
  DocuMoneda Numeric (2)Not null  DOCUME.DocuMoneda 
 
  Nro_deudor Numeric (6)Not null  DOCUME.Nro_deudor 
 
  DocuDeposi Numeric (3)Not null  DOCUME.DocuDeposi 
 
  DocuForm Numeric (8)Not null  DOCUME.DocuForm 
 
  DocuUltLin Numeric (3)Not null  DOCUME.DocuUltLin 
 
  DocuDto1 Numeric (5.2)Not null  DOCUME.DocuDto1 
 
  DocuDto2 Numeric (5.2)Not null  DOCUME.DocuDto2 
 
  DocuNeto Numeric (12.2)Not null  DOCUME.DocuNeto 
 
  DocuIva Numeric (12.2)Not null  DOCUME.DocuIva 
 
  DocuMerca Numeric (12.2)Not null  DOCUME.DocuMerca 
 
  DocuComent Character (60)Not null  DOCUME.DocuComent 
 
  DocuPend Numeric (12.2)Not null  DOCUME.DocuPend 
 
  DocuTotal Numeric (12.2)Not null  DOCUME.DocuTotal 
 
  DocuRecarg Numeric (6.2)Not null  DOCUME.DocuRecarg 
 
  LinTUltNro Numeric (3)Not null  DOCUME.LinTUltNro 
 
  SucuCod Numeric (3)Not null  DOCUME.SucuCod 
 
  DocuCorr Numeric (3)Not null  DOCUME.DocuCorr 
 
  DocuSCli Numeric (3)Not null  DOCUME.DocuSCli 
 
  DocuCodIva Numeric (3)Not null  DOCUME.DocuCodIva 
 
  DocuPorIva Numeric (5.2)Not null  DOCUME.DocuPorIva 
 
  PediFch Date Not null  DOCUME.PediFch 
 
  PediNro Numeric (6)Not null  DOCUME.PediNro 
 
  Cod_sector Numeric (3)Not null  DOCUME.Cod_sector 
 
  Cod_seccio Numeric (3)Not null  DOCUME.Cod_seccio 
 
  CarpTipo Character (4)Not null  DOCUME.CarpTipo 
 
  CarpNro Numeric (9)Not null  DOCUME.CarpNro 
 
  DocuDUA Character (10)Not null  DOCUME.DocuDUA 
 
  DocuBROU Character (10)Not null  DOCUME.DocuBROU 
 
  DocuNAsie Numeric (6)Not null  DOCUME.DocuNAsie 
 
  DocuCedula Character (14)Not null  DOCUME.DocuCedula 
 
  DocuStatDG Numeric (2)Not null  DOCUME.DocuStatDG 
 
  DocuFirmaT Character (25)Not null Type = Character (20) 
 DOCUME.DocuFirmaT 
 
  DocuFirmaF Date Not null  DOCUME.DocuFirmaF 
 
  DocuIdResp Numeric (10)Not null  DOCUME.DocuIdResp 
 
  DocuEntrDi Character (80)Not null  DOCUME.DocuEntrDi 
 
  DocuFmaPag Numeric (9)Not null  DOCUME.DocuFmaPag 
 
  DocuViaTra Numeric (4)Not null  DOCUME.DocuViaTra 
 
  DocuModVen Numeric (4)Not null  DOCUME.DocuModVen 
 
  DocuCotiza Numeric (12.4)Not null  DOCUME.DocuCotiza 
 
  DocuAdenda Long varchar Not null Type = Character (200) 
 DOCUME.DocuAdenda 
 
  DocuTipoRe Numeric (4)Not null  DOCUME.DocuTipoRe 
 
  DocuDepoDe Numeric (3)Not null  DOCUME.DocuDepoDe 
 
  DocuSector Numeric (3)Not null  DOCUME.DocuSector 
 
  DocuSeccD Numeric (3)Not null  DOCUME.DocuSeccD 
 
New   DocuSobre Character (40)Not null  ' ' 
 
New   DocuProvee Numeric (6)Not null  0 
 
New   DocuDigest Character (30)Not null  ' ' 
 
New   DocuXML Long varchar Not null  ' ' 
 
 

Del   DocuClauVe Character (20)Not null   
 
 
 
Indexes  

  Name Definition Composition  

  DOCU primary key   DocuTip  
 DocuNro  
 
  
 
  DOCUIVAS duplicate   DocuCodIva  
 
  
 
  DOCUMONE duplicate   DocuMoneda  
 
  
 
  DOCUSUCU duplicate   SucuCod  
 PediFch  
 PediNro  
 
  
 
  DOCUFECH duplicate   DocuFchEmi  
 DocuTip  
 DocuNro  
 
  
 
  DOCLIFEC duplicate   Nro_deudor  
 DocuFchEmi  
 DocuTip  
 DocuNro  
 
  
 
  DOCUAFEC duplicate   DocuAfcTip  
 DocuAfcNro  
 
  
 
  DOCUTIFE duplicate   DocuTip  
 DocuFchEmi  
 
  
 
  DOCUCOFE duplicate   DocuCorr  
 DocuFchEmi  
 
  
 
  DOCUSTAT duplicate   Nro_deudor  
 DocuStatus  
 DocuFchEmi  
 
  
 
  DOCUSESE duplicate   Cod_sector  
 Cod_seccio  
 
  
 
  DOCUSTFE duplicate   DocuStatus  
 DocuFchEmi  
 
  
 
  DOCUCFTN duplicate   CarpTipo  
 CarpNro  
 DocuFchEmi  
 DocuTip  
 DocuNro  
 
  
 
  DOCUCEDU duplicate   DocuCedula  
 DocuFchEmi  
 
  
 
  DOCECEFE duplicate   DocuCedula  
 (DocuFchEmi)  
 
  
 
 
 
Foreign key constraints  

  Referenced table Attributes  
  IVAS DocuCodIva  
 
  
 
  MONEDA DocuMoneda  
 
  
 
  FOLDER CarpTipo  
CarpNro  
 
  
 
  SEKSEC Cod_sector  
Cod_seccio  
 
  
 
  SPED SucuCod  
PediFch  
PediNro  
 
  
 
  DEUDOR Nro_deudor  
 
  
 
  SPULT SucuCod  
PediFch  
 
  
 
  SUCU SucuCod  
 
  
 
  SECCIO Cod_seccio  
 
  
 
  SECTOR Cod_sector  
 
  
 
  CARPTI CarpTipo  
 
  
 
 

Table PREFVE specification   

Table name: PREFVE 
PREFVE needs conversion 
 
Warnings  

 rgz0007 Attribute  PrefEnvFam does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  PrefCod Numeric (1)Not null  PREFVE.PrefCod 
 
  PrefUniqFE Character (1)Not null  PREFVE.PrefUniqFE 
 
  Cod_imputa Numeric (7.2)Not null  PREFVE.Cod_imputa 
 
  PrefDepCom Character (1)Not null  PREFVE.PrefDepCom 
 
  PrefCAuto Character (1)Not null  PREFVE.PrefCAuto 
 
  PrefCantMa Numeric (2)Not null  PREFVE.PrefCantMa 
 
  PrefProdDi Numeric (6)Not null  PREFVE.PrefProdDi 
 
  PrefUltWks Numeric (6)Not null  PREFVE.PrefUltWks 
 
  PrefBeHave Character (1)Not null  PREFVE.PrefBeHave 
 
  PrefCCteMs Character (40)Not null  PREFVE.PrefCCteMs 
 
  PrefPediCo Character (1)Not null  PREFVE.PrefPediCo 
 
  PrefSumaCa Character (1)Not null  PREFVE.PrefSumaCa 
 
  PrefCantVi Numeric (1)Not null  PREFVE.PrefCantVi 
 
  PrefViaUni Character (20)Not null  PREFVE.PrefViaUni 
 
  PrefAsient Character (1)Not null  PREFVE.PrefAsient 
 
  PrefBltsAb Character (1)Not null  PREFVE.PrefBltsAb 
 
  PrefBltsSu Character (1)Not null  PREFVE.PrefBltsSu 
 
  PrefDtoLAb Character (1)Not null  PREFVE.PrefDtoLAb 
 
  PrefCarpAb Character (1)Not null  PREFVE.PrefCarpAb 
 
  PrefSectAb Character (1)Not null  PREFVE.PrefSectAb 
 
  PrefFmtBar Character (15)Not null  PREFVE.PrefFmtBar 
 
  PrefDCorr Numeric (3)Not null  PREFVE.PrefDCorr 
 
  PrefDCobr Numeric (3)Not null  PREFVE.PrefDCobr 
 
  PrefDList Numeric (6)Not null  PREFVE.PrefDList 
 
  PrefDBoni Numeric (6.2)Not null  PREFVE.PrefDBoni 
 
  PrefDPerf Numeric (3)Not null  PREFVE.PrefDPerf 
 
  PrefDPoli Numeric (3)Not null  PREFVE.PrefDPoli 
 
  PrefPctAut Numeric (6.2)Not null  PREFVE.PrefPctAut 
 
  PrefCrMen Numeric (6.2)Not null  PREFVE.PrefCrMen 
 
  PrefCrGlo Numeric (6.2)Not null  PREFVE.PrefCrGlo 
 
  PrefBruto Character (1)Not null  PREFVE.PrefBruto 
 
  PrefSepDes Character (1)Not null  PREFVE.PrefSepDes 
 
  PrefStock Character (1)Not null  PREFVE.PrefStock 
 
  PrefCstVta Character (1)Not null  PREFVE.PrefCstVta 
 
  PrefEmiCCC Character (1)Not null  PREFVE.PrefEmiCCC 
 
  PrefAcuCCC Character (1)Not null  PREFVE.PrefAcuCCC 
 
  PrefDepoAb Character (1)Not null  PREFVE.PrefDepoAb 
 
  PrefDevoSa Character (1)Not null  PREFVE.PrefDevoSa 
 
  PrefVencim Character (1)Not null  PREFVE.PrefVencim 
 
  PrefEntreg Character (1)Not null  PREFVE.PrefEntreg 
 
  PrefUltMes Numeric (6)Not null  PREFVE.PrefUltMes 
 
  PrefBonLAb Character (1)Not null  PREFVE.PrefBonLAb 
 
  PrefReFiAb Character (1)Not null  PREFVE.PrefReFiAb 
 
  PrefDeGlAb Character (1)Not null  PREFVE.PrefDeGlAb 
 
  PrefUltTRM Numeric (8)Not null  PREFVE.PrefUltTRM 
 
  PrefImpuAu Numeric (7.2)Not null  PREFVE.PrefImpuAu 
 
  PrefLiPrID Numeric (6)Not null  PREFVE.PrefLiPrID 
 
New   PrefEnvFam Numeric (4)Not null  0 
 
 

 
 
Indexes  

  Name Definition Composition  

  PRFV primary key   PrefCod  
 
  
 
  PRFVIMPU duplicate   Cod_imputa  
 
  
 
 
 
Foreign key constraints  

  Referenced table Attributes  
  IMPUTA Cod_imputa  
 
  
 
 

Table EMPRES specification   

Table name: EMPRES 
EMPRES needs conversion 
 
Warnings  

 rgz0007 Attribute  EmprWeb does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  EmprResolD does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  Cod_empres Numeric (1)Not null  EMPRES.Cod_empres 
 
  Des_empres Character (40)Not null  EMPRES.Des_empres 
 
  Dir_empres Character (40)Not null  EMPRES.Dir_empres 
 
  NroKm_empr Character (6)Not null  EMPRES.NroKm_empr 
 
  PisoApto_e Character (6)Not null  EMPRES.PisoApto_e 
 
  Cod_pais Numeric (3)Not null  EMPRES.Cod_pais 
 
  Cod_dep Numeric (3)Not null  EMPRES.Cod_dep 
 
  Cod_loc Numeric (3)Not null  EMPRES.Cod_loc 
 
  Tel_empres Character (25)Not null  EMPRES.Tel_empres 
 
  Fax_empres Character (15)Not null  EMPRES.Fax_empres 
 
  Ruc_empres Character (14)Not null  EMPRES.Ruc_empres 
 
  Bps_empres Character (15)Not null  EMPRES.Bps_empres 
 
  BpsFecI Date Not null  EMPRES.BpsFecI 
 
  Email_empr Character (50)Not null  EMPRES.Email_empr 
 
  Gestoria_e Character (30)Not null  EMPRES.Gestoria_e 
 
  CDomicilio Character (80)Not null  EMPRES.CDomicilio 
 
  CTelefono_ Character (15)Not null  EMPRES.CTelefono_ 
 
  CFaxCelula Character (15)Not null  EMPRES.CFaxCelula 
 
  CPersona_e Character (30)Not null  EMPRES.CPersona_e 
 
  CEmail_emp Character (50)Not null  EMPRES.CEmail_emp 
 
  EmprAlElec Date Not null  EMPRES.EmprAlElec 
 
  EmprCertif Character (100)Not null  EMPRES.EmprCertif 
 
  EmprCertPw Character (20)Not null  EMPRES.EmprCertPw 
 
New   EmprWeb Character (100)Not null  ' ' 
 
New   EmprResolD Character (20)Not null  ' ' 
 
 

 
 
Indexes  

  Name Definition Composition  

  EMPR primary key   Cod_empres  
 
  
 
  EMPRLOCA duplicate   Cod_loc  
 
  
 
  EMPRDEPA duplicate   Cod_dep  
 
  
 
  EMPRPAIS duplicate   Cod_pais  
 
  
 
 
 
Foreign key constraints  

  Referenced table Attributes  
  LOCALI Cod_loc  
 
  
 
  DEPART Cod_dep  
 
  
 
  PAISES Cod_pais  
 
  
 
 

Table KSESION specification   

Table name: KSESION 
KSESION is associated to Data view ksesion. It will not be reorganized. 
 
Warnings  

 rgz0007 Attribute  kSesRetMN does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kSesRetUS does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  ksescod Character (12)Not null  KSESION.ksescod 
 
  ksesini Datetime Not null  KSESION.ksesini 
 
  ksesfin Datetime Not null  KSESION.ksesfin 
 
  UsuaCod Numeric (3)Not null  KSESION.UsuaCod 
 
  SucuCod Numeric (3)Not null  KSESION.SucuCod 
 
  ksesmntini Numeric (12.2)Not null  KSESION.ksesmntini 
 
  ksesmntfin Numeric (12.2)Not null  KSESION.ksesmntfin 
 
New   kSesRetMN Numeric (12.2)Not null  0 
 
New   kSesRetUS Numeric (12.2)Not null  0 
 
 

 
 
Indexes  

  Name Definition Composition  

  IKSESIO1 duplicate   SucuCod  
 
  
 
  IKSESIO2 duplicate   UsuaCod  
 
  
 
 

New   IKSESION primary key   ksescod  
 
  
 
 

Del   A19_48 primary key   ksescod  
 
  
 
 
 
Foreign key constraints  

  Referenced table Attributes  
  SUCU SucuCod  
 
  
 
  USUARI UsuaCod  
 
  
 
 

Table KVENTA specification   

Table name: KVENTA 
KVENTA is associated to Data view kventa. It will not be reorganized. 
 
Warnings  

 rgz0007 Attribute  kVenForm does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenDir does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenRznSoc does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenProvee does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenStatDG does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenFirmaT does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenFirmaF does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenIdResp does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenSobre does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenCotiza does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenTipoRe does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenAdenda does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  KvenDigest does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kvenXML does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  kventip Character (7)Not null  KVENTA.kventip 
 
  kvennro Numeric (7)Not null  KVENTA.kvennro 
 
  Nro_deudor Numeric (6)Not null  KVENTA.Nro_deudor 
 
  ksescod Character (12)Not null  KVENTA.ksescod 
 
  kvenmoneda Numeric (5)Not null  KVENTA.kvenmoneda 
 
  kvenafctip Character (7)Not null  KVENTA.kvenafctip 
 
  kvenafcnro Numeric (7)Not null  KVENTA.kvenafcnro 
 
  LogiWkSt Character (10)Not null  KVENTA.LogiWkSt 
 
  SCliNro Numeric (4)Not null  KVENTA.SCliNro 
 
  kvenstatus Numeric (5)Not null  KVENTA.kvenstatus 
 
  kvenobs Character (60)Not null  KVENTA.kvenobs 
 
  kvenpagous Numeric (12.2)Not null  KVENTA.kvenpagous 
 
  kvenpagomn Numeric (12.2)Not null  KVENTA.kvenpagomn 
 
  kvenTimeSt Datetime Not null  KVENTA.kvenTimeSt 
 
  kvensucu Numeric (3)Not null  KVENTA.kvensucu 
 
  kvenRollSe Character (2)Not null  KVENTA.kvenRollSe 
 
  kvenRollNr Numeric (6)Not null  KVENTA.kvenRollNr 
 
  kvenCedula Character (14)Not null  KVENTA.kvenCedula 
 
New   kVenForm Numeric (8)Not null  0 
 
New   kvenDir Character (80)Not null  ' ' 
 
New   kvenRznSoc Character (50)Not null  ' ' 
 
New   kvenProvee Numeric (6)Not null  0 
 
New   kvenStatDG Numeric (4)Not null  0 
 
New   kvenFirmaT Character (25)Not null  ' ' 
 
New   kvenFirmaF Date Not null  ymdtod(0001,1,1) 
 
New   kvenIdResp Numeric (10)Not null  0 
 
New   kvenSobre Character (40)Not null  ' ' 
 
New   kvenCotiza Numeric (12.4)Not null  0 
 
New   kvenTipoRe Numeric (4)Not null  0 
 
New   kvenAdenda Long varchar Not null  ' ' 
 
New   KvenDigest Character (30)Not null  ' ' 
 
New   kvenXML Long varchar Not null  ' ' 
 
 

 
 
Indexes  

  Name Definition Composition  

  KVEN primary key   kventip  
 kvennro  
 
  
 
  KVENDEUD duplicate   Nro_deudor  
 SCliNro  
 
  
 
  KVENSESI duplicate   ksescod  
 
  
 
  KVENTIME duplicate   kvenTimeSt  
 
  
 
  KVENWSTS duplicate   LogiWkSt  
 kvenTimeSt  
 
  
 
  KENROTS duplicate   kvenRollSe  
 kvenRollNr  
 kvenTimeSt  
 
  
 
  KVENAFC duplicate   kvenafctip  
 kvenafcnro  
 
  
 
 
 
Foreign key constraints  

  Referenced table Attributes  
  SUBCLI Nro_deudor  
SCliNro  
 
  
 
  LOGIN LogiWkSt  
 
  
 
  KSESION ksescod  
 
  
 
  DEUDOR Nro_deudor  
 
  
 
 

Table KVENTA1 specification   

Table name: KVENTA1 
KVENTA1 is associated to Data view kventa1. It will not be reorganized. 
 
Warnings  

 rgz0007 Attribute  klinmoneda does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 rgz0007 Attribute  kPrxFlag does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  kventip Character (7)Not null  KVENTA1.kventip 
 
  kvennro Numeric (7)Not null  KVENTA1.kvennro 
 
  kvennrolin Numeric (3)Not null  KVENTA1.kvennrolin 
 
  Cod_prod Numeric (15)Not null  KVENTA1.Cod_prod 
 
  kvencantid Numeric (10.4)Not null  KVENTA1.kvencantid 
 
  kvenprecio Numeric (12.2)Not null  KVENTA1.kvenprecio 
 
  kvenflag Character (1)Not null  KVENTA1.kvenflag 
 
  kvenbonili Numeric (10.3)Not null  KVENTA1.kvenbonili 
 
  kvenplazo Numeric (5)Not null  KVENTA1.kvenplazo 
 
  kPor_iva Numeric (5.2)Not null  KVENTA1.kPor_iva 
 
  kvendtolin Numeric (6.2)Not null  KVENTA1.kvendtolin 
 
  kvenreclin Numeric (6.2)Not null  KVENTA1.kvenreclin 
 
  kvensuculi Numeric (3)Not null  KVENTA1.kvensuculi 
 
  kvenusuali Numeric (3)Not null  KVENTA1.kvenusuali 
 
  kvenlista Numeric (6)Not null  KVENTA1.kvenlista 
 
  MediCod Numeric (6)Not null  KVENTA1.MediCod 
 
  kvenPacien Numeric (8)Not null  KVENTA1.kvenPacien 
 
  kvenasotip Character (7)Not null  KVENTA1.kvenasotip 
 
  kvenasonro Numeric (7)Not null  KVENTA1.kvenasonro 
 
  MozoCod Numeric (6)Not null  KVENTA1.MozoCod 
 
  kvenminuta Numeric (8)Not null  KVENTA1.kvenminuta 
 
  MesaCod Numeric (6)Not null  KVENTA1.MesaCod 
 
New   klinmoneda Numeric (4)Not null  0 
 
New   kPrxFlag Character (1)Not null  ' ' 
 
 

 
 
Indexes  

  Name Definition Composition  

  IKVENTA2 primary key   kventip  
 kvennro  
 kvennrolin  
 
  
 
  IKVENTA3 duplicate   Cod_prod  
 
  
 
  KVENPLAZ duplicate   kventip  
 kvennro  
 kvenplazo  
 
  
 
  KVENMEDC duplicate   MediCod  
 
  
 
  KVENASOC duplicate   kvenasotip  
 kvenasonro  
 
  
 
  KVENMESA duplicate   MesaCod  
 
  
 
  KVENMOZO duplicate   MozoCod  
 
  
 
 
 
Foreign key constraints  

  Referenced table Attributes  
  MESAS MesaCod  
 
  
 
  MOZO MozoCod  
 
  
 
  MEDICO MediCod  
 
  
 
  PRODUC Cod_prod  
 
  
 
  KVENTA kventip  
kvennro  
 
  
 
 

Table KPAGO specification   

Table name: KPAGO 
KPAGO is associated to Data view kpago. It will not be reorganized. 
 
Warnings  

 rgz0007 Attribute  kOpFiSucu does not allow nulls and has not a Initial Value. An empty default value will be used. 
 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  kventip Character (7)Not null  KPAGO.kventip 
 
  kvennro Numeric (7)Not null  KPAGO.kvennro 
 
  OpFiTipo Character (7)Not null  KPAGO.OpFiTipo 
 
  kOpFiNro Character (14)Not null  KPAGO.kOpFiNro 
 
  kOpFiEmitN Numeric (6)Not null  KPAGO.kOpFiEmitN 
 
  kOpFiImpor Numeric (12.2)Not null  KPAGO.kOpFiImpor 
 
  kOpFiVencF Date Not null  KPAGO.kOpFiVencF 
 
  kCod_moned Numeric (2)Not null  KPAGO.kCod_moned 
 
  kOpfiCobro Numeric (12.2)Not null  KPAGO.kOpfiCobro 
 
  kopfiref Character (30)Not null  KPAGO.kopfiref 
 
New   kOpFiSucu Numeric (3)Not null  0 
 
 

 
 
Indexes  

  Name Definition Composition  

  IKPAGO primary key   kventip  
 kvennro  
 OpFiTipo  
 kOpFiNro  
 kOpFiEmitN  
 
  
 
  IKPAGO1 duplicate   OpFiTipo  
 
  
 
 
 
Foreign key constraints  

  Referenced table Attributes  
  OFTIP OpFiTipo  
 
  
 
  KVENTA kventip  
kvennro  
 
  
 
 

Table BARRAS specification   

Table name: BARRAS 
BARRAS is new 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  CodBarras Character (30)Not null   
 
  BarValFch Character (100)Not null   
 
 

 
 
Indexes  

  Name Definition Composition  

  IBARRAS primary key   CodBarras  
 
  
 
 
 
 

Table FEPLNK specification   

Table name: FEPLNK 
FEPLNK is new 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  FepLink Numeric (1)Not null   
 
  FepLSeq Numeric (8)Not null   
 
  FepLDatDir Character (80)Not null   
 
  FepLSAFDir Character (80)Not null   
 
 

 
 
Indexes  

  Name Definition Composition  

  IFEPLNK primary key   FepLink  
 
  
 
 
 
 

Table KAUDTO specification   

Table name: KAUDTO 
KAUDTO is new 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  kAudFecha Date Not null   
 
  kAudHora Character (8)Not null   
 
  UsuaCod Numeric (3)Not null   
 
  LogiWkSt Character (10)Not null   
 
  KAudSucu Numeric (3)Not null   
 
  kAudTexto Character (40)Not null   
 
 

 
 
Indexes  

  Name Definition Composition  

  IKAUDTO primary key   kAudFecha  
 kAudHora  
 
  
 
  IKAUDTO1 duplicate   LogiWkSt  
 
  
 
  IKAUDTO2 duplicate   UsuaCod  
 
  
 
 
 
Foreign key constraints  

  Referenced table Attributes  
  LOGIN LogiWkSt  
 
  
 
  USUARI UsuaCod  
 
  
 
 

Table KPRX specification   

Table name: KPRX 
KPRX is new 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  kPrxProd Numeric (15)Not null   
 
  kPrxTipo Character (4)Not null   
 
  kPrxInicio Date Not null   
 
  kPrxFinal Date Not null   
 
  kPrxPrNom Character (40)Not null   
 
  kPrxPrev Numeric (7)Not null   
 
  kPrxMoneda Numeric (2)Not null   
 
  kPrxPrecio Numeric (11.4)Not null   
 
  kPrxxMas Numeric (9.2)Not null   
 
  kPrxxMenos Numeric (9.2)Not null   
 
  kPrxLunes Character (1)Not null   
 
  kPrxMartes Character (1)Not null   
 
  kPrxMierco Character (1)Not null   
 
  kPrxJueves Character (1)Not null   
 
  kPrxVierne Character (1)Not null   
 
  kPrxSabado Character (1)Not null   
 
  kPrxDoming Character (1)Not null   
 
  kPrxDesde Numeric (5.2)Not null   
 
  kPrxHasta Numeric (5.2)Not null   
 
  kPrxPisoCa Numeric (7)Not null   
 
  kPrxPisoVa Numeric (11.4)Not null   
 
  kPrxUndMen Numeric (9.2)Not null   
 
 

 
 
Indexes  

  Name Definition Composition  

  IKPRX primary key   kPrxProd  
 kPrxTipo  
 kPrxInicio  
 
  
 
  IKPRX1 duplicate   kPrxMoneda  
 
  
 
 
 
Foreign key constraints  

  Referenced table Attributes  
  MONEDA kPrxMoneda  
 
  
 
 

Table KPRX1 specification   

Table name: KPRX1 
KPRX1 is new 
 
Table Structure  

  Attribute Definition Previous values Takes value from  

  kPrxProd Numeric (15)Not null   
 
  kPrxTipo Character (4)Not null   
 
  kPrxInicio Date Not null   
 
  kPrxMatP Numeric (15)Not null   
 
  kPrxMPNom Character (40)Not null   
 
  kPrxMPRef Numeric (9.2)Not null   
 
  kPrxMPRpis Numeric (6)Not null   
 
  kPrxMPRTop Numeric (6)Not null   
 
  kPrxMPCant Numeric (9.2)Not null   
 
  kPrxMPCrit Character (4)Not null   
 
 

 
 
Indexes  

  Name Definition Composition  

  IKPRX11 primary key   kPrxProd  
 kPrxTipo  
 kPrxInicio  
 kPrxMatP  
 
  
 
 
 
Foreign key constraints  

  Referenced table Attributes  
  KPRX kPrxProd  
kPrxTipo  
kPrxInicio  
 
  
 
 

Table CDOCUL load redundancy procedure   

Redundant attributes CDocuNetoL 
Procedure Name GXR78 
 
 
For Each CDOCUL (Line: 3)   

 
Order:  CDocuTip , CDocuNro , Nro_acreed , CDocuNroLi  
 Index: CDLI
 
 
 
Navigation filters:  Start from: FirstRecord 
 
Loop while: NotEndOfTable 
 
 
 
 
 
 
 
 
 
 
=CDOCUL( CDocuTip, CDocuNro, Nro_acreed, CDocuNroLi) 
 
Update CDOCUL ( CDocuNetoL )  
 
 
 
 
 
 
 
 
 
 

Table PERSON update redundancy procedure   

Redundant attributes to update: PlTrFIng 
From attributes to update:  Fecing_per 
Procedure Name GXU200 
 
 
For First PERSON (Line: 2)   

 
Order:  Cod_per  
 Index: PERS
 
 
 
Navigation filters:  Start from: Cod_per = @Cod_per 
 
Loop while: Cod_per = @Cod_per 
 
 
 
 
 
 
 
 
 
 
=PERSON( Cod_per) 
 
 
 
 
 
 
For Each PLTRPA (Line: 4)   

 
Order:  Cod_per  
 Index: PTPAPERS
 
 
 
Navigation filters:  Start from: Cod_per = @Cod_per 
 
Loop while: Cod_per = @Cod_per 
 
 
 
 
Join location: Client 
 
 
 
 
 
 
 
=PLTRPA( CodPlTra, Cod_per)
=PERSON( Cod_per) 
 
Update PLTRPA ( PlTrFIng )  
 
 
 
 
 
 
 
 
 
 
 
 
 

Table HABYDE update redundancy procedure   

Redundant attributes to update: Pcal_hade, Pem_hade 
From attributes to update:   
Procedure Name GXU218 
 
 
For First HABYDE (Line: 2)   

 
Order:  Cod_hade  
 Index: HABY
 
 
 
Navigation filters:  Start from: Cod_hade = @Cod_hade 
 
Loop while: Cod_hade = @Cod_hade 
 
 
 
 
 
 
 
 
 
 
=HABYDE( Cod_hade) 
 
 
 
 
 
 
For Each SUEUNI (Line: 5)   

 
Order:  Cod_hade  
 Index: SUEHLF
 
 
 
Navigation filters:  Start from: Cod_hade = @Cod_hade 
 
Loop while: Cod_hade = @Cod_hade 
 
 
 
 
Optimizations:  Update 
 
 
 
 
 
 
 
=SUEUNI( Cod_per, Liq_tipo, Fech_liq, Cod_hade) 
 
Update SUEUNI ( Pem_hade, Pcal_hade )  
 
 
 
 
 
 
 
 
 
 
 
 
 

Table SUEUNI load redundancy procedure   

Redundant attributes Pcal_hade, Pem_hade 
Procedure Name GXR237 
 
 
For Each SUEUNI (Line: 3)   

 
Order:  Cod_per , Liq_tipo , Fech_liq , Cod_hade  
 Index: SUEU
 
 
 
Navigation filters:  Start from: FirstRecord 
 
Loop while: NotEndOfTable 
 
 
 
 
Join location: Client 
 
 
 
 
 
 
 
=SUEUNI( Cod_per, Liq_tipo, Fech_liq, Cod_hade)
=HABYDE( Cod_hade) 
 
Update SUEUNI ( Pem_hade, Pcal_hade )  
 
 
 
 
 
 
 
 
 
 

Table PLTRPA load redundancy procedure   

Redundant attributes PlTrFIng 
Procedure Name GXR251 
 
 
For Each PLTRPA (Line: 3)   

 
Order:  CodPlTra , Cod_per  
 Index: PTPA
 
 
 
Navigation filters:  Start from: FirstRecord 
 
Loop while: NotEndOfTable 
 
 
 
 
Join location: Client 
 
 
 
 
 
 
 
=PLTRPA( CodPlTra, Cod_per)
=PERSON( Cod_per) 
 
Update PLTRPA ( PlTrFIng )  
 
 
 
 
 
 
 
 
 
 

 
