[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.