Extending Dynamic Ship

Extending Dynamic Ship

You are here:

Dynamic Ship has numerous flexible configuration and usage options for its system and processes and can be further customized beyond those options. For further customization, Dynamic Ship has events that enable you to extend or alter the default behavior.

The events are published within the DSHIP Event Publisher codeunit. There are multiple ways to see a full listing of events:

  • View automatically-generated documentation here.
  • Use the AL: Find Event feature in VS Code and filter by codeunit dship event publisher.
  • Use IntelliSense and the following event stub: [EventSubscriber(ObjectType::Codeunit, Codeunit::”DSHIP Event Publisher”, ‘ctrl+space’, ”, false, false)]
  • Use the Event Recorder within Business Central to set which events trigger when while performing an action.

Previously, Dynamic Ship relied on an extensibility codeunit to handle extending or altering the process. As of the 2.7 release, we recommend using the available events. They are more numerous and more easily used than the extensibility codeunit. Here is a project that details which events replace which extensibility events.

Although we recommend transitioning existing code to events, the extensibility codeunit will not stop working. If you require assistance transitioning from an extensibility codeunit to an event, contact Support.

The following video details how to use the extensibility codeunit (still required with NAV 2013 to Business Central 14):

  • Basic Dynamic Ship usage.
  • The extensibility framework architecture.
  • Developing plug-in extensions for Dynamic Ship in C/AL with follow-along examples of developing extensions for:
    • Overriding Sales Freight Price calculation.
    • Creating custom barcode commands.
  • An introduction to the Freight Integration Provider framework.
Was this article helpful?
4.7 out Of 5 Stars

5 ratings

5 Stars 60%
4 Stars 40%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.
Need help?

Leave A Comment

Go to Top