cancel
Showing results for 
Search instead for 
Did you mean: 

Object dependencies in batches

Former Member
0 Kudos

HI,

I need detailed steps on how to create object dependencies for a few batch characteristics. For example, I have 3 characteristics, "VS_A", "VS_B", "VS_C". "VS_A" is a manual entry, "VS_B" is a calculated value. I want "VS_C" to have the following logic. If "VS_A" is not blank then "VS_C" = "VS_A". if "VS_A" is blank then "VS_C" should equal "VS_B". Thank you in advance. I look forward to your responses.


Accepted Solutions (0)

Answers (1)

Answers (1)

Ritz
Active Contributor
0 Kudos

Curterris Golden,

Try with below syntex,

($SELF.VS_C = $SELF.VS_A if $SELF.VS_A SPECIFIED,

$SELF.VS_C = $SELF.VS_B if  NOT SPECIFIED $SELF.VS_A)

OR

($SELF.VS_C = $SELF.VS_A if $SELF.VS_A SPECIFIED,

$SELF.VS_C = $SELF.VS_B if $SELF.VS_A = ' ')

Create this procedure and check syntex , I hope it will work for you.

Thanks

Ritesh