Beispiel #1
0
 void executePrivate( )
 {
    /* GeneXus formulas */
    /* Output device settings */
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "齐鲁";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(1200);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(2000);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(400);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(10);
    Gxm1homesampledata.gxTpr_Productstatus = 1;
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "中山";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(890);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(100);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(3000);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(12);
    Gxm1homesampledata.gxTpr_Productstatus = 2;
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "华西";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(200);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(3098);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(250);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(20);
    Gxm1homesampledata.gxTpr_Productstatus = 3;
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "301";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(48);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(879);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(235);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(42);
    Gxm1homesampledata.gxTpr_Productstatus = 1;
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "协和";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(232);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(6788);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(213);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(34);
    Gxm1homesampledata.gxTpr_Productstatus = 4;
    Gxm1homesampledata = new GeneXus.Programs.wwpbaseobjects.SdtHomeSampleData_HomeSampleDataItem(context);
    Gxm2rootcol.Add(Gxm1homesampledata, 0);
    Gxm1homesampledata.gxTpr_Productname = "龙华";
    Gxm1homesampledata.gxTpr_Productprice = (decimal)(345);
    Gxm1homesampledata.gxTpr_Productvolume = (decimal)(370);
    Gxm1homesampledata.gxTpr_Productweight = (decimal)(230);
    Gxm1homesampledata.gxTpr_Productdiscount = (decimal)(0);
    Gxm1homesampledata.gxTpr_Productstatus = 1;
    if ( context.WillRedirect( ) )
    {
       context.Redirect( context.wjLoc );
       context.wjLoc = "";
    }
    this.cleanup();
 }
Beispiel #2
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;
 }
Beispiel #3
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;
 }