RA&R Rule Script assistance required
Hi Forum guru's,
We are customising RA&R, Ver 5.3, SP 10 and require some assistance with the SQL script. We are attempting to disable +-4600 rules at ACTION LEVEL and the tables we are referering to in the script are AC_RULE & AC_HEADER.
The script runs successfully and disables the rules, however the moment we re-run the rule generation background job, all the disabled rules are then re-enabled.
I am sure we are missing a table. Can anybody provide some assistance, or has anybody experienced something similar?
Rgds,
Prevo.
Hi Alpesh,
Thanks for the advice, however this was done previously by a colleague on AC version 5.2.
I do agree that it is "safer" to disable the tcode/aut object from the function itself, however this would be quite
time consuming for over 4500 rules.
Would you perhaps know the tables that we could use in our Script?
Rgds,
Prevo
Similar Messages
-
I'm note a firefox geek, but ever since my friend told me to install NoScript I can not access my msn and hotmail page. It tells me that Java Script is required, what ever that is. What do I do next. Do I uninstall the No Script. Thanks Ed edit
DetailsYou are on Windows 2000, you do not have a "Firefox" button, and should consider yourself to be fortunate in that you still have menus and don't have to do anything to get the menus back instead of the "Firefox" button. (The same applies to Windows XP users).
Use the "File" menu to get to Import. You are not on Windows 7 or Vista, and don't have to put up with the nonsense added for Aero.
If you want the "Firefox" button you can get it with View -> toolbars -> (uncheck) Menu Bar. The menu bar and the "Firefox" button were supposed to be mutually exclusive (which is impossible in some cases without being incompatible).
Once you are using the "Firefox" button ...
Use the "Alt" key to view the menu bar (temporarily) containing File, Edit, View, History, Bookmarks, Tools, and Help. On Windows 7 and Vista, the menu bar was hidden by default in Firefox 4 and above. These menu items are more or less available under the "Firefox" button which has the most used of the built-in Firefox menu items available in a different format.
To get back to having menus again. "Firefox" button -> Options (second column) -> (check) Menu Bar
You can make '''Firefox 7.0.1''' look like Firefox 3.6.*, see numbered '''items 1-10''' in the following topic [http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface Fix Firefox 4.0 toolbar user interface, problems (Make Firefox 4.0 thru 8.0, look like 3.6)]. ''Whether or not you make changes, you should be aware of what has changed and what you have to do to use changed or missing features.''
* http://dmcritchie.mvps.org/firefox/firefox-problems.htm#fx4interface -
How to use variable in rule script in HFM
I'm now writing VB script for HFM rule, and have something to ask about the use of variables in rule.
The script below generates the following error.
-Error description-
Line: 4, Error: Invalid Expression
HS.Exp "S#Actual.A#77300.I#[ICP None] = cur"
An error has occurred in Hyperion Financial Management.
-Rule script-
Sub Allocate()
Dim cur
cur = 500
HS.Exp "S#Actual.A#77300.I#[ICP None] = cur"
End Sub
On the other hand, the script below works properly.
-Rule script-
Sub Allocate()
HS.Exp "S#Actual.A#77300.I#[ICP None] = 500"
End Sub
Probably I'm not using variables in proper way, but have no idea how to correct it.
Does anyone have any idea?
Thanks in advance.Hello,
try this in the sub calculate:
HS.Exp "S#Actual.A#77300.I#[ICP None]=" & cur
For the sub allocate, I suppose that you do not have the issue because the allocate is not launch during the consolidation process. Allocate is launched separatly by a right click, and can only be done when calculation status = "OK", which means that all calculation have been done (that could not be the case if you have an error like this in sub calculate).
Hope it helps -
What is "Data Type" in Custom Script of Requirement
I want to create a custom script in "Requirement" of Applications.
It is different from "Detection Method", These is "Data Type" in The custom script of "Requirement"
I know how to create script in "Detection Method"!
But I don't know what is "date type" in "Requirement" , how does it work with script,
how to return the result of wscript.echoYou can use the Wscript.Echo result to check the requirement. The Data Type is only used to specify if the output is something like a String or Integer. Based on the type you just got some different options to check.
For more information see:
http://technet.microsoft.com/en-us/library/gg682048.aspx
My Blog: http://www.petervanderwoude.nl/
Follow me on twitter: pvanderwoude -
Java Script Assistant in xMII 12.0
Hi All,
Kindly help me to find out the "Java Script Assistance in xMII 12.0" version.
Thanks
Rajesh Sivaprakasam.
Edited by: Rajesh Sivaprakasam on Nov 27, 2008 12:05 PMHelo Rajesh,
the Productivity Wizards are available under SDN->Downloads->for Manufacturing->xMII 12.0 Sample Projects and Tools.
Link:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/webcontent/uuid/e0171f05-98c6-2a10-f5a0-8f2ec79d10a4
Regards
Pedro -
Script Assist in Actions Panel
In the Flash MX Professional I do not have the option of
activating the Script Assist function. I'm not well-versed in
actionscript and need the assistance to make my projects
functional. I work on a Mac using OS X Panther. Has anyone else run
into this problem and, if so, how did you resolve it? TxHEY! SCREW OFF! i was trying to help you out you ******* -
and providing a little levity from the title you've posted - i
thought it was a great title and a fun way to ask - apparently you
didn't see the 'just kidding - wink" - i thought that was exactly
the answer you were looking for but didn't know what to call it -
so SCREW OFF YOU PR!CK!
you don't know what you talking about - if all you saw was
comics dipsh!t, you didn't look around or notice anything else -
not to mention that i script for a living and none of those were
'web comics' - I've got more abilities than you will ever have!
to call someone a '****' in your second post! holy crap -
what an *** - don't come around here anymore, you don't have any
business even thinking about trying to code ... LMFAO! -
UCCX 8.5.1 Scripting Assistance - Set Priority
Hello,
I am trying to configure the priority in my script similar to how they did this in the below discussion.
https://supportforums.cisco.com/discussion/11892936/uccx-851-basic-scripting-assistance-set-priority
When I put the "set priority" in the script it errors out and callers hear the message that the system is experiencing problems. The script runs fine without the "set priority". Any assistance would be greatly appreciated.Chris,
I attempted to validate the script and did get an error with the "Set Enterprise Call Info" step. What's odd is that without the priority step the script still does not validate, but actually works fine. As soon as I add the priority step to it though it breaks.
I removed the "Set Enterprise Call Info" step and the priority works as expected now. Thank you for your assistance.
Jared -
How to run Outlook Rule that fires a batch script that requires passing parameters.
How do I pass arguments/parameters to a batch script in an Outlook rule ? The Parameters would be located in the body of the message.
Thanks.Hi,
If the two arguments are always next to each other, then we can simply add that single phrase to the “specific words” list.
If the two arguments are not always next to each other, then there is no way in Outlook to do this with a single rule but we can achieve this by creating 2 rules. See:
http://www.msoutlook.info/question/220
Please Note: Since the web site is not hosted by
Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
Regards,
Steve Fan
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs. -
Script for Required fields acting strange on extra spaces at end of Name/Description
Found this script on this forum, which I added to my submit button.
var emptyFields = [];
for (var i=0; i<this.numFields; i++) {
var f= this.getField(this.getNthFieldName(i));
if (f.type!="button" && f.required ) {
if ((f.type=="text" && f.value=="") || (f.type=="checkbox" && f.value=="Off")) emptyFields.push(f.name);
if (emptyFields.length>0) {
app.alert("Error! You must fill in the following fields:\n" + emptyFields.join("\n"));
Great script but the ERROR! popup was not coming up until I went into InDesign and removed extra spaces after "(g)" Description and Names.
I am new at this, can someone let me know of any rules for naming these fields such as using underscores, or any other illegal chacters.Jeff,
The SQL in the script file is below. To be honest, I have reduced it down to a simple select from dual and it still puts extra spaces at the end of the single line.
col ord noprint
spool test.csv
SELECT ' ' ord,
'ZONE_ORDER_NUMBER'||','||
'ZONE_NAME'||','||
'ZONE_TYPE'||','||
'DESCRIPTION'||','||
'START_DATE'||','||
'END_DATE'
FROM dual
UNION ALL
SELECT zone_name ord,
'"'||zone_order_number||'"'||','||
'"'||zone_name||'"'||','||
'"'||zone_type||'"'||','||
'"'||description||'"'||','||
'"'||TO_CHAR(start_date,'DD-MON-YY')||'"'||','||
'"'||TO_CHAR(end_date,'DD-MON-YY')||'"'
FROM zones
ORDER BY ord;
spool off -
I have downloaded EMET 4.1 but it will not install -
"There is a problem with this Windows installer package. A script required for this install to complete. Contact your support personnel or package vendor."
I have seen the same problem answered in the support section with a script posted as follows, and wondered if it would solve my problem - only there is no explanation with it and I have no idea what to do with it! Forgive my ignorance but could someone
please explain what to do with it please? Many thanks.
(I looked up the other thread but I was no wiser.)
This thread is probably a dublet of http://social.technet.microsoft.com/Forums/pt-BR/ab0ee94b-ce61-4a62-8478-41a1e8ac39e2/emet-40-installation-fails-with-error-code-1720?forum=emet
Please create and check a verbose Installer logfile: msiexec.exe /?
_FA2E7A16_A819_4F3A_AB7E_0A039BE81BD7 refers the Custom Install Action Blob _6A58D16B437E5B268B3B9D09B8746240 which conatins this vb script in EMET 4.1:
' Begin
REM kill the old EMET 3.0 Notifier process if running (upgrade scenario)
strAppName = "emet_notifier.exe"
Set objProcesses = GetObject("winmgmts://" & strMachine).ExecQuery("SELECT * FROM Win32_Process WHERE Caption LIKE '" & strAppName & "'")
For Each objProcess In objProcesses
intRetVal = objProcess.Terminate(0)
Next
REM kill EMET Agent 4.0 process if running (re-installing scenario)
strAppName = "emet_agent.exe"
Set objProcesses = GetObject("winmgmts://" & strMachine).ExecQuery("SELECT * FROM Win32_Process WHERE Caption LIKE '" & strAppName & "'")
For Each objProcess In objProcesses
intRetVal = objProcess.Terminate(0)
Next
' EndManaged to get the installation sorted. Go to Control Panel, and where you have a list of all installed programs, repair all the Apple/Itunes related programs. Installation worked fine after that. Hopefully it helps you out too!
-
I am trying to develop a Mail run script and I am running into problems. The Rule is being trigger because I have a change my color rule action and a script action. The color changes but the script does not appear to trigger at all. His is the script.
using terms from application "Mail"
on perform mail action with messages theMessages
tell application "Finder" to set pathToAttachments to (path to desktop folder as string)
tell application "Mail"
repeat with theMessage in theMessages
set theText to content of theMessage
if theMessage's mail attachments is not {} then
repeat with theAttachment in theMessage's mail attachments
set theFileName to pathToAttachments & theAttachment's name
try
save theAttachment in theFileName
on error errnum
end try
tell application "Preview" to open file theFileName
tell application "Finder" to delete file theFileName
end repeat
end if
end repeat
end tell
end perform mail action with messages
end using terms from
tell application "Mail"
set myMessages to selection
tell me to perform mail action with messages myMessages
end tell
Notice the tell block at the end. If I uncomment that, select a mail message and execute that in a script editor, all is fine.
With that block commented out and try to execute it using the *Apply Rules* nothing seems to happens. Even if I put a Beep statement inside the "on perform mail action with messages theMessages" block, That does not even sound off.
Anyone see why this would execute as a rule?Camelot wrote:
The logic of whether to invoke the rule is not within the script.
You tell Mail.app to run the script when certain conditions are met (e.g. sender address, recipient address, or one of several other conditions). Once Mail.app has decided the messages matches the conditions it calls your script.
I realize that is the theory behind mail.app, but it has been my experience with Rule settings that they do NOT run "automagically" when conditions in them are met.
This is clearly illustrated by a number of cases I have where by simply "adding a rule," any rule, that says anything, and then clicking the resulting "apply" button (which only is available when you add or subtract a rule), all the existing rule(s) are processed and mail is sorted according to those rules which had previously been sitting in the inbox. (In my case they are a bunch of "junk" filters).
There is either some bug in mail's triggering mechanism, or some inherently "different" mechanism in use when "auto triggered" vs when "applied." In either case, there is no documentation about it. -
EXTREMELY URGENT!!!! Assistance required on recovery
Need help urgently restoring DATABASES
This script was run in error when pointing to ASM instead of oracle home
Shutdown abort;
shutodown mount restrict;
drop database;
now we have lost 3 databases
Can anyone assist us in recovering ASAP pleaseif you have a valid backup, restore and recover.
we can say only this as you have not provided details of database and OS.also if it is so urgent contact oracle support. this forum is voulnteer's pool. -
Script setting require an admin password to unlock preferences
Hidden in System Preferences -> Security & Privacy -> Advanced is a button to turn on or off requiring an administrator level password to unlock various System Preference options. This will secure certain preference options as defined in the /etc/authorization file.
When you turn it on it will set to true that those preference options are to be secured and when you turn it off it will set the control to false. By making a copy of the file /etc/authorization and then doing a diff of the before and after copies you can see the changes. (Or open both copies and scroll through them.)
However it seems it also sets a flag someone where else to indicate which mode it is in, this I somewhat expected because it is possible to manually modify the settings in /etc/authorization and it would need some overall method of determing which mode it is in.
My problem is that I don't know where this overall flag is kept, it does not appear to be in /etc/authorization itself although I may have missed it.
Does anyone know where this setting is?
With this information it would be possible to then write a script to apply the changes to /etc/authorization and also set that overall flag for the purposes of pre-configuring a computer when imaging it.
Thanks.its should disable but every time i open the system preferences still show up ????
Or i should make restart ?
That is a different question. Your initial question was about where the setting was.
I never messed with the setting before and I have always had to unlock locked preferences. I tried it just now, though, and it doesn't seem to do what it says it should. Maybe it does something but I don't know what it is. You can try a restart or log out but I am doubtful it will make a difference. -
Poor image quality on DVD made in iDVD - Urgent assistance required PLEASE
I have imported pictures to form a slideshow in iDVD. The pictures are great quality and look good but the problem I am having is how distorted and blurry they become when burning the dvd.
They look good for a split second when they transition in and then transition out, but become distorted whilst on display (set for 5 seconds)
I need urgent assistance please with this matter.
ps I am still a bit of a novice at this.
ThanksI agree with Bengt - there are better ways to make slideshows. Here is mine:
There are many ways to produce slide shows using iPhoto, iMovie or iDVD, but they all have one thing in common: they reduce the quality of the photos to that of a movie still frame and sometimes limit the number of photos you can use.
If what you want is what I want, namely to be able to use high resolution photos (even 300 dpi tiff files), to pan and zoom individual photos, use a variety of transitions, to add and edit music or commentary, and to end up with a DVD that looks good on both your Mac and a TV - in other words end up with and end result that does not look like an old fashioned slide show from a projector - you may be interested in how I do it. You don't have to do it my way, but the following may be food for thought!
Firstly you need proper software to assemble the photos, decide on the duration of each, the transitions you want to use, and how to pan and zoom individual photos where required, and add proper titles. For this I use Photo to Movie. You can read about what it can do on their website:
http://www.lqgraphics.com/software/phototomovie.php
(Other users here use the alternative FotoMagico: http://www.boinx.com/fotomagico/homevspro/ which you may prefer - I have no experience with it.)
Neither of these are freeware, but are worth the investment if you are going to do a lot of slide shows. Read about them in detail, then decide which one you feel is best suited to your needs.
Once you have timed and arranged and manipulated the photos to your liking in Photo to Movie, it exports the file to iMovie 6 as a DV stream. You can add music in Photo to Movie, but I prefer doing this in iMovie where it is easier to edit. You can now further edit the slide show in iMovie just as you would a movie, then send it to iDVD 7, or Toast, for burning.
You will be pleasantly surprised at how professional the results can be! -
Assistance required for J2EE/XML/Web Services development project in Bangal
Hello,
I work for a US based entrepreneur. who holds a Doctorate in Computer Science and MBA from MIT and we are setting up our office in Bangalore. We are on the look out for Qualified and Experienced J2EE professionals to assist in the implementation of our projects. Some of the projects that we are working for will be very interesting and will require highly skilled and experienced Software professionals who have working experience on J2EE/XML/Web Services
We are looking for Experienced Candidates experienced in J2EE and have many positions open for experienced candidates and the Positions includes Technical team leaders, Senior Software developers, etc. The ideal candidates will be those who have passion for creating new applications using cutting edge technologies.
We are also open to Experienced to candidates working for us on a part time basis for a fixed number of Hours per day (say about 3 to 4 Hours per day) and over the weekends. Please pass this on to any of your friends who may be interested in this opportunity.
Anyone interested can respond to this message and please send me your mobile number or e mail address and I will get in touch with you.
Regards
RajHi Raj, Wrong Initiative.
*=================> Please don't spoil the forum. <=================*
I am sorry if you find this a bit rude or like that, but this a technical discussion forum not a job portal where you should find candidates for your organization.
rajhyd wrote:
Anyone interested can respond to this message and please send me your mobile number or e mail address and I will get in touch with you.I think instead of this you should make your email address visible in your current profile, so that people can reply you on that instead of expressing their interest here.
*All the best for your new venture,
typurohit* (Tejas Purohit)
Maybe you are looking for
-
HT1338 can I upgrade from MAC OS 10.5 to 10.6 ?
I have an apple desktop from 2007-2008 (I think) and need to upgrade from MAC OS X Version 10.5.8 to 10.6 Anyone know if I can do this?
-
Changed AppleID p-word and now can't login to icloud on mac mini. I use correct password and I get spinning grey wheel. I know it's the correct password cause any other p-word gets error message. Also, my time capsule is blinking amber. I've reset my
-
Why is my tool bar pixelated? software-10.6.8
Why is my tool bar pixelated? software-10.6.8 Well, my upper screen tool bar keeps going a blueish white pixelation. I can stop the the problem for a bit by changing the back screen display or by shutting the whole system down and then back on.
-
Trying to setup a redundant server for server 2012
have some questions regarding creating a backup for an all in one server. The server has active directory, DNS, the file server and everything on it. I'm trying to create a redundancy setup in case of failure. So I was reading about failover cluster
-
When I generate a datasource in transaction CTBW it is only generating the text datasource, for example 1CL_AMIL010 1CL_AMIL011 1CL_AMIL012 and so on, but the datasource for attributes 1CL_OMAT001 is not being genereted, and i don't know why. I'm usi