|
|
<?php
require_once('F_DMUG.php'); require_once "./inc/AppConfig.php"; require_once "./inc/PostgreClass.php"; require_once "./inc/ObtieneDatosPg.php"; $server="192.96.50.8"; $port = 1030; //1030 $hs = "DEMIURGO10-MCANET"; $user = "general"; $pass = "123456789"; $exportando = 0 ; $pid = getmypid();
$appConfig =& new AppConfig;
/* Crea un objeto para el manejo postgres */ $dataBD_PG =& $appConfig->BASE_DATOS_PG;
$manejaBD_PG =& new PostgreClass($dataBD_PG["host"], $dataBD_PG["name"], $dataBD_PG["user"], $dataBD_PG["pass"]);
$obtieneDatos_pg = & new ObtieneDatos_PG($appConfig, $manejaBD_PG);
$pg_sql_factu = "SELECT * FROM forumvta.factu WHERE fac_trans = 0 LIMIT 10"; $v_FACTU = $obtieneDatos_pg->obtenerDatos($pg_sql_factu);
$v_MAXFACTU = 10 ; //utl_count($v_FACTU); for( $v_i=0 ; $v_i < $v_MAXFACTU ; $v_i++ ) {
$FAC_SUC = $v_FACTU[$v_i]['fac_suc'] ; $FAC_NRO = $v_FACTU[$v_i]['fac_nro'] ;
echo "FACTURA pos = $v_i nro = $FAC_NRO \n";
$pg_sql_movi_fac = "SELECT * FROM forumvta.movi_fac "; $pg_sql_movi_fac .="WHERE mof_fac_suc = $FAC_SUC AND mof_fac = $FAC_NRO"; $v_MOVI_FAC = $obtieneDatos_pg->obtenerDatos( $pg_sql_movi_fac ); $ConDMUG = new ConexDMUG( $server , $port , $hs ,$user , $pass );
$ConDMUG->SetProgram( "Interfaz_FactuPG_Forum" ); Carga_CABECERA( $ConDMUG , $v_FACTU , $v_i ); //Carga_DETALLES( $ConDMUG , $v_MOVI_FAC );
$ConDMUG->SetParameter( "CANTIDAD_CABECERAS" , 1 ); $ConDMUG->SetParameter( "CANTIDAD_DETALLES" , $vCantiDetalles ); $ConDMUG->SetParameter( "FECHA_TRASMITE" , date("h:i:s. A") ); $ConDMUG->SetParameter( "HORA_TRASMITE" , time() ); $ConDMUG->Execute_DMUG();
echo "RESULTADO:".$ConDMUG->GetChild( "STRERROR" )."\n" ; echo "INFORME :".$ConDMUG->GetChild( "INFO" )."\n" ;
if ( $ConDMUG->GetNError() ) { echo "SE HA PRODUCIDO UN ERROR EN LA INTERFAZ ConexDMUG "; } else { echo "Se marca FACTU $FAC_NRO en PG TRANS es 1 \n"; //Marcar_CABECERA(); } $ConDMUG->CloseConex(); echo "-------------------------------------------------------\n"; sleep(2); }
/***********************************************************************/ /*----------------------- function Carga_CABECERA ---------------------*/ /***********************************************************************/ function Carga_CABECERA( $ConDMUG , $p_FACTU , $v_i ) {
# define FACTU_FAC_SUC (dbfield) 0x0a01 /* Integer / $ConDMUG->SetParameter("FAC_SUC" , $p_FACTU[$vh_i]['fac_suc'] );
# define FACTU_FAC_TIP (dbfield) 0x0a02 /* String $ConDMUG->SetParameter("FAC_TIP" , $p_FACTU[$v_i]['fac_tip'] );
# define FACTU_FAC_STIP (dbfield) 0x0a03 /* Integer $ConDMUG->SetParameter("FAC_STIP" , $p_FACTU[$v_i]['fac_stip'] );
# define FACTU_FAC_NRO (dbfield) 0x0a04 /* Long $ConDMUG->SetParameter("FAC_NRO" , $p_FACTU[$v_i]['fac_nro'] );
/********************* # define FACTU_FAC_FEC (dbfield) 0x0a05 /* Date / $ConDMUG->SetParameter("FAC_FEC" , $p_FACTU[$v_i]['fac_suc'] );
# define FACTU_FAC_CLIE (dbfield) 0x0a06 /* Long / $ConDMUG->SetParameter("FAC_CLIE" , $p_FACTU[$v_i]['fac_suc'] );
# define FACTU_FAC_FPED (dbfield) 0x0a07 /* Date / $ConDMUG->SetParameter("FAC_FPED" , $p_FACTU[$v_i]['fac_suc'] );
# define FACTU_FAC_NREP (dbfield) 0x0a08 /* Long / $ConDMUG->SetParameter("FAC_NREP" , $p_FACTU[$v_i]['fac_suc'] );
# define FACTU_FAC_CPAG (dbfield) 0x0a09 /* Integer / $ConDMUG->SetParameter("FAC_CPAG" , $p_FACTU[$v_i]['fac_suc'] );
# define FACTU_FAC_IVA (dbfield) 0x0a0a /* Integer / $ConDMUG->SetParameter("FAC_IVA" , $p_FACTU[$v_i]['fac_suc'] );
# define FACTU_FAC_CAJA (dbfield) 0x0a0b /* Integer / $ConDMUG->SetParameter("FAC_CAJA" , $p_FACTU[$v_i]['fac_suc'] );
# define FACTU_FAC_CAJ (dbfield) 0x0a0c /* Integer / $ConDMUG->SetParameter("FAC_CAJ" , $p_FACTU[$v_i]['fac_suc'] );
# define FACTU_FAC_FAC (dbfield) 0x0a0d /* Integer $ConDMUG->SetParameter("FACTU_FAC_FAC" , $p_FACTU[$v_i]['fac_suc'] );
# define FACTU_FAC_SEC (dbfield) 0x0a0e /* String / $ConDMUG->SetParameter("FAC_SEC" , $result-> ... );
# define FACTU_FAC_TVEN (dbfield) 0x0a0f /* String $ConDMUG->SetParameter("FAC_TVEN" , $result-> ... );
# define FACTU_FAC_COM (dbfield) 0x0a10 /* Long / $ConDMUG->SetParameter("FAC_COM" , $result-> ... );
# define FACTU_FAC_TDEV (dbfield) 0x0a11 /* String $ConDMUG->SetParameter("FAC_TDEV" , $result-> ... ); # define FACTU_FAC_SDEV (dbfield) 0x0a12 /* Integer $ConDMUG->SetParameter("FAC_SDEV" , $result-> ... );
# define FACTU_FAC_NDEV (dbfield) 0x0a13 /* Long / $ConDMUG->SetParameter("FAC_NDEV" , $result-> ... );
# define FACTU_FAC_FDEV (dbfield) 0x0a14 /* Date $ConDMUG->SetParameter("FAC_FDEV" , $result-> ... );
# define FACTU_FAC_DES (dbfield) 0x0a15 /* Long / $ConDMUG->SetParameter("FAC_DES" , $result-> ... );
# define FACTU_FAC_RECCP (dbfield) 0x0a16 /* Long / $ConDMUG->SetParameter("FAC_RECCP", $result-> ... );
# define FACTU_FAC_RECVT (dbfield) 0x0a17 /* Long / $ConDMUG->SetParameter("FAC_RECVT", $result-> ... );
# define FACTU_FAC_RECOF (dbfield) 0x0a18 /* Long / $ConDMUG->SetParameter("FAC_RECOF", $result-> ... );
# define FACTU_FAC_RECUN (dbfield) 0x0a19 /* Long / $ConDMUG->SetParameter("FAC_RECUN", $result-> ... );
# define FACTU_FAC_LIS (dbfield) 0x0a1a /* Integer $ConDMUG->SetParameter("FAC_LIS" , $result-> ... );
# define FACTU_FAC_TGRA (dbfield) 0x0a1b /* Float / $ConDMUG->SetParameter("FAC_TGRA" , $result-> ... );
# define FACTU_FAC_TEIVA (dbfield) 0x0a1c /* Float / $ConDMUG->SetParameter("FAC_TEIVA", $result-> ... );
# define FACTU_FAC_RPIE (dbfield) 0x0a1d /* Float / $ConDMUG->SetParameter("FAC_RPIE" , $result-> ... );
# define FACTU_FAC_FLE (dbfield) 0x0a1e /* Integer / $ConDMUG->SetParameter("FAC_FLE" , $result-> ... );
# define FACTU_FAC_FLCA (dbfield) 0x0a1f /* Integer $ConDMUG->SetParameter("FAC_FLCA" , $result-> ... );
# define FACTU_FAC_FLET (dbfield) 0x0a20 /* Long $ConDMUG->SetParameter("FAC_FLET" , $result-> ... );
# define FACTU_FAC_FLPO (dbfield) 0x0a21 /* Long / $ConDMUG->SetParameter("FAC_FLPO" , $result-> ... );
# define FACTU_FAC_IFLE (dbfield) 0x0a22 /* Float $ConDMUG->SetParameter("FAC_IFLE" , $result-> ... );
# define FACTU_FAC_TIVA (dbfield) 0x0a23 /* Float/ $ConDMUG->SetParameter("FAC_TIVA" , $result-> ... );
# define FACTU_FAC_TNIVA (dbfield) 0x0a24 /* Float $ConDMUG->SetParameter("FAC_TNIVA", $result-> ... );
# define FACTU_FAC_TIVAP (dbfield) 0x0a25 /* Float $ConDMUG->SetParameter("FAC_TIVAP", $result-> ... );
# define FACTU_FAC_TIINT (dbfield) 0x0a26 /* Float $ConDMUG->SetParameter("FAC_TIINT", $result-> ... );
# define FACTU_FAC_TABAS (dbfield) 0x0a27 /* Float $ConDMUG->SetParameter("FAC_TABAS", $result-> ... );
# define FACTU_FAC_IPOL (dbfield) 0x0a28 /* Float $ConDMUG->SetParameter("FAC_IPOL" , $result-> ... );
# define FACTU_FAC_INGB (dbfield) 0x0a29 /* Float $ConDMUG->SetParameter("FAC_INGB" , $result-> ... );
# define FACTU_FAC_PIBBS (dbfield) 0x0a2a /* Float $ConDMUG->SetParameter("FAC_PIBBS", $result-> ... );
# define FACTU_FAC_PIB14 (dbfield) 0x0a2b /* Float / $ConDMUG->SetParameter("FAC_PIB14", $result-> ... );
# define FACTU_FAC_ITOT (dbfield) 0x0a2c /* Float / $ConDMUG->SetParameter("FAC_ITOT" , $result-> ... );
# define FACTU_FAC_REC (dbfield) 0x0a2d /* Float / $ConDMUG->SetParameter("FAC_REC" , $result-> ... );
# define FACTU_FAC_ICOM (dbfield) 0x0a2e /* Float $ConDMUG->SetParameter("FAC_ICOM" , $result-> ... );
# define FACTU_FAC_IMP (dbfield) 0x0a2f /* Integer $ConDMUG->SetParameter("FAC_IMP" , $result-> ... );
# define FACTU_FAC_ADM (dbfield) 0x0a30 /* Integer $ConDMUG->SetParameter("FAC_ADM" , $result-> ... );
# define FACTU_FAC_OBS (dbfield) 0x0a31 /* String $ConDMUG->SetParameter("FAC_OBS" , $result-> ... );
# define FACTU_FAC_CON1 (dbfield) 0x0a32 /* Integer $ConDMUG->SetParameter("FAC_CON1" , $result-> ... );
# define FACTU_FAC_CON2 (dbfield) 0x0a33 /* Integer $ConDMUG->SetParameter("FAC_CON2" , $result-> ... );
# define FACTU_FAC_IT (dbfield) 0x0a34 /* Integer / $ConDMUG->SetParameter("FAC_IT" , $result-> ... );
# define FACTU_FAC_REVTA (dbfield) 0x0a35 /* Long / $ConDMUG->SetParameter("FAC_REVTA", $result-> ... );
# define FACTU_FAC_TRES (dbfield) 0x0a36 /* String / $ConDMUG->SetParameter("FAC_TRES" , $result-> ... );
# define FACTU_FAC_ORES (dbfield) 0x0a37 /* Integer $ConDMUG->SetParameter("FAC_ORES" , $result-> ... );
# define FACTU_FAC_NRES (dbfield) 0x0a38 /* Long / $ConDMUG->SetParameter("FAC_NRES" , $result-> ... );
# define FACTU_FAC_HORA (dbfield) 0x0a39 /* Time / $ConDMUG->SetParameter("FAC_HORA" , $result-> ... );
# define FACTU_FAC_DUP (dbfield) 0x0a3a /* Integer / $ConDMUG->SetParameter("FAC_DUP" , $result-> ... );
# define FACTU_FAC_FAF (dbfield) 0x0a3b /* Long / $ConDMUG->SetParameter("FAC_FAF" , $result-> ... );
# define FACTU_FAC_MOT (dbfield) 0x0a3c /* Integer / $ConDMUG->SetParameter("FAC_MOT" , $result-> ... );
# define FACTU_FAC_NOM (dbfield) 0x0a3d /* String / $ConDMUG->SetParameter("FAC_NOM" , $result-> ... );
# define FACTU_FAC_CPOS (dbfield) 0x0a3e /* Integer / $ConDMUG->SetParameter("FAC_CPOS" , $result-> ... );
# define FACTU_FAC_CMP (dbfield) 0x0a3f /* String / $ConDMUG->SetParameter("FAC_CMP" , $result-> ... );
# define FACTU_FAC_CAT (dbfield) 0x0a40 /* Integer / $ConDMUG->SetParameter("FAC_CAT" , $result-> ... );
# define FACTU_FAC_ZON (dbfield) 0x0a41 /* Integer / $ConDMUG->SetParameter("FAC_ZON" , $result-> ... );
# define FACTU_FAC_TVTA (dbfield) 0x0a42 /* String / $ConDMUG->SetParameter("FAC_TVTA" , $result-> ... );
# define FACTU_FAC_TIPOP (dbfield) 0x0a43 /* String / $ConDMUG->SetParameter("FAC_TIPOP", $result-> ... );
# define FACTU_FAC_FEXT (dbfield) 0x0a44 /* Date / $ConDMUG->SetParameter("FAC_FEXT" , $result-> ... );
# define FACTU_FAC_TEXT (dbfield) 0x0a45 /* String / $ConDMUG->SetParameter("FAC_TEXT" , $result-> ... ); # define FACTU_FAC_LEXT (dbfield) 0x0a46 /* Integer / $ConDMUG->SetParameter("FAC_LEXT" , $result-> ... );
# define FACTU_FAC_SEXT (dbfield) 0x0a47 /* String / $ConDMUG->SetParameter("FAC_SEXT" , $result-> ... );
# define FACTU_FAC_NEXTI (dbfield) 0x0a48 /* Long / $ConDMUG->SetParameter("FAC_NEXTI", $result-> ... ); # define FACTU_FAC_NEXTF (dbfield) 0x0a49 /* Long / $ConDMUG->SetParameter("FAC_NEXTF", $result-> ... );
# define FACTU_FAC_AFEST (dbfield) 0x0a4a /* Integer / $ConDMUG->SetParameter("FAC_AFEST", $result-> ... );
# define FACTU_FAC_ESTVT (dbfield) 0x0a4b /* Integer / $ConDMUG->SetParameter("FAC_ESTVT", $result-> ... );
# define FACTU_FAC_ESTVC (dbfield) 0x0a4c /* Integer / $ConDMUG->SetParameter("FAC_ESTVC", $result-> ... );
# define FACTU_FAC_ESTCT (dbfield) 0x0a4d /* Integer / $ConDMUG->SetParameter("FAC_ESTCT", $result-> ... );
# define FACTU_FAC_ESTCC (dbfield) 0x0a4e /* Integer / $ConDMUG->SetParameter("FAC_ESTCC", $result-> ... );
# define FACTU_FAC_CODEST (dbfield) 0x0a4f /* String $ConDMUG->SetParameter("FAC_CODEST", $result-> ... );
# define FACTU_FAC_TCEST (dbfield) 0x0a50 /* String / $ConDMUG->SetParameter("FAC_TCEST" , $result-> ... );
# define FACTU_FAC_MAFEST (dbfield) 0x0a51 /* String / $ConDMUG->SetParameter("FAC_MAFEST", $result-> ... );
# define FACTU_FAC_REG (dbfield) 0x0a52 /* String / $ConDMUG->SetParameter("FAC_REG" , $result-> ... );
# define FACTU_FAC_LUGENT (dbfield) 0x0a53 /* Integer / $ConDMUG->SetParameter("FAC_LUGENT", $result-> ... );
# define FACTU_FAC_NCAI (dbfield) 0x0a54 /* String / $ConDMUG->SetParameter("FAC_NCAI" , $result-> ... );
# define FACTU_FAC_FVCAI (dbfield) 0x0a55 /* Date / $ConDMUG->SetParameter("FAC_FVCAI" , $result-> ... );
# define FACTU_FAC_CFIS (dbfield) 0x0a56 /* Integer / $ConDMUG->SetParameter("FAC_CFIS" , $result-> ... );
# define FACTU_FAC_COSTO (dbfield) 0x0a57 /* Float / $ConDMUG->SetParameter("FAC_COSTO" , $result-> ... );
# define FACTU_FAC_AUXF (dbfield) 0x0a58 /* Integer / $ConDMUG->SetParameter("FAC_AUXF" , $result-> ... );
# define FACTU_FAC_TIVAF (dbfield) 0x0a59 /* Float / $ConDMUG->SetParameter("FAC_TIVAF" , $result-> ... );
# define FACTU_FAC_TNIVAF (dbfield) 0x0a5a /* Float / $ConDMUG->SetParameter("FAC_TNIVAF", $result-> ... );
# define FACTU_FAC_ENTIP (dbfield) 0x0a5b /* Long / $ConDMUG->SetParameter("FAC_ENTIP" , $result-> ... );
# define FACTU_FAC_TKGSN (dbfield) 0x0a5c /* Float/ $ConDMUG->SetParameter("FAC_TKGSN" , $result-> ... );
# define FACTU_FAC_TXKG (dbfield) 0x0a5d /* Float/ $ConDMUG->SetParameter("FAC_TXKG" , $result-> ... );
# define FACTU_FAC_INC (dbfield) 0x0a5e /* Float $ConDMUG->SetParameter("FAC_INC" , $result-> ... );
# define FACTU_FAC_CNC (dbfield) 0x0a5f /* Integer / $ConDMUG->SetParameter("FAC_CNC" , $result-> ... );
# define FACTU_FAC_EMP (dbfield) 0x0a60 /* Integer / $ConDMUG->SetParameter("FAC_EMP" , $result-> ... );
# define FACTU_FAC_CONSO (dbfield) 0x0a61 /* Long $ConDMUG->SetParameter("FAC_CONSO" , $result-> ... );
# define FACTU_FAC_OBSC (dbfield) 0x0a62 /* String / $ConDMUG->SetParameter("FAC_OBSC" , $result-> ... );
# define FACTU_FAC_HPED (dbfield) 0x0a63 /* Time / $ConDMUG->SetParameter("FAC_HPED" , $result-> ... );
# define FACTU_FAC_CBUL (dbfield) 0x0a64 /* Integer / $ConDMUG->SetParameter("FAC_CBUL" , $result-> ... );
# define FACTU_FAC_NREM (dbfield) 0x0a65 /* Long $ConDMUG->SetParameter("FAC_NREM" , $result-> ... );
# define FACTU_FAC_CBAR (dbfield) 0x0a66 /* String $ConDMUG->SetParameter("FAC_CBAR" , $result-> ... );
**************/ }
/****************************************************************************************/ /*--------------------------- function Carga_DETALLES ----------------------------------*/ /****************************************************************************************/ function Carga_DETALLES( $ConDMUG , $result ) { /******************
# define MOVI_FAC_MOF_SUC (dbfield) 0x0b01 nteger $ConDMUG->SetParameter( "MOF_SUC" , $result->... );
# define MOVI_FAC_MOF_TIP (dbfield) 0x0b02 /* String $ConDMUG->SetParameter( "MOF_TIP" , $result->... );
# define MOVI_FAC_MOF_STIP (dbfield) 0x0b03 /* Integer $ConDMUG->SetParameter( "MOF_STIP" , $result->... );
# define MOVI_FAC_MOF_FAC (dbfield) 0x0b04 /* Long $ConDMUG->SetParameter( "MOF_FAC" , $result->... );
# define MOVI_FAC_MOF_ART (dbfield) 0x0b05 /* Long $ConDMUG->SetParameter( "MOF_ART" , $result->... );
# define MOVI_FAC_MOF_ITE (dbfield) 0x0b06 /* Integer $ConDMUG->SetParameter( "MOF_ITE" , $result->... );
# define MOVI_FAC_MOF_DEV (dbfield) 0x0b07 /* Integer $ConDMUG->SetParameter( "MOF_DEV" , $result->... );
# define MOVI_FAC_MOF_PREC (dbfield) 0x0b08 /* Long $ConDMUG->SetParameter( "MOF_PREC" , $result->... );
# define MOVI_FAC_MOF_COST (dbfield) 0x0b09 /* Long $ConDMUG->SetParameter( "MOF_COST" , $result->... );
# define MOVI_FAC_MOF_CANT (dbfield) 0x0b0a /* Long $ConDMUG->SetParameter( "MOF_CANT" , $result->... );
# define MOVI_FAC_MOF_UDAD (dbfield) 0x0b0b /* String $ConDMUG->SetParameter( "MOF_UDAD" , $result->... );
# define MOVI_FAC_MOF_IABA (dbfield) 0x0b0c /* Long $ConDMUG->SetParameter( "MOF_IABA" , $result->... );
# define MOVI_FAC_MOF_IINT (dbfield) 0x0b0d /* Long $ConDMUG->SetParameter( "MOF_IINT" , $result->... );
# define MOVI_FAC_MOF_OFE (dbfield) 0x0b0e /* Integer $ConDMUG->SetParameter( "MOF_OFE" , $result->... );
# define MOVI_FAC_MOF_DIG (dbfield) 0x0b0f /* Integer $ConDMUG->SetParameter( "MOF_DIG" , $result->... );
# define MOVI_FAC_MOF_SCAN (dbfield) 0x0b10 /* Long $ConDMUG->SetParameter( "MOF_SCAN" , $result->... );
# define MOVI_FAC_MOF_CPIE (dbfield) 0x0b11 /* Long $ConDMUG->SetParameter( "MOF_CPIE" , $result->... );
# define MOVI_FAC_MOF_MVT (dbfield) 0x0b12 /* Integer $ConDMUG->SetParameter( "MOF_MVT" , $result->... );
# define MOVI_FAC_MOF_IVA1 (dbfield) 0x0b13 /* Float $ConDMUG->SetParameter( "MOF_IVA1" , $result->... );
# define MOVI_FAC_MOF_IVA2 (dbfield) 0x0b14 /* Float $ConDMUG->SetParameter( "MOF_IVA2" , $result->... );
# define MOVI_FAC_MOF_IVA3 (dbfield) 0x0b15 /* Float $ConDMUG->SetParameter( "MOF_IVA3" , $result->... );
# define MOVI_FAC_MOF_IVA4 (dbfield) 0x0b16 /* Float $ConDMUG->SetParameter( "MOF_IVA4" , $result->... );
# define MOVI_FAC_MOF_TAS1 (dbfield) 0x0b17 /* Long $ConDMUG->SetParameter( "MOF_TASA1" , $result->... );
# define MOVI_FAC_MOF_TAS2 (dbfield) 0x0b18 /* Long $ConDMUG->SetParameter( "MOF_TASA2" , $result->... );
# define MOVI_FAC_MOF_TAS3 (dbfield) 0x0b19 /* Long $ConDMUG->SetParameter( "MOF_TASA3" , $result->... );
# define MOVI_FAC_MOF_TAS4 (dbfield) 0x0b1a /* Long $ConDMUG->SetParameter( "MOF_TASA4" , $result->... );
# define MOVI_FAC_MOF_OBS (dbfield) 0x0b1b /* String $ConDMUG->SetParameter( "MOF_OBS" , $result->... );
# define MOVI_FAC_MOF_POL (dbfield) 0x0b1c /* Float $ConDMUG->SetParameter( "MOF_POL" , $result->... );
# define MOVI_FAC_MOF_ADU (dbfield) 0x0b1d /* Integer $ConDMUG->SetParameter( "MOF_ADU" , $result->... );
# define MOVI_FAC_MOF_DES (dbfield) 0x0b1e /* Long $ConDMUG->SetParameter( "MOF_DES" , $result->... );
# define MOVI_FAC_MOF_CAD (dbfield) 0x0b1f /* Long $ConDMUG->SetParameter( "MOF_CAD" , $result->... );
# define MOVI_FAC_MOF_DDEBAR (dbfield) 0x0b20 /* Integer $ConDMUG->SetParameter( "MOF_DDBAR" , $result->... );
# define MOVI_FAC_MOF_PLISTA (dbfield) 0x0b21 /* Long $ConDMUG->SetParameter( "MOF_PLISTA", $result->... );
# define MOVI_FAC_MOF_ACCION (dbfield) 0x0b22 /* Integer $ConDMUG->SetParameter( "MOF_ACCION", $result->... );
# define MOVI_FAC_MOF_PROMO (dbfield) 0x0b23 /* Integer $ConDMUG->SetParameter( "MOF_PROMO" , $result->... );
# define MOVI_FAC_MOF_MSTRA (dbfield) 0x0b24 /* Integer $ConDMUG->SetParameter( "MOF_MSTRA" , $result->... );
# define MOVI_FAC_MOF_ESTVT (dbfield) 0x0b25 /* Integer $ConDMUG->SetParameter( "MOF_ESTVT" , $result->... );
# define MOVI_FAC_MOF_ESTVC (dbfield) 0x0b26 /* Integer $ConDMUG->SetParameter( "MOF_ESTVC" , $result->... );
# define MOVI_FAC_MOF_ESTCT (dbfield) 0x0b27 /* Integer $ConDMUG->SetParameter( "MOF_ESTCT" , $result->... );
# define MOVI_FAC_MOF_ESTCC (dbfield) 0x0b28 /* Integer $ConDMUG->SetParameter( "MOF_ESTCC" , $result->... );
# define MOVI_FAC_MOF_FAM (dbfield) 0x0b29 /* Integer $ConDMUG->SetParameter( "MOF_FAM" , $result->... );
# define MOVI_FAC_MOF_DEP (dbfield) 0x0b2a /* Integer $ConDMUG->SetParameter( "MOF_DEO" , $result->... );
# define MOVI_FAC_MOF_SEC (dbfield) 0x0b2b /* Integer $ConDMUG->SetParameter( "MOF_SEC" , $result->... );
# define MOVI_FAC_MOF_GRU (dbfield) 0x0b2c /* Integer $ConDMUG->SetParameter( "MOF_GRU" , $result->... );
# define MOVI_FAC_MOF_PREP (dbfield) 0x0b2d /* Long $ConDMUG->SetParameter( "MOF_PREP" , $result->... );
# define MOVI_FAC_MOF_FEC (dbfield) 0x0b2e /* Date $ConDMUG->SetParameter( "MOF_FEC" , $result->... );
# define MOVI_FAC_MOF_PCONG (dbfield) 0x0b2f /* Long $ConDMUG->SetParameter( "MOF_PCONG" , $result->... );
# define MOVI_FAC_MOF_NCSCAN (dbfield) 0x0b30 /* Long $ConDMUG->SetParameter( "MOF_NSCAN" , $result->... );
# define MOVI_FAC_MOF_NCCPIE (dbfield) 0x0b31 /* Long $ConDMUG->SetParameter( "MOF_NCCPIE", $result->... );
# define MOVI_FAC_MOF_CBAR (dbfield) 0x0b32 /* String $ConDMUG->SetParameter( "MOF_CBAR" , $result->... );
# define MOVI_FAC_MOF_KGSN (dbfield) 0x0b33 /* Float $ConDMUG->SetParameter( "MOF_KGSN" , $result->... ); cd ..
# define MOVI_FAC_MOF_CATR (dbfield) 0x0b34 /* Intege $ConDMUG->SetParameter( "MOF_CATR" , $result->... );
# define MOVI_FAC_MOF_PVTAB (dbfield) 0x0b35 /* Long $ConDMUG->SetParameter( "MOF_PVTAB" , $result->... );
# define MOVI_FAC_MOF_COLOR (dbfield) 0x0b36 /* String $ConDMUG->SetParameter( "MOF_COLOR" , $result->... );
# define MOVI_FAC_MOF_TCOL (dbfield) 0x0b37 /* String $ConDMUG->SetParameter( "MOF_TCOL" , $result->... );
# define MOVI_FAC_MOF_PROV (dbfield) 0x0b38 /* Long $ConDMUG->SetParameter( "MOF_PROV" , $result->... );
# define MOVI_FAC_MOF_CLIE (dbfield) 0x0b39 /* Long $ConDMUG->SetParameter( "MOF_CLIE" , $result->... );
****************/
}
?>
|