Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax for VI expression builder

Status
Not open for further replies.

Blorf

Programmer
Joined
Dec 30, 2003
Messages
1,608
Location
US
I need to condition pay rate in a payroll VI import but I don't know the syntax. Basically, if an earnings code is from S1 to S3, and the payrate1 is less than X then use one formula, otherwise, use another. Here is what I tried.

if {PR.EARN:EARNINGS_CODE} >= "S1" and {PR.EARN:EARNINGS_CODE} <="S3" and {PR.EMPL:PAY_RATE1} < 25.00 then 25.00 * val({PR.DATAENT:EARNINGS_MULT}) else {PR.EMPL:PAY_RATE1}*val({PR.DATAENT:EARNINGS_MULT})

Thanks for the help.

ChaZ

There Are 10 Types Of People In The world:
Those That Understand BINARY And Those That Don’t.

 
See my post on community.sagemas.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top