简体   繁体   English

taRMDistribution - 帐户索引 (DSTINDX) 的帐户不存在

[英]taRMDistribution - Account does not exist for Account Index (DSTINDX)

I'm working with eConnect and trying to send over a transaction.我正在使用 eConnect 并尝试发送交易。 If I send just the transaction then it shows up in Dynamics GP as I would expect and creates the transaction with a default sales distribution.如果我只发送交易,那么它会按照我的预期显示在 Dynamics GP 中,并使用默认销售分配创建交易。

交易

分配

If I try and add distributions I get the error:如果我尝试添加发行版,我会收到错误消息:

Error Number = 1341 Stored Procedure= taRMDistribution Error Description = Account does not exist for Account Index (DSTINDX) Node Identifier Parameters: taRMDistribution错误号 = 1341 存储过程 = taRMDistribution 错误描述 = 帐户索引 (DSTINDX) 节点标识符参数的帐户不存在:taRMDistribution

Here is a sample of my xml:这是我的 xml 的示例:

 <eConnect xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <RMTransactionType> <eConnectProcessInfo xsi:nil="true" /> <taRequesterTrxDisabler_Items xsi:nil="true" /> <taUpdateCreateCustomerRcd xsi:nil="true" /> <taCreateCustomerAddress_Items xsi:nil="true" /> <taRMCommissions_Items xsi:nil="true" /> <taRMTransactionTaxInsert_Items xsi:nil="true" /> <taRMDistribution_Items> <taRMDistribution> <RMDTYPAL>1</RMDTYPAL> <DOCNUMBR>b5fad6df-2</DOCNUMBR> <CUSTNMBR>MYTESTCUSTOMER</CUSTNMBR> <DISTTYPE>9</DISTTYPE> <DistRef>60100-002-010</DistRef> <CRDTAMNT>100</CRDTAMNT> </taRMDistribution> <taRMDistribution> <RMDTYPAL>1</RMDTYPAL> <DOCNUMBR>b5fad6df-2</DOCNUMBR> <CUSTNMBR>MYTESTCUSTOMER</CUSTNMBR> <DISTTYPE>9</DISTTYPE> <DistRef>60100-002-010</DistRef> <CRDTAMNT>472</CRDTAMNT> </taRMDistribution> </taRMDistribution_Items> <taAnalyticsDistribution_Items xsi:nil="true" /> <taRMTransaction> <RMDTYPAL>1</RMDTYPAL> <DOCNUMBR>b5fad6df-2</DOCNUMBR> <DOCDATE>4/8/2021</DOCDATE> <BACHNUMB>b5fad6df-2</BACHNUMB> <CUSTNMBR>MYTESTCUSTOMER</CUSTNMBR> <DOCAMNT>572</DOCAMNT> <SLSAMNT>572</SLSAMNT> </taRMTransaction> <taMdaUpdate_Items xsi:nil="true" /> </RMTransactionType> </eConnect>

I'm not quite sure what I haven't done.我不太确定我还没有做什么。 The error indicates that I need to supply a DSTINDX but I don't know where to find this.该错误表明我需要提供 DSTINDX,但我不知道在哪里可以找到它。 Everything I searched seems to indicate that if I add distribution items I need to supply an account number but I'm not sure where to find this.我搜索的所有内容似乎都表明,如果我添加分发项目,我需要提供一个帐号,但我不确定在哪里可以找到它。

I was able to use eConnectOut and find the customer info but there doesn't seem to be any account info in the results.我能够使用 eConnectOut 并找到客户信息,但结果中似乎没有任何帐户信息。 At this point I'm a bit stumped.在这一点上,我有点难过。

Thanks,谢谢,

Brian布赖恩

To solve this I added RMARAC to eConnect_Out_Setup for DOCTYPE ='Customer'.为了解决这个问题,我在 eConnect_Out_Setup 中为 DOCTYPE ='Customer' 添加了 RMARAC。 This gave me the value I needed for DSTINDX.这给了我 DSTINDX 所需的价值。 I used the below link for reference.我使用以下链接作为参考。

eConnect Customer Requester Document–Missing ShipToName field eConnect 客户请求者文档 - 缺少 ShipToName 字段

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM