qbds.addRange(fieldNum(COVBKSCustTransOpenEntity, RecIdCT)).value(queryValue(con2Str(subContainer)));
I add this filter to do a DMF export but it ignores this filter. It only works when i use this alternative :
qbds.addRange(fieldNum(COVBKSCustTransOpenEntity, RecIdCT)).value(con2Str(subContainer));
But sometimes the export is failed by an error like this
Error al agregar componente de flujo de datos para la entidad de almacenes
<?xml version="1.0"?><Errors><Error><ErrorCode>-2146233088</ErrorCode><SubComponent>Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper</SubComponent><Description>DMF1987 - at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper.DMFEntityDBPackageExport.AddEntityDBDataFlowComponent(Package package, String commandText)
at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper.DMFPackageControllerEntityDB.CreateAndExecutePackage(DMFEntityDBHelper entityDBHelper)
at DMFExecutePackage.PackageCreator.processByodEntity()
at DMFExecutePackage.Program.Main(String[] args)</Description></Error><Error><ErrorCode>-1071636471</ErrorCode><SubComponent>Microsoft.SqlServer.DTSPipelineWrap</SubComponent><Description>Exception from HRESULT: 0xC0202009 - at Microsoft.SqlServer.Dts.Pipeline.Wrapper.CManagedComponentWrapperClass.ReinitializeMetaData()
at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper.DMFEntityDBPackageExport.AddEntityDBDataFlowSourceComponent(Package package, String commandText, MainPipe dataFlowTask, IDTSComponentMetaData100& rowCountComponent)
at Microsoft.Dynamics.AX.Framework.Tools.DMF.SSISHelper.DMFEntityDBPackageExport.AddEntityDBDataFlowComponent(Package package, String commandText)</Description></Error></Errors>