How to do it...

We will first create the required new EDTs, which is done by taking the following steps:

  1. Create the ConVMSVehRegNum string EDT with the following properties:
Property Value
Name ConVMSVehRegNum
Size 10
Label Registration—add a comment that this is a vehicle registration number
Help Text The vehicle registration number
  1. We now need the date acquired EDT, so create a date EDT named ConVMSAcquiredDate with the following properties:
Property Value
Name ConVMSAcquiredDate
Extends TransDate
Label Date acquired
Help Text The date that the vehicle was acquired
Although we created this EDT as a date, this is mainly for the way it appears. It is created in the database as a date time, and compiles to a ...

Get Extending Microsoft Dynamics 365 Finance and Supply Chain Management Cookbook - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.