JSDELORIA21
Regular Contributor

Import result shows values are adding up from multiple codes

Hi All,

This issue is related from yesterday but with a different approach. We created a Gencon Module (transaction Data of client) and the Inventory Module (data from Gencon without the duplicates).

Gencon List has duplicate RU text (Transaction Code) which will be imported to Inventory List eliminating the duplicates and only capturing the RU text with Fully Paid status. Codes with no duplicate and Cancelled status in Gencon will be tagged as Unsold.

Below is the sample of the Gencon module. To forward this GenCon List and create an Inventory List the process we use is import action to eliminate the duplicates.

JSDELORIA21_0-1579671765291.png

以下是导入过程后的预期结果。

jsdeloria21_1-1579671872495.png

目前是我的结果。如您所见,状态列在事务ID 422上的结果错误以及重复的地板区域的值。

jsdeloria21_3-1579672094527.png

我有没有办法捕获仅付费的状态列,也可以在不添加Gencon列表中的其他项目的情况下获得地板区域。

Appreciate the help in advance.

Regards,

7日接受解决方案

接受的解决方案
米斯巴
主持人

@Jsdeloria21

Follow the steps

步骤1-创建具有事务ID的虚拟列表。我们称其为(一般列表)。它可以是一次设置,要么是从Gencon模块的事务ID行中加载,要么simpy从1-1000插入数字。您可以根据需要扩展它。

步骤2-转到Gencon模块并插入6个订单项,即

a)计数 - 硬码为1

b) Find out Valid Transaction ID - This is to convert text formatted line item into list formatted (General List from step 1)

c) Sum the count - Use SUM & LookUP here. Remember you can split sum & look as there are some known performance issues with the combo This is only for Demo purpose

d) Final Status - Use the logic that you described above. I have written based on what you posted.

e) Final Transaction ID - If Final status is not blank then shows the result

f)最后Flr区域——如果决赛Status is not blank then shows the results

米斯巴_1-1579685854165.png

MISBAH_3-1579685931317.PNG

步骤3-基于最终交易ID,最终状态和最终FLR区域将行项目导入库存模块中

米斯巴_0-1579685585776.png

Hope this helps

米斯巴

在原始帖子中查看解决方案

JSDELORIA21
Regular Contributor

嗨,米斯巴,

感谢您的帮助。我对此有一个问题,在事务ID行项目中,存在的值来自“常规列表”中的代码列?

就我而言,我有一个来自CSV文件的代码将加载到Gencon列表中,但是由于有类似代码的项目在导入过程中拒绝它,并且仅加载唯一的代码。另外,我创建了计数列,并在您的示例中找出有效的事务ID列,并且得到了一个空白的结果。

Regards,

在原始帖子中查看解决方案

米斯巴
主持人

@Jsdeloria21

如果您试图通过映射代码来加载Gencon列表,那么您的Gencon列表和库存列表之间的差异是什么,以及为什么需要库存列表 - 两者都将具有唯一的代码。您如何在Gencon列表中获得两个422的代码?您必须有两个422的差异代码,但是您可以具有相同的显示名称。

您询问的有关事务ID行项目的问题 - 它提取Gencon列表的显示名称,而不是一般列表的代码,因为这是您可以在列表中拥有两个422“ S的唯一方法。常规列表仅更改文本格式化的订单项列出了格式化的订单项,然后使用总和和查找。

Regarding your blank results can you please post a snip of your module.


Thanks,

米斯巴

在原始帖子中查看解决方案

karank
Regular Contributor

根据你所说的

您的数据可以具有2个完全汇总的库存状态422,但起步和结束日期不同吗?

用户库存422在x日期到y日期的预订并全额支付,由客户1和
客户从y+3天到z日期全额付款2

如果以上是正确的,您需要数据中的客户属性

在原始帖子中查看解决方案

米斯巴
主持人

@arunmanickam

我认为您在这里错过了一点。Gencon列表如何在您的解决方案中创建?按照@Jsdeloria21he has unique codes in the source file for Gencon List which will reject all the duplicate entries i.e., 422 will be created just once in the list.

I was under the assumption that 422 is just a display name and the underlying code for each 422 is different but that is not the case.

Let us know you thoughts.

米斯巴

在原始帖子中查看解决方案

ArunManickam
Master Anaplanner/Community Boss

你好@misbah

1.我们必须要求源为导入提供唯一的ID。

2.即使文件上没有唯一的ID,也可以通过属性组合来管理。我们可以在阶段模块中导入。

3. Apply business rules/logic to select the valid records, create list, hierarchy from the valid records

In my humble opinion, this is a case of selecting valid transactions from a list having duplicate transactions using business rules. I would not recommend complicating it with more imports and actions. Esp, they when they are not scalable and sustainable, what happens when the business rule changes, it should be manageable without changing imports.

Thanks

Arun

在原始帖子中查看解决方案

米斯巴
主持人

@arunmanickam

