While Importing excel file using Sysoperation Framework, the table method should trigger in X++

I’ve imported excel and data has been pushed successfully in my custom table, but i’ve written table method that is modified field(), while importing it is not triggering!

You need to call the method if you want it to execute.

Forms call modifiedField() automatically, but if you write your own code, it’s up to you.

I’m not sure if the modified field should be activated while importing the field!, but because the data is already there in Excel, how will the modified field trigger? Instead, modified field () can we use an alternate way such that it triggers automatically while importing? without user interaction

As I said, the only way how to get modifiedField() executed is calling it.

Of course, you could place the same code somewhere else. What is the best place depends on what the logic should do.

The thread Importing data from Excel through X++ seems to be about the same thing. It was created by another user, but from your company. Please read the discussion and check the verified answer there.