A form version is created when the form is modified either by a user or by a backend process (e.g. algorithm, service). The base package business objects for tax form (C1-ParentTaxForm) and registration form (C1-ParentRegistrationForm) include two algorithms, which take a snapshot of the form that is being changed and store it in a special type of log record.
This log record, with a log type of Form Version, includes the details of the form version such as the user who made the change, the date and time of the change and a snapshot of the whole changed form.
The form versions get created in the following scenarios:
A pending form is transitioned to the next state. When the form exits the Pending status, an algorithm creates the initial form version. This version is also known as the 'As Reported' version. Its purpose is to capture the form's data as reported by the taxpayer.
A form enters a state that supports versions. The base business objects have configured an enter plug-in for states that enable versions which captures a version. This caters for scenarios where rules may have made updates to the form since the last version was captured.
A form is modified and is in a status that indicates a version should be created. Each base business object includes the audit algorithm that creates a form version if the form is in a status that has the status option Enable Versions set to Y and any of the form's fields have changed.
Copyright © 2007, 2016, Oracle and/or its affiliates. All rights reserved. Documentation build: 2.5.2016 10:21:45 [T1_1454696505000]