Reorganiza MATERIA PRIMA a PROYECTO y avanza inprmt002/005/013/046

- Mueve todo el contenido de PROYECTOS/indir y varias funciones
  compartidas de PROYECTOS/otrodir hacia PROYECTO, siguiendo
  instruccion de Johnny (PROYECTOS se va a eliminar).
- inprmt002: agrega campo Desglose faltante, corrige typo "eLiminar".
- inprmt005: agrega formulario y 3 campos faltantes (Consumo,
  Requiere Autorizacion, Requisiciones), corrige typo "eLiminar".
- inprmt013: agrega formulario, titulo, corrige typo "eLiminar".
- inprmt046: agrega formulario y varias funciones/dependencias
  faltantes (cincodmov, clasf_bloque, medidas, defecto,
  buscaEmp, consultaTransportista, busca_departamento);
  corrige nombres de campo desalineados con el codigo
  (depto_a, bodega) y los convierte a ComboBox donde el
  codigo lo requiere.
- Corrige dependencia faltante de FORMULARIOS_IN a la libreria
  Database (bloqueaba todo el modulo de MATERIA PRIMA).
This commit is contained in:
2026-08-26 13:31:09 -04:00
parent 43d5a218e7
commit efdf8953dd
245 changed files with 416 additions and 230 deletions
+1 -1
View File
@@ -249,7 +249,7 @@ FUNCTION prpcmf010()
CALL msg(numero_msg)
## AQUI SE ELIMINAN LOS REGISTROS
COMMAND KEY ("L") "eLiminar"
COMMAND KEY ("L") "Eliminar"
UPDATE prtb00016 SET status_t = "E"
WHERE a.area_num = prtb16.area_num
+1 -1
View File
@@ -2,7 +2,7 @@ FUNCTION busca_departamento()
DEFINE pdepartamento ui.combobox,
kdepartamento SMALLINT,kdescripcion CHAR(30)
LET pdepartamento = ui.combobox.forname("formonly.departamento")
LET pdepartamento = ui.combobox.forname("formonly.depto_a")
CALL pdepartamento.clear()
DECLARE pagar CURSOR FOR
SELECT departamento, nom_dpto FROM adtb00001
@@ -4,7 +4,7 @@ FUNCTION cincodmov()
cbcategoria ui.ComboBox,
cb2 CHAR(2)
LET cbcategoria = ui.combobox.forname("formonly.cod_mov")
LET cbcategoria = ui.combobox.forname("intb00006.cod_mov")
DECLARE bcategoria CURSOR FOR
SELECT a.cod_mov,a.descrip_mov FROM intb00005 a
ORDER BY a.descrip_mov
+144
View File
@@ -0,0 +1,144 @@
FUNCTION defecto(usuarios,clave,impresor)
DEFINE impresor,idx SMALLINT,
negrillas_on,
negrillas_off,
doble_on,
doble_off,
doce,
comp_on,
comp_off,
normal CHAR(6),
archivo CHAR(80),
lpnum INTEGER,
imprime CHAR(150),
prt RECORD
prtcodigo SMALLINT,
nombre VARCHAR(60),
lpprog VARCHAR(150),
lppipe VARCHAR(20),
puerto VARCHAR(80)
END RECORD,
usuarios,clave CHAR(80),copia CHAR(100)
SELECT a.codigo,a.nombre,a.lpprog,a.lppipe,a.puerto INTO prt.* FROM prttb00001 a
WHERE a.codigo = impresor
CASE
WHEN prt.prtcodigo = 1
LET doble_on = ASCII 14
LET doble_off = ASCII 18
LET negrillas_on = ASCII 27, ASCII 69
LET negrillas_off = ASCII 27, ASCII 70
LET comp_on = ASCII 15
LET comp_off = ASCII 18
LET doce = ASCII 27,ASCII 77
LET normal = ASCII 27,ASCII 80
EXIT CASE
WHEN prt.prtcodigo = 2 {Printer Central. Contabilidad}
LET doble_on = ASCII 001
LET doble_off = ASCII 002
LET negrillas_on = ASCII 027, ASCII 098
LET negrillas_off = ASCII 027, ASCII 099
LET comp_on = ASCII 031
LET comp_off = ASCII 029
LET doce = ASCII 030
LET normal = ASCII 029
EXIT CASE
WHEN impresor = 3
LET doble_on = ASCII 14
LET doble_off = ASCII 18
LET negrillas_on = ASCII 27, ASCII 69
LET negrillas_off = ASCII 27, ASCII 70
LET comp_on = ASCII 15
LET comp_off = ASCII 18
LET doce = ASCII 27,ASCII 77
LET normal = ASCII 27,ASCII 80
EXIT CASE
END CASE
# BUSCA EL NUMERO DE IMPRESION A SEGUIR
SELECT MAX(ult_imp) INTO lpnum
FROM prttb00002
IF lpnum IS NULL THEN
LET lpnum = 1
END IF
LET lpnum = lpnum + 1
LET archivo = FGL_GETENV("FGLSPOOL"),"\\",lpnum USING "<<<<<<<<<<"
LET imprime = prt.lpprog CLIPPED," ",archivo CLIPPED," ",
prt.lppipe," ",prt.puerto
LET copia = prt.lppipe," ",prt.puerto
{ UPDATE prttb00002 set ult_imp = lpnum + 1,
usuario = suser_sname()}
INSERT INTO prttb00002 (ult_imp,usuario)VALUES (lpnum,usuarios)
RETURN imprime,negrillas_on,negrillas_off,doble_on,doble_off,
comp_on,comp_off,doce,normal,archivo,copia
END FUNCTION
@@ -1,36 +1,36 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm databaseName="smarmotech" fileVersion="31400" gstVersion="3140a" name="ManagedForm" uid="{15c5b6e0-d5ec-4028-b525-3df0155a4a8d}">
<ManagedForm databaseName="smarmotech" fileVersion="40100" gstVersion="60003" name="ManagedForm" uid="{293a02d4-666c-4927-8ac3-77c4a118baad}">
<AGSettings>
<DynamicProperties version="2"/>
<DynamicProperties version="4"/>
</AGSettings>
<Record name="sarticulo" uid="{a33d7bec-0b21-4f26-8c69-fcf4aea69841}">
<RecordField colName="codigo" fieldIdRef="21" name="codigo" sqlTabName="formonly" uid="{97bfcb61-9e78-4014-a140-c983673f702e}"/>
<RecordField colName="descripcion" fieldIdRef="22" name="descripcion" sqlTabName="formonly" uid="{2bec1ccf-8dd1-4f09-ba43-d3ce812cf4c0}"/>
<RecordField colName="unidad1" fieldIdRef="23" name="unidad1" sqlTabName="formonly" uid="{1d824d6f-5846-406b-8e7d-e305d171220e}"/>
<Record name="sarticulo" uid="{f65e616a-ad3e-4e28-8196-cbf590d5a5f1}">
<RecordField colName="codigo" fieldIdRef="22" name="codigo" sqlTabName="formonly" uid="{eea1ccec-b363-4cc6-83c4-6a9ef12b9930}"/>
<RecordField colName="descripcion" fieldIdRef="23" name="descripcion" sqlTabName="formonly" uid="{d785ef82-5b5e-43ee-b072-ccd4de6c6539}"/>
<RecordField colName="unidad1" fieldIdRef="24" name="unidad1" sqlTabName="formonly" uid="{4a090cf4-46d1-424b-908f-1c079fe74d62}"/>
</Record>
<Record name="record1" uid="{1bd81d6a-fa48-4368-a1a8-7f14d0022a17}">
<RecordField colName="cod_n" fieldIdRef="1" name="cod_n" sqlTabName="formonly" uid="{4e2333c0-df45-4b1c-bd7b-a9fe36fa4ef4}"/>
<RecordField colName="cod_grupo" fieldIdRef="2" name="cod_grupo" sqlTabName="formonly" uid="{62345f46-ca0a-4fb8-96bc-c9d78ff818a5}"/>
<RecordField colName="cod_tipo" fieldIdRef="3" name="cod_tipo" sqlTabName="formonly" uid="{8955b036-d5e1-4b82-9307-a61c23a681fb}"/>
<RecordField colName="cod_sec" fieldIdRef="4" name="cod_sec" sqlTabName="formonly" uid="{53a707c3-f1a5-4246-97c9-7883ed777602}"/>
<RecordField colName="descrip1" fieldIdRef="16" name="descrip1" sqlTabName="formonly" uid="{1778b937-6e24-48c6-9756-8ccc8a9e5a24}"/>
<RecordField colName="descrip2" fieldIdRef="17" name="descrip2" sqlTabName="formonly" uid="{82e92e60-d460-431b-8426-0ce5bbde6a64}"/>
<RecordField colName="medida" fieldIdRef="18" name="medida" sqlTabName="formonly" uid="{d700d2aa-0d1a-4d64-a16a-470c1998432a}"/>
<RecordField colName="pto_reorden" fieldIdRef="5" name="pto_reorden" sqlTabName="formonly" uid="{1b8da143-d100-4918-b6ba-9850b9d325b8}"/>
<RecordField colName="existencia" fieldIdRef="6" name="existencia" sqlTabName="formonly" uid="{26b8a2f9-9f55-4a27-bb9b-367ce718da03}"/>
<RecordField colName="cod_nab" fieldIdRef="7" name="cod_nab" sqlTabName="formonly" uid="{9fe9f476-650e-4f91-8b79-368838de29f9}"/>
<RecordField colName="base" fieldIdRef="20" name="base" sqlTabName="formonly" uid="{c3d06135-8ad4-459d-ac72-fc52c33cd451}"/>
<RecordField colName="bodega" fieldIdRef="8" name="bodega" sqlTabName="formonly" uid="{e8541996-fba0-4f17-8e49-d5f887e72790}"/>
<RecordField colName="categoria" fieldIdRef="9" name="categoria" sqlTabName="formonly" uid="{cfdb389d-46e6-4a60-896d-20d016ab0471}"/>
<RecordField colName="codid" fieldIdRef="0" name="codid" sqlTabName="formonly" uid="{6eebcc38-61d9-4802-9877-7cc5b838a362}"/>
<RecordField colName="dia_llegada" fieldIdRef="10" name="dia_llegada" sqlTabName="formonly" uid="{93fa959a-f85e-4994-a74b-c10edea75603}"/>
<RecordField colName="gravamen" fieldIdRef="11" name="gravamen" sqlTabName="formonly" uid="{8a06f2a1-d243-4a7f-ab93-1be1bc60dea1}"/>
<RecordField colName="status_t" fieldIdRef="19" name="status_t" sqlTabName="formonly" uid="{03adb6ee-e371-473a-9c78-862c3a354422}"/>
<RecordField colName="us_crea" fieldIdRef="12" name="us_crea" sqlTabName="formonly" uid="{e60c1a2b-5c2d-4b33-9bf6-d051882c5929}"/>
<RecordField colName="us_mod" fieldIdRef="14" name="us_mod" sqlTabName="formonly" uid="{28fc0022-cdb9-4451-8ef5-56f8aaf224e6}"/>
<RecordField colName="fech_crea" fieldIdRef="13" name="fech_crea" sqlTabName="formonly" uid="{856e2d32-a959-4bc6-a592-8846fce277d4}"/>
<RecordField colName="fech_mod" fieldIdRef="15" name="fech_mod" sqlTabName="formonly" uid="{ea5f156c-f61f-4206-bf70-7b3af276cd39}"/>
<RecordField defaultValue="NO" fieldIdRef="24" name="desglose" uid="{5d74619d-3ce5-43f9-8f5f-3edc3e146f1d}"/>
<Record name="record1" uid="{11a9891f-6b51-4374-b036-95d7a8ca3e40}">
<RecordField colName="cod_n" fieldIdRef="1" name="cod_n" sqlTabName="formonly" uid="{a8fab0a6-5693-4f6c-aa18-9480144d0847}"/>
<RecordField colName="cod_grupo" fieldIdRef="2" name="cod_grupo" sqlTabName="formonly" uid="{26399818-834e-4f3d-8ad4-d07964a0f11b}"/>
<RecordField colName="cod_tipo" fieldIdRef="3" name="cod_tipo" sqlTabName="formonly" uid="{01b7106f-9a13-4e28-9c6f-22f5817c362b}"/>
<RecordField colName="cod_sec" fieldIdRef="4" name="cod_sec" sqlTabName="formonly" uid="{6661912b-703c-4517-a231-a462d88d3d6f}"/>
<RecordField colName="descrip1" fieldIdRef="16" name="descrip1" sqlTabName="formonly" uid="{288e7042-6dd1-40aa-a247-caf80414d508}"/>
<RecordField colName="descrip2" fieldIdRef="17" name="descrip2" sqlTabName="formonly" uid="{ba7e6581-bffd-4a44-b2ba-92556e18e879}"/>
<RecordField colName="medida" fieldIdRef="18" name="medida" sqlTabName="formonly" uid="{7553624d-6af6-4c49-b249-f5f39251b213}"/>
<RecordField colName="desglose" defaultValue="NO" fieldIdRef="19" name="desglose" sqlTabName="formonly" uid="{2d97e4b7-2263-41ec-aa8c-b2fa0f34956e}"/>
<RecordField colName="pto_reorden" fieldIdRef="5" name="pto_reorden" sqlTabName="formonly" uid="{e694fc57-ff49-4f23-bd17-22e27a1c9dad}"/>
<RecordField colName="existencia" fieldIdRef="6" name="existencia" sqlTabName="formonly" uid="{db819889-0442-4bf5-ab8c-a8033c121401}"/>
<RecordField colName="cod_nab" fieldIdRef="7" name="cod_nab" sqlTabName="formonly" uid="{4f7c42d3-708d-43d7-8e4c-50e3b09cd1d9}"/>
<RecordField colName="base" fieldIdRef="21" name="base" sqlTabName="formonly" uid="{66fbafcc-92f5-4547-af90-6f6ff9c958c3}"/>
<RecordField colName="bodega" fieldIdRef="8" name="bodega" sqlTabName="formonly" uid="{81513132-16b7-4a7e-b8e0-01a574f9d5e3}"/>
<RecordField colName="categoria" fieldIdRef="9" name="categoria" sqlTabName="formonly" uid="{9f920ecd-1090-484c-a3a0-d8c307a757dd}"/>
<RecordField colName="codid" fieldIdRef="0" name="codid" sqlTabName="formonly" uid="{3ad4ea71-903d-4ece-a106-ed86579745fb}"/>
<RecordField colName="dia_llegada" fieldIdRef="10" name="dia_llegada" sqlTabName="formonly" uid="{7986ab02-3df1-464b-9685-587b22280dd1}"/>
<RecordField colName="gravamen" fieldIdRef="11" name="gravamen" sqlTabName="formonly" uid="{23f92145-e631-4ca2-a25c-159203049acf}"/>
<RecordField colName="status_t" fieldIdRef="20" name="status_t" sqlTabName="formonly" uid="{7ac1f201-5428-4b49-8f24-b15df271184e}"/>
<RecordField colName="us_crea" fieldIdRef="12" name="us_crea" sqlTabName="formonly" uid="{3c3a9f47-28ca-44e8-8216-72eca6b65232}"/>
<RecordField colName="us_mod" fieldIdRef="14" name="us_mod" sqlTabName="formonly" uid="{2b19c263-1626-4f14-a0b7-63a71fca325b}"/>
<RecordField colName="fech_crea" fieldIdRef="13" name="fech_crea" sqlTabName="formonly" uid="{97af2ff8-1184-4b02-8fa2-ba2f25414307}"/>
<RecordField colName="fech_mod" fieldIdRef="15" name="fech_mod" sqlTabName="formonly" uid="{8ae52825-6bd5-40e4-affb-04cff32c9cbd}"/>
</Record>
<Form gridHeight="15" gridWidth="77" name="infmmt002" style="basic" text="CATALOGO MATERIA PRIMA">
<ToolBar name="toolbar1">
@@ -38,16 +38,16 @@
<ToolBarItem comment="Criterio de busqueda" image="find" name="buscar" text="Buscar Articulos"/>
<ToolBarItem image="quit" name="salir" text="Salir"/>
<ToolBarSeparator name="toolbarseparator1"/>
<ToolBarItem comment="Salva informacion en tabla" image="filesave" name="guardar" text="Guardar"/>
<ToolBarItem comment="Salva informacion en tabla" image="save" name="guardar" text="Guardar"/>
<ToolBarItem comment="Cancela Operation" image="cancel" name="cancelar" text="Cancelar"/>
</ToolBar>
<Folder gridHeight="15" gridWidth="77" name="folder1" posX="0" posY="0">
<Page name="p1" text="Lista Articulos">
<Grid gridHeight="10" gridWidth="67" name="grid1" posX="0" posY="0">
<Table gridHeight="10" gridWidth="65" name="table1" posX="2" posY="0" totalRows="9" unitWidth="characters" width="65">
<Edit colName="codigo" fieldId="21" gridHeight="1" gridWidth="17" name="codigo" posX="0" posY="0" sqlTabName="formonly" tabIndex="1" title="CODIGOS" widget="Edit"/>
<Edit colName="descripcion" fieldId="22" gridHeight="1" gridWidth="34" name="descripcion" posX="17" posY="0" sqlTabName="formonly" tabIndex="2" title="DESCRIPCION" widget="Edit"/>
<Edit colName="unidad1" fieldId="23" gridHeight="1" gridWidth="3" name="unidad1" posX="51" posY="0" sqlTabName="formonly" tabIndex="3" title="UNIDAD MEDIDA" widget="Edit"/>
<Edit colName="codigo" fieldId="22" gridHeight="1" gridWidth="17" name="codigo" posX="0" posY="0" sqlTabName="formonly" tabIndex="1" title="CODIGOS" widget="Edit"/>
<Edit colName="descripcion" fieldId="23" gridHeight="1" gridWidth="34" name="descripcion" posX="17" posY="0" sqlTabName="formonly" tabIndex="2" title="DESCRIPCION" widget="Edit"/>
<Edit colName="unidad1" fieldId="24" gridHeight="1" gridWidth="3" name="unidad1" posX="51" posY="0" sqlTabName="formonly" tabIndex="3" title="UNIDAD MEDIDA" widget="Edit"/>
</Table>
</Grid>
</Page>
@@ -64,44 +64,41 @@
<Edit case="upper" colName="descrip2" fieldId="17" gridHeight="1" gridWidth="46" name="descrip2" posX="22" posY="3" scroll="true" sqlTabName="formonly" tabIndex="9" widget="Edit"/>
<Label gridHeight="1" gridWidth="13" name="label4" posX="1" posY="4" text="Unidad Medida"/>
<Edit case="upper" colName="medida" fieldId="18" gridHeight="1" gridWidth="3" name="medida" posX="22" posY="4" sqlTabName="formonly" tabIndex="10" widget="Edit"/>
<Label gridHeight="1" gridWidth="11" name="label19" posX="48" posY="4" text="Desglose"/>
<RadioGroup defaultValue="NO" fieldId="24" gridHeight="2" gridWidth="10" items="SI, NO" name="desglose" posX="48" posY="5" tabIndex="-1" title="radiogroup1" widget="RadioGroup">
<Item lstrtext="false" name="SI" text="SI"/>
<Item lstrtext="false" name="NO" text="NO"/>
<Label gridHeight="1" gridWidth="9" name="label5" posX="28" posY="4" text="Desglose"/>
<RadioGroup colName="desglose" defaultValue="NO" fieldId="19" gridHeight="1" gridWidth="2" items="SI, NO" name="desglose" posX="38" posY="4" sqlTabName="formonly" tabIndex="11" widget="RadioGroup">
<Item name="SI" text="SI"/>
<Item name="NO" text="NO"/>
</RadioGroup>
<Label gridHeight="1" gridWidth="16" name="label5" posX="1" posY="6" text="Punto de reorden"/>
<Edit colName="pto_reorden" comment="Digite el punto de reorden" fieldId="5" gridHeight="1" gridWidth="12" name="pto_reorden" posX="28" posY="6" sqlTabName="formonly" tabIndex="11" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="label6" posX="1" posY="7" text="Existencia"/>
<Edit colName="existencia" fieldId="6" gridHeight="1" gridWidth="12" name="existencia" noEntry="true" posX="28" posY="7" sqlTabName="formonly" tabIndex="12" widget="Edit"/>
<Label gridHeight="1" gridWidth="24" name="label7" posX="1" posY="8" text="Nomenclatura Arancelaria"/>
<Edit colName="cod_nab" comment="Digite el codigo arancelario" fieldId="7" gridHeight="1" gridWidth="11" name="cod_nab" picture="##.##.##.##" posX="28" posY="8" sqlTabName="formonly" tabIndex="13" widget="Edit"/>
<Label gridHeight="1" gridWidth="17" name="label8" posX="41" posY="8" text="Base Para Precio"/>
<Edit autoNext="true" colName="base" comment="Digite La Cantidad de la base para calculo de su precio" fieldId="20" gridHeight="1" gridWidth="13" name="base" posX="59" posY="8" sqlTabName="formonly" tabIndex="14" widget="Edit"/>
<Label gridHeight="1" gridWidth="6" name="label9" posX="1" posY="9" text="Bodega"/>
<Edit colName="bodega" comment="Digite la bodega" fieldId="8" gridHeight="1" gridWidth="2" name="bodega" posX="28" posY="9" sqlTabName="formonly" tabIndex="15" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="label10" posX="32" posY="9" text="Categoria"/>
<Edit case="upper" colName="categoria" comment="Digite A,B,C" fieldId="9" gridHeight="1" gridWidth="1" name="categoria" posX="43" posY="9" sqlTabName="formonly" tabIndex="16" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="label11" posX="47" posY="9" text="Codigo B"/>
<Label gridHeight="1" gridWidth="16" name="label6" posX="1" posY="6" text="Punto de reorden"/>
<Edit colName="pto_reorden" comment="Digite el punto de reorden" fieldId="5" gridHeight="1" gridWidth="12" name="pto_reorden" posX="28" posY="6" sqlTabName="formonly" tabIndex="12" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="label7" posX="1" posY="7" text="Existencia"/>
<Edit colName="existencia" fieldId="6" gridHeight="1" gridWidth="12" name="existencia" noEntry="true" posX="28" posY="7" sqlTabName="formonly" tabIndex="13" widget="Edit"/>
<Label gridHeight="1" gridWidth="24" name="label8" posX="1" posY="8" text="Nomenclatura Arancelaria"/>
<Edit colName="cod_nab" comment="Digite el codigo arancelario" fieldId="7" gridHeight="1" gridWidth="11" name="cod_nab" picture="##.##.##.##" posX="28" posY="8" sqlTabName="formonly" tabIndex="14" widget="Edit"/>
<Label gridHeight="1" gridWidth="17" name="label9" posX="41" posY="8" text="Base Para Precio"/>
<Edit autoNext="true" colName="base" comment="Digite La Cantidad de la base para calculo de su precio" fieldId="21" gridHeight="1" gridWidth="13" name="base" posX="59" posY="8" sqlTabName="formonly" tabIndex="15" widget="Edit"/>
<Label gridHeight="1" gridWidth="6" name="label10" posX="1" posY="9" text="Bodega"/>
<Edit colName="bodega" comment="Digite la bodega" fieldId="8" gridHeight="1" gridWidth="2" name="bodega" posX="28" posY="9" sqlTabName="formonly" tabIndex="16" widget="Edit"/>
<Label gridHeight="1" gridWidth="10" name="label11" posX="32" posY="9" text="Categoria"/>
<Edit case="upper" colName="categoria" comment="Digite A,B,C" fieldId="9" gridHeight="1" gridWidth="1" name="categoria" posX="43" posY="9" sqlTabName="formonly" tabIndex="17" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="label12" posX="47" posY="9" text="Codigo B"/>
<FFLabel colName="codid" fieldId="0" gridHeight="1" gridWidth="7" name="codid" posX="56" posY="9" sqlTabName="formonly" widget="FFLabel"/>
<Label gridHeight="1" gridWidth="14" name="label12" posX="1" posY="10" text="Dia de Llegada"/>
<Edit colName="dia_llegada" comment="Digite el dia de llegada de la materia prima" fieldId="10" gridHeight="1" gridWidth="3" name="dia_llegada" posX="28" posY="10" sqlTabName="formonly" tabIndex="18" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="label13" posX="33" posY="10" text="Gravamen"/>
<Edit autoNext="true" colName="gravamen" comment="Digite El Porcentaje de Gravamen" fieldId="11" gridHeight="1" gridWidth="6" name="gravamen" posX="43" posY="10" sqlTabName="formonly" tabIndex="19" widget="Edit"/>
<Label gridHeight="1" gridWidth="1" name="label14" posX="50" posY="10" text="%"/>
<Edit colName="status_t" fieldId="19" gridHeight="1" gridWidth="1" name="status_t" noEntry="true" posX="2" posY="11" sqlTabName="formonly" tabIndex="20" widget="Edit"/>
<Label gridHeight="1" gridWidth="15" name="label15" posX="1" posY="12" text="Usuario creador"/>
<Edit colName="us_crea" fieldId="12" gridHeight="1" gridWidth="16" name="us_crea" noEntry="true" posX="19" posY="12" sqlTabName="formonly" tabIndex="21" widget="Edit"/>
<Label gridHeight="1" gridWidth="19" name="label16" posX="38" posY="12" text="Usuario modificador"/>
<Edit colName="us_mod" fieldId="14" gridHeight="1" gridWidth="16" name="us_mod" noEntry="true" posX="60" posY="12" sqlTabName="formonly" tabIndex="22" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="label17" posX="1" posY="13" text="Fecha Creacion"/>
<Edit colName="fech_crea" fieldId="13" gridHeight="1" gridWidth="16" name="fech_crea" noEntry="true" posX="19" posY="13" sqlTabName="formonly" tabIndex="23" widget="Edit"/>
<Label gridHeight="1" gridWidth="18" name="label18" posX="38" posY="13" text="Fecha Modificacion"/>
<Edit colName="fech_mod" fieldId="15" gridHeight="1" gridWidth="16" name="fech_mod" noEntry="true" posX="60" posY="13" sqlTabName="formonly" tabIndex="24" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="label13" posX="1" posY="10" text="Dia de Llegada"/>
<Edit colName="dia_llegada" comment="Digite el dia de llegada de la materia prima" fieldId="10" gridHeight="1" gridWidth="3" name="dia_llegada" posX="28" posY="10" sqlTabName="formonly" tabIndex="19" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="label14" posX="33" posY="10" text="Gravamen"/>
<Edit autoNext="true" colName="gravamen" comment="Digite El Porcentaje de Gravamen" fieldId="11" gridHeight="1" gridWidth="6" name="gravamen" posX="43" posY="10" sqlTabName="formonly" tabIndex="20" widget="Edit"/>
<Label gridHeight="1" gridWidth="1" name="label15" posX="50" posY="10" text="%"/>
<Edit colName="status_t" fieldId="20" gridHeight="1" gridWidth="1" name="status_t" noEntry="true" posX="2" posY="11" sqlTabName="formonly" tabIndex="21" widget="Edit"/>
<Label gridHeight="1" gridWidth="15" name="label16" posX="1" posY="12" text="Usuario creador"/>
<Edit colName="us_crea" fieldId="12" gridHeight="1" gridWidth="16" name="us_crea" noEntry="true" posX="19" posY="12" sqlTabName="formonly" tabIndex="22" widget="Edit"/>
<Label gridHeight="1" gridWidth="19" name="label17" posX="38" posY="12" text="Usuario modificador"/>
<Edit colName="us_mod" fieldId="14" gridHeight="1" gridWidth="16" name="us_mod" noEntry="true" posX="60" posY="12" sqlTabName="formonly" tabIndex="23" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="label18" posX="1" posY="13" text="Fecha Creacion"/>
<Edit colName="fech_crea" fieldId="13" gridHeight="1" gridWidth="16" name="fech_crea" noEntry="true" posX="19" posY="13" sqlTabName="formonly" tabIndex="24" widget="Edit"/>
<Label gridHeight="1" gridWidth="18" name="label19" posX="38" posY="13" text="Fecha Modificacion"/>
<Edit colName="fech_mod" fieldId="15" gridHeight="1" gridWidth="16" name="fech_mod" noEntry="true" posX="60" posY="13" sqlTabName="formonly" tabIndex="25" widget="Edit"/>
</Grid>
</Page>
</Folder>
</Form>
<DiagramLayout>
<![CDATA[AAAAAgAAAEwAewAxAGIAZAA4ADEAZAA2AGEALQBmAGEANAA4AC0ANAAzADYAOAAtAGEAMQBhADgALQA3AGYAMQA0AGQAMAAwADIAMgBhADEANwB9QCAAAAgAAAFAIAAACAAAAQAAAAAAAAAAAQAAAEwAewBhADMAMwBkADcAYgBlAGMALQAwAGIAMgAxAC0ANABmADIANgAtADgAYwA2ADkALQBmAGMAZgA0AGEAZQBhADYAOQA4ADQAMQB9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ==]]>
</DiagramLayout>
</ManagedForm>
@@ -33,7 +33,7 @@ LAYOUT (TEXT="CATALOGO MATERIA PRIMA", STYLE="basic")
Descripcion Espanol [d ]
Descripcion Ingles [f ]
Unidad Medida [k ]
Unidad Medida [k ] Desglose [ds]
Punto de reorden [f004 ]
Existencia [f005 ]
@@ -79,6 +79,7 @@ f010 = formonly.fech_mod, noentry;
d = formonly.descrip1,upshift,scroll;
f = formonly.descrip2,upshift,scroll;
k = formonly.medida,upshift;
RADIOGROUP ds = formonly.desglose,ITEMS=(("SI","SI"),("NO","NO")),DEFAULT="NO";
q = formonly.status_t,noentry;
k1 = formonly.base,autonext,comments =
"Digite La Cantidad de la base para calculo de su precio";
@@ -1,23 +1,25 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm databaseName="smarmotech" fileVersion="31400" gstVersion="3140a" name="ManagedForm" uid="{c52bdd25-7743-4bdf-8d89-b538f1e6b13a}">
<ManagedForm databaseName="smarmotech" fileVersion="40100" gstVersion="60003" name="ManagedForm" uid="{559fd61f-c233-4850-9a9c-ff0f56e7c49f}">
<AGSettings>
<DynamicProperties version="2"/>
<DynamicProperties version="4"/>
</AGSettings>
<Record name="record1" uid="{44aea868-e361-4fe6-8a32-5fb8cb6221b2}">
<RecordField colName="cod_mov" fieldIdRef="0" fieldType="TABLE_COLUMN" name="intb00005.cod_mov" sqlTabName="intb00005" uid="{e6d42750-4ca1-4cbf-82df-5ac7a79f3c18}"/>
<RecordField colName="cuenta_1" fieldIdRef="3" fieldType="TABLE_COLUMN" name="intb00005.cuenta_1" sqlTabName="intb00005" uid="{9009579b-8937-4724-8043-10cec5476be8}"/>
<RecordField colName="descrip_mov" fieldIdRef="1" fieldType="TABLE_COLUMN" name="intb00005.descrip_mov" sqlTabName="intb00005" uid="{5173816b-e5cd-4b31-bee5-eaebc72d0e84}"/>
<RecordField colName="cuenta_2" fieldIdRef="4" fieldType="TABLE_COLUMN" name="intb00005.cuenta_2" sqlTabName="intb00005" uid="{d5c7ca94-4511-409d-bca5-2a083a014f26}"/>
<RecordField colName="status_mov" fieldIdRef="2" fieldType="TABLE_COLUMN" name="intb00005.status_mov" sqlTabName="intb00005" uid="{b9207909-f26c-48c8-afdf-90f75982a30a}"/>
<RecordField colName="cuenta_3" fieldIdRef="5" fieldType="TABLE_COLUMN" name="intb00005.cuenta_3" sqlTabName="intb00005" uid="{cb993a28-a0d0-45e0-83d5-fa4d17cc49da}"/>
<RecordField colName="status_t" fieldIdRef="10" fieldType="TABLE_COLUMN" name="intb00005.status_t" sqlTabName="intb00005" uid="{b870a687-520d-4ffb-8bde-b1c1913c97fe}"/>
<RecordField colName="us_crea" fieldIdRef="6" fieldType="TABLE_COLUMN" name="intb00005.us_crea" sqlTabName="intb00005" uid="{b65a973a-6339-4ea0-b2d9-e82340e87288}"/>
<RecordField colName="us_mod" fieldIdRef="8" fieldType="TABLE_COLUMN" name="intb00005.us_mod" sqlTabName="intb00005" uid="{e9e15cc8-344e-4296-998a-4f097dc70842}"/>
<RecordField colName="fech_crea" fieldIdRef="7" fieldType="TABLE_COLUMN" name="intb00005.fech_crea" sqlTabName="intb00005" uid="{96723829-fa9d-4ecd-bd0b-cafbe585078b}"/>
<RecordField colName="fech_mod" fieldIdRef="9" fieldType="TABLE_COLUMN" name="intb00005.fech_mod" sqlTabName="intb00005" uid="{f8db3eb5-3713-49e3-99de-2e6856bac20f}"/>
<RecordField fieldIdRef="11" name="consumo" uid="{4917ee79-bed0-485e-8343-a820a7609afa}"/>
<Record name="record1" uid="{79583304-0646-46bf-b834-922314fd3393}">
<RecordField colName="cod_mov" fieldIdRef="0" fieldType="TABLE_COLUMN" name="intb00005.cod_mov" sqlTabName="intb00005" uid="{15e4f2b6-4aae-47b2-8bd8-3b20721b1219}"/>
<RecordField colName="cuenta_1" fieldIdRef="3" fieldType="TABLE_COLUMN" name="intb00005.cuenta_1" sqlTabName="intb00005" uid="{9c60f83c-4676-46ab-b2ff-f2fc3a80b503}"/>
<RecordField colName="descrip_mov" fieldIdRef="1" fieldType="TABLE_COLUMN" name="intb00005.descrip_mov" sqlTabName="intb00005" uid="{2521e680-7245-4339-ba5c-51b5db657a13}"/>
<RecordField colName="cuenta_2" fieldIdRef="4" fieldType="TABLE_COLUMN" name="intb00005.cuenta_2" sqlTabName="intb00005" uid="{0740e321-0014-410d-82e1-d270393ba33d}"/>
<RecordField colName="status_mov" fieldIdRef="2" fieldType="TABLE_COLUMN" name="intb00005.status_mov" sqlTabName="intb00005" uid="{26615f74-f840-4013-840e-5b28e3591e94}"/>
<RecordField colName="cuenta_3" fieldIdRef="5" fieldType="TABLE_COLUMN" name="intb00005.cuenta_3" sqlTabName="intb00005" uid="{1b9c1425-2e4a-4d69-b3e6-42b8dd4ce479}"/>
<RecordField colName="status_t" fieldIdRef="10" fieldType="TABLE_COLUMN" name="intb00005.status_t" sqlTabName="intb00005" uid="{2fb62d23-7f27-438d-99ba-37a6d679f7c0}"/>
<RecordField colName="us_crea" fieldIdRef="6" fieldType="TABLE_COLUMN" name="intb00005.us_crea" sqlTabName="intb00005" uid="{f0d530f8-a032-41c3-ab9d-dcb7ebe549f5}"/>
<RecordField colName="us_mod" fieldIdRef="8" fieldType="TABLE_COLUMN" name="intb00005.us_mod" sqlTabName="intb00005" uid="{2c933fca-f842-41ce-a572-521c4404475f}"/>
<RecordField colName="fech_crea" fieldIdRef="7" fieldType="TABLE_COLUMN" name="intb00005.fech_crea" sqlTabName="intb00005" uid="{d6edde21-522f-428e-a67c-5b9b6439da5f}"/>
<RecordField colName="fech_mod" fieldIdRef="9" fieldType="TABLE_COLUMN" name="intb00005.fech_mod" sqlTabName="intb00005" uid="{f814cd1e-8464-4f45-af48-630d6813bc64}"/>
<RecordField colName="consumo" fieldIdRef="11" name="consumo" sqlTabName="formonly" uid="{a1b2c3d4-1111-4001-8001-000000000001}"/>
<RecordField colName="requiere_autorizacion" fieldIdRef="12" name="requiere_autorizacion" sqlTabName="formonly" uid="{a1b2c3d4-1111-4001-8001-000000000002}"/>
<RecordField colName="requisiciones" fieldIdRef="13" name="requisiciones" sqlTabName="formonly" uid="{a1b2c3d4-1111-4001-8001-000000000003}"/>
</Record>
<Form gridHeight="24" gridWidth="80" name="infmmt005">
<Form gridHeight="24" gridWidth="80" name="infmmt005" text="TIPOS MOVIMIENTOS">
<Grid gridHeight="24" gridWidth="80" name="grid1" posX="0" posY="0">
<Label gridHeight="1" gridWidth="21" name="label1" posX="1" posY="0" text="Codigo del movimiento"/>
<Edit autoNext="true" colName="cod_mov" comment="Digite el codigo del movimiento" fieldId="0" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="2" name="intb00005.cod_mov" posX="30" posY="0" sqlTabName="intb00005" tabIndex="1" widget="Edit"/>
@@ -31,12 +33,22 @@
<Edit autoNext="true" colName="status_mov" comment="1.- Entradas 2.- Salidas" fieldId="2" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="1" include="1|2" name="intb00005.status_mov" posX="30" posY="2" required="true" sqlTabName="intb00005" tabIndex="5" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="label6" posX="58" posY="2" text="Cuenta_3"/>
<Edit colName="cuenta_3" comment="Digite el numero de la cuenta" fieldId="5" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="8" name="intb00005.cuenta_3" posX="70" posY="2" sqlTabName="intb00005" tabIndex="6" widget="Edit"/>
<Label gridHeight="1" gridWidth="12" name="label11" posX="1" posY="3" text="Consumo"/>
<ComboBox fieldId="11" gridHeight="1" gridWidth="17" items="SI, NO" name="consumo" posX="15" posY="3" tabIndex="-1" title="combobox1" widget="ComboBox">
<Item lstrtext="false" name="SI" text="SI"/>
<Item lstrtext="false" name="NO" text="NO"/>
</ComboBox>
<Edit colName="status_t" fieldId="10" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="1" name="intb00005.status_t" noEntry="true" posX="2" posY="4" sqlTabName="intb00005" tabIndex="7" widget="Edit"/>
<Edit colName="status_t" fieldId="10" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="1" name="intb00005.status_t" noEntry="true" posX="2" posY="3" sqlTabName="intb00005" tabIndex="7" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="label11" posX="1" posY="4" text="Consumo"/>
<RadioGroup colName="consumo" defaultValue="NO" fieldId="11" gridHeight="1" gridWidth="2" items="SI, NO" name="consumo" posX="11" posY="4" sqlTabName="formonly" tabIndex="12" widget="RadioGroup">
<Item name="SI" text="SI"/>
<Item name="NO" text="NO"/>
</RadioGroup>
<Label gridHeight="1" gridWidth="22" name="label12" posX="20" posY="4" text="Requiere Autorizacion"/>
<RadioGroup colName="requiere_autorizacion" defaultValue="NO" fieldId="12" gridHeight="1" gridWidth="2" items="SI, NO" name="requiere_autorizacion" posX="43" posY="4" sqlTabName="formonly" tabIndex="13" widget="RadioGroup">
<Item name="SI" text="SI"/>
<Item name="NO" text="NO"/>
</RadioGroup>
<Label gridHeight="1" gridWidth="14" name="label13" posX="52" posY="4" text="Requisiciones"/>
<RadioGroup colName="requisiciones" defaultValue="NO" fieldId="13" gridHeight="1" gridWidth="2" items="SI, NO" name="requisiciones" posX="67" posY="4" sqlTabName="formonly" tabIndex="14" widget="RadioGroup">
<Item name="SI" text="SI"/>
<Item name="NO" text="NO"/>
</RadioGroup>
<Label gridHeight="1" gridWidth="15" name="label7" posX="1" posY="6" text="Usuario creador"/>
<Edit colName="us_crea" fieldId="6" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="16" name="intb00005.us_crea" noEntry="true" posX="20" posY="6" sqlTabName="intb00005" tabIndex="8" widget="Edit"/>
<Label gridHeight="1" gridWidth="19" name="label8" posX="43" posY="6" text="Usuario modificador"/>
@@ -47,7 +59,4 @@
<Edit colName="fech_mod" fieldId="9" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="16" name="intb00005.fech_mod" noEntry="true" posX="63" posY="7" sqlTabName="intb00005" tabIndex="11" widget="Edit"/>
</Grid>
</Form>
<DiagramLayout>
<![CDATA[AAAAAgAAAEwAewA0ADQAYQBlAGEAOAA2ADgALQBlADMANgAxAC0ANABmAGUANgAtADgAYQAzADIALQA1AGYAYgA4AGMAYgA2ADIAMgAxAGIAMgB9AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQ==]]>
</DiagramLayout>
</ManagedForm>
@@ -6,6 +6,8 @@ Descripcion [f001 ] Cuenta_2 [f003 ]
Status del movimiento [a] Cuenta_3 [f004 ]
[j]
Consumo [f009] Requiere Autorizacion [f010] Requisiciones [f011]
Usuario creador [f005 ] Usuario modificador [f007 ]
Fecha creacion [f006 ] Fecha modificacion [f008 ]
@@ -30,6 +32,9 @@ f006 = intb00005.fech_crea, noentry;
f007 = intb00005.us_mod, noentry;
f008 = intb00005.fech_mod, noentry;
j = intb00005.status_t, noentry;
RADIOGROUP f009 = intb00005.consumo,ITEMS=(("SI","SI"),("NO","NO")),DEFAULT="NO";
RADIOGROUP f010 = intb00005.requiere_autorizacion,ITEMS=(("SI","SI"),("NO","NO")),DEFAULT="NO";
RADIOGROUP f011 = intb00005.requisiciones,ITEMS=(("SI","SI"),("NO","NO")),DEFAULT="NO";
instructions
delimiters " "
end
+58
View File
@@ -0,0 +1,58 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm databaseName="smarmotech" fileVersion="40100" gstVersion="60003" name="ManagedForm" uid="{e3230a78-e666-4e1e-b010-9d56656f01be}">
<AGSettings>
<DynamicProperties version="4"/>
</AGSettings>
<Record name="record1" uid="{649692f2-9858-4b8e-9cb5-b98065fcbc82}">
<RecordField colName="mes_ini" fieldIdRef="0" fieldType="TABLE_COLUMN" name="intb00013.mes_ini" sqlTabName="intb00013" uid="{1919b0f1-4245-4d11-b6dd-0feb62d5d8ab}"/>
<RecordField colName="descrip1" fieldIdRef="1" name="descrip1" sqlTabName="formonly" uid="{f23db027-f1a4-4aff-aa28-70bea5f4534b}"/>
<RecordField colName="mes_fin" fieldIdRef="2" fieldType="TABLE_COLUMN" name="intb00013.mes_fin" sqlTabName="intb00013" uid="{234bd3b0-8033-4879-842d-0c2edf47b7c2}"/>
<RecordField colName="descrip2" fieldIdRef="3" name="descrip2" sqlTabName="formonly" uid="{c85a0c41-0936-4894-b601-aadacf134223}"/>
<RecordField colName="ano" fieldIdRef="4" fieldType="TABLE_COLUMN" name="intb00013.ano" sqlTabName="intb00013" uid="{32ba8774-47b0-499d-93fa-3cadc68c3643}"/>
<RecordField colName="cod_n" fieldIdRef="5" fieldType="TABLE_COLUMN" name="intb00013.cod_n" sqlTabName="intb00013" uid="{bae0cc64-ead0-42ec-bdd7-3e27ebf49035}"/>
<RecordField colName="cod_grupo" fieldIdRef="6" fieldType="TABLE_COLUMN" name="intb00013.cod_grupo" sqlTabName="intb00013" uid="{3a8e1058-d1d8-4709-a97b-dd43dc044b62}"/>
<RecordField colName="cod_tipo" fieldIdRef="7" fieldType="TABLE_COLUMN" name="intb00013.cod_tipo" sqlTabName="intb00013" uid="{ab698e17-5a65-47bb-af08-501caa776a50}"/>
<RecordField colName="cod_sec" fieldIdRef="8" fieldType="TABLE_COLUMN" name="intb00013.cod_sec" sqlTabName="intb00013" uid="{36865595-fb52-4358-a989-3b055cd0da25}"/>
<RecordField colName="descrip_esp" fieldIdRef="9" fieldType="TABLE_COLUMN" name="intb00001.descrip_esp" sqlTabName="intb00001" uid="{95fccf69-7e48-4240-9908-738d601edbe2}"/>
<RecordField colName="unidad_med" fieldIdRef="10" fieldType="TABLE_COLUMN" name="intb00001.unidad_med" sqlTabName="intb00001" uid="{d257f055-3b2b-42e5-a49e-2386ade150b1}"/>
<RecordField colName="costo_st" fieldIdRef="11" fieldType="TABLE_COLUMN" name="intb00013.costo_st" sqlTabName="intb00013" uid="{8ea6a01b-2940-4020-a114-df373043b686}"/>
<RecordField colName="status_t" fieldIdRef="12" fieldType="TABLE_COLUMN" name="intb00013.status_t" sqlTabName="intb00013" uid="{a1f4488e-b100-45e5-96ed-9c9fffd4c34d}"/>
<RecordField colName="us_crea" fieldIdRef="13" fieldType="TABLE_COLUMN" name="intb00013.us_crea" sqlTabName="intb00013" uid="{378c1279-f687-4974-b727-4b86a09d60e7}"/>
<RecordField colName="us_mod" fieldIdRef="15" fieldType="TABLE_COLUMN" name="intb00013.us_mod" sqlTabName="intb00013" uid="{d711ab66-fab8-4771-90b3-05c1bde92143}"/>
<RecordField colName="fech_crea" fieldIdRef="14" fieldType="TABLE_COLUMN" name="intb00013.fech_crea" sqlTabName="intb00013" uid="{c9e29195-99d6-49e3-bd04-3506add21fbd}"/>
<RecordField colName="fech_mod" fieldIdRef="16" fieldType="TABLE_COLUMN" name="intb00013.fech_mod" sqlTabName="intb00013" uid="{704e64b0-4804-442b-8a53-947d5d29763a}"/>
</Record>
<Form gridHeight="24" gridWidth="80" name="infmmt013" text="COSTO STANDARD">
<Grid gridHeight="24" gridWidth="80" name="grid1" posX="0" posY="0">
<Label gridHeight="1" gridWidth="11" name="label1" posX="1" posY="0" text="Mes Inicial"/>
<Edit autoNext="true" colName="mes_ini" comment="Digite el mes inicial" fieldId="0" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="2" name="intb00013.mes_ini" posX="18" posY="0" sqlTabName="intb00013" tabIndex="1" widget="Edit"/>
<Edit colName="descrip1" fieldId="1" gridHeight="1" gridWidth="10" name="descrip1" posX="23" posY="0" sqlTabName="formonly" tabIndex="2" widget="Edit"/>
<Label gridHeight="1" gridWidth="9" name="label2" posX="1" posY="1" text="Mes Final"/>
<Edit autoNext="true" colName="mes_fin" comment="Digite el mes final" fieldId="2" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="2" name="intb00013.mes_fin" posX="18" posY="1" sqlTabName="intb00013" tabIndex="3" widget="Edit"/>
<Edit colName="descrip2" fieldId="3" gridHeight="1" gridWidth="10" name="descrip2" posX="23" posY="1" sqlTabName="formonly" tabIndex="4" widget="Edit"/>
<Label gridHeight="1" gridWidth="3" name="label3" posX="1" posY="2" text="Ano"/>
<Edit autoNext="true" colName="ano" comment="Digite el ano" fieldId="4" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="4" name="intb00013.ano" posX="18" posY="2" sqlTabName="intb00013" tabIndex="5" widget="Edit"/>
<Label gridHeight="1" gridWidth="6" name="label4" posX="1" posY="3" text="Codigo"/>
<Edit autoNext="true" colName="cod_n" comment="Digite el NIVEL" fieldId="5" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="1" name="intb00013.cod_n" posX="18" posY="3" sqlTabName="intb00013" tabIndex="6" widget="Edit"/>
<Label gridHeight="1" gridWidth="1" name="label5" posX="20" posY="3" text="-"/>
<Edit autoNext="true" colName="cod_grupo" comment="Digite el GRUPO" fieldId="6" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="1" name="intb00013.cod_grupo" posX="22" posY="3" sqlTabName="intb00013" tabIndex="7" widget="Edit"/>
<Label gridHeight="1" gridWidth="1" name="label6" posX="24" posY="3" text="-"/>
<Edit autoNext="true" colName="cod_tipo" comment="Digite el TIPO" fieldId="7" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="2" name="intb00013.cod_tipo" posX="26" posY="3" sqlTabName="intb00013" tabIndex="8" widget="Edit"/>
<Label gridHeight="1" gridWidth="1" name="label7" posX="29" posY="3" text="-"/>
<Edit autoNext="true" colName="cod_sec" comment="Digite la SECUENCIA" fieldId="8" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="3" name="intb00013.cod_sec" posX="31" posY="3" sqlTabName="intb00013" tabIndex="9" widget="Edit"/>
<Edit colName="descrip_esp" fieldId="9" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="30" name="intb00001.descrip_esp" noEntry="true" posX="36" posY="3" sqlTabName="intb00001" tabIndex="10" widget="Edit"/>
<Edit colName="unidad_med" fieldId="10" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="3" name="intb00001.unidad_med" noEntry="true" posX="69" posY="3" sqlTabName="intb00001" tabIndex="11" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="label8" posX="1" posY="4" text="Costo Estandar"/>
<Edit colName="costo_st" comment="Digite el costo" fieldId="11" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="14" name="intb00013.costo_st" posX="18" posY="4" sqlTabName="intb00013" tabIndex="12" widget="Edit"/>
<Edit colName="status_t" fieldId="12" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="1" name="intb00013.status_t" noEntry="true" posX="2" posY="5" sqlTabName="intb00013" tabIndex="13" widget="Edit"/>
<Label gridHeight="1" gridWidth="15" name="label9" posX="1" posY="7" text="Usuario Creador"/>
<Edit colName="us_crea" fieldId="13" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="9" name="intb00013.us_crea" noEntry="true" posX="20" posY="7" sqlTabName="intb00013" tabIndex="14" widget="Edit"/>
<Label gridHeight="1" gridWidth="19" name="label10" posX="41" posY="7" text="Usuario Modificador"/>
<Edit colName="us_mod" fieldId="15" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="9" name="intb00013.us_mod" noEntry="true" posX="63" posY="7" sqlTabName="intb00013" tabIndex="15" widget="Edit"/>
<Label gridHeight="1" gridWidth="14" name="label11" posX="1" posY="8" text="Fecha Creacion"/>
<Edit colName="fech_crea" fieldId="14" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="16" name="intb00013.fech_crea" noEntry="true" posX="20" posY="8" sqlTabName="intb00013" tabIndex="16" widget="Edit"/>
<Label gridHeight="1" gridWidth="18" name="label12" posX="41" posY="8" text="Fecha Modificacion"/>
<Edit colName="fech_mod" fieldId="16" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="16" name="intb00013.fech_mod" noEntry="true" posX="63" posY="8" sqlTabName="intb00013" tabIndex="17" widget="Edit"/>
</Grid>
</Form>
</ManagedForm>
+70
View File
@@ -0,0 +1,70 @@
<?xml version="1.0" encoding="UTF-8" ?>
<ManagedForm databaseName="smarmotech" fileVersion="40100" gstVersion="60003" name="ManagedForm" uid="{efbb18d4-5957-4777-b4bf-cfb8a6a6c642}">
<AGSettings>
<DynamicProperties version="4"/>
</AGSettings>
<Record name="s_movi1" uid="{49de0577-9aa2-4b0c-be3b-193440b914f5}">
<RecordField colName="cod_n" fieldIdRef="9" fieldType="TABLE_COLUMN" name="intb00006.cod_n" sqlTabName="intb00006" uid="{d41cd683-d8e1-4ea9-9e35-5ff0427e57b1}"/>
<RecordField colName="cod_grupo" fieldIdRef="10" fieldType="TABLE_COLUMN" name="intb00006.cod_grupo" sqlTabName="intb00006" uid="{bd8e9e2e-954e-4a74-b7b0-772cffe0d7f8}"/>
<RecordField colName="cod_tipo" fieldIdRef="11" fieldType="TABLE_COLUMN" name="intb00006.cod_tipo" sqlTabName="intb00006" uid="{705f7a8f-296b-4289-a1c1-21a004fad8e4}"/>
<RecordField colName="cod_sec" fieldIdRef="12" fieldType="TABLE_COLUMN" name="intb00006.cod_sec" sqlTabName="intb00006" uid="{eb38033f-f4d9-4667-9378-b0cbe103b361}"/>
<RecordField colName="cantidad_2" fieldIdRef="13" fieldType="TABLE_COLUMN" name="intb00006.cantidad_2" sqlTabName="intb00006" uid="{e0169b7c-da0f-48aa-a7ec-ffb056130a05}"/>
<RecordField colName="unidad_med" fieldIdRef="15" fieldType="TABLE_COLUMN" name="intb00001.unidad_med" sqlTabName="intb00001" uid="{5d253d6f-9d68-4c95-9a22-76aabe75fa79}"/>
<RecordField colName="descrip_esp" fieldIdRef="14" fieldType="TABLE_COLUMN" name="intb00001.descrip_esp" sqlTabName="intb00001" uid="{ff167e69-f067-4d4c-ac10-5ec84b88decd}"/>
<RecordField colName="existencia" fieldIdRef="0" name="existencia" sqlTabName="formonly" uid="{efcd0bfb-50b3-4fae-b2fc-1649d7f569da}"/>
</Record>
<Record name="record1" uid="{43dfdfd8-2c00-47d0-888c-3c710875f92b}">
<RecordField colName="num_doc" fieldIdRef="7" fieldType="TABLE_COLUMN" name="intb00006.num_doc" sqlTabName="intb00006" uid="{3654cddf-82ff-4ffc-8f10-5ee4ab25b47c}"/>
<RecordField colName="orden_compra" fieldIdRef="1" name="orden_compra" sqlTabName="formonly" uid="{8aa5ff20-ac5d-4f11-87fe-6837a59923a6}"/>
<RecordField colName="cod_mov" fieldIdRef="17" fieldType="TABLE_COLUMN" name="intb00006.cod_mov" sqlTabName="intb00006" uid="{5762dd85-3659-40df-b8f7-46afbbbd6526}"/>
<RecordField colName="descrip_mov" fieldIdRef="18" name="descrip_mov" sqlTabName="formonly" uid="{813f8ba1-8157-4849-a0e8-f3140299e9ce}"/>
<RecordField colName="fecha" fieldIdRef="8" fieldType="TABLE_COLUMN" name="intb00006.fecha" sqlTabName="intb00006" uid="{f2a62dee-1ec8-465f-aa1c-f58542f4edd1}"/>
<RecordField colName="bodega" fieldIdRef="16" name="bodega" sqlTabName="formonly" uid="{41b65fc5-5db4-45f6-99af-ff9c385e505b}"/>
<RecordField colName="depto_a" fieldIdRef="2" name="depto_a" sqlTabName="formonly" uid="{6bdacdf3-1238-4efc-8288-c9e414078e9f}"/>
<RecordField colName="nombre_d" fieldIdRef="3" name="nombre_d" sqlTabName="formonly" uid="{17baeaa2-59e8-43c6-acfa-36eab3ba34dd}"/>
<RecordField colName="pnum_emp" fieldIdRef="4" name="pnum_emp" sqlTabName="formonly" uid="{bfe61fca-3b3d-4e21-b8e1-5932090c7559}"/>
<RecordField colName="nombre" fieldIdRef="5" name="nombre" sqlTabName="formonly" uid="{60a5474c-aa47-4275-a45f-98d878404e80}"/>
<RecordField colName="apellido" fieldIdRef="6" name="apellido" sqlTabName="formonly" uid="{7c4796f9-5c66-4c91-a3d5-c3a44527d85e}"/>
</Record>
<Form gridHeight="16" gridWidth="87" name="infmmt046" text="TRANSACCIONES INVENTARIOS">
<ToolBar name="toolbar1">
<ToolBarItem comment="Nuevo Documento" image="new" name="nuevo" text="Documento"/>
<ToolBarItem comment="Criterio de busqueda" image="find" name="buscar" text="Buscar Documento"/>
<ToolBarSeparator name="toolbarseparator1"/>
<ToolBarItem image="quit" name="salir" text="Salir"/>
</ToolBar>
<Grid gridHeight="16" gridWidth="87" name="grid1" posX="0" posY="0">
<Group gridHeight="7" gridWidth="83" name="group1" posX="1" posY="1">
<Label gridHeight="1" gridWidth="17" name="label1" posX="2" posY="1" text="Documento Numero"/>
<Edit autoNext="true" colName="num_doc" fieldId="7" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="6" name="intb00006.num_doc" noEntry="true" posX="20" posY="1" sqlTabName="intb00006" tabIndex="1" widget="Edit"/>
<Label gridHeight="1" gridWidth="13" name="label2" posX="32" posY="1" text="Orden Compra"/>
<Edit colName="orden_compra" fieldId="1" gridHeight="1" gridWidth="7" name="orden_compra" posX="46" posY="1" sqlTabName="formonly" tabIndex="2" widget="Edit"/>
<Label gridHeight="1" gridWidth="17" name="label3" posX="2" posY="2" text="Codigo Movimiento"/>
<ComboBox autoNext="true" colName="cod_mov" comment="Digite codigo del movimiento" fieldId="17" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="2" name="intb00006.cod_mov" posX="20" posY="2" sqlTabName="intb00006" tabIndex="3" widget="ComboBox"/>
<Edit colName="descrip_mov" fieldId="18" gridHeight="1" gridWidth="34" name="descrip_mov" noEntry="true" posX="25" posY="2" sqlTabName="formonly" tabIndex="4" widget="Edit"/>
<Label gridHeight="1" gridWidth="5" name="label4" posX="2" posY="3" text="Fecha"/>
<Edit autoNext="true" colName="fecha" comment="Digite Fecha Documento" fieldId="8" fieldType="TABLE_COLUMN" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" name="intb00006.fecha" posX="20" posY="3" sqlTabName="intb00006" tabIndex="5" widget="Edit"/>
<Label gridHeight="1" gridWidth="8" name="label5" posX="32" posY="3" text="Bodega :"/>
<ComboBox autoNext="true" colName="bodega" fieldId="16" gridHeight="1" gridWidth="3" name="bodega" posX="41" posY="3" sqlTabName="formonly" tabIndex="6" widget="ComboBox"/>
<Label gridHeight="1" gridWidth="7" name="label6" posX="45" posY="3" text="Conduce"/>
<Label gridHeight="1" gridWidth="12" name="label7" posX="2" posY="4" text="DEPARTAMENTO"/>
<ComboBox colName="depto_a" fieldId="2" gridHeight="1" gridWidth="4" name="depto_a" posX="20" posY="4" sqlTabName="formonly" tabIndex="7" widget="ComboBox"/>
<Edit colName="nombre_d" fieldId="3" gridHeight="1" gridWidth="23" name="nombre_d" noEntry="true" posX="26" posY="4" sqlTabName="formonly" tabIndex="8" widget="Edit"/>
<Label gridHeight="1" gridWidth="13" name="label8" posX="2" posY="5" text="Operador Grua"/>
<Edit colName="pnum_emp" fieldId="4" gridHeight="1" gridWidth="4" name="pnum_emp" posX="20" posY="5" sqlTabName="formonly" tabIndex="9" widget="Edit"/>
<Edit colName="nombre" fieldId="5" gridHeight="1" gridWidth="17" name="nombre" noEntry="true" posX="26" posY="5" sqlTabName="formonly" tabIndex="10" widget="Edit"/>
<Edit colName="apellido" fieldId="6" gridHeight="1" gridWidth="23" name="apellido" noEntry="true" posX="45" posY="5" sqlTabName="formonly" tabIndex="11" widget="Edit"/>
</Group>
<Table gridHeight="7" gridWidth="86" name="table1" posX="1" posY="8" totalRows="6" unitWidth="characters" width="86">
<Edit colName="cod_n" comment="Digite el NIVEL" fieldId="9" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="2" name="intb00006.cod_n" posX="0" posY="0" sqlTabName="intb00006" tabIndex="12" title="CODIGO" widget="Edit"/>
<Edit autoNext="true" colName="cod_grupo" comment="Digite el GRUPO" fieldId="10" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="3" name="intb00006.cod_grupo" posX="2" posY="0" sqlTabName="intb00006" tabIndex="13" widget="Edit"/>
<Edit autoNext="true" colName="cod_tipo" comment="Digite el TIPO" fieldId="11" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="3" name="intb00006.cod_tipo" posX="5" posY="0" sqlTabName="intb00006" tabIndex="14" widget="Edit"/>
<Edit autoNext="true" colName="cod_sec" comment="Digite la SECUENCIA " fieldId="12" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="4" name="intb00006.cod_sec" posX="8" posY="0" sqlTabName="intb00006" tabIndex="15" widget="Edit"/>
<Edit colName="cantidad_2" comment="Digite La Cantidad Ordenada" fieldId="13" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="11" name="intb00006.cantidad_2" posX="12" posY="0" sqlTabName="intb00006" tabIndex="16" title="CANTIDAD" widget="Edit"/>
<Edit colName="unidad_med" fieldId="15" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="3" name="intb00001.unidad_med" noEntry="true" posX="23" posY="0" sqlTabName="intb00001" tabIndex="17" widget="Edit"/>
<Edit colName="descrip_esp" fieldId="14" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="30" name="intb00001.descrip_esp" posX="26" posY="0" sqlTabName="intb00001" tabIndex="18" title="DESCRIPCION" widget="Edit"/>
<Edit colName="existencia" fieldId="0" gridHeight="1" gridWidth="8" name="existencia" posX="56" posY="0" sqlTabName="formonly" tabIndex="19" title="EXISTENCIA" widget="Edit"/>
</Table>
</Grid>
</Form>
</ManagedForm>
@@ -55,8 +55,8 @@ f02 = intb00006.cantidad_2,TITLE="CANTIDAD",
comments = "Digite La Cantidad Ordenada";
k = intb00001.descrip_esp,TITLE="DESCRIPCION";
p = intb00001.unidad_med,noentry;
p1 = intb00006.bodega,autonext;
m = intb00006.cod_mov,autonext,autonext,
COMBOBOX p1 = formonly.bodega,autonext;
COMBOBOX m = intb00006.cod_mov,autonext,
comments = "Digite codigo del movimiento";
m1 = formonly.descrip_mov, noentry;
INSTRUCTIONS

Some files were not shown because too many files have changed in this diff Show More