ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Event Request: OnAfterConfirmPost for Codeunit 5981 & 5982

Open chavansachin20 opened this issue 6 years ago • 4 comments

Describe the bug As stated in AL/issues/2355 , "OnAfterConfirmPost" is available, but same like other OnAfterConfirmPost requesting here to have ServiceHeader as VAR

To Reproduce Steps and to reproduce the behavior:

  1. Go to 'VS code'
  2. Open AL : Find Event (Shift + Alt + E)
  3. Select Event > OnAfterConfirmPost for Codeunit::"Service-Post (Yes/No)"

AL Code to reproduce the issue image

Expected behavior Sharing current Event along with Expected Event details as below :

Current Event : [EventSubscriber(ObjectType::Codeunit, Codeunit::"Service-Post (Yes/No)", 'OnAfterConfirmPost', '', false, false)] procedure OnAfterConfirmPost(ServiceHeader: Record "Service Header"; Ship: Boolean; Consume: Boolean; Invoice: Boolean); begin message('Testing message'); end; Expected Event : [EventSubscriber(ObjectType::Codeunit, Codeunit::"Service-Post (Yes/No)", 'OnAfterConfirmPost', '', false, false)] procedure OnAfterConfirmPost(var ServiceHeader: Record "Service Header"; Ship: Boolean; Consume: Boolean; Invoice: Boolean); begin message('Testing message'); end;

Screenshots If applicable, add screenshots to help explain your problem. image

5. Versions:

  • AL Language: 5.0.219300
  • Business Central: Version: US Business Central 16.0 (Platform 15.0.39761.0 + Application 16.0.10855.0)

Thanks in Advance! Sachin Chavan

chavansachin20 avatar Mar 20 '20 09:03 chavansachin20

Hi! Welcome to our repository! Please take a minute to read the README and the FAQ for our repository. Have you considered posting this issue in the ALAppExtensions repository?

atoader avatar Apr 01 '20 18:04 atoader

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.

bc-ghost avatar Apr 07 '20 08:04 bc-ghost

Thanks, @bc-ghost / @AlexanderYakunin !

chavansachin20 avatar Apr 08 '20 11:04 chavansachin20

Fixed in 16.3 image

chavansachin20 avatar Jul 09 '20 11:07 chavansachin20