Explained the following concepts with a simple example:- 1. Interfaces 2. Enums
Пікірлер: 10
@ant1d0te2 жыл бұрын
28:04 you implemented simple case enumerating with calling procedures. This breaks whole interfaces idea. To use interfaces correctly you need to write the following code: trigger OnAction() var InterfaceVar: Interface InterfaceExam; begin InterfaceVar := Rec."Interface Values"; Message('%1',InterfaceVar.PrintMessage()); end; That's it. When other extension (or even existing one) adds values to the given enum, developer has just to add new codeunit handling PrintMessage and nothing is needed to change in the initial code.
@indranijayakody3381 Жыл бұрын
very good video. thank you very much!!
2 жыл бұрын
Sorry but it's wrong You are not using the interface. What you did, you could have done it without an interface. The way you did it, you can't create another intgerface to extend yours, and your code is uninextensible.
@GoDigit2 жыл бұрын
Thank you for your comment, I understand your point, but while creating this content my whole idea was to explain the concept of "What interface is"? in an easy way. And once the conceptual understanding is done, you can explore to any extent.
@KrishnaKumar-cz9un Жыл бұрын
Very useful video sir ,Thank You👍
@sowmyasridhar773 жыл бұрын
Nice video!! You have made it so easy!!
@mehuls16762 жыл бұрын
Thank you Sir, this is very good video. Also, can you please help posting something or sharing any link/content on Barcode from BC Extension.
@TheKhabu2 жыл бұрын
Hi Kapil.. I am new to Dynamics and want to learn Dynamics from you how can I connect with you..