Sarah Ross
Programmer
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
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
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