Get unit data for a single view.

Action name: getUnit

Fields in the json-encoded "data" parameter:

namedescriptionformatrequired
fieldsrequested unit properties for the search result, see belowObjecttrue
idunit idItrue unless code is give
codeunit codeSfalse
pricetableadditionally request a pricetable (pricelist optimized for presentation)Bfalse

 

 

Possible requested fields:

Requested fields can be all unit properties (global and custom ones). See unit export for possible values.

A field is specified as {'u.fieldname':{filter:projection}}, see projection for details and search for example.