Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A simple way to check if all sales orders are invoiced
#6
Code:
Optional Step: Custom Links
You can add custom web link to the module using the following API:
include_once('vtlib/Vtiger/Module.php');
$moduleInstance = Vtiger_Module::getInstance('ModuleName');
$moduleInstance->addLink(<LinkType>, <LinkLabel>, <LinkURL>);
LinkType Type of Link like -
DETAILVIEW : Will add a link in the 'More Actions' menu on the Detail View of the record.
DETAILVIEWBASIC : Will add a link to the 'Actions' list on the Detail View of the Record.
DETAILVIEWWIDGET : Will add a widget on the right hand side of the Detail View of the
Record, similar to Tag Cloud widget.
LISTVIEW : Will add a link under the 'More Actions' button on the List View of a module.
LISTVIEWBASIC : Will add a button on the List View of the module similar to Delete, Mass
Edit buttons.
LinkLabel Label to use for the link when displaying
LinkURL URL of the link. You can use variables like $variablename$
In

I'm guessing you meant this? Will implement this when I'm finished with my current Exactonline project.
Reply


Messages In This Thread
RE: A simple way to check if all sales orders are invoiced - Guido1982 - 12-01-2015, 12:29 PM

Forum Jump:


Users browsing this thread: 2 Guest(s)