public static void CreateProduct() { AmeriCommerceDatabaseIO oWs = InitializeWebservice(); ProductTrans oProd = new ProductTrans(); oProd.itemName = "API Test Product 1"; oProd.itemNr = "APITP1"; oProd.price = MakeDataMoney(5.00m); oProd.catID = MakeDataInt(21); oProd.productStatusID = MakeDataInt(1); oWs.Product_Save(oProd); }
public static void CreateProduct() { AmeriCommerceDatabaseIO oWs = InitializeWebservice(); ProductTrans oProd = new ProductTrans(); oProd.itemName = "API Test Product 1"; oProd.itemNr = "APITP1"; oProd.price = MakeDataMoney(5.00m); oProd.catID = MakeDataInt(21); oProd.productStatusID = MakeDataInt(1); oWs.Product_Save(oProd); }