| Both sides previous revision Previous revision Next revision | Previous revision |
| a_f:a:enter_new [2022/09/01 02:57] – administrator | a_f:a:enter_new [2025/06/12 03:59] (current) – Change to AwareIM aware_support3 |
|---|
| {{tag>Actions Action_List Business_Object Process UI}} | {{tag>Index Action Action_List Business_Object Process UI}} |
| ====== ENTER NEW ====== | ====== ENTER NEW ====== |
| |
| where Id() is the name of the business object to create. For example, | where Id() is the name of the business object to create. For example, |
| |
| <code aim> ENTER NEW Account </code> | <code aim>ENTER NEW Account </code> |
| |
| <callout type="primary" icon="true" title="note"> If the name of the business object group is specified in the action, //**Aware IM**// will first display a list of all members of the group and when the user selects the name of the required business object, //**Aware IM**// will display a form for this object.</callout> | <callout type="primary" icon="true" title="note"> If the name of the business object group is specified in the action, //**AwareIM**// will first display a list of all members of the group and when the user selects the name of the required business object, //**AwareIM**// will display a form for this object.</callout> |
| |
| <callout type="primary" icon="true" title="note"> It is possible to optionally indicate initial values of the attributes using the ''WITH'' keyword. The syntax is the same as for the ''CREATE'' action. The form will be pre-populated with the supplied values (this initialization though is not available for groups – see previous note). For example: | <callout type="primary" icon="true" title="note"> It is possible to optionally indicate initial values of the attributes using the ''WITH'' keyword. The syntax is the same as for the ''CREATE'' action. The form will be pre-populated with the supplied values (this initialization though is not available for groups – see previous note). For example: |
| |
| <code aim> ENTER NEW Account WITH Account.Name='John Smith' </code></callout> | <code aim>ENTER NEW Account WITH Account.Name='John Smith' </code></callout> |
| |
| <callout type="primary" icon="true" title="note"> It is possible to optionally indicate the name of the specific form of the business object that will be used when entering the object, for example: | <callout type="primary" icon="true" title="note"> It is possible to optionally indicate the name of the specific form of the business object that will be used when entering the object, for example: |
| |
| <code aim> ENTER NEW Account USING 'Form for administrators' </code> | <code aim>ENTER NEW Account USING 'Form for administrators' </code> |
| |
| where 'Form for administrators' is the name of the form that must be configured with the Account object.</callout> | where 'Form for administrators' is the name of the form that must be configured with the Account object.</callout> |
| <callout type="primary" icon="true" title="note"> It is possible to optionally indicate the name of the specific section of the business object that will be displayed first, for example: | <callout type="primary" icon="true" title="note"> It is possible to optionally indicate the name of the specific section of the business object that will be displayed first, for example: |
| |
| <code aim> ENTER NEW Account USING 'Form for administrators' | <code aim>ENTER NEW Account USING 'Form for administrators' FORM_SECTION 'Personal details' </code></callout> |
| FORM_SECTION 'Personal details' </code></callout> | |
| |
| <callout type="primary" icon="true" title="note"> By default the form of the object will be displayed in a pop-up window. If the process finishes immediately after the user enters form values, you can designate the form to be displayed in the current window or in a new tab. For example: | <callout type="primary" icon="true" title="note"> By default the form of the object will be displayed in a pop-up window (unless a process runs in the Single Tab mode). If the process finishes immediately after the user enters form values, you can designate the form to be displayed in the current window or in a new tab. For example: |
| |
| <code aim> ENTER NEW Account AND VIEW </code> | <code aim>ENTER NEW Account AND VIEW </code> |
| |
| <code aim> ENTER NEW Account AND VIEW IN TAB </code></callout> | <code aim>ENTER NEW Account AND VIEW IN TAB </code></callout> |
| |
| | <callout type="primary" icon="true" title="note"> If a process runs in a "single tab mode" the action is not displayed in a popup window unless the FORCE POPUP keyword is specified. This keywords allows to override the single tab mode. For example: |
| | <code aim>ENTER NEW Account FORCE POPUP</code></callout> |