Falk0r 6/29/2017 4:17:44 PM

PMTransactionType with AA - Multiple Dimensions issue

I am currently attempting to pass Dimensions and codes to the Analytical Accounting Module.  I am able to get 1 of the dimensions to display; however, the second seems to overwrite the first.  Please see code and screenshot below.

Snapshot of Analytics Accounting Screen

01.<?xml version="1.0" encoding="utf-8"?>
03.    <PMTransactionType>
04.        <eConnectProcessInfo xsi:nil="true" />
05.        <taRequesterTrxDisabler_Items xsi:nil="true" />
06.        <taUpdateCreateVendorRcd xsi:nil="true" />
07.        <taCreateVendorAddress_Items xsi:nil="true" />
08.        <taPMTransactionTaxInsert_Items />
09.        <taPMDistribution_Items>
10.            <taPMDistribution>
11.                <DOCTYPE>1</DOCTYPE>
12.                <VCHRNMBR>00000000000000737</VCHRNMBR>
13.                <VENDORID>ADVANCED0001</VENDORID>
14.                <DISTTYPE>6</DISTTYPE>
15.                <DistRef>TEST</DistRef>
16.                <ACTNUMST>000-1400-00</ACTNUMST>
17.                <DEBITAMT>2000</DEBITAMT>
18.            </taPMDistribution>
19.            <taPMDistribution>
20.                <DOCTYPE>1</DOCTYPE>
21.                <VCHRNMBR>00000000000000737</VCHRNMBR>
22.                <VENDORID>ADVANCED0001</VENDORID>
23.                <DISTTYPE>2</DISTTYPE>
24.                <ACTNUMST>000-2120-00</ACTNUMST>
25.                <CRDTAMNT>2000</CRDTAMNT>
26.            </taPMDistribution>
27.        </taPMDistribution_Items>
28.        <taAnalyticsDistribution_Items>
29.            <taAnalyticsDistribution>
30.                <DOCNMBR>00000000000000737</DOCNMBR>
31.                <AMOUNT>1000</AMOUNT>
32.                <DistSequence>16384</DistSequence>
33.                <ACTNUMST>000-1400-00</ACTNUMST>
34.                <DistRef>reference test</DistRef>
35.                <aaTrxDim>SHOW</aaTrxDim>
36.                <aaTrxDimCode>BACHARACH</aaTrxDimCode>
37.                <aaTrxDimCodeDate>02/17/2017</aaTrxDimCodeDate>
38.            </taAnalyticsDistribution>
39.            <taAnalyticsDistribution>
40.                <DOCNMBR>00000000000000737</DOCNMBR>
41.                <AMOUNT>1000</AMOUNT>
42.                <DistSequence>32768</DistSequence>
43.                <ACTNUMST>000-1400-00</ACTNUMST>
44.                <DistRef>reference test</DistRef>
45.                <aaTrxDim>SHOW</aaTrxDim>
46.                <aaTrxDimCode>SINATRA</aaTrxDimCode>
47.                <aaTrxDimCodeDate>02/17/2017</aaTrxDimCodeDate>
48.            </taAnalyticsDistribution>
49.        </taAnalyticsDistribution_Items>
50.        <taPMTransactionInsert>
51.            <BACHNUMB>Batch 1</BACHNUMB>
52.            <VCHNUMWK>00000000000000737</VCHNUMWK>
53.            <VENDORID>ADVANCED0001</VENDORID>
54.            <DOCNUMBR>TESTS9989</DOCNUMBR>
55.            <DOCTYPE>1</DOCTYPE>
56.            <DOCAMNT>2000</DOCAMNT>
57.            <DOCDATE>2/17/2017 12:00:00 AM</DOCDATE>
58.            <PRCHAMNT>2000</PRCHAMNT>
59.            <CHRGAMNT>2000</CHRGAMNT>
60.            <TRXDSCRN>Test Description</TRXDSCRN>
61.            <CURNCYID>Z-US$</CURNCYID>
62.            <CREATEDIST>0</CREATEDIST>
63.        </taPMTransactionInsert>
64.        <taMdaUpdate_Items xsi:nil="true" />
65.    </PMTransactionType>
66.</eConnect>

Any suggestions would be greatly appreciated.

Version: GP 2015, GP 2013
Section: .NET Development, Dynamics GP, eConnect


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3