This lists a collection of arguments that can be used on the main and pop-up menus.
Read about how to
create a main menu here...
Read about how to
create a pop-up menu here...
Based on which control type (ControlType) you select on the desired menu, you can select the arguments below.
In the argument field, type [argument key]=[argument value];[argument key]=[argument value];[argument key]=[argument value] etc. delimited with ; (semicolon)
For ControlType: ReportPreview
Example when printing directly when viewing a report:
SourceType=UseDataSource;QuickPrint=true;PrintCount=3;
Argument Key |
Argument Values |
SourceType |
UseCurrentRecord |
|
UseMasterRecord |
|
UseDataSource |
|
NoSource (Also used for calling forms, including InventoryItems ) |
QuickPrint |
0 or false |
|
1 or true(print directly to the set up printer) |
PageCount |
1..99999(Printer the number of copies you enter) |
Printer |
write the name of the printer |
ReportType |
Statement or 10 |
|
CollectionLetter or 11 |
|
StatementCurrency or 12 |
|
Invoice or 13 |
|
InterestNote or 15 |
|
Quotation or 16 |
|
OrderConfirmation or 17 |
|
PackNote or 18 |
|
PurchaseRequisition or 19 |
|
PurchaseOrder or 20 |
|
PurchasePackNote or 21 |
|
CollectionLetterCurrency or 22 |
|
InterestNoteCurrency or 23 |
|
PurchaseInvoice or 24 |
|
SalesPickingList or 25 |
|
BalanceFrontPage or 50 |
|
ProductionOrder or 75 |
Lang |
Default, en, da, sv, nb, fi, de, es, pt, fr, ru, nl, tr, it, Is, pl, cs, lv, et, lt, hu, th, de_at, de_ch, en_us, en_sg, ro, ar |
PaperSource |
Upper or 1 |
|
Lower or 2 |
|
Middle or 3 |
|
Manual or 4 |
|
Envelope or 5 |
|
ManualFeed or 6 |
|
AutomaticFeed or 7 |
|
TractorFeed or 8 |
|
SmallFormat or 9 |
|
LargeFormat or 10 |
|
LargeCapacity or 11 |
|
Cassette or 14 |
|
FormSource or 15 |
|
Custom or 257 |
PrintCount |
Number of pages to be printed |
HideRibbon |
0 or false |
|
1 or true |
Output |
Filename with extension and full path where to save the file |
For ControlType: ExportControl
Argument Key |
Argument Values |
Table |
TableName |
File |
ExportFile location path |
Positionfile |
PositionFile location path |
Delimiter |
file delimiter |
For ControlType: ImportControl
Argument Key |
Argument Values |
Table |
TableName |
File |
ExportFile location path |
Positionfile |
PositionFile location path |
Delimiter |
file delimiter |
For ControlType: ExternalCommand
Argument Key |
Argument Values |
|
Filepath |
For ControlType: UserDefinedTableControl
Argument Key |
Argument Values |
|
|
For ControlType: Plugin
Argument Key |
Argument Values |
FormName |
Name of the Control |
For ControlType: Form
Example: You want to open 'Log changes in fields' from the menu.
Create a menu item and fill in the fields as shown below. In the example, you call the log to Debtor changes.
Argument Key |
Argument Values |
Layout |
Layout=[[Layout name]]; |
Journal |
Journal=[draft name]; |
Table |
Table=[Table name]; |
Filter
Argument Key |
Argument Values |
One filter |
Filter=ZipCode:2750 |
Two arguments |
"Filter=ZipCode:2750;Employee:XX" |