|
| Remove Link |
 |
Sat, 5 Apr 2008 06:55:00 -0700 |
I have a customer using business portal that wants to disable the
"Duplicate"
link on the time card list. I have scoured the system and can't find any code
I can edit by had to remove that. Has anyone tried altering the standard
webparts that can get me in the right place?
--
Butch Adams, MCSE, MSDST
Breakell, Inc.
|
| Post Reply
|
| Re: Remove Link |
 |
Mon, 7 Apr 2008 12:54:59 -0700 |
The duplicate link is created in the C:\Program Files\Microsoft
Dynamics\Business Portal\Applications\PMA\tmtce30.asp page. First
make a backup copy of this file. Then open the ASP file in notepad
and look for code that looks like this:
'***Build Text for the Action column *****
sActionText = ""
'For the Duplicate action
'Show this action for timecard only if there are week ending dates
available
'and the timecard has line items associated to it.
if WeekEndingExistFlag and RSLabHdr("NbrOfLineItems") > 0 then
sActionText = sActionText & "<a
class=""clsGridTableLink""
title=""Click to duplicate this timecard for selected week
ending""
href=""*"" onclick=""DuplicateTimecard('"
& RSLabHdr("DocNbr") &
"')"">[Duplicate]</a>"
end if
You should be able to either delete or comment out the line that stats
with "sActionText".
Good luck!
-Mark
On Apr 5, 9:55 am, Butch Adams <ButchAd...@discussions.microsoft.com>
wrote:
> I have a customer using business portal that wants to disable the
"Duplicate"
> link on the time card list. I have scoured the system and can't find any
code
> I can edit by had to remove that. Has anyone tried altering the standard
> webparts that can get me in the right place?
>
> --
> Butch Adams, MCSE, MSDST
> Breakell, Inc.
> MS Dynamics SL Partner
|
| Post Reply
|
| Re: Remove Link |
 |
Tue, 8 Apr 2008 14:09:01 -0700 |
Awesome ... Thanks for the pointer!
--
Butch Adams, MCSE, MSDST
Breakell, Inc.
MS Dynamics SL Partner
"Mark.Junk.eMail@gmail.com" wrote:
> The duplicate link is created in the C:\Program Files\Microsoft
> Dynamics\Business Portal\Applications\PMA\tmtce30.asp page. First
> make a backup copy of this file. Then open the ASP file in notepad
> and look for code that looks like this:
>
> '***Build Text for the Action column *****
> sActionText = ""
> 'For the Duplicate action
> 'Show this action for timecard only if there are week ending dates
> available
> 'and the timecard has line items associated to it.
> if WeekEndingExistFlag and RSLabHdr("NbrOfLineItems") > 0
then
> sActionText = sActionText & "<a
class=""clsGridTableLink""
> title=""Click to duplicate this timecard for selected week
ending""
> href=""*""
onclick=""DuplicateTimecard('" & RSLabHdr("DocNbr")
&
> "')"">[Duplicate]</a>"
> end if
>
>
> You should be able to either delete or comment out the line that stats
> with "sActionText".
>
> Good luck!
> -Mark
>
>
> On Apr 5, 9:55 am, Butch Adams
<ButchAd...@discussions.microsoft.com>
> wrote:
> > I have a customer using business portal that wants to disable the
"Duplicate"
> > link on the time card list. I have scoured the system and can't find
any code
> > I can edit by had to remove that. Has anyone tried altering the
standard
> > webparts that can get me in the right place?
> >
> > --
> > Butch Adams, MCSE, MSDST
> > Breakell, Inc.
> > MS Dynamics SL Partner
>
|
| Post Reply
|
|
|
|
|
|
|
|
|
|