Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagetext
titleПример
{"invent":{
     "inventcode": "7473",
     "deptcode": 1,
     "price": 68.5,    
     "remain": 0.0,
     "remaindate":"2011-08-08T15:45:10", 
     "discautoscheme": "1",
     "articul": "67",
     "age": 16,
     "alcoholpercent": 10,
     "inventgroup": "7957",
     "taxgroupcode": 0,
     "measurecode": 2,
     "name": "Светлое пиво",
     "minprice": 68.5,
     "alctypecode": 520,
	 "paymentobject": 2, 
     "minretailprice": 65.5,
     "ntin": "00708001001012001",
	 "packagecode": "1234567890",
     "options": {
        "quantityoptions" : {
             "enableQuantityLimit": false,
             "quantityLimit": 0.000,
             "requireQuantityManual": false,
             "enabledefaultquantity" : "",
             "enablequantityscales" : "",
             "enablequantitybarcode" : "",
             "enablequantitymanual" : "",
             "requirequantitybarcode" : "",
             "requirequantityscales" : "",
             "autogetquantityfromscales" : "",
             "documentquantlimit" : ""
         },
         "priceoptions" : {
           "requireselectprice": 1,
           "requirepricemanual" : 0,
           "enablepricemanual" : 0,
           "requiredeferredprice" : 0,
           "enableexcisemarkprice": 0
         },
         "inventitemoptions" : {
           "enabledepartmentmanual": 0,
           "requiredepartmentmanual": 1,
           "disablebackinsale": 1,
           "disableinventsale": "",
           "disableinventback": "",
           "disableinventshow": "",
           "enablebarcodescanner": "",
           "enablebarcodemanual": "1",
           "visualverify": 1,
           "ageverify": 1,
           "requiresalerestrict": 1,
           "rfidverify": 1,
           "lowweight": 0,
           "weightcontrolbypass": 0,
           "tobacco": 0,
           "shoes": 0,
           "fuzzyweight": 0,
 		   "ignoremarking": 0,
		   "markdownverify": 0 
		 }
      }
   },"command":"addTmc"}
---

...