The customizable button is useful when we want to use and external application by sending data from the EMDI.

First of all we make the choice we want.

Note that you can also select the icon you want to appear from the suggested ones.

We use the following variables:

#DID Document number
#REL Related documents
#CID Customer ID
#CAA Customer database “Aa”
#DAA Document database “Aa”
#TPV Total pre vat
#TOT Total
#VAT Vat
#QUA Total quantity
#EML Customer/supplier email
#TEL Customer/supplier phone
#MOB Customer/supplier mobile
#VOU Voucher
#NAM Company
#PRO Document’ s products
#SXO Document’ s notes
#CU1 Custom field
#CU2 Custom field
#CU3 Custom field
#CU4 Custom field
#CU5 Custom field

 

Commands

#SMS Send SMS
#EMA Send Email
#PST POST call to URL After the variable for performing a POST we put “|” and the link to which the call should be made.
The fields are separated by |:

  1. #PST: Identifier that this is a POST call
  2. Calling address: the URL
  3. Headers: The header, title with value separated by : and for more than 1 with &.
  4. Parameters: Parameters, title with value separated by : and for more than 1 with &.
  5. Successful answer text: when it is not contained in the answer, a failure message is displayed.
  6. Clear text received from #SXO and #REL. Top
  7. Clear text received from #SXO and #REL. End

Example:

After each variable for sender execution, we put “;” and the title of the pre-defined text used on the e-mail or SMS respectively.

EXAMPLES

By clicking the key and if you define a website,then EMDI will send the documents:

By calling a specific program 2 variables is sent:

  1. Line number of Sales
  2. Line number of Client

eg:

To what you call it is defined on the Settings->Sales/Purchases->Key general use

Document’ s products are sent in the form

The options appear on the purchase / sales document

“>