Difference between revisions of "Custom Button"
Jump to navigation
Jump to search
(Created page with "SME Custom Tabs and Fields allows a Button function. This will allow you to call ANY executable (exe) program to run providing tremendous customization power. Here is how the b...") |
|||
Line 8: | Line 8: | ||
* The UID is SME's unique identifier for the record from where the button was pushed. | * The UID is SME's unique identifier for the record from where the button was pushed. | ||
* The moduleID is the module that initiate the button call. So if the button is called from Customer module, the moduleID is 5. Below is the module ID table. | * The moduleID is the module that initiate the button call. So if the button is called from Customer module, the moduleID is 5. Below is the module ID table. | ||
− | moduleid modulename | + | |
− | 1 Leads | + | * moduleid modulename |
− | 1 Sales | + | * 1 Leads |
− | 5 Customer | + | * 1 Sales |
− | 6 Contracts | + | * 5 Customer |
− | 8 Service | + | * 6 Contracts |
− | 9 Install | + | * 8 Service |
− | 15 Inventory | + | * 9 Install |
− | 18 Vendors | + | * 15 Inventory |
− | 26 Issue | + | * 18 Vendors |
− | 35 Equip. Dialog | + | * 26 Issue |
+ | * 35 Equip. Dialog |
Revision as of 18:07, 3 October 2014
SME Custom Tabs and Fields allows a Button function. This will allow you to call ANY executable (exe) program to run providing tremendous customization power.
Here is how the button function works.
- SME first checks to see if file exsits, then calls a system open.
- SME appends the customrecord data UID and the moduleID, so it looks like c:\mypath\myexe uid moduleid
- The UID is SME's unique identifier for the record from where the button was pushed.
- The moduleID is the module that initiate the button call. So if the button is called from Customer module, the moduleID is 5. Below is the module ID table.
- moduleid modulename
- 1 Leads
- 1 Sales
- 5 Customer
- 6 Contracts
- 8 Service
- 9 Install
- 15 Inventory
- 18 Vendors
- 26 Issue
- 35 Equip. Dialog