B4A.PM.SCRI.SENDTO#ADD-DOCU-TEMPLATE

Summary

Details

Object type
SCRI
Object Subtype
-
Object Folder
PACKAGES/BEST4AUTOMIC/B4A.PM/SOURCE/SENDTO
Active
true
Title
adds a documentation template to the selected objects
Archive Key 1
-
Archive Key 2
-
Created
WRITER/B4A am: 2022-03-24 08:03:04
Last Modified
WRITER/B4A am: 2024-01-09 10:39:01 8 x
Last Used
-

Custom Attributes

No custom attributes defined.

Process

:read &TYPE#,,
:read &PARENT_RUN#,,

:set &nl# = uc_crlf()
:set &object_type# = get_object_type( &NAME# )
:set &BBCF_OBJECT_I# = &NAME#
:set &object_subtype# = get_var( BBC.SHARED.VARA@SEC_SQLI.GET-OBJECT-SUBTYPE, &NAME#, 3 )
:set &template# = "B4A.PM.DOCU.TEMPLATE-&object_type#@&object_subtype#"

:set &idnr# = get_oh_idnr( &template# )
:if &idnr# = 0
:  set &template# = "B4A.PM.DOCU.TEMPLATE-&object_type#"
:  set &idnr# = get_oh_idnr( &template# )
:endif

:if &idnr# = 0
:  stop MSG, 51, "documentation template for object type &object_type# not found (&template#)"
:endif

:put_prompt_buffer B4AB_MODULE_I# = "mc.DocumentationEdit"
:put_prompt_buffer B4AB_DOCU_OBJECT_I# = "&template#"
:put_prompt_buffer B4AB_DOCU_OPTION_I# = "docu"
:put_prompt_buffer B4AB_CONFIGURATION_I# = "name=&NAME#&nl#mode=overwrite"

:set &ret# = activate_uc_object( "B4A.BASE.JOBP@IF.RUN#DOCU-OPTION", WAIT )

Object Activations

Found 1 object activations

Zeilennummer Scriptzeile
26 :set &ret# = activate_uc_object( "B4A.BASE.JOBP@IF.RUN#DOCU-OPTION", WAIT )

Runtime

ERT Method
DYNAMIC_AVERAGE
Current ERT
00 : 01 : 01 No. of past runs
0 +ERT Correction %
0

Sync

No sync definitions.

Variables

No variables defined.

Prompt Sets

No promptsets defined.

Automatic Deactivation

Deactivate on Finish
ALWAYS
Deactivate After
0

Runtime Parameters

AE Priority
0
Timezone
-
Generate at runtime
false
Max. Parallel Tasks
0