diff --git a/src/controllers/CommandController.ts b/src/controllers/CommandController.ts index 77e87ede..3435a0c7 100644 --- a/src/controllers/CommandController.ts +++ b/src/controllers/CommandController.ts @@ -5718,6 +5718,9 @@ export class CommandController extends Controller { posNumCodeSit: _posNumCodeSit, posNumCodeSitAbb: _posNumCodeSitAbb, }); + if(orgRevisionRef){ + await CreatePosMasterHistoryOfficer(orgRevisionRef.id, req, "DELETE"); + } await removeProfileInOrganize(profile.id, "OFFICER"); const clearProfile = await checkCommandType(String(item.commandId)); const _null: any = null;