|
|
Number
|
When creating a macro, a number can be entered manually. You can define number ranges.
Allowed range:
100.000 – 99.999.999
If no number is entered, the next free number is used.
|
|
Window
|
Window title (psr-file) in which the Macro is executed. Filled automatically.
|
Name
|
A unique name is to be entered (mandatory field).
The entered text is not translated into the user's language.
Click the script icon displayed left of the entry field to open the script editor. There you can define which report to be used by defining a script. Use the variable "value".
Example:
setvar=value=Report Name from Script
If a script is stored, the icon is displayed in red.
The script is executed at call up of a pre-view / print function or via menu entries "Master data report", "Production report".
|
|
Simple entry
|
Disabled: in case of Crystal Reports. This can be selected directly. Enter only variables (see Variables).
Enabled: Different types of output can be defined. see: macro structure, Output formats.
|
Type
|
System macro: Updated automatically with each Beas update. Please do not change it.
Standard macro: Standard report which is imported at initial installation or selecting Report administration - Reset standard. Changes are allowed.
Customer macro: Customized macro that can be changed. Default setting.
|
Sorting
|
Determines the order of display.
|
Macro selectable with
|
Determines, at which action ( with which application) the macro may be selected: view, print, Fax, E-mail, PDF, Excel, Word.
|
Authorization
|
Select authorization.
|
Business partner
|
Select business partner. Report available only if the business partner is active. This works only for SAP Business One sales and purchase documents.
|
Stations
|
Select stations where the macro is available.
|
User
|
Select authorized users for this macro.
|
Script
|
Ending the script with "return failure" makes the report invisible.
The script is called up in the parent window that is from the window in which the printing is started. If this is done from the menu, the script is called up in the reports list.
As the script is already edited, you cannot use < and >. Use replacement characters { and }.
Example: Only user "manager" is allowed to print the report
if {currentuser} = manager then
return success
end if
return failure
|
|
Module
|
Enter the name of a registered module.
|
Start before extension: API
|
Functions to be executed in advance: e.g. process data in temporary tables. Which API's are available depend on the actual window. See API
|
Set print sign
|
Print: The printing ID is set only for direct printing, not for preview.
Always: Also, the printing ID is set in work order for preview.
|
Print planned order
|
No: Work order of the "planned" type cannot be printed even if marked (default setting).
Yes: Planned work orders can be printed, as well.
|