AnsweredAssumed Answered

What is the best way to script this?

Question asked by Kirk_1 on Jan 19, 2015
Latest reply on Jan 19, 2015 by philmodjunk

Title

What is the best way to script this?

Post

This is an if script step.

IDinbound = d  IDoutbound = d  Transitdays = ""

I need to test 2 things to continue:

      if inbound or outbound days have a D, both must have a d.

      if transitdays is populated, if empty stop

this evaluates to a 1; is it taking the 1st true statement and stopping the evaluation then?

 

Quote_InBound Terminal Days::TTZ_IDInbound = "D" and Quote_OutBound Terminal Days::TTZ_IDOutbound = "D" or Quote_InBound Terminal Days::TTZ_IDInbound = "D" and Quote_OutBound Terminal Days::TTZ_IDOutbound = "D" and not IsEmpty ( Transit Days::TTD_TransitDays )

What is a better way to script this? a case needs a test and reslut...

Outcomes