Codeunit 1535 "Approvals Mgmt."
Base Application · System.Automation
Across versions
- BC23present
- BC242 events added, 1 procedures added
- BC25unchanged
- BC261 events added, 1 events removed
- BC275 events added, 2 events removed
- BC2828 procedures added, 8 events added
- BC294 procedures added, 3 events added
- BC301 events added
Neighbourhood 109 connected objects and pages
Base Application · System.Automation · BC23-30 · source at ea08af5e · facts from BC29
Properties
| Property | Value |
|---|---|
| Permissions | TableData “Approval Entry” = Rimd, TableData “Approval Comment Line” = rimd, TableData “Posted Approval Entry” = rimd, TableData “Posted Approval Comment Line” = rimd, TableData “Overdue Approval Entry” = rimd, TableData “Notification Entry” = rimd |
Events published
OnSendPurchaseDocForApproval(var PurchaseHeader: Record "Purchase Header")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnSendPurchaseDocForApproval
OnSendSalesDocForApproval(var SalesHeader: Record "Sales Header")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnSendSalesDocForApproval
OnSendIncomingDocForApproval(var IncomingDocument: Record "Incoming Document")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnSendIncomingDocForApproval
OnCancelPurchaseApprovalRequest(var PurchaseHeader: Record "Purchase Header")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelPurchaseApprovalRequest
OnCancelSalesApprovalRequest(var SalesHeader: Record "Sales Header")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelSalesApprovalRequest
OnCancelIncomingDocApprovalRequest(var IncomingDocument: Record "Incoming Document")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelIncomingDocApprovalRequest
OnSendCustomerForApproval(var Customer: Record Customer)(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnSendCustomerForApproval
OnSendVendorForApproval(var Vendor: Record Vendor)(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnSendVendorForApproval
OnSendItemForApproval(var Item: Record Item)(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnSendItemForApproval
OnCancelCustomerApprovalRequest(var Customer: Record Customer)(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelCustomerApprovalRequest, Codeunit 1541 “Workflow Webhook Events” HandleOnCancelCustomerApprovalRequest
OnCancelVendorApprovalRequest(var Vendor: Record Vendor)(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelVendorApprovalRequest, Codeunit 1541 “Workflow Webhook Events” HandleOnCancelVendorApprovalRequest
OnCancelItemApprovalRequest(var Item: Record Item)(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelItemApprovalRequest, Codeunit 1541 “Workflow Webhook Events” HandleOnCancelItemApprovalRequest
OnSendGeneralJournalBatchForApproval(var GenJournalBatch: Record "Gen. Journal Batch")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnSendGeneralJournalBatchForApproval
OnCancelGeneralJournalBatchApprovalRequest(var GenJournalBatch: Record "Gen. Journal Batch")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelGeneralJournalBatchApprovalRequest, Codeunit 1541 “Workflow Webhook Events” HandleOnCancelGeneralJournalBatchApprovalRequest
OnSendGeneralJournalLineForApproval(var GenJournalLine: Record "Gen. Journal Line")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnSendGeneralJournalLineForApproval
OnCancelGeneralJournalLineApprovalRequest(var GenJournalLine: Record "Gen. Journal Line")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelGeneralJournalLineApprovalRequest, Codeunit 1541 “Workflow Webhook Events” HandleOnCancelGeneralJournalLineApprovalRequest
OnSendItemJournalBatchForApproval(var ItemJournalBatch: Record "Item Journal Batch")+ BC28 (integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnSendItemJournalBatchForApproval
OnCancelItemJournalBatchApprovalRequest(var ItemJournalBatch: Record "Item Journal Batch")+ BC28 (integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelItemJournalBatchApprovalRequest, Codeunit 1541 “Workflow Webhook Events” HandleOnCancelItemJournalBatchApprovalRequest
OnSendRequisitionWkshBatchForApproval(var RequisitionWkshName: Record "Requisition Wksh. Name")+ BC28 (integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnSendRequisitionWkshBatchForApproval
OnCancelRequisitionWkshBatchApprovalRequest(var RequisitionWkshName: Record "Requisition Wksh. Name")+ BC28 (integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelRequisitionWkshBatchApprovalRequest, Codeunit 1541 “Workflow Webhook Events” HandleOnCancelRequisitionWkshBatchApprovalRequest
OnApproveApprovalRequest(var ApprovalEntry: Record "Approval Entry")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnApproveApprovalRequest, Codeunit 20425 “Qlty. Workflow Approvals” HandleOnApproveTheApprovalRequestOnApproveTimeCardApproval
OnRejectApprovalRequest(var ApprovalEntry: Record "Approval Entry")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnRejectApprovalRequest, Codeunit 20425 “Qlty. Workflow Approvals” RunWorkflowOnRejectTimeCardApproval
OnDelegateApprovalRequest(var ApprovalEntry: Record "Approval Entry")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnDelegateApprovalRequest, Codeunit 20425 “Qlty. Workflow Approvals” RunWorkflowOnDelegateTimeCardApproval
OnRenameRecordInApprovalRequest(OldRecordId: RecordID; NewRecordId: RecordID)(integration)- subscribers: Codeunit 1535 “Approvals Mgmt.” RenameApprovalEntries, Codeunit 1541 “Workflow Webhook Events” HandleOnRenameRecordInApprovalRequest
OnDeleteRecordInApprovalRequest(RecordIDToApprove: RecordID)(integration)- subscribers: Codeunit 1535 “Approvals Mgmt.” DeleteApprovalEntries, Codeunit 1541 “Workflow Webhook Events” HandleOnDeleteRecordInApprovalRequest
OnSendJobQueueEntryForApproval(var JobQueueEntry: Record "Job Queue Entry")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnOnSendJobQueueEntryForApproval
OnCancelJobQueueEntryApprovalRequest(var JobQueueEntry: Record "Job Queue Entry")(integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelJobQueueEntryApprovalRequest
OnSendVendorBankAccountForApproval(var VendorBankAccount: Record "Vendor Bank Account")+ BC29 (integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnSendVendorBankAccountForApproval
OnCancelVendorBankAccountApprovalRequest(var VendorBankAccount: Record "Vendor Bank Account")+ BC29 (integration)- subscribers: Codeunit 1520 “Workflow Event Handling” RunWorkflowOnCancelVendorBankAccountApprovalRequest, Codeunit 1541 “Workflow Webhook Events” HandleOnCancelVendorBankAccountApprovalRequest
OnBeforeIsVendorBankApprovalsWorkflowEnabled(var VendorBankAccount: Record "Vendor Bank Account"; var Result: Boolean; var IsHandled: Boolean)+ BC29 (integration)OnPopulateApprovalEntryArgument(var RecRef: RecordRef; var ApprovalEntryArgument: Record "Approval Entry"; WorkflowStepInstance: Record "Workflow Step Instance")(integration)- subscribers: Codeunit 20425 “Qlty. Workflow Approvals” HandleOnPopulateApprovalEntryArgument, Codeunit 6279 “Sust. Approvals Mgmt.” PopulateApprovalEntryArgument
OnApproveApprovalRequestsForRecordOnAfterApprovalEntrySetFilters(var ApprovalEntry: Record "Approval Entry"; WorkflowStepInstance: Record "Workflow Step Instance"; RecRef: RecordRef)+ BC27 − BC27 (integration)OnAfterCanCancelApprovalForRecord(RecID: RecordID; var Result: Boolean; var ApprovalEntry: Record "Approval Entry"; UserSetup: Record "User Setup")(integration)OnAfterCalcPurchaseDocAmount(PurchaseHeader: Record "Purchase Header"; TotalPurchaseLine: Record "Purchase Line"; TotalPurchaseLineLCY: Record "Purchase Line"; var ApprovalAmount: Decimal; var ApprovalAmountLCY: Decimal)(integration)OnAfterCheckCustomerApprovalsWorkflowEnabled(var Customer: Record Customer; var Result: Boolean)(integration)OnAfterCheckItemApprovalsWorkflowEnabled(var Item: Record Item; var Result: Boolean)+ BC28 (integration)OnAfterCheckSalesApprovalPossible(var SalesHeader: Record "Sales Header")(integration)- subscribers: Codeunit 2678 “Sales Alloc. Acc. Mgt.” HandleAfterCheckSalesApprovalPossible
OnAfterCheckPurchaseApprovalPossible(var PurchaseHeader: Record "Purchase Header")(integration)- subscribers: Codeunit 2679 “Purchase Alloc. Acc. Mgt.” HandleAfterCheckSalesApprovalPossible
OnAfterCreateApprReqForApprTypeWorkflowUserGroup(WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry")(integration)OnAfterCreateApprReqForApprTypeSalespersPurchaser(WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry")(integration)OnAfterCreateApprReqForApprTypeApprover(WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry")(integration)OnAfterIsSufficientApprover(UserSetup: Record "User Setup"; ApprovalEntryArgument: Record "Approval Entry"; var IsSufficient: Boolean; var IsHandled: Boolean)(integration)OnAfterDelegateApprovalRequest(var ApprovalEntry: Record "Approval Entry")(integration)OnAfterFindUserSetupBySalesPurchCode(var UserSetup: Record "User Setup"; ApprovalEntry: Record "Approval Entry")(integration)OnAfterPopulateApprovalEntryArgument(WorkflowStepInstance: Record "Workflow Step Instance"; var ApprovalEntryArgument: Record "Approval Entry"; var IsHandled: Boolean; var RecRef: RecordRef)(integration)OnAfterRejectSelectedApprovalRequest(var ApprovalEntry: Record "Approval Entry")(integration)OnBeforeApprovalEntryInsert(var ApprovalEntry: Record "Approval Entry"; ApprovalEntryArgument: Record "Approval Entry"; WorkflowStepArgument: Record "Workflow Step Argument"; ApproverId: Code[50]; var IsHandled: Boolean)(integration)OnBeforeCheckPurchaseApprovalPossible(var PurchaseHeader: Record "Purchase Header"; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeCreateApprovalRequests(RecRef: RecordRef; WorkflowStepInstance: Record "Workflow Step Instance"; var IsHandled: Boolean)(integration)OnBeforeCreateApprovalRequestForUser(WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnBeforeCreateApprovalRequestForApproverChain(WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry"; SufficientApproverOnly: Boolean; var IsHandled: Boolean)(integration)OnBeforeCreateApprovalEntryNotification(ApprovalEntry: Record "Approval Entry"; var IsHandled: Boolean; WorkflowStepInstance: Record "Workflow Step Instance")(integration)OnBeforeCreateApprReqForApprTypeWorkflowUserGroup(var WorkflowUserGroupMember: Record "Workflow User Group Member"; WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntry: Record "Approval Entry"; SequenceNo: Integer; var IsHandled: Boolean)(integration)OnBeforeDelegateApprovalRequests(var ApprovalEntry: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnBeforeCheckUserAsApprovalAdministrator(ApprovalEntry: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnBeforeHasOpenApprovalEntries(RecordID: RecordID; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeMakeApprovalEntry(var ApprovalEntry: Record "Approval Entry"; ApprovalEntryArgument: Record "Approval Entry"; WorkflowStepArgument: Record "Workflow Step Argument"; ApproverId: Code[50]; var IsHandled: Boolean)(integration)OnBeforePopulateApprovalEntryArgument(WorkflowStepInstance: Record "Workflow Step Instance"; var ApprovalEntryArgument: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnBeforePrePostApprovalCheckPurch(var PurchaseHeader: Record "Purchase Header"; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforePrePostApprovalCheckSales(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean; var Result: Boolean)(integration)OnBeforeRunWorkflowEntriesPage(RecordIDInput: RecordID; TableId: Integer; DocumentType: Enum "Approval Document Type"; DocumentNo: Code[20]; var IsHandled: Boolean)(integration)OnBeforeSetStatusToPendingApproval(var Variant: Variant)(integration)OnBeforeSetApproverType(WorkflowStepArgument: Record "Workflow Step Argument"; var ApprovalEntry: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnBeforeShowPurchApprovalStatus(var PurchaseHeader: Record "Purchase Header"; var IsHandled: Boolean)(integration)OnBeforeShowSalesApprovalStatus(var SalesHeader: Record "Sales Header"; var IsHandled: Boolean)(integration)OnBeforeIsGeneralJournalBatchApprovalsWorkflowEnabled(var GenJournalBatch: Record "Gen. Journal Batch"; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeIsGeneralJournalLineApprovalsWorkflowEnabled(var GenJournalLine: Record "Gen. Journal Line"; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeIsItemJournalBatchApprovalsWorkflowEnabled(var ItemJournalBatch: Record "Item Journal Batch"; var Result: Boolean; var IsHandled: Boolean)+ BC28 (integration)OnBeforeIsRequisitionWkshBatchApprovalsWorkflowEnabled(var RequisitionWkshName: Record "Requisition Wksh. Name"; var Result: Boolean; var IsHandled: Boolean)+ BC28 (integration)OnBeforeIsPurchaseApprovalsWorkflowEnabled(var PurchaseHeader: Record "Purchase Header"; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeIsSufficientApprover(var UserSetup: Record "User Setup"; ApprovalEntry: Record "Approval Entry")(integration)OnBeforeIsSufficientSalesApprover(UserSetup: Record "User Setup"; DocumentType: Enum "Sales Document Type"; ApprovalAmountLCY: Decimal; var IsSufficient: Boolean; var IsHandled: Boolean)(integration)OnBeforeIsSufficientPurchApprover(UserSetup: Record "User Setup"; DocumentType: Enum "Purchase Document Type"; var ApprovalAmountLCY: Decimal; var IsSufficient: Boolean; var IsHandled: Boolean)(integration)OnBeforeRejectApprovalRequestsForRecord(RecRef: RecordRef; WorkflowStepInstance: Record "Workflow Step Instance"; var IsHandled: Boolean)(integration)OnBeforeSendApprovalRequestFromApprovalEntry(ApprovalEntry: Record "Approval Entry"; WorkflowStepInstance: Record "Workflow Step Instance"; var IsHandled: Boolean)(integration)OnBeforeSetCommonApprovalCommentLineFilters(var RecRef: RecordRef; var ApprovalCommentLine: Record "Approval Comment Line"; var IsHandle: Boolean)(integration)OnBeforeShowCommonApprovalStatus(var RecRef: RecordRef; var IsHandle: Boolean)(integration)OnBeforeSubstituteUserIdForApprovalEntry(var ApprovalEntry: Record "Approval Entry"; var IsHandle: Boolean)(integration)OnBeforeRunApprovalCommentsPage(var ApprovalCommentLine: Record "Approval Comment Line"; WorkflowStepInstanceID: Guid; var IsHandle: Boolean)(integration)OnBeforeTrySendJournalLineApprovalRequests(var GenJournalLine: Record "Gen. Journal Line")(integration)OnCancelApprovalRequestsForRecordOnAfterCreateApprovalEntryNotification(var ApprovalEntry: Record "Approval Entry"; WorkflowStepInstance: Record "Workflow Step Instance"; OldStatus: Enum "Approval Status")(integration)OnCancelApprovalRequestsForRecordOnAfterSetApprovalEntryFilters(var ApprovalEntry: Record "Approval Entry"; RecRef: RecordRef)(integration)OnCreateApprovalRequestForApproverOnAfterCheckUserSetupUserID(var UserSetup: Record "User Setup"; WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry"; var IsUserAllowedToAproveIfNoApprovalUserExists: Boolean)+ BC26 − BC26 (integration)OnCreateApprReqForApprTypeWorkflowUserGroupOnBeforeMakeApprovalEntry(var WorkflowUserGroupMember: Record "Workflow User Group Member"; var ApprovalEntryArgument: Record "Approval Entry"; WorkflowStepArgument: Record "Workflow Step Argument"; var ApproverId: Code[50]; var IsHandled: Boolean)(integration)OnCreateApprovalRequestForApproverChainOnAfterCheckApprovalEntrySenderID(var UserSetup: Record "User Setup"; WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnCreateApprovalRequestForApproverChainOnAfterCheckUserSetupSenderID(var UserSetup: Record "User Setup"; WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry")(integration)OnCreateApprovalRequestForApproverChainOnBeforeCheckApproverId(var UserSetup: Record "User Setup"; WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnCreateApprovalRequestForApproverChainOnAfterSetApprovalEntryFilters(var ApprovalEntry: Record "Approval Entry"; ApprovalEntryArgument: Record "Approval Entry")(integration)OnCheckPurchaseApprovalPossibleOnAfterCalcShowNothingToApproveError(var PurchaseHeader: Record "Purchase Header"; var ShowNothingToApproveError: Boolean)(integration)OnBeforeDelegateSelectedApprovalRequest(var ApprovalEntry: Record "Approval Entry"; var CheckCurrentUser: Boolean; var IsHandled: Boolean)(integration)OnDelegateSelectedApprovalRequestOnBeforeSubstituteUserIdForApprovalEntry(var ApprovalEntry: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnDeleteApprovalEntriesOnAfterApprovalEntrySetFilters(var ApprovalEntry: Record "Approval Entry")(integration)OnIsSufficientGenJournalLineApproverOnAfterRecRefSetTable(UserSetup: Record "User Setup"; ApprovalEntryArgument: Record "Approval Entry"; GenJournalLine: Record "Gen. Journal Line"; var Result: Boolean; var IsHandled: Boolean)(integration)OnFindOpenApprovalEntryForCurrUserOnAfterApprovalEntrySetFilters(var ApprovalEntry: Record "Approval Entry")(integration)OnGetLastSequenceNoOnAfterSetApprovalEntryFilters(var ApprovalEntry: Record "Approval Entry"; ApprovalEntryArgument: Record "Approval Entry")(integration)OnHasAnyOpenJournalLineApprovalEntriesOnAfterApprovalEntrySetFilters(var ApprovalEntry: Record "Approval Entry")(integration)OnHasPendingApprovalEntriesForWorkflowOnAfterApprovalEntrySetFilters(var ApprovalEntry: Record "Approval Entry")(integration)OnHasOpenApprovalEntriesOnAfterApprovalEntrySetFilters(var ApprovalEntry: Record "Approval Entry")(integration)OnPostApprovalEntriesOnBeforePostedApprovalEntryInsert(var PostedApprovalEntry: Record "Posted Approval Entry"; ApprovalEntry: Record "Approval Entry")(integration)OnPostApprovalCommentLinesOnBeforePostedApprovalCommentLineInsert(var PostedApprovalCommentLine: Record "Posted Approval Comment Line"; ApprovalCommentLine: Record "Approval Comment Line")(integration)OnRejectApprovalRequestsForRecordOnAfterCreateApprovalEntryNotification(var ApprovalEntry: Record "Approval Entry"; WorkflowStepInstance: Record "Workflow Step Instance"; OldStatus: Enum "Approval Status")(integration)OnRejectApprovalRequestsForRecordOnAfterSetApprovalEntryFilters(var ApprovalEntry: Record "Approval Entry"; WorkflowStepInstance: Record "Workflow Step Instance"; RecRef: RecordRef)+ BC27 − BC27 (integration)OnRejectApprovalRequestsForRecordOnBeforeApprovalEntryToUpdateModify(var ApprovalEntry: Record "Approval Entry")(integration)OnSendApprovalRequestFromRecordOnAfterSetApprovalEntryFilters(var ApprovalEntry: Record "Approval Entry"; RecRef: RecordRef; var IsHandled: Boolean; WorkflowStepInstance: Record "Workflow Step Instance")(integration)OnSendApprovalRequestFromApprovalEntryOnAfterSetApprovalEntry2Filters(var ApprovalEntry2: Record "Approval Entry"; ApprovalEntry: Record "Approval Entry")(integration)OnSetStatusToPendingApproval(RecRef: RecordRef; var Variant: Variant; var IsHandled: Boolean)(integration)OnShowApprovalCommentsOnAfterSetApprovalCommentLineFilters(var ApprovalCommentLine: Record "Approval Comment Line"; ApprovalEntry: Record "Approval Entry"; RecRef: RecordRef)(integration)OnSubstituteUserIdForApprovalEntryOnAfterCheckUserSetupApprovalEntryApproverID(var UserSetup: Record "User Setup"; ApprovalEntry: Record "Approval Entry")(integration)OnSubstituteUserIdForApprovalEntryOnBeforeAssignApproverID(ApprovalEntry: Record "Approval Entry"; var UserSetup: Record "User Setup")(integration)OnTrySendJournalLineApprovalRequestsOnBeforeLoopIteration(var GenJournalLine: Record "Gen. Journal Line")(integration)OnAfterSetLimitType(WorkflowStepArgument: Record "Workflow Step Argument"; var ApprovalEntry: Record "Approval Entry")(integration)OnAfterSetApproverType(WorkflowStepArgument: Record "Workflow Step Argument"; var ApprovalEntry: Record "Approval Entry")(integration)OnBeforeCheckStatus(var ApprovalEntry: Record "Approval Entry"; ApprovalAction: Enum "Approval Action"; var IsHandled: Boolean)(integration)OnCreateApprovalRequestsOnElseCase(WorkflowStepArgument: Record "Workflow Step Argument"; var ApprovalEntryArgument: Record "Approval Entry")(integration)OnCreateApprovalRequestsOnAfterCreateRequests(RecRef: RecordRef; WorkflowStepArgument: Record "Workflow Step Argument"; var ApprovalEntryArgument: Record "Approval Entry")(integration)OnApproveApprovalRequestsForRecordOnBeforeApprovalEntryToUpdateModify(var ApprovalEntryToUpdate: Record "Approval Entry")(integration)OnBeforeApproveSelectedApprovalRequest(var ApprovalEntry: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnBeforeRejectApprovalRequests(var ApprovalEntry: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnBeforeApproveApprovalRequests(var ApprovalEntry: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnBeforeCheckSalesApprovalPossible(var SalesHeader: Record "Sales Header"; var Result: Boolean; var IsHandled: Boolean)(integration)OnBeforeFindUserSetupBySalesPurchCode(var UserSetup: Record "User Setup"; ApprovalEntryArgument: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnBeforeCreateApprovalRequestForSalespersPurchaser(WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnHasOpenApprovalEntriesForCurrentUserOnAfterSetApprovalEntryFilters(var ApprovalEntry: Record "Approval Entry")(integration)OnBeforeRejectSelectedApprovalRequest(var ApprovalEntry: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnAfterDelegateSelectedApprovalRequest(var ApprovalEntry: Record "Approval Entry")(integration)OnPostApprovalEntriesOnAfterApprovalEntrySetFilters(var ApprovalEntry: Record "Approval Entry"; TableNo: Integer)(integration)OnPostApprovalCommentLinesOnAfterApprovalCommentLineSetFilters(var ApprovalCommentLine: Record "Approval Comment Line"; TableNo: Integer)(integration)OnDeleteApprovalCommentLinesOnAfterApprovalCommentLineSetFilters(var ApprovalCommentLine: Record "Approval Comment Line")(integration)OnHasOpenApprovalEntriesForCurrentUserOnAfterSetApprovalEntrySetFilters(var ApprovalEntry: Record "Approval Entry")(integration)OnAfterCreateApprovalRequestForApproverChain(var ApprovalEntryArgument: Record "Approval Entry"; var ApproverId: Code[50]; var WorkflowStepArgument: Record "Workflow Step Argument"; var UserSetup: Record "User Setup"; var SufficientApproverOnly: Boolean)(integration)OnSendApprovalRequestFromRecordOnBeforeFindApprovedApprovalEntryForWorkflowUserGroup(ApprovalEntry: Record "Approval Entry"; var IsHandled: Boolean)(integration)OnAfterCreateApprovalEntryNotification(var ApprovalEntryArgument: Record "Approval Entry"; var WorkflowStepArgument: Record "Workflow Step Argument")(integration)OnFindApprovalEntryForCurrUserOnAfterApprovalEntrySetFilters(var ApprovalEntry: Record "Approval Entry")(integration)OnBeforeSendJournalLinesApprovalRequests(var GenJournalLine: Record "Gen. Journal Line")(integration)OnCalcPurchaseDocAmountOnAfterPurchPostGetPurchLines(var TempPurchaseLine: Record "Purchase Line" temporary)+ BC24 (integration)OnAfterCalcSalesDocAmount(SalesHeader: Record "Sales Header"; TotalSalesLine: Record "Sales Line"; TotalSalesLineLCY: Record "Sales Line"; var ApprovalAmount: Decimal; var ApprovalAmountLCY: Decimal)+ BC24 (integration)OnPreventDeletingRecordWithOpenApprovalEntryElseCase(RecRef: RecordRef; Variant: Variant)+ BC27 (integration)- subscribers: Codeunit 6279 “Sust. Approvals Mgmt.” OnPreventDeletingRecordWithOpenApprovalEntryElseCase
OnPreventInsertRecIfOpenApprovalEntryExistElseCase(RecRef: RecordRef; Variant: Variant)+ BC27 (integration)- subscribers: Codeunit 6279 “Sust. Approvals Mgmt.” OnPreventInsertRecIfOpenApprovalEntryExistElseCase
OnFindOpenApprovalEntriesForWorkflowStepInstanceOnAfterSetApprovalEntry2Filters(var ApprovalEntry2: Record "Approval Entry"; ApprovalEntry: Record "Approval Entry"; WorkflowStepInstanceRecID: RecordId)+ BC27 (integration)OnSufficientApproverElseCase(UserSetup: Record "User Setup"; ApprovalEntryArgument: Record "Approval Entry"; var IsSufficient: Boolean)+ BC28 (integration)
Event subscriptions
- PostApprovalEntriesMoveGenJournalLine subscribes to Codeunit “Gen. Jnl.-Post Line” OnMoveGenJournalLine
- DeleteApprovalEntriesAfterDeleteGenJournalLine subscribes to Table “Gen. Journal Line” OnAfterDeleteEvent
- PostApprovalEntriesMoveGenJournalBatch subscribes to Table “Gen. Journal Batch” OnMoveGenJournalBatch
- DeleteApprovalEntriesAfterDeleteGenJournalBatch subscribes to Table “Gen. Journal Batch” OnAfterDeleteEvent
- DeleteApprovalEntriesAfterDeleteItemJournalBatch subscribes to Table “Item Journal Batch” OnAfterDeleteEvent
- PostApprovalEntriesMoveItemJournalBatch subscribes to Table “Item Journal Batch” OnMoveItemJournalBatch
- PostApprovalEntriesMoveRequisitionWkshBatch subscribes to Table “Requisition Wksh. Name” OnMoveRequisitionWkshBatch
- DeleteApprovalEntriesAfterDeleteRequisitionWkshName subscribes to Table “Requisition Wksh. Name” OnAfterDeleteEvent
- DeleteApprovalEntriesAfterDeleteCustomer subscribes to Table “Customer” OnAfterDeleteEvent
- DeleteApprovalEntriesAfterDeleteVendor subscribes to Table “Vendor” OnAfterDeleteEvent
- DeleteApprovalEntriesAfterDeleteVendorBankAccount subscribes to Table “Vendor Bank Account” OnAfterDeleteEvent
- DeleteApprovalEntriesAfterDeleteItem subscribes to Table “Item” OnAfterDeleteEvent
- RenameApprovalEntries subscribes to Codeunit “Approvals Mgmt.” OnRenameRecordInApprovalRequest
- DeleteApprovalEntries subscribes to Codeunit “Approvals Mgmt.” OnDeleteRecordInApprovalRequest
- SkipScheduleTaskIfWorkflowEnabledOnBeforeScheduleTask subscribes to Table “Job Queue Entry” OnBeforeScheduleTask
Procedures
ApproveRecordApprovalRequest(RecordID: RecordID)ApproveGenJournalLineRequest(GenJournalLine: Record "Gen. Journal Line")ApproveItemJournalRequest(ItemJournalLine: Record "Item Journal Line")+ BC28ApproveRequisitionWkshRequest(RequisitionLine: Record "Requisition Line")+ BC28RejectRecordApprovalRequest(RecordID: RecordID)RejectGenJournalLineRequest(GenJournalLine: Record "Gen. Journal Line")RejectItemJournalRequest(ItemJournalLine: Record "Item Journal Line")+ BC28RejectRequisitionWkshRequest(RequisitionLine: Record "Requisition Line")+ BC28DelegateRecordApprovalRequest(RecordID: RecordID)DelegateGenJournalLineRequest(GenJournalLine: Record "Gen. Journal Line")DelegateItemJournalRequest(ItemJournalLine: Record "Item Journal Line")+ BC28DelegateRequisitionWkshRequest(RequisitionLine: Record "Requisition Line")+ BC28ApproveApprovalRequests(var ApprovalEntry: Record "Approval Entry")RejectApprovalRequests(var ApprovalEntry: Record "Approval Entry")DelegateApprovalRequests(var ApprovalEntry: Record "Approval Entry")DelegateSelectedApprovalRequest(var ApprovalEntry: Record "Approval Entry"; CheckCurrentUser: Boolean)FindOpenApprovalEntryForCurrUser(var ApprovalEntry: Record "Approval Entry"; RecordID: RecordID): BooleanFindApprovalEntryForCurrUser(var ApprovalEntry: Record "Approval Entry"; RecordID: RecordID): BooleanFindLastApprovalEntryForCurrUser(var ApprovalEntry: Record "Approval Entry"; RecordID: RecordID): Boolean+ BC24FindApprovalEntryByRecordId(var ApprovalEntry: Record "Approval Entry"; RecordID: RecordID): BooleanApproveApprovalRequestsForRecord(RecRef: RecordRef; WorkflowStepInstance: Record "Workflow Step Instance")CancelApprovalRequestsForRecord(RecRef: RecordRef; WorkflowStepInstance: Record "Workflow Step Instance")RejectApprovalRequestsForRecord(RecRef: RecordRef; WorkflowStepInstance: Record "Workflow Step Instance")SendApprovalRequestFromRecord(RecRef: RecordRef; WorkflowStepInstance: Record "Workflow Step Instance")SendApprovalRequestFromApprovalEntry(ApprovalEntry: Record "Approval Entry"; WorkflowStepInstance: Record "Workflow Step Instance")CreateApprovalRequests(RecRef: RecordRef; WorkflowStepInstance: Record "Workflow Step Instance")CreateAndAutomaticallyApproveRequest(RecRef: RecordRef; WorkflowStepInstance: Record "Workflow Step Instance")CreateApprovalRequestForChainOfApprovers(WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry")CreateApprovalRequestForApproverWithSufficientLimit(WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry")CreateApprovalRequestForUser(WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry")CreateApprovalRequestForSpecificUser(WorkflowStepArgument: Record "Workflow Step Argument"; ApprovalEntryArgument: Record "Approval Entry")MakeApprovalEntry(ApprovalEntryArgument: Record "Approval Entry"; SequenceNo: Integer; ApproverId: Code[50]; WorkflowStepArgument: Record "Workflow Step Argument")CalcPurchaseDocAmount(PurchaseHeader: Record "Purchase Header"; var ApprovalAmount: Decimal; var ApprovalAmountLCY: Decimal)CalcSalesDocAmount(SalesHeader: Record "Sales Header"; var ApprovalAmount: Decimal; var ApprovalAmountLCY: Decimal)PopulateApprovalEntryArgument(RecRef: RecordRef; WorkflowStepInstance: Record "Workflow Step Instance"; var ApprovalEntryArgument: Record "Approval Entry")CreateApprovalEntryNotification(ApprovalEntry: Record "Approval Entry"; WorkflowStepInstance: Record "Workflow Step Instance")IsSufficientApprover(UserSetup: Record "User Setup"; ApprovalEntryArgument: Record "Approval Entry"): BooleanPrePostApprovalCheckSales(var SalesHeader: Record "Sales Header"): BooleanPrePostApprovalCheckPurch(var PurchaseHeader: Record "Purchase Header"): BooleanIsIncomingDocApprovalsWorkflowEnabled(var IncomingDocument: Record "Incoming Document"): BooleanIsPurchaseApprovalsWorkflowEnabled(var PurchaseHeader: Record "Purchase Header"): BooleanIsPurchaseHeaderPendingApproval(var PurchaseHeader: Record "Purchase Header"): BooleanIsSalesApprovalsWorkflowEnabled(var SalesHeader: Record "Sales Header"): BooleanIsSalesHeaderPendingApproval(var SalesHeader: Record "Sales Header"): BooleanIsOverdueNotificationsWorkflowEnabled(): BooleanIsVendorBankApprovalsWorkflowEnabled(var VendorBankAccount: Record "Vendor Bank Account"): Boolean+ BC29IsGeneralJournalBatchApprovalsWorkflowEnabled(var GenJournalBatch: Record "Gen. Journal Batch"): BooleanIsGeneralJournalLineApprovalsWorkflowEnabled(var GenJournalLine: Record "Gen. Journal Line"): BooleanIsItemJournalBatchApprovalsWorkflowEnabled(var ItemJournalBatch: Record "Item Journal Batch"): Boolean+ BC28IsRequisitionWkshBatchApprovalsWorkflowEnabled(var RequisitionWkshName: Record "Requisition Wksh. Name"): Boolean+ BC28CheckPurchaseApprovalPossible(var PurchaseHeader: Record "Purchase Header"): BooleanCheckIncomingDocApprovalsWorkflowEnabled(var IncomingDocument: Record "Incoming Document"): BooleanCheckSalesApprovalPossible(var SalesHeader: Record "Sales Header"): BooleanCheckCustomerApprovalsWorkflowEnabled(var Customer: Record Customer): BooleanCheckVendorApprovalsWorkflowEnabled(var Vendor: Record Vendor): BooleanCheckVendorBankAccountApprovalsWorkflowEnabled(var VendorBankAccount: Record "Vendor Bank Account"): Boolean+ BC29CheckItemApprovalsWorkflowEnabled(var Item: Record Item): BooleanCheckGeneralJournalBatchApprovalsWorkflowEnabled(var GenJournalBatch: Record "Gen. Journal Batch"): BooleanCheckGeneralJournalLineApprovalsWorkflowEnabled(var GenJournalLine: Record "Gen. Journal Line"): BooleanCheckItemJournalBatchApprovalsWorkflowEnabled(var ItemJournalBatch: Record "Item Journal Batch"): Boolean+ BC28CheckRequisitionWkshBatchApprovalsWorkflowEnabled(var RequisitionWkshName: Record "Requisition Wksh. Name"): Boolean+ BC28CheckJobQueueEntryApprovalEnabled(): BooleanDeleteApprovalEntry(Variant: Variant)PostApprovalEntries(ApprovedRecordID: RecordID; PostedRecordID: RecordID; PostedDocNo: Code[20]): BooleanShowPostedApprovalEntries(PostedRecordID: RecordID)DeletePostedApprovalEntries(PostedRecordID: RecordID)SetStatusToPendingApproval(var Variant: Variant)InformUserOnStatusChange(Variant: Variant; WorkflowInstanceId: Guid)GetApprovalComment(Variant: Variant)GetApprovalCommentForWorkflowStepInstanceID(Variant: Variant; WorkflowStepInstanceID: Guid)HasOpenApprovalEntriesForCurrentUser(RecordID: RecordID): BooleanHasOpenApprovalEntries(RecordID: RecordID): BooleanHasOpenOrPendingApprovalEntries(RecordID: RecordID): BooleanHasOpenOrPendingApprovalEntriesForCurrentUser(RecordID: RecordID): BooleanHasApprovedApprovalEntries(RecordID: RecordID): BooleanHasApprovalEntries(RecordID: RecordID): BooleanHasAnyOpenJournalLineApprovalEntries(JournalTemplateName: Code[20]; JournalBatchName: Code[20]): BooleanTrySendJournalBatchApprovalRequest(var GenJournalLine: Record "Gen. Journal Line")+ BC28TrySendJournalLineApprovalRequests(var GenJournalLine: Record "Gen. Journal Line")TryCancelJournalBatchApprovalRequest(var GenJournalLine: Record "Gen. Journal Line")+ BC28TryCancelJournalLineApprovalRequests(var GenJournalLine: Record "Gen. Journal Line")ShowJournalApprovalEntries(var GenJournalLine: Record "Gen. Journal Line")+ BC28TrySendJournalBatchApprovalRequest(var ItemJournalLine: Record "Item Journal Line")+ BC28TryCancelJournalBatchApprovalRequest(var ItemJournalLine: Record "Item Journal Line")+ BC28ShowJournalApprovalEntries(var ItemJournalLine: Record "Item Journal Line")+ BC28TrySendWorksheetBatchApprovalRequest(var RequisitionLine: Record "Requisition Line")+ BC28TryCancelWorksheetBatchApprovalRequest(var RequisitionLine: Record "Requisition Line")+ BC28ShowWorksheetApprovalEntries(var RequisitionLine: Record "Requisition Line")+ BC28DeleteApprovalCommentLines(RecordIDToApprove: RecordID)CopyApprovalEntryQuoteToOrder(FromRecID: RecordID; ToDocNo: Code[20]; ToRecID: RecordID)GetLastSequenceNo(ApprovalEntryArgument: Record "Approval Entry"): IntegerOpenApprovalEntriesPage(RecId: RecordID)OpenApprovalsSales(SalesHeader: Record "Sales Header")OpenApprovalsPurchase(PurchHeader: Record "Purchase Header")RunWorkflowEntriesPage(RecordIDInput: RecordID; TableId: Integer; DocumentType: Enum "Approval Document Type"; DocumentNo: Code[20])CanCancelApprovalForRecord(RecID: RecordID): BooleanHasApprovalEntriesSentByCurrentUser(RecordId: RecordId): BooleanPreventDeletingRecordWithOpenApprovalEntry(Variant: Variant)PreventInsertRecIfOpenApprovalEntryExist(Variant: Variant)PreventModifyRecIfOpenApprovalEntryExist(Variant: Variant)+ BC28 (internal)PreventModifyRecIfOpenApprovalEntryExistForCurrentUser(Variant: Variant)ShowApprovalCommentLinesForJournal(ErrInfo: ErrorInfo)RejectApprovalRequest(ErrInfo: ErrorInfo)SendJournalLinesApprovalRequests(var GenJournalLine: Record "Gen. Journal Line")GetGenJnlBatchApprovalStatus(GenJournalLine: Record "Gen. Journal Line"; var GenJnlBatchApprovalStatus: Text[20]; EnabledGenJnlBatchWorkflowsExist: Boolean)GetGenJnlLineApprovalStatus(GenJournalLine: Record "Gen. Journal Line"; var GenJnlLineApprovalStatus: Text[20]; EnabledGenJnlLineWorkflowsExist: Boolean)GetItemJnlBatchApprovalStatus(ItemJournalLine: Record "Item Journal Line"; var ItemJnlBatchApprovalStatus: Text[20]; EnabledItemJnlBatchWorkflowsExist: Boolean)+ BC28GetRequisitionWkshBatchApprovalStatus(RequisitionLine: Record "Requisition Line"; var ReqWkshBatchApprovalStatus: Text[20]; EnabledReqWkshBatchWorkflowsExist: Boolean)+ BC28SendForApproval(var JobQueueEntry: Record "Job Queue Entry")+ BC27 (internal)CleanGenJournalApprovalStatus(GenJournalLine: Record "Gen. Journal Line"; var GenJnlBatchApprovalStatus: Text[20]; var GenJnlLineApprovalStatus: Text[20])CleanItemJournalApprovalStatus(ItemJournalLine: Record "Item Journal Line"; var ItemJnlBatchApprovalStatus: Text[20])+ BC28 (internal)CleanRequisitionWkshApprovalStatus(RequisitionLine: Record "Requisition Line"; var ReqWkshBatchApprovalStatus: Text[20])+ BC28 (internal)
Plus 44 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 1501 “Workflow Management” (23 calls:
CheckCustomerApprovalsWorkflowEnabled → CanExecuteWorkflow,CheckCustomerApprovalsWorkflowEnabled → EnabledWorkflowExist,CheckGeneralJournalBatchApprovalsWorkflowEnabled → CanExecuteWorkflow, …) - Codeunit 1520 “Workflow Event Handling” (22 calls:
CheckCustomerApprovalsWorkflowEnabled → RunWorkflowOnCustomerChangedCode,CheckCustomerApprovalsWorkflowEnabled → RunWorkflowOnSendCustomerForApprovalCode,CheckGeneralJournalBatchApprovalsWorkflowEnabled → RunWorkflowOnSendGeneralJournalBatchForApprovalCode, …) - Codeunit 1543 “Workflow Webhook Management” (7 calls:
PreventDeletingRecordWithOpenApprovalEntry → HasPendingWorkflowWebhookEntryByRecordId,PreventInsertRecIfOpenApprovalEntryExist → HasPendingWorkflowWebhookEntryByRecordId,PreventModifyRecIfOpenApprovalEntryExist → HasPendingWorkflowWebhookEntryByRecordId, …) - Codeunit 1550 “Record Restriction Mgt.” (3 calls:
PostApprovalEntriesMoveGenJournalBatch → AllowRecordUsage,PostApprovalEntriesMoveItemJournalBatch → AllowRecordUsage,PostApprovalEntriesMoveRequisitionWkshBatch → AllowRecordUsage) - Codeunit 27 “Confirm Management” (3 calls:
PreventDeletingRecordWithOpenApprovalEntry → GetResponseOrDefault,PreventInsertRecIfOpenApprovalEntryExist → GetResponseOrDefault,PreventModifyRecIfOpenApprovalEntryExist → GetResponseOrDefault) - Page 658 “Approval Entries” (3 calls:
OpenApprovalEntriesPage → (object),ShowJournalApprovalEntries → (object),ShowWorksheetApprovalEntries → (object)) - Codeunit 500 “Enum Assignment Management” (2 calls:
PopulateApprovalEntryArgument → GetPurchApprovalDocumentType,PopulateApprovalEntryArgument → GetSalesApprovalDocumentType) - Codeunit 80 “Sales-Post” (2 calls:
CalcSalesDocAmount → GetSalesLines,CalcSalesDocAmount → SumSalesLinesTemp) - Codeunit 8703 “Feature Telemetry” (2 calls:
SendForApproval → LogError,SendForApproval → LogUsage) - Codeunit 90 “Purch.-Post” (2 calls:
CalcPurchaseDocAmount → GetPurchLines,CalcPurchaseDocAmount → SumPurchLinesTemp) - Codeunit 1380 “Batch Processing Mgt.” (1 call:
SendJournalLinesApprovalRequests → BatchProcess) - Codeunit 1521 “Workflow Response Handling” (1 call:
FindApprovedApprovalEntryForWorkflowUserGroup → CreateApprovalRequestsCode) - Codeunit 4030 “Client Type Management” (1 call:
IsBackground → GetCurrentClientType) - Codeunit 447 “Record Link Management” (1 call:
PostApprovalEntries → CopyLinks) - Page 659 “Posted Approval Entries” (1 call:
ShowPostedApprovalEntries → (object))
Called by
- Codeunit 6279 “Sust. Approvals Mgmt.” (17 calls:
ApproveSustJournalLineRequest → ApproveRecordApprovalRequest,ApproveSustJournalLineRequest → FindOpenApprovalEntryForCurrUser,CleanSustJournalApprovalStatus → FindApprovalEntryByRecordId, …) - Page 255 “Cash Receipt Journal” (11 calls:
CheckOpenApprovalEntries → HasAnyOpenJournalLineApprovalEntries,CheckOpenApprovalEntries → HasOpenApprovalEntries,CheckOpenApprovalEntries → HasOpenApprovalEntriesForCurrentUser, …) - Page 256 “Payment Journal” (11 calls:
CheckOpenApprovalEntries → HasAnyOpenJournalLineApprovalEntries,CheckOpenApprovalEntries → HasOpenApprovalEntries,CheckOpenApprovalEntries → HasOpenApprovalEntriesForCurrentUser, …) - Page 39 “General Journal” (11 calls:
OnAfterGetCurrRecord → GetGenJnlBatchApprovalStatus,OnAfterGetRecord → GetGenJnlLineApprovalStatus,OnModifyRecord → CleanGenJournalApprovalStatus, …) - Codeunit 1521 “Workflow Response Handling” (9 calls:
ApproveAllApprovalRequests → ApproveApprovalRequestsForRecord,CancelAllApprovalRequests → CancelApprovalRequestsForRecord,CreateAndApproveApprovalRequestAutomatically → CreateAndAutomaticallyApproveRequest, …) - Table 233 “Item Journal Batch” (7 calls:
OnDelete → PreventDeletingRecordWithOpenApprovalEntry,OnModify → PreventModifyRecIfOpenApprovalEntryExistForCurrentUser,OnRename → OnRenameRecordInApprovalRequest, …) - Table 245 “Requisition Wksh. Name” (7 calls:
OnDelete → PreventDeletingRecordWithOpenApprovalEntry,OnModify → PreventModifyRecIfOpenApprovalEntryExistForCurrentUser,OnRename → OnRenameRecordInApprovalRequest, …) - Codeunit 80 “Sales-Post” (6 calls:
DeleteApprovalEntries → DeleteApprovalEntries,InsertCrMemoHeader → PostApprovalEntries,InsertInvoiceHeader → PostApprovalEntries, …) - Codeunit 90 “Purch.-Post” (6 calls:
DeleteApprovalEntries → DeleteApprovalEntries,InsertCrMemoHeader → PostApprovalEntries,InsertInvoiceHeader → PostApprovalEntries, …) - Page 253 “Sales Journal” (6 calls:
OnAfterGetCurrRecord → GetGenJnlBatchApprovalStatus,OnAfterGetRecord → GetGenJnlLineApprovalStatus,OnModifyRecord → CleanGenJournalApprovalStatus, …) - Page 254 “Purchase Journal” (6 calls:
OnAfterGetCurrRecord → GetGenJnlBatchApprovalStatus,OnAfterGetRecord → GetGenJnlLineApprovalStatus,OnModifyRecord → CleanGenJournalApprovalStatus, …) - Table 81 “Gen. Journal Line” (6 calls:
CheckOpenApprovalEntryExistForCurrentUser → PreventModifyRecIfOpenApprovalEntryExistForCurrentUser,OnDelete → PreventDeletingRecordWithOpenApprovalEntry,OnInsert → PreventInsertRecIfOpenApprovalEntryExist, …) - Codeunit 1550 “Record Restriction Mgt.” (5 calls:
RestrictBankAccount → IsVendorBankApprovalsWorkflowEnabled,RestrictGenJournalLine → IsGeneralJournalBatchApprovalsWorkflowEnabled,RestrictGenJournalLine → IsGeneralJournalLineApprovalsWorkflowEnabled, …) - Table 36 “Sales Header” (5 calls:
ApprovedForPostingBatch → PrePostApprovalCheckSales,CheckSalesReleaseRestrictions → PrePostApprovalCheckSales,DeleteRecordInApprovalRequest → OnDeleteRecordInApprovalRequest, …) - Table 38 “Purchase Header” (5 calls:
ApprovedForPostingBatch → PrePostApprovalCheckPurch,CheckPurchaseReleaseRestrictions → PrePostApprovalCheckPurch,DeleteRecordInApprovalRequest → OnDeleteRecordInApprovalRequest, …) - Page 6219 “Sustainability Journal” (4 calls:
SetApprovalStateForBatch → CanCancelApprovalForRecord,SetApprovalStateForBatch → HasApprovalEntriesSentByCurrentUser,SetApprovalStateForBatch → HasOpenApprovalEntries, …) - Table 6214 “Sustainability Jnl. Line” (4 calls:
CheckOpenApprovalEntryExistForCurrentUser → PreventModifyRecIfOpenApprovalEntryExistForCurrentUser,OnDelete → PreventDeletingRecordWithOpenApprovalEntry,OnInsert → PreventInsertRecIfOpenApprovalEntryExist, …) - Table 83 “Item Journal Line” (4 calls:
OnDelete → PreventDeletingRecordWithOpenApprovalEntry,OnInsert → PreventInsertRecIfOpenApprovalEntryExist,PreventModifyRecIfOpenApprovalEntryExist → PreventModifyRecIfOpenApprovalEntryExist, …) - Page 189 “Incoming Document” (3 calls:
SetControlVisibility → CanCancelApprovalForRecord,SetControlVisibility → HasOpenApprovalEntries,SetControlVisibility → HasOpenApprovalEntriesForCurrentUser) - Page 21 “Customer Card” (3 calls:
OnAfterGetCurrRecordFunc → CanCancelApprovalForRecord,OnAfterGetCurrRecordFunc → HasOpenApprovalEntries,OnAfterGetCurrRecordFunc → HasOpenApprovalEntriesForCurrentUser) - Page 26 “Vendor Card” (3 calls:
OnAfterGetCurrRecordFunc → CanCancelApprovalForRecord,OnAfterGetCurrRecordFunc → HasOpenApprovalEntries,OnAfterGetCurrRecordFunc → HasOpenApprovalEntriesForCurrentUser) - Page 41 “Sales Quote” (3 calls:
SetControlAppearance → CanCancelApprovalForRecord,SetControlAppearance → HasOpenApprovalEntries,SetControlAppearance → HasOpenApprovalEntriesForCurrentUser) - Page 42 “Sales Order” (3 calls:
SetControlVisibility → CanCancelApprovalForRecord,SetControlVisibility → HasOpenApprovalEntries,SetControlVisibility → HasOpenApprovalEntriesForCurrentUser) - Page 425 “Vendor Bank Account Card” (3 calls:
OnAfterGetCurrRecord → CanCancelApprovalForRecord,OnAfterGetCurrRecord → HasOpenApprovalEntries,OnAfterGetCurrRecord → HasOpenApprovalEntriesForCurrentUser) - Page 43 “Sales Invoice” (3 calls:
SetControlAppearance → CanCancelApprovalForRecord,SetControlAppearance → HasOpenApprovalEntries,SetControlAppearance → HasOpenApprovalEntriesForCurrentUser) - Page 44 “Sales Credit Memo” (3 calls:
SetControlAppearance → CanCancelApprovalForRecord,SetControlAppearance → HasOpenApprovalEntries,SetControlAppearance → HasOpenApprovalEntriesForCurrentUser) - Page 49 “Purchase Quote” (3 calls:
SetControlAppearance → CanCancelApprovalForRecord,SetControlAppearance → HasOpenApprovalEntries,SetControlAppearance → HasOpenApprovalEntriesForCurrentUser) - Page 50 “Purchase Order” (3 calls:
SetControlAppearance → CanCancelApprovalForRecord,SetControlAppearance → HasOpenApprovalEntries,SetControlAppearance → HasOpenApprovalEntriesForCurrentUser) - Page 507 “Blanket Sales Order” (3 calls:
SetControlAppearance → CanCancelApprovalForRecord,SetControlAppearance → HasOpenApprovalEntries,SetControlAppearance → HasOpenApprovalEntriesForCurrentUser) - Page 509 “Blanket Purchase Order” (3 calls:
SetControlAppearance → CanCancelApprovalForRecord,SetControlAppearance → HasOpenApprovalEntries,SetControlAppearance → HasOpenApprovalEntriesForCurrentUser) - Page 51 “Purchase Invoice” (3 calls:
SetControlAppearance → CanCancelApprovalForRecord,SetControlAppearance → HasOpenApprovalEntries,SetControlAppearance → HasOpenApprovalEntriesForCurrentUser) - Page 52 “Purchase Credit Memo” (3 calls:
SetControlAppearance → CanCancelApprovalForRecord,SetControlAppearance → HasOpenApprovalEntries,SetControlAppearance → HasOpenApprovalEntriesForCurrentUser) - Page 610 “IC General Journal” (3 calls:
OnAfterGetCurrRecord → GetGenJnlBatchApprovalStatus,OnAfterGetRecord → GetGenJnlLineApprovalStatus,OnModifyRecord → CleanGenJournalApprovalStatus) - Page 6630 “Sales Return Order” (3 calls:
SetControlAppearance → CanCancelApprovalForRecord,SetControlAppearance → HasOpenApprovalEntries,SetControlAppearance → HasOpenApprovalEntriesForCurrentUser) - Page 6640 “Purchase Return Order” (3 calls:
SetControlAppearance → CanCancelApprovalForRecord,SetControlAppearance → HasOpenApprovalEntries,SetControlAppearance → HasOpenApprovalEntriesForCurrentUser) - Table 232 “Gen. Journal Batch” (3 calls:
OnDelete → PreventDeletingRecordWithOpenApprovalEntry,OnModify → PreventModifyRecIfOpenApprovalEntryExistForCurrentUser,OnRename → OnRenameRecordInApprovalRequest) - Table 246 “Requisition Line” (3 calls:
OnDelete → PreventDeletingRecordWithOpenApprovalEntry,OnInsert → PreventInsertRecIfOpenApprovalEntryExist,PreventModifyRecIfOpenApprovalEntryExist → PreventModifyRecIfOpenApprovalEntryExist) - Table 6213 “Sustainability Jnl. Batch” (3 calls:
OnDelete → PreventDeletingRecordWithOpenApprovalEntry,OnModify → PreventModifyRecIfOpenApprovalEntryExistForCurrentUser,OnRename → OnRenameRecordInApprovalRequest) - Codeunit 1536 “Approvals Journal Line Request” (2 calls:
OnRun → HasOpenApprovalEntries,OnRun → OnSendGeneralJournalLineForApproval) - Codeunit 1630 “Office Management” (2 calls:
SendApprovalRequest → CheckIncomingDocApprovalsWorkflowEnabled,SendApprovalRequest → OnSendIncomingDocForApproval) - Codeunit 5923 “Service-Quote to Order” (2 calls:
MakeOrder → CopyApprovalEntryQuoteToOrder,MakeOrder → DeleteApprovalEntries) - Codeunit 86 “Sales-Quote to Order” (2 calls:
CopyApprovalEntryQuoteToOrder → CopyApprovalEntryQuoteToOrder,OnRun → DeleteApprovalEntries) - Codeunit 96 “Purch.-Quote to Order” (2 calls:
OnRun → CopyApprovalEntryQuoteToOrder,OnRun → DeleteApprovalEntries) - Page 190 “Incoming Documents” (2 calls:
SetControlVisibility → CanCancelApprovalForRecord,SetControlVisibility → HasOpenApprovalEntries) - Page 22 “Customer List” (2 calls:
OnAfterGetCurrRecord → CanCancelApprovalForRecord,OnAfterGetCurrRecord → HasOpenApprovalEntries) - Page 27 “Vendor List” (2 calls:
OnAfterGetCurrRecord → CanCancelApprovalForRecord,OnAfterGetCurrRecord → HasOpenApprovalEntries) - Page 291 “Req. Worksheet” (2 calls:
OnAfterGetCurrRecord → GetRequisitionWkshBatchApprovalStatus,OnModifyRecord → CleanRequisitionWkshApprovalStatus) - Page 30 “Item Card” (2 calls:
OnAfterGetCurrRecordFunc → HasOpenApprovalEntries,OnAfterGetCurrRecordFunc → HasOpenApprovalEntriesForCurrentUser) - Page 31 “Item List” (2 calls:
OnAfterGetCurrRecord → CanCancelApprovalForRecord,OnAfterGetCurrRecord → HasOpenApprovalEntries) - Page 392 “Phys. Inventory Journal” (2 calls:
OnAfterGetCurrRecord → GetItemJnlBatchApprovalStatus,OnModifyRecord → CleanItemJournalApprovalStatus) - and 42 more: data/code/graph/29/calls.json
Recent changes
- 2026-09-23 #11664 Add OnBefore event for approval insertion checks (main, BC30, feature)
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "Approvals Mgmt."), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.