It looks like you're new here. Sign in or register to get started.
ara3n wrote: Create a report and add the table that the user will filter on. Onprereport trigger copy the filter to a different variable and call xmlport.settableview(NewVariablewithFilters); xmlport.export
Comments
and then process the port according to that input.
Hope someone will help us..
Regards.
Onprereport trigger copy the filter to a different variable and
call
xmlport.settableview(NewVariablewithFilters);
xmlport.export
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Thanx
EFilingXMLPort.SETDESTINATION(TestStream);
FIlterVendID := Vendid;
EFilingXMLPort.InitVariables(FIlterVendID,ReturnPeriod,BranchCode,PayeeBranchCode);
EFilingXMLPort.EXPORT;
InitVariables is a function on my XMLPort(Var - EFilingXMLPort). Its a simple pass by reference where filters are passed on to XMLport, filters are applied, then that instance of xmlport is run.
It Works fine. used SETTABLEVIEW - it didnt work!!