4
How about being able to initialize an interface by directly assigning it its codeunit ID.
For example :
MyInterface := CODEUNIT::"My Codeunit";
MyInterface.SetMyVar(MylocalVar);
Today it is binding to create an enum object or declare a codeunit to be able to use the interface Object especially This does not allow you to write generic code.
For example :
MyInterface := CODEUNIT::"My Codeunit";
MyInterface.SetMyVar(MylocalVar);
Today it is binding to create an enum object or declare a codeunit to be able to use the interface Object especially This does not allow you to write generic code.
STATUS DETAILS
Needs Votes
Business Central Team (administrator)
Thank you for this suggestion! Currently this is not on our roadmap. We are tracking this idea and if it gathers more votes and comments we will consider it in the future. Best regards, Business Central Team