[DataEventHandler(tableStr(InventTable), DataEventType::Inserting)] public static void InventTable_onInserting(Common sender, DataEventArgs e) { InventTable inventTable = sender as InventTable; inventTable.MyInventLocationId = inventTable.inventLocationId(); }
public display InventLocationId inventLocationId( InventLocationId _inventLocationId = '', InventDimId _inventDimId = InventDim::inventDimIdBlank(), InventSiteId _inventSiteIdParent = '') { return this.inventItemInventSetup(_inventDimId).inventLocationId(_inventLocationId, this, _inventSiteIdParent); }
I written onInserting event Handler code in a class for filling myinventlocationId field with Inventlocationid () method in InventTable.
Inventlocationid () is a standard display method.
But the issue I'm unable to fill myinventlocationId field by calling this method in Table event handler.
Now I need to debug this event handler and inventLocationId() method for finding what happened with event handler code.
Can you please tell the process how to debug both event Handler and inventLocationId () ?
Where I need to put breakpoints and step over step into .
Explain me how to debug in this scenario.
If your issue is resolved please verify the ans so that it can be helpful for future.
Thank you Mohit Rampal sir and Thank you Bharani Preetham peraka sir
I think you cannot call a display method at a table in this way. So better, use the code in the display method. Because display method is only used to display in the form.
To debug, put breakpoint inside the method, attach to process try insert something from UI or through a runnable job and start debugging.
Hi, Please check this article
Keyboard keys F10 for step over and F11 for Step into.
André Arnaud de Cal...
291,965
Super User 2025 Season 1
Martin Dráb
230,817
Most Valuable Professional
nmaenpaa
101,156