dpcajatransf

[ID]
  NUMERO=0415
  NOMBRE=DPCAJATRANSF
  DESCRIPCION=Transferencia entre Cajas
  CONFIG=F
  SINGUL=Transferencia
  APLICA=04
  PRIMARY_KEY=”
[END_ID]

[FIELDS]
  C001=TDC_ACT                ,’N’,001,0,”,’Activo’,0
  C002=TDC_CAJDES             ,’C’,006,0,”,’Caja Entrada’,1
  C003=TDC_CAJORG             ,’C’,006,0,”,’Caja Salida’,1
  C004=TDC_CODMON             ,’C’,003,0,”,’Moneda o Divisa’,0
  C005=TDC_CODSUC             ,’C’,006,0,”,’Sucursal’,1
  C006=TDC_DESCRI             ,’C’,040,0,”,’Descripción’,0
  C007=TDC_FECHA              ,’D’,008,0,”,’Fecha’,0
  C008=TDC_HORA               ,’C’,006,0,”,’Hora’,0
  C009=TDC_MONTO              ,’N’,014,2,”,’Monto en Efectivo’,0
  C010=TDC_NUMERO             ,’C’,008,0,”,’Número’,1
  C011=TDC_NUMMEM             ,’N’,008,0,”,’Memo’,0
[END_FIELDS]

[TABLE_MAIN]
  T001=DPSUCURSAL                 , TDC_CODSUC=SUC_CODIGO <UPDATE> <RUN>
[END_TABLE_MAIN]

[INNER_JOIN]
  SELECT * FROM DPCAJATRANSF INNER JOIN DPSUCURSAL ON TDC_CODSUC=SUC_CODIGO
[END_INNER_JOIN]

[OPTIONS]
[END_OPTIONS]

[COMENTARIOS]
  C: CHAR
  D: DATE
  L: LOGICAL 1=T 0=F
  N: NUMERICO
  M: MEMO

[SQL]
  SELECT <CAMPOS> FROM <TABLA>
  INNER JOIN XTABLA ON XCAMPO=YCAMPO
[ENDSQL]