The customizable button is useful when you want to call an external program while sending data from EMDI.
First of all we create the option we want.
We use the following variables:
#CID | Customer ID |
#TEL | Telephone |
#TE2 | 2nd Telephone |
#MOB | Mobile |
#MO2 | 2nd Mobile |
#EML | |
#EM2 | 2nd E-mail |
#ADR | Address |
#NAM | Name |
Running sender
#SMS | Send SMS |
#EMA | Send Email |
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
Find email clients in Gmail
Link:
1 |
https://mail.google.com/mail/u/1/#search/ OR #TEL #TE2 #MOB #MO2 #EML #EM2 |
Prefix:
1 |
OR |
Να σημειωθεί ότι όταν επαναλαμβάνεται το πρόθεμα συνεχόμενα, τότε αφαιρείται.
πχ.
1 |
OR OR |
There is also the possibility of many prefixes with a series of variables
e.g.
1 |
OR , AND , OR , TEST , TEST , OR |
So the above link will be translated by EMDI as
1 |
https://mail.google.com/mail/u/1/#search/#TEL AND #TE2 OR #MOB TEST #MO2 TEST #EML OR #EM2 |
When you click on the button having set a web page then EMDI appends the customer id to the end of the address:
1 |
https://www.sbzsystems.com/emdi_open_bridge.php?key=&action=redirect&customercode=#CID |
Whereas if you call a program 2 fields are being sent separated by semicolon:
- Customer line number
- Customer id
e.g.:
1 |
C:\projects\EmporikhSQL\text.exe;#CID;#EML |
What is being called is defined at settings->customers/suppliers->customizable button.
” width=”20″ height=”20″>