Macro

Administration > System Initialization > Report setup > Macros > Macro Definition > Macro

Top  Previous  Next
Expand/Collapse Toggles

In this window the Macro is defined. Select one and click Edit.  

For further information see Macro structure.

 

Field

Description

Number

Window

Window title (psr-file) in which the Macro is executed. Filled automatically.

Name

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

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.

 

Tabs

Field

Description

Definition

Defines the macro and the pre-generating function (this window).

Variables

Defines variables to be set up or queried in advance.

Macro step

Defines the sequence of a macro.

Scripts

Scripts can be stored which are executed before or after the macro is called. Loop statements are also possible.


Help URL: https://help.beascloud.com/beas202402/index.html?makro.htm