Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all articles
Browse latest Browse all 72043

Task Recording fails when running again as XML Recording

$
0
0

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?


Viewing all articles
Browse latest Browse all 72043

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>