Exemplo n.º 1
0
 public override void initialize( )
 {
     GXSoapHTTPRequest  = new GxHttpRequest(context);
     GXSoapXMLReader    = new GXXMLReader(context.GetPhysicalPath());
     GXSoapHTTPResponse = new GxHttpResponse(context);
     GXSoapXMLWriter    = new GXXMLWriter(context.GetPhysicalPath());
     currSoapErrmsg     = "";
     currMethod         = "";
     sTagName           = "";
     scmdbuf            = "";
     P000L2_A10QuimiquerosBandaCPSUAB    = new long[1];
     P000L2_A11QuimiquerosTarifaCargados = new decimal[1];
     P000L2_A9QuimiquerosID            = new short[1];
     AV13SdtResultado                  = new SdtSdtResultado(context);
     P000L3_A10QuimiquerosBandaCPSUAB  = new long[1];
     P000L3_A12QuimiquerosTarifaLastre = new decimal[1];
     P000L3_A9QuimiquerosID            = new short[1];
     pr_default = new DataStoreProvider(context, new GeneXus.Programs.awscalcularquimiqueros__default(),
                                        new Object[][] {
         new Object[] {
             P000L2_A10QuimiquerosBandaCPSUAB, P000L2_A11QuimiquerosTarifaCargados, P000L2_A9QuimiquerosID
         }
         , new Object[] {
             P000L3_A10QuimiquerosBandaCPSUAB, P000L3_A12QuimiquerosTarifaLastre, P000L3_A9QuimiquerosID
         }
     }
                                        );
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemplo n.º 2
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace)
 {
     writexml(oWriter, sName, sNameSpace, true);
     return;
 }
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "TransactionContext.Attribute";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("AttributeName", StringUtil.RTrim(gxTv_SdtTransactionContext_Attribute_Attributename));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("AttributeValue", StringUtil.RTrim(gxTv_SdtTransactionContext_Attribute_Attributevalue));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
Exemplo n.º 4
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "LinkList.LinkItem";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "BillingSystem";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("Caption", StringUtil.RTrim(gxTv_SdtLinkList_LinkItem_Caption));
     oWriter.WriteElement("URL", StringUtil.RTrim(gxTv_SdtLinkList_LinkItem_Url));
     oWriter.WriteEndElement();
     return;
 }
 public virtual void writexmlcollectionWrapped(GXXMLWriter oWriter, string sName, string sNameSpace, string itemName, string itemNamespace, bool includeState)
 {
     oWriter.WriteStartElement(sName);
     oWriter.WriteAttribute("xmlns", sNameSpace);
     writexmlcollectionUnwrapped(oWriter, itemName, itemNamespace, includeState);
     oWriter.WriteEndElement();
 }
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "TransactionContext";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "CalcularPeajes";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("CallerObject", StringUtil.RTrim(gxTv_SdtTransactionContext_Callerobject));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("CallerOnDelete", StringUtil.RTrim(StringUtil.BoolToStr(gxTv_SdtTransactionContext_Callerondelete)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("CallerURL", StringUtil.RTrim(gxTv_SdtTransactionContext_Callerurl));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("TransactionName", StringUtil.RTrim(gxTv_SdtTransactionContext_Transactionname));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     if (gxTv_SdtTransactionContext_Attributes != null)
     {
         String sNameSpace1;
         if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") == 0)
         {
             sNameSpace1 = "[*:nosend]" + "CalcularPeajes";
         }
         else
         {
             sNameSpace1 = "CalcularPeajes";
         }
         gxTv_SdtTransactionContext_Attributes.writexmlcollection(oWriter, "Attributes", sNameSpace1, "Attribute", sNameSpace1);
     }
     oWriter.WriteEndElement();
     return;
 }
 public virtual void writexmlcollectionUnwrapped(GXXMLWriter oWriter, string itemName, string itemNamespace, bool includeState)
 {
     foreach (T obj in this)
     {
         string xml = obj.ToXml(false, includeState, itemName, itemNamespace);
         xml = GxUserType.UpdateNodeDefaultNamespace(xml, "", true, null);
         oWriter.WriteRawText(xml);
     }
 }
Exemplo n.º 8
0
 public override void initialize( )
 {
    GXSoapHTTPRequest = new GxHttpRequest(context) ;
    GXSoapXMLReader = new GXXMLReader(context.GetPhysicalPath());
    GXSoapHTTPResponse = new GxHttpResponse(context) ;
    GXSoapXMLWriter = new GXXMLWriter(context.GetPhysicalPath());
    currSoapErrmsg = "";
    currMethod = "";
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    /* GeneXus formulas. */
    context.Gx_err = 0;
 }
Exemplo n.º 9
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "GridState";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "CalcularPeajes";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("CurrentPage", StringUtil.Trim(StringUtil.Str((decimal)(gxTv_SdtGridState_Currentpage), 4, 0)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("OrderedBy", StringUtil.Trim(StringUtil.Str((decimal)(gxTv_SdtGridState_Orderedby), 4, 0)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("HidingSearch", StringUtil.Trim(StringUtil.Str((decimal)(gxTv_SdtGridState_Hidingsearch), 1, 0)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     if (gxTv_SdtGridState_Filtervalues != null)
     {
         String sNameSpace1;
         if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") == 0)
         {
             sNameSpace1 = "[*:nosend]" + "CalcularPeajes";
         }
         else
         {
             sNameSpace1 = "CalcularPeajes";
         }
         gxTv_SdtGridState_Filtervalues.writexmlcollection(oWriter, "FilterValues", sNameSpace1, "FilterValue", sNameSpace1);
     }
     oWriter.WriteEndElement();
     return;
 }
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "OperTugSchedule.GetOperTugScheduleResult.MASTER1";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("IP", StringUtil.RTrim(gxTv_SdtOperTugSchedule_GetOperTugScheduleResult_MASTER1_Ip));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("LName", StringUtil.RTrim(gxTv_SdtOperTugSchedule_GetOperTugScheduleResult_MASTER1_Lname));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("FName", StringUtil.RTrim(gxTv_SdtOperTugSchedule_GetOperTugScheduleResult_MASTER1_Fname));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("NAME", StringUtil.RTrim(gxTv_SdtOperTugSchedule_GetOperTugScheduleResult_MASTER1_Name));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("ENCARGADO", StringUtil.RTrim(gxTv_SdtOperTugSchedule_GetOperTugScheduleResult_MASTER1_Encargado));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("TEMPORAL", StringUtil.RTrim(gxTv_SdtOperTugSchedule_GetOperTugScheduleResult_MASTER1_Temporal));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
Exemplo n.º 11
0
        public void DumpDataStoreInformation(GXXMLWriter writer)
        {
            writer.WriteStartElement("DataStoreProvider");
            writer.WriteAttribute("Name", name);
            writer.WriteElement("Total_SQLStatementCount", statementCount);
            writer.WriteElement("Select_SQLStatementCount", statementSelectCount);
            writer.WriteElement("Update_SQLStatementCount", statementUpdateCount);
            writer.WriteElement("Delete_SQLStatementCount", statementDeleteCount);
            writer.WriteElement("Insert_SQLStatementCount", statementInsertCount);
            writer.WriteElement("StoredProcedureCount", statementCallCount);
            writer.WriteElement("SQLCommandCount", statementDirectSQLCount);

            writer.WriteEndElement();
        }
Exemplo n.º 12
0
 public void Dump(GXXMLWriter writer)
 {
     writer.WriteStartElement("SQLStatement");
     writer.WriteStartElement("SQLStatement");
     writer.WriteCData(sqlSentence);
     writer.WriteEndElement();
     writer.WriteElement("Count", sentenceCount);
     writer.WriteElement("LastExecute", timeLastExecute.ToString());
     writer.WriteElement("TotalTime", totalTimeExecute);
     writer.WriteElement("AverageTime", averageTimeExecute);
     writer.WriteElement("WorstTime", worstTimeExecute);
     writer.WriteElement("BestTime", bestTimeExecute);
     writer.WriteEndElement();
 }
Exemplo n.º 13
0
 public override void initialize( )
 {
     GXSoapHTTPRequest                     = new GxHttpRequest(context);
     GXSoapXMLReader                       = new GXXMLReader(context.GetPhysicalPath());
     GXSoapHTTPResponse                    = new GxHttpResponse(context);
     GXSoapXMLWriter                       = new GXXMLWriter(context.GetPhysicalPath());
     currSoapErrmsg                        = "";
     currMethod                            = "";
     sTagName                              = "";
     scmdbuf                               = "";
     P000O2_A44REF_CGRAL_DESP_CARGA        = new String[] { "" };
     P000O2_A45REF_CGRAL_DESP_TIPO         = new String[] { "" };
     P000O2_n45REF_CGRAL_DESP_TIPO         = new bool[] { false };
     P000O2_A46REF_CGRAL_DESP_TON_TARIF    = new long[1];
     P000O2_n46REF_CGRAL_DESP_TON_TARIF    = new bool[] { false };
     P000O2_A47REF_CGRAL_DESP_TARIFA       = new decimal[1];
     P000O2_A48REF_CGRAL_DESP_ID_TON_TARIF = new short[1];
     P000O2_A49REF_CGRAL_DESP_ID           = new short[1];
     A44REF_CGRAL_DESP_CARGA               = "";
     A45REF_CGRAL_DESP_TIPO                = "";
     AV12SdtResultado                      = new SdtSdtResultado(context);
     P000O3_A44REF_CGRAL_DESP_CARGA        = new String[] { "" };
     P000O3_A45REF_CGRAL_DESP_TIPO         = new String[] { "" };
     P000O3_n45REF_CGRAL_DESP_TIPO         = new bool[] { false };
     P000O3_A46REF_CGRAL_DESP_TON_TARIF    = new long[1];
     P000O3_n46REF_CGRAL_DESP_TON_TARIF    = new bool[] { false };
     P000O3_A47REF_CGRAL_DESP_TARIFA       = new decimal[1];
     P000O3_A48REF_CGRAL_DESP_ID_TON_TARIF = new short[1];
     P000O3_A49REF_CGRAL_DESP_ID           = new short[1];
     AV11REF_CGRAL_DESP_CARGA_LIST         = new GxSimpleCollection();
     P000O4_A44REF_CGRAL_DESP_CARGA        = new String[] { "" };
     P000O4_A47REF_CGRAL_DESP_TARIFA       = new decimal[1];
     P000O4_A48REF_CGRAL_DESP_ID_TON_TARIF = new short[1];
     P000O4_A49REF_CGRAL_DESP_ID           = new short[1];
     pr_default                            = new DataStoreProvider(context, new GeneXus.Programs.awscalcularrefcgraldesp__default(),
                                                                   new Object[][] {
         new Object[] {
             P000O2_A44REF_CGRAL_DESP_CARGA, P000O2_A45REF_CGRAL_DESP_TIPO, P000O2_n45REF_CGRAL_DESP_TIPO, P000O2_A46REF_CGRAL_DESP_TON_TARIF, P000O2_n46REF_CGRAL_DESP_TON_TARIF, P000O2_A47REF_CGRAL_DESP_TARIFA, P000O2_A48REF_CGRAL_DESP_ID_TON_TARIF, P000O2_A49REF_CGRAL_DESP_ID
         }
         , new Object[] {
             P000O3_A44REF_CGRAL_DESP_CARGA, P000O3_A45REF_CGRAL_DESP_TIPO, P000O3_n45REF_CGRAL_DESP_TIPO, P000O3_A46REF_CGRAL_DESP_TON_TARIF, P000O3_n46REF_CGRAL_DESP_TON_TARIF, P000O3_A47REF_CGRAL_DESP_TARIFA, P000O3_A48REF_CGRAL_DESP_ID_TON_TARIF, P000O3_A49REF_CGRAL_DESP_ID
         }
         , new Object[] {
             P000O4_A44REF_CGRAL_DESP_CARGA, P000O4_A47REF_CGRAL_DESP_TARIFA, P000O4_A48REF_CGRAL_DESP_ID_TON_TARIF, P000O4_A49REF_CGRAL_DESP_ID
         }
     }
                                                                   );
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemplo n.º 14
0
 public override void initialize( )
 {
     GXSoapHTTPRequest  = new GxHttpRequest(context);
     GXSoapXMLReader    = new GXXMLReader(context.GetPhysicalPath());
     GXSoapHTTPResponse = new GxHttpResponse(context);
     GXSoapXMLWriter    = new GXXMLWriter(context.GetPhysicalPath());
     currSoapErrmsg     = "";
     currMethod         = "";
     AV5HomeSampleData  = new GXBaseCollection <GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem>(context, "HomeSampleDataItem", "DataAnalysisPlatform");
     GXt_objcol_SdtHomeSampleData_HomeSampleDataItem1 = new GXBaseCollection <GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem>(context, "HomeSampleDataItem", "DataAnalysisPlatform");
     AV6HomeSampleDataItem       = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
     Gxm2homesamplenamevaluedata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleNameValueData_HomeSampleNameValueDataItem(context);
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemplo n.º 15
0
 public override void initialize( )
 {
     GXSoapHTTPClient = new GxHttpClient(context);
     sReturn          = "";
     GXSoapXMLReader  = new GXXMLReader(context.GetPhysicalPath());
     GXSoapXMLWriter  = new GXXMLWriter(context.GetPhysicalPath());
     currSoapErrmsg   = "";
     sTagName         = "";
     sFaultCode       = "";
     sFaultString     = "";
     sDetail          = "";
     oLocation        = new GxLocation();
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemplo n.º 16
0
 public void initialize( )
 {
     defaultExecute     = "";
     GXSoapHTTPClient   = new GxHttpClient(context);
     execName           = "";
     targetResourceName = "";
     GXSoapXMLReader    = new GXXMLReader(context.GetPhysicalPath());
     GXSoapXMLWriter    = new GXXMLWriter(context.GetPhysicalPath());
     currSoapErrmsg     = "";
     sTagName           = "";
     oLocation          = new GxLocation();
     sFaultCode         = "";
     sFaultString       = "";
     sDetail            = "";
     return;
 }
        public virtual void writexmlcollection(GXXMLWriter oWriter, string sName, string sNameSpace, string itemName, string itemNamespace, bool includeState)
        {
            if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") == 0)
            {
                sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
            }

            if (string.IsNullOrEmpty(sName))
            {
                writexmlcollectionUnwrapped(oWriter, itemName, itemNamespace, includeState);
            }
            else
            {
                writexmlcollectionWrapped(oWriter, sName, sNameSpace, itemName, itemNamespace, includeState);
            }
        }
Exemplo n.º 18
0
 public override void initialize( )
 {
     GXSoapHTTPRequest             = new GxHttpRequest(context);
     GXSoapXMLReader               = new GXXMLReader(context.GetPhysicalPath());
     GXSoapHTTPResponse            = new GxHttpResponse(context);
     GXSoapXMLWriter               = new GXXMLWriter(context.GetPhysicalPath());
     currSoapErrmsg                = "";
     currMethod                    = "";
     sTagName                      = "";
     scmdbuf                       = "";
     P000K2_A1TanqueroEsclusasID   = new short[1];
     P000K2_A8TanqueroBandaCPSUAB  = new long[1];
     P000K2_A4TanqueroTarifaCPSUAB = new decimal[1];
     P000K2_A3TanqueroRango        = new short[1];
     AV15SdtResultado              = new SdtSdtResultado(context);
     P000K3_A1TanqueroEsclusasID   = new short[1];
     P000K3_A8TanqueroBandaCPSUAB  = new long[1];
     P000K3_A4TanqueroTarifaCPSUAB = new decimal[1];
     P000K3_A3TanqueroRango        = new short[1];
     P000K4_A1TanqueroEsclusasID   = new short[1];
     P000K4_A5TanqueroBandaTM      = new long[1];
     P000K4_A6TanqueroTarifaTM     = new decimal[1];
     P000K4_A3TanqueroRango        = new short[1];
     P000K5_A1TanqueroEsclusasID   = new short[1];
     P000K5_A8TanqueroBandaCPSUAB  = new long[1];
     P000K5_A7TanqueroTarifaLastre = new decimal[1];
     P000K5_A3TanqueroRango        = new short[1];
     pr_default                    = new DataStoreProvider(context, new GeneXus.Programs.awscalculartanqueros__default(),
                                                           new Object[][] {
         new Object[] {
             P000K2_A1TanqueroEsclusasID, P000K2_A8TanqueroBandaCPSUAB, P000K2_A4TanqueroTarifaCPSUAB, P000K2_A3TanqueroRango
         }
         , new Object[] {
             P000K3_A1TanqueroEsclusasID, P000K3_A8TanqueroBandaCPSUAB, P000K3_A4TanqueroTarifaCPSUAB, P000K3_A3TanqueroRango
         }
         , new Object[] {
             P000K4_A1TanqueroEsclusasID, P000K4_A5TanqueroBandaTM, P000K4_A6TanqueroTarifaTM, P000K4_A3TanqueroRango
         }
         , new Object[] {
             P000K5_A1TanqueroEsclusasID, P000K5_A8TanqueroBandaCPSUAB, P000K5_A7TanqueroTarifaLastre, P000K5_A3TanqueroRango
         }
     }
                                                           );
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemplo n.º 19
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "SdtResultado";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "CalcularPeajes";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("SdtResultadoPanamax", StringUtil.Trim(StringUtil.Str(gxTv_SdtSdtResultado_Sdtresultadopanamax, 18, 2)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("SdtResultadoNeoPanamax", StringUtil.Trim(StringUtil.Str(gxTv_SdtSdtResultado_Sdtresultadoneopanamax, 18, 2)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("SdtResultadoLastre", StringUtil.Trim(StringUtil.Str(gxTv_SdtSdtResultado_Sdtresultadolastre, 18, 2)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("SdtLastreRoundtrip", StringUtil.Trim(StringUtil.Str(gxTv_SdtSdtResultado_Sdtlastreroundtrip, 18, 2)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
Exemplo n.º 20
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "TabOptions.TabOptionsItem";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("Code", StringUtil.RTrim(gxTv_SdtTabOptions_TabOptionsItem_Code));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("Description", StringUtil.RTrim(gxTv_SdtTabOptions_TabOptionsItem_Description));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("Link", StringUtil.RTrim(gxTv_SdtTabOptions_TabOptionsItem_Link));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("WebComponent", StringUtil.RTrim(gxTv_SdtTabOptions_TabOptionsItem_Webcomponent));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
Exemplo n.º 21
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "Context";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "CalcularPeajes";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("User", StringUtil.RTrim(gxTv_SdtContext_User));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("CompanyCode", StringUtil.Trim(StringUtil.Str((decimal)(gxTv_SdtContext_Companycode), 4, 0)));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("Profile", StringUtil.RTrim(gxTv_SdtContext_Profile));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
Exemplo n.º 22
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "OperTugSchedule";
     }
     if (String.IsNullOrEmpty(StringUtil.RTrim(sNameSpace)))
     {
         sNameSpace = "CalcularPeajes";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     if (gxTv_SdtOperTugSchedule_Getopertugscheduleresult != null)
     {
         String sNameSpace1;
         if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") == 0)
         {
             sNameSpace1 = "[*:nosend]" + "CalcularPeajes";
         }
         else
         {
             sNameSpace1 = "CalcularPeajes";
         }
         gxTv_SdtOperTugSchedule_Getopertugscheduleresult.writexml(oWriter, "GetOperTugScheduleResult", sNameSpace1);
     }
     oWriter.WriteEndElement();
     return;
 }
 public override void initialize( )
 {
     GXSoapHTTPRequest           = new GxHttpRequest(context);
     GXSoapXMLReader             = new GXXMLReader(context.GetPhysicalPath());
     GXSoapHTTPResponse          = new GxHttpResponse(context);
     GXSoapXMLWriter             = new GXXMLWriter(context.GetPhysicalPath());
     currSoapErrmsg              = "";
     currMethod                  = "";
     sTagName                    = "";
     scmdbuf                     = "";
     P000I2_A42VEH_RORO_UTIL_FIN = new decimal[1];
     P000I2_A41VEH_RORO_UTIL_INI = new decimal[1];
     P000I2_A40VEH_RORO_TON_FIN  = new decimal[1];
     P000I2_A39VEH_RORO_TON_INI  = new decimal[1];
     P000I2_A43VEH_RORO_TARIFA   = new decimal[1];
     P000I2_A38VEH_RORO_ID       = new short[1];
     AV8SdtResultado             = new SdtSdtResultado(context);
     P000I3_A42VEH_RORO_UTIL_FIN = new decimal[1];
     P000I3_A41VEH_RORO_UTIL_INI = new decimal[1];
     P000I3_A40VEH_RORO_TON_FIN  = new decimal[1];
     P000I3_A39VEH_RORO_TON_INI  = new decimal[1];
     P000I3_A43VEH_RORO_TARIFA   = new decimal[1];
     P000I3_A38VEH_RORO_ID       = new short[1];
     pr_default                  = new DataStoreProvider(context, new GeneXus.Programs.awscalcularportavehiculosrorosoap__default(),
                                                         new Object[][] {
         new Object[] {
             P000I2_A42VEH_RORO_UTIL_FIN, P000I2_A41VEH_RORO_UTIL_INI, P000I2_A40VEH_RORO_TON_FIN, P000I2_A39VEH_RORO_TON_INI, P000I2_A43VEH_RORO_TARIFA, P000I2_A38VEH_RORO_ID
         }
         , new Object[] {
             P000I3_A42VEH_RORO_UTIL_FIN, P000I3_A41VEH_RORO_UTIL_INI, P000I3_A40VEH_RORO_TON_FIN, P000I3_A39VEH_RORO_TON_INI, P000I3_A43VEH_RORO_TARIFA, P000I3_A38VEH_RORO_ID
         }
     }
                                                         );
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemplo n.º 24
0
 public override void initialize( )
 {
     GXSoapHTTPRequest                  = new GxHttpRequest(context);
     GXSoapXMLReader                    = new GXXMLReader(context.GetPhysicalPath());
     GXSoapHTTPResponse                 = new GxHttpResponse(context);
     GXSoapXMLWriter                    = new GXXMLWriter(context.GetPhysicalPath());
     currSoapErrmsg                     = "";
     currMethod                         = "";
     sTagName                           = "";
     scmdbuf                            = "";
     P000N2_A18LNGBandaM3               = new long[1];
     P000N2_A19LNGTarifaCargados        = new decimal[1];
     P000N2_A17LNGID                    = new short[1];
     AV13SdtResultado                   = new SdtSdtResultado(context);
     P000N3_A18LNGBandaM3               = new long[1];
     P000N3_A20LNGTarifaLastre          = new decimal[1];
     P000N3_A17LNGID                    = new short[1];
     P000N4_A18LNGBandaM3               = new long[1];
     P000N4_A21LNGTarifaLastreRoundtrip = new decimal[1];
     P000N4_A17LNGID                    = new short[1];
     pr_default                         = new DataStoreProvider(context, new GeneXus.Programs.awscalcularlng__default(),
                                                                new Object[][] {
         new Object[] {
             P000N2_A18LNGBandaM3, P000N2_A19LNGTarifaCargados, P000N2_A17LNGID
         }
         , new Object[] {
             P000N3_A18LNGBandaM3, P000N3_A20LNGTarifaLastre, P000N3_A17LNGID
         }
         , new Object[] {
             P000N4_A18LNGBandaM3, P000N4_A21LNGTarifaLastreRoundtrip, P000N4_A17LNGID
         }
     }
                                                                );
     /* GeneXus formulas. */
     context.Gx_err = 0;
 }
Exemplo n.º 25
0
 public override void writexml(GXXMLWriter oWriter,
                               String sName,
                               String sNameSpace,
                               bool sIncludeState)
 {
     if (String.IsNullOrEmpty(StringUtil.RTrim(sName)))
     {
         sName = "ProgramNames.ProgramName";
     }
     oWriter.WriteStartElement(sName);
     if (StringUtil.StrCmp(StringUtil.Left(sNameSpace, 10), "[*:nosend]") != 0)
     {
         oWriter.WriteAttribute("xmlns", sNameSpace);
     }
     else
     {
         sNameSpace = StringUtil.Right(sNameSpace, (short)(StringUtil.Len(sNameSpace) - 10));
     }
     oWriter.WriteElement("Name", StringUtil.RTrim(gxTv_SdtProgramNames_ProgramName_Name));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("Description", StringUtil.RTrim(gxTv_SdtProgramNames_ProgramName_Description));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteElement("Link", StringUtil.RTrim(gxTv_SdtProgramNames_ProgramName_Link));
     if (StringUtil.StrCmp(sNameSpace, "CalcularPeajes") != 0)
     {
         oWriter.WriteAttribute("xmlns", "CalcularPeajes");
     }
     oWriter.WriteEndElement();
     return;
 }
 public virtual void writexml(GXXMLWriter oWriter, string sName)
 {
     writexml(oWriter, sName, "");
 }
Exemplo n.º 27
0
 public void DumpConnectionInformation(GXXMLWriter writer)
 {
     connection.DumpConnectionInformation(writer);
 }
 public virtual void writexml(GXXMLWriter oWriter, string sName, string sNamespace, bool includeState)
 {
     writexmlcollection(oWriter, sName, sNamespace, this._containedName, this._containedXmlNamespace, includeState);
 }
 public virtual void writexml(GXXMLWriter oWriter, string sName, string sNamespace)
 {
     writexmlcollection(oWriter, sName, sNamespace, this._containedName, sNamespace);
 }
 public virtual void writexmlcollection(GXXMLWriter oWriter, string sName, string sNamespace, string itemName, string itemNamespace)
 {
     writexmlcollection(oWriter, sName, sNamespace, itemName, itemNamespace, true);
 }