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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Ramp EDI Tool

Status
Not open for further replies.

Sarah Ross

Programmer
Oct 31, 2016
2
US
I noticed that there is not too many information posted on EDI Ramp tool, since I have been using Ramp for almost 3 years, I will try to post a new function of Ramp every week.

Introduction to Ramp

I have created a website: which will explain what Ramp tool is and includes an introductory class on Ramp. Here is the first of many post on Ramp EDI Tool:
Use of Extensions in Ramp
Extensions are used to perform a SQL, or a call to a stored procedure outside of mapping.
Example
You can pass a file name to a database table where you can map that value to a document.
Main Tab
First you would create the extension using the "Extension" Component
Then use Type "SQL Statement Execution"
Type in SQL command to insert the file name into the table:
INSERT INTO TEST_TABLE (CUST_REF_NO, QTY_SHIP, PROD_CD, INV_LEVEL2) VALUES (?,?,?,?)
Choose Database resource
Extension Parameters
Position Parameter Name SourceType Data Type Source Object Source Property Parameter Value Mask
1 FileName Document Property String File Name
2 QTY Flat File Message String Inbound-Qty N/A
3 PRODCD Flat File Message String Inbound-ProdCD N/A
4 InvLevel2 Flat File Message String Inbound-InvLevel2 N/A
note: The VALUES (?,?,?,?) match up with the Parameter Name

Sarah Ross
sross@comcar.com​
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top