Document Authorization OverviewOverview Database Change Management (DBCM) supports Document Authorization, using ION Workflow. Document Authorization is about approving or rejecting changes made to Business Objects, in a controlled way. If a user makes changes to a Business Object in ERP Enterprise, these changes must be submitted for approval. Only when these changes are approved, the Business Object may be processed further. Esempio A user changes a Sales Order object, by modifying header data, or by adding, changing, and/or removing lines. The user must submit the changes for approval. After approval, the Sales Order object can be processed further. Through DBCM, two versions of the same Business Object can exist during a certain time-frame: a checked-in version and a checked-out version. If a user changes a Business Object, automatically a checked-out version is created. This checked-out version is only visible in maintain sessions for that particular Business Object. The rest of the ERP system does not know this version. This checked-out version is a kind of scratch version. A user can change anything, but the changes will not become available to the rest of the system until the user submits the changes, and someone approves these changes. It is also possible to undo these changes, and revert back to the original version. Administrators can use the Componenti transazioni estratti (ttocm9599m000) session to view the objects that are currently checked out, and to perform corrective actions in case of errors. See Procedures for checked-out objects and the session help. Modeling and Deploying Document Authorization To support Document Authorization for a Business Object, a Model must be defined using the Object Change Management modeling sessions (ttocm0101m000). A model defines for which user actions Document Authorization is supported. A model contains multiple object types. Per object type, this information is specified:
Infor delivers a predefined model. You can copy this model and customize it to your needs. You can choose for which Business Objects you want to use Document Authorization, by specifying this in a Deployment. See Overall procedure. If the Model describes two Object Types A and B, and you use Document Authorization for Object Type A, DBCM will not create checked-out versions for instances of Object Type B. Instances of Object Type A are always checked-out. Depending on the active user actions in the Deployment, one of these events occurs when changes are submitted:
Prerequisites To support Document Authorization, these prerequisites must be met:
Application changes To support Document Authorization, the application must be adapted. Once a
Business Object is checked-out, no changes to any related Business Objects of
another Object Type are allowed. Therefore the DAL may only update tables that
belong to the Business Object itself. Only during checking-in, Business Objects
of other Object Types may be updated. To support this, you must use the If a
session can be used to change data of a Business Object for which Document
Authorization must be supported, this session must specify the selected Object
Type, so the portingset knows whether to include checked-out versions when
selecting data from the database. For maintain sessions this is done
automatically by the 4GL Engine, based on the main table. For update sessions,
you must use these funtions to achieve this: The session must indicate the user action which is being performed. For example, if the user presses the Release to Warehousing button , and this supports Document Authorization, the application must indicate that this action is being performed by the application logic. DBCM can then determine whether this action requires approval. The 4GL Engine supports these standard actions via the User Interface:
Any
other, application-specific, actions must be selected by the application using
the Checked-out Business Object states This table shows the states a Business Object can have:
| |||||||||||||||||||