I want to create my first XML Chart

FranklinFranklin Member Posts: 253
edited 2011-08-03 in NAV Three Tier
Hi everybody,

I want to create my first XML chart. I tried to modify one of standar chart but RTC show me an error. It seems correct but...

There's something I need to know to work well the charts?

Comments

  • matttraxmatttrax Member Posts: 2,309
    What's the error? What are you trying to do? It's impossible to help unless provide complete information.
  • FranklinFranklin Member Posts: 253
    Upppps sorry...

    X example i tried to filter this chart like this...


    -<ChartDefinition xmlns="urn:schemas-microsoft-com:dynamics:NAV:MetaObjects" xmlns:xsd="http://www.w3.org/2001/XMLSchema&quot; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&gt;
    -<Title>
    <Text ID="ENU">Balances per Bank Account</Text>
    <Text ID="ESP">Saldo por cuenta bancaria</Text>
    </Title>
    -<Table ID="270">
    -<Filters>
    -<Filter>
    <Field Name="No."/>
    <Value/>
    <Field Name="Bank Acc. Posting Group"/>
    <Value>BANK</Value>
    </Filter>
    </Filters>
    </Table>

    And the error is...

    "Correct and upload chart definition for: 36-03
    Invalid XML format.
    Line 12. Position 4. Message 'Filter' in namespace"
  • FranklinFranklin Member Posts: 253
    Ok, i have solved the problem...

    The structure is

    -<Filters>
    -<Filter>
    <Field Name="No."/>
    <Value/>
    </Filter>
    -<Filter>
    <Field Name="Bank Acc. Posting Group"/>
    <Value>BANK</Value>
    </Filter>
    </Filters>
  • FranklinFranklin Member Posts: 253
    Is there a chart type cheese?

    And ss there also a more complicated charts with groups, or totals?

    (For example, total orders open and launch, or total documents according to the payment method...)
  • matttraxmatttrax Member Posts: 2,309
    Charts are really basic in NAV. If you want anything more advanced you would have to go with an add-in or another solution.
  • FranklinFranklin Member Posts: 253
    matttrax wrote:
    Charts are really basic in NAV. If you want anything more advanced you would have to go with an add-in or another solution.

    Thanks for the info matttrax. Do you know some add-in??


    Sent from my iPhone using Tapatalk
Sign In or Register to comment.