ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Codeunt 1535 Approvals Mgmt.

Open GaryFrostick opened this issue 8 years ago • 2 comments

New event called OnSetStatusToPendingApproval to be added to the end of the SetStatusToPendingApproval function as follows…

OLD CODE

ELSE ERROR(UnsupportedRecordTypeErr,RecRef.CAPTION);

NEW CODE…

ELSE BEGIN OnSetStatusToPendingApproval(Variant,RecRef,Handled); IF NOT Handled THEN ERROR(UnsupportedRecordTypeErr,RecRef.CAPTION); END;

This is to allow additional record types to be used with approvals.

For completeness it would also be useful also add events to IsSufficientApprover() and InformUserOnStatusChange() functions in the same codeunit to allow us to extend the CASE statement usage

GaryFrostick avatar Oct 22 '18 07:10 GaryFrostick

This is already done!

AlexanderYakunin avatar Oct 23 '18 16:10 AlexanderYakunin

Closing as per @AlexanderYakunin's reply.

JesperSchulz avatar Jan 16 '19 08:01 JesperSchulz