
INSERT INTO `NOMBRE_BD`.`tip_tipo_proceso` ( `tip_nombre`, `tip_descripcion`, `tip_entrada`, `tip_salida`, `tip_traslado`, `tip_id_tip_entrada`, `tip_id_tip_salida`, `tip_ajuste`, `tip_facturacion`, `tip_aplica_autorizacion`, `tip_estado`, `tip_usr_mod`, `tip_fecha_mod`) VALUES ('Entrada por anulacion de orden de produccion', 'Entrada de matarias primas por anulacion de orden de produccion', '1', '0', '0', '1', NULL, '0', '0', '0', '1', '1', '2015-12-01 16:40:57');

INSERT INTO `NOMBRE_BD`.`tip_tipo_proceso` (`tip_nombre`, `tip_descripcion`, `tip_entrada`, `tip_salida`, `tip_traslado`, `tip_id_tip_entrada`, `tip_id_tip_salida`, `tip_ajuste`, `tip_facturacion`, `tip_aplica_autorizacion`, `tip_estado`, `tip_usr_mod`, `tip_fecha_mod`) VALUES ('Salida por anulacion de orden de produccion', 'Salida por anulacion de orden de produccion', '0', '1', '0', NULL, '2', '0', '0', '0', '1', '1', '2013-09-09 00:00:00');



UPDATE `NOMBRE_TABLA`.`par_parametro` SET  `par_id_tpr`='1', `par_tipo`='string', `par_nombre`='Id tipos de procesos de Entradas Automaticas', `par_codigo`='SYS_TIP_AUTOMATICOS', `par_valor`='{\"DOC_PROV\":\"8\",\"RETACEO\":\"9\",\"FACTURA\":\"7\",\"FACTURA_ANULAR\":\"6\",\"TRACKING\":\"10\",\"SAL_ANULA_OP\" : \"14\",\"ENT_ANULA_OP\" : \"13\"}', `par_default`=NULL, `par_data`=NULL, `par_sistema`='1' WHERE (`par_id`='165');

{"DOC_PROV":"8","RETACEO":"9","FACTURA":"7","FACTURA_ANULAR":"6","TRACKING":"10","SAL_ANULA_OP" : "14","ENT_ANULA_OP" : "13"}

