cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Help with coding inside a bom table

SOLVED
Highlighted
Newbie

Help with coding inside a bom table

Hi all

I am working inside a BOM table calling out the part description in one of two different languages. The parameters that I am calling up are: &asm.mbr.PART_NAME or &asm.mbr.DESCRIZIONE. My problem is that I want to display the DESCRIZIONE only if PART_NAME does not exist. I am using Creo elements 5 if that has any affect.

Thank you

Wayne

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Help with coding inside a bom table

This is pretty straight forward. Add these relations to your repeat region and then change the parameter of the description column to be &rpt.rel.BOM_DESC

BOM_DESC = ""

IF EXISTS("ASM_MBR_PART_NAME")

BOM_DESC = ASM_MBR_PART_NAME

ELSE

IF EXISTS("ASM_MBR_DESCRIZIONE")

BOM_DESC = ASM_MBR_DESCRIZIONE

ENDIF

ENDIF

View solution in original post

1 REPLY 1
Highlighted

Re: Help with coding inside a bom table

This is pretty straight forward. Add these relations to your repeat region and then change the parameter of the description column to be &rpt.rel.BOM_DESC

BOM_DESC = ""

IF EXISTS("ASM_MBR_PART_NAME")

BOM_DESC = ASM_MBR_PART_NAME

ELSE

IF EXISTS("ASM_MBR_DESCRIZIONE")

BOM_DESC = ASM_MBR_DESCRIZIONE

ENDIF

ENDIF

View solution in original post

Announcements