Login
Register
Search
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Forums
Integration / Customization
S3 Customization/Development
Hiding DELETE button from standard lawson form
Home
Forums
Jobs
LawsonGuru
LawsonGuru Letter
LawsonGuru Blog
Worthwhile Reading
Infor Lawson News Feed
Store
Store FAQs
About
Who's On?
Membership:
Latest:
Quinn
Past 24 Hours:
0
Prev. 24 Hours:
0
Overall:
5293
People Online:
Visitors:
449
Members:
0
Total:
449
Online Now:
New Topics
Lawson Portal
Lawson ESS customization
6/23/2025 10:28 AM
I want to add new links and customize the ESS (sel
S3 Security
Securing forms and programs that use Company Group
6/17/2025 5:41 PM
Is there a way to write a rule, that looks up a co
S3 Customization/Development
Self-Serve Customization and Modification of home page
6/17/2025 3:40 PM
Hi, I want to add new links and customize the E
S3 Customization/Development
Data / List view on Lawson Portal
5/21/2025 2:37 AM
Client is on S3 V10. All delivered and custom form
Lawson S3 Financials
Applying credits to open AP invoices
4/28/2025 1:26 PM
Hello, I am new to the Lawson system and after ru
Lawson S3 Financials
Lawson APIA
4/28/2025 1:22 PM
Has anybody recently installed Lawson's APIA m
Lawson S3 Procurement
Tolerance Settings
3/31/2025 2:01 PM
I've been trying to set a tolerance for some t
Dealing with Lawson / Infor
Printing Solutions other than MHC
3/27/2025 1:00 PM
What are others using for printing solutions besid
Lawson S3 Procurement
Green check marks in Lawson 9.0.1
3/20/2025 4:55 PM
Hi, How to remove green check mark on items when o
Lawson S3 HR/Payroll/Benefits
Pay Rate History to Show All Positions
2/26/2025 3:34 PM
Does anyone know how to modify payratehistory.htm
Top Forum Posters
Name
Points
Greg Moeller
4184
David Williams
3349
JonA
3291
Kat V
2984
Woozy
1973
Jimmy Chiu
1883
Kwane McNeal
1437
Ragu Raghavan
1377
Roger French
1315
mark.cook
1244
Forums
Filtered Topics
Unanswered
Unresolved
Announcements
Active Topics
Most Liked
Most Replies
Search Forums
Search
Advanced Search
Topics
Posts
Prev
Next
Forums
Integration / Customization
S3 Customization/Development
Hiding DELETE button from standard lawson form
Please
login
to post a reply.
10 Replies
0
Subscribed to this topic
17 Subscribed to this forum
Sort:
Oldest First
Most Recent First
Author
Messages
Saurabh
Veteran Member
Posts: 94
5/19/2010 6:44 PM
Hi All
We are on LSF9.0.0.4, Aps 8.1 MSP5 on Win 2003 server.
Trying to hide the DELETE option from the PO15 main screen (however it needs to be availaible from the Dropdown with the INQUIRE tab)-hence cannot use security to take away access to the DELETE button.
I have access to design studio but not able to find the PO15 standard form?
Please advise
regards
Saurabh
wilcoxmad
Veteran Member
Posts: 87
5/20/2010 12:22 PM
Split
Go into the source tab in design stodio for po15. Delete the line that refrences the "Delete" button. Save ands preview.
Saurabh
Veteran Member
Posts: 94
5/20/2010 12:39 PM
Split
Thats my first issue. I am unable to find the PO15 form when i go to design studio and click on Existing forms
can you advise how i can get to that standard form
thanks
Saurabh
wilcoxmad
Veteran Member
Posts: 87
5/20/2010 12:48 PM
Split
In DS, select File then Open. Click UI designer then press ok. Select your product line (data area) then enter po15 in the form box and click find. Click on PO15.1 and click open.
Saurabh
Veteran Member
Posts: 94
5/20/2010 12:58 PM
Split
I had tried that before but the only forms i could see were the custom forms and some of the other standard farms which we have customised before .
Not able to see any of the standard forms (e.g PO15)
wilcoxmad
Veteran Member
Posts: 87
5/20/2010 2:29 PM
Split
I sent you a message.
See this first.
https://www.lawsonguru.co...ft/7335/Default.aspx
Saurabh
Veteran Member
Posts: 94
5/21/2010 7:23 AM
Split
Got it. I had to click on “New” in the Design Studio .
I was clicking on Open, had thought NEW was to design a FORM from scratch
Saurabh
Veteran Member
Posts: 94
5/21/2010 9:54 AM
Split
I have now run into the issue wherein if i Take Out the "Delete" Action from the form then its taken out of totally.
I need some way of just diabling the Delete from the Main Toolbar (but still availaible under the "Inquire" DropDown)
or
When a user selects the "DELETE" action, for a message box to come up asking for confirmation and only if they say "Yes" does the Delete action occurs
Thanks
Saurabh
Attachments
PO15_Delete_Button_Disable.doc
Randall
Veteran Member
Posts: 44
6/8/2010 12:16 PM
Split
function FORM_OnBeforeTransaction(fc)
{
if (fc == "D") {
var deleteConfirm = confirm("
");
if (!deleteConfirm) {
return;
}
}
return true;
}
Randall
Veteran Member
Posts: 44
6/8/2010 12:18 PM
Split
Also, by removing the function code in Design Studio will, as you noticed, remove both the button and the action from the drop down. The only real way to accommodate that specific request is to modify the files that parse out the XML that displays forms in Portal. I definitely wouldn't recommend it.
If your other option is to confirm, then you can place the code above in your script section.
Saurabh
Veteran Member
Posts: 94
6/8/2010 12:30 PM
Split
Randall,
That code works really well. Many Thanks.
As you mentioned unAssigning the form action of "Delete" was disabling it from all the places which was not what i wanted.
Saurabh
Please
login
to post a reply.