I am opening the Pick list report from Transfer order form but one strange thing is that it opens from US11 entity but doesn’t opens from AU11 entity. even if the query based reports doesn’t returns any records still the report must open but it just doesn’t happens for report being ran from legal entity AU11.
I debugged into issue and found some issue in class PrintMgmt\getSettings method. There is a while loop in which the cursor enters for US11 but not for AU11. I am pasting that part below but unable to decide as to what is the setting that is available for US11 and not for AU11.
while (setupDocEnumerator.moveNext())
{
setupDoc = setupDocEnumerator.currentValue();
for (i = 1; i <= setupDoc.numInstances(); i++)
{
instance = setupDoc.getInstanceByPos(i);
if (instance.parmSuppress() == NoYes::No)
{
settingDetail = null;
}
For AU11 the while loop never finds any values for the moveNext() method and thus I am unable to generate the report.
Any information provided on this issue will be of great help.