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

How to query on a finacial dimension using

$
0
0

Hi

I have a document service in AX 2009 which exposes our customers through filebased integrations via AIF. Now I have a need to post a query to AX based on dimension number 4 but it is not working.

Currently I have tried to access this value through dimension4,dimension[4],dimension4_ but none of them work, I have managed to get AX to accept the query and respond with an empty document using only dimension as the FieldName.

Here is the document I am posting to AX:

<?xml version="1.0" encoding="UTF-8"?>
<Envelope xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Message">
 <Header>
  <MessageId>D0D6417F-C200-4CFD-A56E-F04515FCA4DE</MessageId>
  <SourceEndpoint>---edited---</SourceEndpoint>
  <DestinationEndpoint>---edited---</DestinationEndpoint>
  <Action>http://schemas.microsoft.com/dynamics/2008/01/services/CustomerService/find</Action>
  <ConversationId>---edited---</ConversationId>
  <RequestMessageId>D0D6417F-C200-4CFD-A56E-F04515FCA4DE</RequestMessageId>
 </Header>
 <Body>
  <MessageParts xmlns="http://schemas.microsoft.com/dynamics/2008/01/documents/Message">
   <QueryCriteria xmlns="http://schemas.microsoft.com/dynamics/2006/02/documents/QueryCriteria">
    <CriteriaElement>
     <DataSourceName>CustTable</DataSourceName>
     <FieldName>Dimension</FieldName>
     <Operator>Equal</Operator>
     <Value1>115711</Value1>
     <Value2/>
    </CriteriaElement>
   </QueryCriteria>
  </MessageParts>
 </Body>
</Envelope>

Anybody have a clue on how to get this to work?

Regards,

Peter Blomqvist


Viewing all articles
Browse latest Browse all 73760

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>