Writing a dependent extension
In the previous chapter and the previous section on this chapter, we developed our base extension and deployed it.Imagine now that you've deployed this extension to a customer tenant and now the customer asks you for some customization:
- They want to add the
Certification No.
field to the Vendor Quality table. - They want to change the charge calculation for a sales order by using a totally custom criteria (for example a fixed price).
As said before, to create a customization for your customer you should never directly modify your standard extension code, but instead you should create a new extension that will be dependent on your base extension.To do this, we create a new extension project in Visual Studio Code called Packt Dependent Extension
. This new extension must be dependent on our previously created Packt Demo Extension
; otherwise, we won't be able to see the objects defined in that extension.To declare dependencies between apps, we need...