Hey everybody
I have a question about Optional Parameters in AL.
I found a Documentation about Methods in Dynamics 365.
And in this Documentation they talked about optional Parameters.
Is it possible to use optional parameters at the moment?
And if yes, how can I use them in my own Function?
Thanks for your help :)
Dominic
I don't think this is possible...
Thanks for your Answer.
It's a bit disappointing, but now I know.
I hope someday, Dynamics will be programmed in C# :)
yes you can declare below is the example.
procedure UpdatePurchaseOrder( CRUD_Type: Option Create,Update,Delete): Boolean
var
Begin
End;
There is no optional parameter for your function.
The optional parameter is only available for the BC build-in programming method, such as CALCDATE.
I don't believe it's possible. I think the article was saying that some built in methods have optional variables.
community.dynamics.com/.../297091
Let me know how you get on