Reset Object Modified Date and Status

slmaluwaslmaluwa Member Posts: 364
I am looking for an easy way to reset the OBJECT modified date and status through code (manual is very cumbersome).
How can I do it? I tried changing the Object table through code and got this error:

Microsoft Business Solutions-Navision
You cannot modify table data in the object table. Modify the table definition instead.
Table: Printer Selection
OK

Any help would be much appreciated.
"A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."

Answers

  • kinekine Member Posts: 12,562
    You need to set the fields only on records of type table, form, report etc., not TableData, you need to filter this type out (same for System and Field)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • slmaluwaslmaluwa Member Posts: 364
    Thats right. Kine
    It worked now.
    Thank you
    "A bove maiore discit arare minor"-"From the old ox, the young one learns to plow."
  • kinekine Member Posts: 12,562
    You are welcome. ;-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.