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

Refresh query in a SysOperation Data contract class

$
0
0

Hello,

I changed my query but my sysoperation class see the old version

How could I refresh the packed query ? 

the CIL was succesfully generated and service registered

The data contract class has the following methods:

public Query getQuery()
{
return new Query(SysOperationHelper::base64Decode(packedQuery));
}

[DataMemberAttribute,
AifQueryTypeAttribute('_packedQuery', querystr(MyNewQuery))
]
public str parmQuery(str _packedQuery = packedQuery)
{
packedQuery = _packedQuery;
return packedQuery;
}

public void setQuery(Query _query)
{
packedQuery = SysOperationHelper::base64Encode(_query.pack());
}


Viewing all articles
Browse latest Browse all 72043

Trending Articles