我喜欢在社区上度过时光的原因是,我们知道如何以多种方式实现一件事情。惊人的!您提出的所有要点都是有效的。

点1是最好的情况。

Point 2 we try to avoid most of the times as it goes against best practices.

Point 3 Your approach relied on IsFirstOccurrence. This has its own limitations, can't use this on a data set more than 10 million transactions. Also there is a performance issue if the data set is more than a million. Now that's debatable if we should use IsFirstOccurrence on Transactional data

Regards,

米斯巴

在原始帖子中查看解决方案

13个答复13
米斯巴
主持人

@Jsdeloria21

Follow the steps

步骤1-创建具有事务ID的虚拟列表。我们称其为(一般列表)。它可以是一次设置,要么是从Gencon模块的事务ID行中加载,要么simpy从1-1000插入数字。您可以根据需要扩展它。

步骤2-转到Gencon模块并插入6个订单项,即

a)计数 - 硬码为1

b) Find out Valid Transaction ID - This is to convert text formatted line item into list formatted (General List from step 1)

c) Sum the count - Use SUM & LookUP here. Remember you can split sum & look as there are some known performance issues with the combo This is only for Demo purpose

d) Final Status - Use the logic that you described above. I have written based on what you posted.

e) Final Transaction ID - If Final status is not blank then shows the result

f)最后Flr区域——如果决赛Status is not blank then shows the results

米斯巴_1-1579685854165.png

MISBAH_3-1579685931317.PNG

步骤3-基于最终交易ID,最终状态和最终FLR区域将行项目导入库存模块中

米斯巴_0-1579685585776.png

Hope this helps

米斯巴

JSDELORIA21
Regular Contributor

嗨,米斯巴,

感谢您的帮助。我对此有一个问题,在事务ID行项目中,存在的值来自“常规列表”中的代码列?

就我而言,我有一个来自CSV文件的代码将加载到Gencon列表中,但是由于有类似代码的项目在导入过程中拒绝它,并且仅加载唯一的代码。另外,我创建了计数列,并在您的示例中找出有效的事务ID列,并且得到了一个空白的结果。

Regards,

米斯巴
主持人

@Jsdeloria21

如果您试图通过映射代码来加载Gencon列表,那么您的Gencon列表和库存列表之间的差异是什么,以及为什么需要库存列表 - 两者都将具有唯一的代码。您如何在Gencon列表中获得两个422的代码?您必须有两个422的差异代码,但是您可以具有相同的显示名称。

您询问的有关事务ID行项目的问题 - 它提取Gencon列表的显示名称,而不是一般列表的代码,因为这是您可以在列表中拥有两个422“ S的唯一方法。常规列表仅更改文本格式化的订单项列出了格式化的订单项,然后使用总和和查找。

Regarding your blank results can you please post a snip of your module.


Thanks,

米斯巴

JSDELORIA21
Regular Contributor

嗨,米斯巴,

Gencon列表和库存列表之间的区别在于Gencon列表是其所有交易数据。例如,422代码,此代码可以从不同客户端具有多次交易。他们的库存列表与Gencon列表相同,除了在此列表中,他们仅使用完全付费状态和代码过滤代码,而无重复地将其标记为未售出。这是从一开始的挑战,因为他们拥有的数据不干净。

Regards,

karank
Regular Contributor

根据你所说的

您的数据可以具有2个完全汇总的库存状态422,但起步和结束日期不同吗?

用户库存422在x日期到y日期的预订并全额支付,由客户1和
客户从y+3天到z日期全额付款2

如果以上是正确的,您需要数据中的客户属性

JSDELORIA21
Regular Contributor

嗨,米斯巴,

关于您的问题422在Gencon列表中可以有3个或更多,但它们没有2个完全付费的状态。他们可以具有2个取消状态和1个完全付费状态。一旦状态获得全额付款,422将不再按照我们的客户在其系统中可用。我想我找到了一种操纵源数据以将库存推向库存的方法。在初次导入期间,我将尝试直接在源中进行。

Appreciate the feedback and your time on this.

Regards,

米斯巴
主持人

@Jsdeloria21

我将把它留给您,您将如何将重复的ID带入您的列表中。它可以在Anaplan中完成,但是通过绕过无法提倡的最佳实践(组合属性),以及您是否何时进行解决方案,则肯定会起作用。作为@rob_marshallhighlighted the importance of getting it done within the source system the first priority should be to get it done within the source.

Thanks,

米斯巴

ArunManickam
Master Anaplanner/Community Boss

你好@Jsdeloria21

It is very much possible to select/filter the needed unique records based on the logic you provided.

Thanks

Arun

米斯巴
主持人

@arunmanickam

我认为您在这里错过了一点。Gencon列表如何在您的解决方案中创建?按照@Jsdeloria21he has unique codes in the source file for Gencon List which will reject all the duplicate entries i.e., 422 will be created just once in the list.

I was under the assumption that 422 is just a display name and the underlying code for each 422 is different but that is not the case.

Let us know you thoughts.

米斯巴