JSON Trigger

Layout: Purchase Order | Field: Vendor

Script trigger passes a JSON object with a misspelled key (“Compnay Type” should be “Company Type”).

JSONSetElement ( 
  "" ; 
  ["Compnay Type" ; "Vendor" ; JSONString] ;
  ["Window Top" ; 160 ; JSONNumber]
)

Should be

JSONSetElement ( 
  "" ; 
  ["Company Type" ; "Vendor" ; JSONString] ;
  ["Window Top" ; 160 ; JSONNumber]
)

Note: Thanks to Humberto Becerra for finding this.