Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
User Experience
Lawson Design Studio
Including a Missing PO Line Field in a DS PO20 Form
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Chris Radcliffe
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5187
People Online:
Visitors:
278
Members:
0
Total:
278
Online Now:
New Topics
Lawson Landmark
LPL INSTR Functions
4/5/2024 8:32 PM
I'm writing a simple report using the Create R
Infor SCM
Translating 856 to get the ~ REF^CN^ field
4/3/2024 8:24 PM
We are trying to get the tracking number which is
IPA/ProcessFlow
Sample XML file create Flow
4/3/2024 3:43 PM
Hello everyone, I am new to creating XML files
Lawson S3 HR/Payroll/Benefits
bn105 error message
3/26/2024 6:40 PM
I need to change some of the set ups in our Life I
IPA/ProcessFlow
IPA executing Job
3/13/2024 7:08 PM
New to the IPA world and was wondering, can an IPA
Lawson S3 HR/Payroll/Benefits
Life Age Reduction on benefits plans
3/12/2024 7:15 PM
For our optional life we have an age based coverag
Lawson S3 HR/Payroll/Benefits
BN53.1 Add-In
3/7/2024 3:31 PM
We are migrating to Solstice. They require a
Lawson Business Intelligence/Reporting/Crystal
Domain Name Change
3/5/2024 7:45 PM
Our domain name needs to change and was hoping I c
S3 Customization/Development
Cobol calling Shell Script
2/29/2024 1:27 PM
Has anyone created or modified a Lawson Cobol prog
Infor ION
ION vs IPA
2/29/2024 1:24 AM
We had a person new to Lawson and Infor go to Info
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3288
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1348
Roger French
1311
mark.cook
1244
Forums
Unanswered
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Lawson Design Studio
Including a Missing PO Line Field in a DS PO20 Form
Sort:
Oldest First
Most Recent First
You are not authorized to post a reply.
Author
Messages
S. Rosa
Basic Member
Posts: 7
6/9/2010 10:30 PM
I'll start with the standard newbee disclaimer that I am new to DS and need a little help from the experts:blush: Background: This client does not own RQ or Process Flow but requires a basic form of PO approvals. We devised an approval process that would withstand audit using security setup, buyer limits and PO releasing.
One of the approvers asked for a new form that would basically mimic PO20 except it would display much of the PLI and MMD fields that are within tabs or hidden. All was fine until a new requirement surfaced to include a PO line extended dollar amount inclusive of tax. I'm aware of PLI-LAND-UNIT-CST that contains the landed unit cost but it does not appear as an available field to add to my altered PO20 view/release form. The next challenge would have been to display the landed cost times the quantity.
Any advice on how or if the landed unit cost could be part of a calculation (PLI-LAND-UNIT-CST X PLI-QUANTITY) displayed on PO20 would be much appreciated.
Terry P
Veteran Member
Posts: 234
6/9/2010 10:48 PM
Typically when a form does not make available a field you can "assign", then you'll be required to do a DME call to the table to retrieve the field. Once it's retrieved, you can display it on your form, or use in calculations. Once you're done one of these, it is pretty easy. If you need an example of how to do this - just shout out.
S. Rosa
Basic Member
Posts: 7
6/10/2010 2:37 PM
[quote]
Posted By Terry P. on 06/09/2010 06:48 PM
Typically when a form does not make available a field you can "assign", then you'll be required to do a DME call to the table to retrieve the field. Once it's retrieved, you can display it on your form, or use in calculations. Once you're done one of these, it is pretty easy. If you need an example of how to do this - just shout out.
[/quote]
Thanks Terry. I'd love an example of how to do this!
Terry P
Veteran Member
Posts: 234
6/10/2010 5:44 PM
var sDME = ""
var sCompany = lawForm.getFormValue("text79")
var sVendor = lawForm.getFormValue("text80")
var sInvoice = lawForm.getFormValue("text81")
//Construct DME string
sDME = portalWnd.DMEPath + "?PROD=" + strPDL
sDME += "&FILE=APINVOICE&INDEX=APISET1"
sDME += "&KEY=" + sCompany
sDME += "=" + sVendor
sDME += "=" + sInvoice
sDME += "&FIELD=INVOICE" + ";AUTH_CODE"
sDME += "&OUT=CSV&DELIM=~&NOHEADER=TRUE"
//Return value from table
var objhttp = new ActiveXObject("Msxml2.XMLHTTP")
objhttp.Open("GET", sDME, false)
objhttp.Send("UserInfo")
sReturn = objhttp.responseTEXT
aRecs= sReturn.split("~")
sInvoice = aRecs[0]
sBuyerCode = aRecs[1]
S. Rosa
Basic Member
Posts: 7
6/17/2010 2:21 PM
Thanks again Terry!
You are not authorized to post a reply.