1C:Enterprise 8.3. Developer Guide. Contents
RULES FOR GENERATING STANDARD COMMANDS AND AUTOMATIC FORM HEADERS
To ensure that object presentation can be overridden (or adjusted) in the interface, a special set of properties has been introduced in metadata properties.
Subsystems + +
Constants + +
Exchange Plans + + + + +
Filter Criteria + + +
Common Forms + +
Constants + +
Catalogs + + + + +
Documents + + + + +
Document Journals + + +
Enumerations + + +
Object |
|||||||
Reports |
+ |
|
|
|
|
+ |
|
Data Processors |
+ |
|
|
|
|
+ |
|
Charts of Characteristic Types |
|
+ |
+ |
+ |
+ |
+ |
|
Charts of Accounts |
|
+ |
+ |
+ |
+ |
+ |
|
Charts of Calculation Types |
|
+ |
+ |
+ |
+ |
+ |
|
Information Registers (subordinate) |
|
|
|
+ |
+ |
+ |
|
Information Registers (independent) |
|
+ |
+ |
+ |
+ |
+ |
|
Accumulation Registers |
|
|
|
+ |
+ |
+ |
|
Accounting Registers |
|
|
|
+ |
+ |
+ |
|
Calculation Registers |
|
|
|
+ |
+ |
+ |
|
Business Processes |
|
+ |
+ |
+ |
+ |
+ |
|
Tasks |
|
+ |
+ |
+ |
+ |
+ |
|
When generating presentation for standard commands (and their tooltips) the system applies the following rules (Property1 → Property2 means that if Property1 is not specified, Property2 is used instead):
Opening a list:
○ Command presentation: List presentation.
○ Command tooltip: Explanation → Extended list presentation → List presentation.
Creating a new object (record):
○ Command presentation: Object presentation: Create or Record presentation: Create.
○ Command tooltip: Extended object presentation (Extended record presentation) → Object presentation (Record presentation).
Creating a new folder:
○ Command presentation: List presentation: Create Folder.
○ Command tooltip: Extended object presentation → List presentation.
Navigating to any subordinate list (Go To folder command in form navigation panel):
○ Command presentation: List presentation.
Appendix 2. Rules for Generating Standard Commands and Automatic Form Headers 2-1197
○ Command tooltip: Explanation → Extended list presentation → List presentation.
Generating:
○ Command presentation: Object presentation: Generate.
○ Command tooltip: Extended object presentation → object presentation.
Opening a report or data processor:
○ Command presentation: report or data processor presentation.
○ Command tooltip: Explanation → Extended presentation.
Opening a common form:
○ Command presentation: common form presentation.
○ Command tooltip: Explanation → Extended presentation.
Opening a constant editing form:
○ Command presentation: constant presentation.
○ Command tooltip: Explanation → Extended presentation.
Navigating to subsystem (in sections panel):
○ Command presentation: subsystem presentation.
○ Graphical presentation: Picture → standard picture of sections panel section.
○ Command tooltip: Explanation.
NOTE
If none of the properties used (in presentation and/or tooltip generation) is specified, text presentation of metadata object is used as it is returned by the Presentation() method.
The following rules applies to placement of a command in form actions panel or command bar: command group name (preceded by ":" character) is removed from the command text presentation if this combination finalizes command presentation. For example, standard item creation command for a Goods catalog that is represented as Goods: Create is displayed as Goods in the actions panel. If the user creates a command with My Command: Generate presentation and places it in the standard Generate group in the form command bar, the command presentation turns to My Command. At the same time, if this command is placed in the Print group (created by the developer) in the form command bar, its presentation remains My Command: Generate.
Properties associated with object presentation (see table above) are also used in form header generation if the Auto title property is set to True for the form. In this case the form header combines the Title property value and the auto-generated header. If this property is set to False, form header is derived from the Title property with no transformations.
When auto-generating form headers the system applies the following rules:
List form header: Extended list presentation → List presentation.
○ Form header for catalog, chart of accounts, chart of calculation types, exchange plan, chart of characteristic types and task:
□ Existing item: text presentation of object (Extended object presentation → object presentation), e.g.:
• Zinovyev Anton (Employee).
• 70.1 (Account).
○ New item: Extended object presentation (Creation) → Object presentation (Creation).
Document or business process form header:
○ Existing item: text presentation of object, e.g.:
□ Receipt # 12001 from 05/12/2008 16:15:32.
○ New item: Extended object presentation (Creation) → Object presentation (Creation).
Information register record form header:
○ Existing record: Extended record presentation → Record presentation.
○ New record: Extended record presentation (Creation) → Record presentation (Creation).
Form header for catalog folder or chart of characteristic types:
□ Existing folder: text presentation of object (Extended list presentation → List presentation).
□ New folder: Extended list presentation (Folder Creation) → List presentation (Folder Creation).
Report or data processor form header: Extended presentation.
NOTE
If none of the properties used in header generation is specified, text presentation of metadata object is used as it is returned by the Presentation() method.