private void button19_Click(object sender, EventArgs e) { Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper mage = new Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper(); mage.DownloadOrders( // "https://sizzix-azzure.c3preview.co.uk/soap/b2c_uk?", //"https://sizzix.c3preview.co.uk/soap/b2c_uk?", //"https://sizzix-aws.c3preview.co.uk/soap/b2c_uk?", // "https://sizzix-b2b.c3preview.co.uk/soap/b2b_gbp?", "https://sizzix-b2b.c3preview.co.uk/soap/all?", "Azzure", "2dmwyw8MghwFeN", "http://localhost:9147/EllisonDev/WS/Ellison%20Europe%20Ltd.", false, "", "WREXHAM", string.Empty, "1040", "azzure.support", "Balloon/8", "Ellison", true, // "inprocess", "Open", "processing"); }
private void button7_Click(object sender, EventArgs e) { Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper mage = new Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper(); mage.getSessionID_B2B("https://www.sizzix.co.uk/soap?", "Azzure", "2dmwyw8MghwFeN"); }
private void button20_Click(object sender, EventArgs e) { Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper mage = new Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper(); mage.uploadSalesDiscounts( // "https://sizzix-b2b.c3preview.co.uk/soap/b2b_gbp?", "https://sizzix-b2b.c3preview.co.uk/soap/all?", "Azzure", "2dmwyw8MghwFeN", "http://localhost:9147/EllisonDev/WS/Ellison%20Europe%20Ltd.", "azzure.support", "Balloon/8", "Ellison" ); }
private void button18_Click(object sender, EventArgs e) { Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper mage = new Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper(); bool bResult = mage.UploadAccountCoordinator( //"https://sizzix-b2b.c3preview.co.uk/soap?", "https://sizzix-b2b.c3preview.co.uk/soap/all?", "Azzure", "2dmwyw8MghwFeN", // "http://localhost:9047/EllisonDev/WS/Ellison%20Europe%20Ltd.", "http://192.168.10.12:9147/EllisonDev/WS/Ellison%20Europe%20Ltd.", "azzure.support", "Balloon/8", "Ellison" ); }
private void button15_Click(object sender, EventArgs e) { Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper mage = new Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper(); mage.UpdateOrderToShipped( // "https://sizzix-b2b.c3preview.co.uk/soap/b2b_gbp?", //"https://sizzix-b2b.c3preview.co.uk/soap/all?", "https://sizzix-b2b.c3preview.co.uk/soap/all?", "Azzure", "2dmwyw8MghwFeN", "3000000055", "complete", "", "track123", "dhl"); //string strMagentoURL,string strUser, string strPass, string strIncrementID, string strShippedStatus, string strComment) }
private void button12_Click(object sender, EventArgs e) { Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper mage = new Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper(); mage.downloadPreOrdersMagentoToNAV( // "https://sizzix-b2b.c3preview.co.uk/soap?", "https://sizzix-b2b.c3preview.co.uk/soap/all?", "Azzure", "2dmwyw8MghwFeN", "http://localhost:9047/EllisonDev/WS/Ellison%20Europe%20Ltd.", "azzure.support", "Balloon/8", "Ellison", "", "WREXHAM", ""); }
private void button11_Click(object sender, EventArgs e) { Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper mage = new Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper(); bool bResponse = mage.downloadCustomers( //"https://sizzix-aws.c3preview.co.uk/soap/b2c_uk?", // "https://sizzix-b2b.c3preview.co.uk/soap?", // "https://sizzix-b2b.c3preview.co.uk/soap/b2b_gbp?", // "https://sizzix-b2b.c3preview.co.uk/soap/b2b_gbp?", "https://sizzix-b2b.c3preview.co.uk/soap/all?", "Azzure", "2dmwyw8MghwFeN", "http://localhost:9147/EllisonDev/WS/Ellison%20Europe%20Ltd.", "azzure.support", "Balloon/8", "Ellison"); }
private void button14_Click(object sender, EventArgs e) { Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper mage = new Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper(); int intEcommerceID = 0; string strError = string.Empty; mage.UploadItems( // "https://sizzix-b2b.c3preview.co.uk/soap?", "https://sizzix-b2b.c3preview.co.uk/soap/all?", "Azzure", "2dmwyw8MghwFeN", "CMRRR123", "NEW ITEM TEST", 100, 120, "", //1, //2, //3, //1, "ANIMALS", "MACHINE", "", "Brenda Pinnick", "Design DIms", "Pre-Release", // 1, 2, 3, 4, "3DTI", "", //item discount group "Wrexham", 0, 1, "", System.DateTime.Now, "accessory", "Brenda Pinnick", (float)160.50, 1, ref intEcommerceID, ref strError ); }
private void button22_Click(object sender, EventArgs e) { FileStream fs = new FileStream("C:\\Azzure\\ellisonEuropeLogo.gif", FileMode.Open, FileAccess.Read); // Create a byte array of file stream length byte[] ImageData = new byte[fs.Length]; //Read block of bytes from stream into the byte array fs.Read(ImageData, 0, System.Convert.ToInt32(fs.Length)); //Close the File Stream fs.Close(); string strBytes = System.Convert.ToBase64String(ImageData); Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper mage = new Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper(); mage.submitInteractionToMagento( // "https://sizzix-b2b.c3preview.co.uk/soap/b2b_gbp?", "https://sizzix-b2b.c3preview.co.uk/soap/all?", "Azzure", "2dmwyw8MghwFeN", "503609", "Chris Test", "This is the subject with attachment", "This is the body with attachment", strBytes, "Ellison Logo", "gif"); }
private void button16_Click(object sender, EventArgs e) { string strError = string.Empty; Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper mage = new Magento_Version2_NAV_Integration_Sizzix.MagentoVersion2Helper(); mage.UpdateItem ( "https://sizzix-b2b.c3preview.co.uk/soap/all?", //web service "Azzure", //username "2dmwyw8MghwFeN", //password "CMSSS123", //VVV123", //sku "26335", //product id "update Description", //name 0, //weight 0, //gross weight "", // "Dimensions", "XMAS", // "Birthday", //theme "SIZZIX PaddlePunch", // technology "XXX", //"Sizzix Textured Impressions",// sub technology "Brenda Walton", // designer "", //design dims "Inactive", //life cycle "PLAN", // planogram, "", //item desc. group "Wrexham", //virtual warehouse 0, //boxqty 0, //pallet qty "chapter", //chapter System.DateTime.Now, //release date "die", //product type "SIZZIX", //brand, (float)160.50, //price 1, // ref strError); }