A report I have for conversions uses a formula in the details section, i.e.
whileprintingrecords;
If{PRODUCT_MASTER.IC_UNIT_REQUIRE}={PART_UOM_CONVERSIONS.UNIT_FROM} and
{PLANNING_JOB_STAGE_LINES.INPUT_UNIT}={PART_UOM_CONVERSIONS.UNIT_TO} and
{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR}>0 and
{PART_UOM_CONVERSIONS.SYS_CONV_METHOD} = "M" Then
(
({PLANNING_JOB_STAGE_LINES.INPUT_QTY_STD_BATCH}/{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR})
)
Else If{PRODUCT_MASTER.IC_UNIT_REQUIRE}={PART_UOM_CONVERSIONS.UNIT_TO} and
{PLANNING_JOB_STAGE_LINES.INPUT_UNIT}={PART_UOM_CONVERSIONS.UNIT_FROM} and
{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR}>0 and
{PART_UOM_CONVERSIONS.SYS_CONV_METHOD} = "D" Then
(
({PLANNING_JOB_STAGE_LINES.INPUT_QTY_STD_BATCH}*{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR})
)
I am getting duplicate lines in the details section when the output returned by: ({PLANNING_JOB_STAGE_LINES.INPUT_QTY_STD_BATCH}/{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR}) or the output returned by{PLANNING_JOB_STAGE_LINES.INPUT_QTY_STD_BATCH}*{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR}) is zero. If these lines were "suppressed" or "filtered" then the report would be ok from what I can see.
Any help appreciated.
whileprintingrecords;
If{PRODUCT_MASTER.IC_UNIT_REQUIRE}={PART_UOM_CONVERSIONS.UNIT_FROM} and
{PLANNING_JOB_STAGE_LINES.INPUT_UNIT}={PART_UOM_CONVERSIONS.UNIT_TO} and
{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR}>0 and
{PART_UOM_CONVERSIONS.SYS_CONV_METHOD} = "M" Then
(
({PLANNING_JOB_STAGE_LINES.INPUT_QTY_STD_BATCH}/{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR})
)
Else If{PRODUCT_MASTER.IC_UNIT_REQUIRE}={PART_UOM_CONVERSIONS.UNIT_TO} and
{PLANNING_JOB_STAGE_LINES.INPUT_UNIT}={PART_UOM_CONVERSIONS.UNIT_FROM} and
{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR}>0 and
{PART_UOM_CONVERSIONS.SYS_CONV_METHOD} = "D" Then
(
({PLANNING_JOB_STAGE_LINES.INPUT_QTY_STD_BATCH}*{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR})
)
I am getting duplicate lines in the details section when the output returned by: ({PLANNING_JOB_STAGE_LINES.INPUT_QTY_STD_BATCH}/{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR}) or the output returned by{PLANNING_JOB_STAGE_LINES.INPUT_QTY_STD_BATCH}*{PART_UOM_CONVERSIONS.UOM_CONVERSION_FACTOR}) is zero. If these lines were "suppressed" or "filtered" then the report would be ok from what I can see.
Any help appreciated.