Dear all,
I try to run an imported XML from Task Recorder of a booking of a sales order invoice in D365FO as a test. The model for the project references the model "Test essentials".
I get the error "TabPage TabLineFiscalInformation_BR cannot be activated in its current state (Visible=False)". This is the step in the XML recording where I change in the Sales Order Lines from the tab Setup to the Tab Fiscal Information:
SalesTableForm.TabLineFiscalInformation_BR().activate(conPeek(SalesTable_TabLineFiscalInformation_BR_,1));
I tried to look for commands to set the current state to visible = true, for example:
SalesTableForm.TabLineFiscalInformation_BR().tab().activePage();
This throws also an error "Object reference not set to an instance of an object."
I tried to go into the tab "Fiscal Information" before the Tab Setup by inserting the code above, but the same error occurs.
How can I set the current state to visible = true? Are there some guidelines to edit the task recorder code?