Hi all,
I am working on the WMSPickingList_OrderPickReport in AX 2012. My goal is to separate data on temporary table into two different tables on the report design, basing it on an enum field value.
To do that, my last idea is to have 2 datasets, each one calling a different Query in Data Provider WMSPickingList_OrderPickDP.
They are like :
[SRSReportDataSetAttribute('WMSPickingList_OrderPickConsoTmp')]
public WMSPickingList_OrderPickTmp getWMSPickingList_OrderPickConsoTmp()
{
select * from wmsPickingList_OrderPickTmp WHERE wmsPickingList_OrderPickTmp.field==true;
return wmsPickingList_OrderPickTmp ;
}
and the other with false.
In my report design I have 2 tables based on the 2 dataset.
One of these datasets have the following query : Select * from WMSPickingList_OrderPickDP.WMSPickingList_OrderPickConsoTmp
I figured out that whatever i put in the getWMSPickingList_OrderPickConsoTmp method, even return NULL, all data is displayed on each tables on design.
I must missed something.
Thanks if you can help me !
Guillaume