Dimension GetSubsetDefinition
Returns the XML definition document of a specified subset.
Request
<Alea:Document xmlns:Alea="http://www.misag.com">
<Alea:Request RequestID="001" Class="Dimension" Method="GetSubsetDefinition">
<Alea:Dimension Name="PROFIT">
<Alea:Subset>
<Alea:Description Language="Neutral">Monetary</Alea:Description>
</Alea:Subset>
</Alea:Dimension>
</Alea:Request>
</Alea:Document>
You can apply this function using either the internal name (Alea:Subset Name=".."
) or the subset description (<Alea:Description>
). You can use both the internal name
and the subset description.
If both are specified, you get the subset corresponding to the <Alea:Subset Name="...">
attribute. If the internal
name is not found, an error message is returned.
The structure of a subset definition is explained in the Dimension
PutSubsetDefinition
topic.
Answer
<Alea:Document xmlns:Alea="http://www.misag.com">
<Alea:Request RequestID="001">
<Alea:Return>
<Alea:Subset xmlns:Alea="http://www.misag.com" Version="1.0" Name=" 2" SaveResult="true" UserData="0" Public="true" Dimension="PROFIT" User="admin" Hierarchy="PROFIT">
<Alea:Description Language="Neutral">Monetary</Alea:Description>
<Alea:Union>
<Alea:PickList>
<Alea:Element Name="Change in Inventory" />
<Alea:Element Name="Cost of Sales" />
<Alea:Element Name="Direct Material Costs" />
<Alea:Element Name="Direct Material Costs per Unit" />
<Alea:Element Name="Direct Production Costs" />
<Alea:Element Name="Direct Production Costs per Unit" />
<Alea:Element Name="Indirect Material Costs" />
<Alea:Element Name="Indirect Production Costs" />
<Alea:Element Name="Material Costs" />
<Alea:Element Name="Net Revenue" />
<Alea:Element Name="Price per Unit" />
<Alea:Element Name="Production Costs" />
<Alea:Element Name="Revenue" />
<Alea:Element Name="Sales Deduction" />
</Alea:PickList>
</Alea:Union>
</Alea:Subset>
</Alea:Return>
</Alea:Request>
</Alea:Document>