AL icon indicating copy to clipboard operation
AL copied to clipboard

how to write code when there is not events in the function ?

Open sainath654 opened this issue 7 years ago • 3 comments

Hello,

I am doing an app for BC on cloud. I have written CAL code inside the function but now in BusinessCentral there is no events written inside the function so how can i modify the code inside a function ?

can i add more parameters to the standard functions ?

Example : Code added function ValidateShortcutDimCode present in the Table 18 Customer.

Thanks&Regards, Sainath.

sainath654 avatar Feb 28 '19 10:02 sainath654

Hi @sainath654, You will have to provide a more detailed description of your issue.

thpeder avatar Feb 28 '19 10:02 thpeder

Hello thpeder,

I wanted to modify the base code. But there is no events available in that codeunit. So how can i write a code where there is no events availble.

Thanks & Regards, Sainath

sainath654 avatar Feb 28 '19 13:02 sainath654

Then you need to request changes to the base code so it includes the specific events that you need. Go to Microsoft/ALAppExtensions issues and see how the requests are made.

If you are running your own server on-orem then you can modify the code in C/SIDE, generate new symbols, download them in VS Code and make your extension based on this changed base app. For Running C/SIDE and AL Side-by-Side check out these docs.

thpeder avatar Mar 01 '19 08:03 thpeder