Page 1 of 1

Compnent Code Duplicating

Posted: 06 Apr 2018, 19:48
by christina
Hi

I have a report I have pretty much got in all working apart from one product keeps pulling as a duplicate and I'm not sure why it is part of a BOM all other BOM on different products pull through without them being duplicates.

I have 2 sections

Header and Details

The Header Filter is: STOCK.HAS_NO_COMPONENT = 0
Details Section has no filter.

(Tried using the BOM filter but it won't pull through all of the orders)

The code im using for each section is the below this is the same on both the header and details section

Quantity
STOCK.HAS_NO_COMPONENT = 1
? SOP_ITEM.QTY_ORDER
: STOCK_COMP.COMPONENT_QTY * SOP_ITEM.QTY_ORDER
Weight:
STOCK.HAS_NO_COMPONENT = 1
? STOCK.UNIT_WEIGHT
: COMPONENT.UNIT_WEIGHT

Stock Code:
STOCK.HAS_NO_COMPONENT = 1
? STOCK.STOCK_CODE
: STOCK_COMP.COMPONENT_CODE

Description:
STOCK.HAS_NO_COMPONENT = 1
? SOP_ITEM.DESCRIPTION
: COMPONENT.DESCRIPTION

Just wondering if Im using the wrong filter or if my code needs some more detail.

Re: Compnent Code Duplicating

Posted: 06 Apr 2018, 20:07
by brucedenney
Can you attach the report to a post?

Re: Compnent Code Duplicating

Posted: 07 Apr 2018, 15:53
by christina
Hi Bruce

I figured out the issue I had to add an extra filter onto the details section.

Thank you for all your help