Data migration 5.0 importing dates

tinoruijstinoruijs Member Posts: 1,226
Hi,

I'm using Data Migration in 5.0 SP1 to import dates on a custom table.
There are no validations on the date-fields.

The dates are not imported! :evil: Other fields are.

What could be the problem?

Tino Ruijs
Microsoft Dynamics NAV specialist

Answers

  • DenSterDenSter Member Posts: 8,305
    Do yourself a favor and import field values into variables, and write code to handle the database manipulation in the OnAfterImport trigger. Dataports are notoriously unpredictable, and the only way I can make them work the way I expect them is to program the whole thing myself.
  • tinoruijstinoruijs Member Posts: 1,226
    DenSter wrote:
    Do yourself a favor and import field values into variables, and write code to handle the database manipulation in the OnAfterImport trigger. Dataports are notoriously unpredictable, and the only way I can make them work the way I expect them is to program the whole thing myself.

    I know.

    I guess it's too much to ask to expect new functionality to work properly...
    :x

    Tino Ruijs
    Microsoft Dynamics NAV specialist
  • tinoruijstinoruijs Member Posts: 1,226
    Solved it. :bug:
    I checked out the differences in the data migration objects, and it turned out that codeunit 8611 was modified in SP1.
    I imported the old 8611 and now it works again.

    ](*,)

    Tino Ruijs
    Microsoft Dynamics NAV specialist
Sign In or Register to comment.