Hi,
Still getting to the hand of using Chain of command and modifications in D365 FO.
My query is this and probably easily answered.
I have an class method that performs init from another passed in record source.
The main code of this method executes an insert_recordset.
I understand that when I call the NEXT command the original code of the method will execute.
I need to edit the original code the is executed in the NEXT call.
How do I do this? as I need an extra field added to the insert_recordset code.
If I want to update the recordset record that was inserted in the same method I can't because I don't have a recId from the inserted recordset that is executed in the NEXT call.
In the old days, you could fix this in 2 mins by overlayering but in this scenario how do I get my custom field added into the original insert_recordset call in the NEXT command, or how do I override this function?
Thanks