ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

Update Parameter on Already Available Event as Pass by Reference

Open ashishsharmainecta opened this issue 1 year ago • 6 comments

Why do you need this change?

OnAfterGetRecRefFail Event on Page Doc. Attachment List Factbox has parameter Document Attachment which should be passed as reference so the filters applied on the Record can be accessed using DocumentAttachment.FilterGroup(4).

Describe the request

OnAfterGetRecRefFail Event on Page Doc. Attachment List Factbox has parameter Document Attachment which should be passed as reference so the filters applied on the Record can be accessed using DocumentAttachment.FilterGroup(4). Internal work item: AB#573731

ashishsharmainecta avatar Apr 08 '25 03:04 ashishsharmainecta

Hi, @ashishsharmainecta thanks for you feedback! :) But I have some questions: Why do you need this? Could you give me more details? I can help to see if we have any other possible solution for your request.

There is a concern - some partners they have subscribed to this event - if the parameter is changed in this way, it is a breaking change, we need to consider the risk.

Pls reopen it if necessary.

gggdttt avatar Apr 14 '25 07:04 gggdttt

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. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: .

JesperSchulz avatar Apr 14 '25 08:04 JesperSchulz

Hi, @ashishsharmainecta thanks for you feedback! :) But I have some questions: Why do you need this? Could you give me more details? I can help to see if we have any other possible solution for your request.

There is a concern - some partners they have subscribed to this event - if the parameter is changed in this way, it is a breaking change, we need to consider the risk.

Pls reopen it if necessary.

To elaborate further, If we want to customize attachment functionality for Lot Information Card with existing event we cannot as the PK (Item, Variant, Lot) for the Table Lot Information will not be captured and we wont be able to access the filters on the SubPage as we cannot change PK on the Document Attachment. If we add Pass by Reference then we can access the record filters and access the Lot Information from Document Attachment will provide one on one linking.

ashishsharmainecta avatar Apr 14 '25 14:04 ashishsharmainecta

Working on it

gggdttt avatar Jun 25 '25 11:06 gggdttt

Availability update: We will publish a fix for this issue in the next update for release 26.

Build ID to track: 36033.

JesperSchulz avatar Jun 27 '25 22:06 JesperSchulz

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. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Build ID: 36067.

JesperSchulz avatar Jun 30 '25 08:06 JesperSchulz