ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

How to extend Default function with type of external from AL ?

Open TharunMuthu opened this issue 7 years ago • 5 comments

Hi all,

Is it possible to extend function from table with type of external from AL ? if possible can you please guide me !!

Thanks . capture

TharunMuthu avatar Dec 13 '18 03:12 TharunMuthu

Add [Scope('Personalization')]

Like this:

[Scope('Personalization')]
procedure MyExternalProc()
begin
  DoSomething();
end;

AskeHolst avatar Dec 19 '18 09:12 AskeHolst

Add [Scope('Personalization')]

Like this:

[Scope('Personalization')]
procedure MyExternalProc()
begin
  DoSomething();
end;

Thanks for your reply .can you please explain bit more since i tried but i am sure something i am missing . ie i am trying to extend highlighted function(UpdateReferencedIds) from customer table issue

TharunMuthu avatar Dec 20 '18 07:12 TharunMuthu

The short answer is, that you cannot extend functions. You are probably looking for an event in function UpdateReferenceIds() for you to hook into? In order to assist you, we would need a little more context ;-)

JesperSchulz avatar Dec 20 '18 10:12 JesperSchulz

swer is, that you cannot extend functions. You are

ok .The reason i am asking is , In standard NAV many function don't have Integration event , that is reason i asked .! In t this case shall we create our own Integration then shall we subscribe from AL ? In other words how to add code in Standard NAV functions ! if yes then please guide me !!

normal event subscription i know .

TharunMuthu avatar Dec 20 '18 13:12 TharunMuthu

In this repo you will find many event requests, such as this one https://github.com/Microsoft/ALAppExtensions/issues/583. Please request the events you would like us to add, and we will process them as quickly as possible and release them in the next major and minor version of Business Central.

JesperSchulz avatar Jan 16 '19 09:01 JesperSchulz