ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Codeunit 9510 Document Service Management

Open mynavblog opened this issue 7 years ago • 5 comments

Dear Team,

Could you add the Event in Codeunit 9510 Document Service Management in function SetProperties?

It is needed to have event called: OnBeforeSetProperties with parameter VAR DocumentServiceRec. Like on screen below:

image

And add it before setting the properties. Place below:

image

Thank you in advance.

Best regards, Krzysztof

mynavblog avatar Apr 25 '19 15:04 mynavblog

Can I ask how you would like to use this event for system table?

AlexanderYakunin avatar May 13 '19 13:05 AlexanderYakunin

Hi,

I would like to change the value of the Folder field in the Record. It is needed to be able to write to custom folders (for example one per Service Order) instead of one fixed one. Now to accomplish so we needed to rewrite whole Codeunit to new one and also copy Dlls for service. Which is not good option.

Best regards, Krzysztof

mynavblog avatar May 13 '19 21:05 mynavblog

I assume Document Service is read-only table for application. Are you sure?

AlexanderYakunin avatar May 23 '19 10:05 AlexanderYakunin

Hi Alexander, My idea is to change this value in field Folder and do not modify the record. If you have other idea how to using this Codeunit put the files to different folders more than welcome. But It seems that some event is needed to fulfill requirement. In my opinion change the Folder value is the easiest one.

Best regards, Krzysztof

mynavblog avatar May 28 '19 12:05 mynavblog

Dear Team, What is the status of this? Is there any way to get the event?

Best regards, Krzysztof

mynavblog avatar Nov 07 '19 11:11 mynavblog