Need to Change PrimaryAssignmentFlag
Summary:
Hi Experts,
We have a requirement to change the primary flag from Y to N. The user made a mistake by adding an assignment instead of changing the existing assignment.
As a result, assignment E1234-2 was set as primary during the transaction, and the existing assignment was changed to non-primary.
Now, the user is requesting to delete the record. However, we are unable to delete it because the record is currently marked as primary, and we also cannot change the primary flag.
Both records belong to the same Legal Entity (LE) and Business Unit (BU). How should we proceed in this scenario? Additionally, please share the HDL file required to achieve this.