INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Jobs

Functions in Ramp EDI Tool

Functions in Ramp EDI Tool

(OP)
Functions:
Prepend value to front of field
This can be done with the use of PREPEND
Type Data
PREPEND 0
Factor
1
Parameters
Type Position Name
Input 1 InputField
Output 1 OutputField
Result:
InputField: 123456789
OutputField: 0123456789
To change a value of a code being sent in
This can be done with the use of a temporary table (MS SQL version table name is implied and in UNIX version use )
Type
SQL
Database Resource Name
RAMP_MSSQL
Command
SELECT CASE ?
WHEN “05” THEN “AA”
WHEN “55” THEN “BB”
WHEN “ZZ” THEN “02”
WHEN “AR” THEN “99”
ELSE ? END
Parameters
Type Position Name
Input 1 InputCode
Input 2 DefaultCode
Output 1 NewCode
Result:
Case 1
InputCode “ZZ”
DefaultCode “BB”
NewCode “02”
Case 2
InputCode “DD”
DefaultCode “88”
NewCode “88”

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Resources

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close