Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8851

B1if scenario - Bill of materials/manufacturing to synchronize

$
0
0

Hi experts,

 

I am experiencing a problem in a scenario.

 

I have a Bill of manufacturing to synchronize.

 

In my SENDER I have A BOM with 3 lines / different items and quantities:


- <Payload Role="S">

- <BOM xmlns="" SysId="0010000104" SenderSysId="0010000109" Code="B" Task="Synchronous Update">

- <BO>

- <ProductTrees>

- <row>

  <TreeCode>BOMFP1</TreeCode>

  <TreeType>iProductionTree</TreeType>

  <Quantity>1.000000</Quantity>

  <DistributionRule nil="true" />

  <Project nil="true" />

  <DistributionRule2 nil="true" />

  <DistributionRule3 nil="true" />

  <DistributionRule4 nil="true" />

  <DistributionRule5 nil="true" />

  <PriceList>1</PriceList>

  <Warehouse>AUS_01</Warehouse>

  <U_ReadyToPush>Y</U_ReadyToPush>

  <U_PushTo>B</U_PushTo>

  </row>

  </ProductTrees>

- <ProductTrees_Lines>

- <row>

  <ItemCode>BOMcomp1</ItemCode>

  <Quantity>4.000000</Quantity>

  <Warehouse>AUS_01</Warehouse>

  <Price>1.000000</Price>

  <Currency>$</Currency>

  <IssueMethod>im_Backflush</IssueMethod>

  <InventoryUOM nil="true" />

  <Comment nil="true" />

  <ParentItem>BOMFP1</ParentItem>

  <PriceList>1</PriceList>

  <DistributionRule nil="true" />

  <Project nil="true" />

  <DistributionRule2 nil="true" />

  <DistributionRule3 nil="true" />

  <DistributionRule4 nil="true" />

  <DistributionRule5 nil="true" />

  <U_Line nil="true" />

  <U_BOMline nil="true">0.000000</U_BOMline>

  </row>

- <row>

  <ItemCode>BONCOMP2</ItemCode>

  <Quantity>8.000000</Quantity>

  <Warehouse>AUS_01</Warehouse>

  <Price>2.000000</Price>

  <Currency>$</Currency>

  <IssueMethod>im_Backflush</IssueMethod>

  <InventoryUOM nil="true" />

  <Comment nil="true" />

  <ParentItem>BOMFP1</ParentItem>

  <PriceList>1</PriceList>

  <DistributionRule nil="true" />

  <Project nil="true" />

  <DistributionRule2 nil="true" />

  <DistributionRule3 nil="true" />

  <DistributionRule4 nil="true" />

  <DistributionRule5 nil="true" />

  <U_Line nil="true" />

  <U_BOMline nil="true">0.000000</U_BOMline>

  </row>

- <row>

  <ItemCode>BOMcomp1</ItemCode>

  <Quantity>16.000000</Quantity>

  <Warehouse>AUS_01</Warehouse>

  <Price>0.000000</Price>

  <Currency />

  <IssueMethod>im_Backflush</IssueMethod>

  <InventoryUOM nil="true" />

  <Comment nil="true" />

  <ParentItem>BOMFP1</ParentItem>

  <PriceList>1</PriceList>

  <DistributionRule nil="true" />

  <Project nil="true" />

  <DistributionRule2 nil="true" />

  <DistributionRule3 nil="true" />

  <DistributionRule4 nil="true" />

  <DistributionRule5 nil="true" />

  <U_Line nil="true" />

  <U_BOMline nil="true">0.000000</U_BOMline>

  </row>

  </ProductTrees_Lines>

  </BO>

  </BOM>

  </Payload>

 

 

But, when I transform, it duplicates only the first row:

 

- <Payload Role="X" id="atom3">

- <ProductTrees xmlns="">

- <row>

  <TreeCode>BOMFP1</TreeCode>

  <TreeType>iProductionTree</TreeType>

  <Quantity>1.000000</Quantity>

  <DistributionRule />

  <Project />

  <DistributionRule2 />

  <DistributionRule3 />

  <DistributionRule4 />

  <DistributionRule5 />

  </row>

  </ProductTrees>

- <ProductTrees_Lines xmlns="">

- <row>

  <ItemCode>BOMcomp1</ItemCode>

  <Quantity>4.000000</Quantity>

  <IssueMethod>im_Backflush</IssueMethod>

  <Comment />

  <ParentItem>BOMFP1</ParentItem>

  </row>

- <row>

  <ItemCode>BOMcomp1</ItemCode>

  <Quantity>4.000000</Quantity>

  <IssueMethod>im_Backflush</IssueMethod>

  <Comment />

  <ParentItem>BOMFP1</ParentItem>

  </row>

- <row>

  <ItemCode>BOMcomp1</ItemCode>

  <Quantity>4.000000</Quantity>

  <IssueMethod>im_Backflush</IssueMethod>

  <Comment />

  <ParentItem>BOMFP1</ParentItem>

  </row>

  </ProductTrees_Lines>

  </Payload>

 

 

 

So, it copies only the first line 3 times....

 

Any idea or advise to manage that?

 

 

Thank you


Viewing all articles
Browse latest Browse all 8851

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>