CC 2014 alias not working in Scripts folder
Hi-
I bought a new laptop (Macbook Pro Retina 15") and did a clean install of CC 2014 using my existing account. On my old machine I had an alias in the Scripts folder to a central repository I keep of scripts for After Effects. When I made the alias on this new machine, After Effects would not load the scripts inside that folder. I did some additional testing using a folder of Adobe-supplied scripts, and again, they would not load when the path to them involved an alias.
Anyone have any thoughts?
Thanks!
Dan Scully
Have you triple-checked all your permissions?
Similar Messages
-
Ps CC 2014 is not working correctly after mac update to Yosemite 10.10.1. Select does not protect unselected areas. Magic eraser erases unselected ares.
Yes my particular issue is not like yours. However, there have been many other laptop users experiencing similar problem to yours after 3.10 kernel. Mostly it seems to be bumblebee users that experience your problem with the blank screen. We do know that nvidia have yet to make their official drivers work with kernel 3.10 and up. The drivers in the Arch repository have been patched to work with 3.10. From what I have seen, this also only seem to be affecting laptops with newer nvidia gpu's. I fear there is not much to do with this problem until nvidia give official 3.10 kernel support.
My suggestion would be to stick with 3.9.9 kernel and the drivers that work with it, and don't upgrade those packages until nvidia has addressed these issues. If you have a look at the nvidia forums you will see quite a number of topics mentioning black screen when starting x on 3.10 kernel, and also a thread for the system dying. Reading some of the threads there may help you keep up to date on whether or not the issue seem to be solved.
https://devtalk.nvidia.com/default/board/98/ -
My PS CC 2014 dos not work. It starts up and then its stops.
Hi My PS CC 2014 dos not work properly. It starts up but stops wen i won't to work with it. wat is the problem
Please read these and proceed accordingly:
http://blogs.adobe.com/crawlspace/2012/07/photoshop-basic-troubleshooting-steps-to-fix-mos t-issues.html
http://forums.adobe.com/docs/DOC-2325 -
Merge to HDR pro in CC 2014 is not working
When I select files in Bridge and then go to Tools>Photoshop and either Image processor or Merge to HDR Pro nothing happens. Does anyone know why
As far as I know the Abobe Bridge bridge is messed up these days for there is one Adobe bridge cc and two Photoshop CC and CC 2014 Mac can run two versions of Photoshop at once windows can not how the different bridge interfaces work I don't know. Bridge tools are set up with Bridge Startup Scripts. On Windows Bridge CC 64bit and Bridge CC 32Bit version both seen to use the start up scripts setup for the 32bit Bridge Bridge CC 64bit does not see what is in the CC 64Bits startup scripts folder. There are also problems on windows system registry for Photoshop shell commands Open and Edit. I do not use the Bridge often. Just use it to edit metadata and syncing batches of RAW File setting. I do not use Photoshop from the Bridge. But seem to be able to For I put Startup scripts in the 32bit location and fixed my windows registry keys for Phoroshop.exe....
-
PS/Bridge CS5 Batch Processor Not Working / Missing Scripts
I'm having a bit of a problem within Photoshop/Bridge CS5 and haven't found anything that works to resolve it.
In Bridge, I want to launch the Photoshop Batch Processor via Tools>Photoshop>Batch.
When I select this, Photoshop launches, but the dialog to process the images never shows. On occasion, if I return to Bridge and attempt the same operation again, I'll get a notification that there's already something in progress and asks if I want to queue this operation. The other times (majority) I can return to Bridge and attempt the operation again but get no dialogues in Photoshop. I can try the other options in this menu as well (eg Image Processor, etc) and get the same results.
Here's what I've done so far:
1. Checked Bridge Edit>Preferences>Startup Scripts and ensured those were all checked. I even disabled all, closed Bridge and Photoshop, then re-enabled.
2. Cleared all Preferences from Bridge and Photoshop (using Ctrl+Shift+Alt at launch).
3. Reinstalled Photoshop (multiple times)
4. Uninstalled Photoshop, ran the Adobe CS Cleaner application, then reinstalled Photoshop.
It should be noted that in Bridge>Edit>Preferences and Startup Scripts, if I click the button to 'Reveal my scripts' the folder it takes me to is blank. Not sure if this folder is solely used for personal/user created scripts or for others as well, but it's completely empty.
I have also gone to Help>Updates and updated both applications with any necessary updates from Adobe.
If I go into Photoshop and select File>Automate>Batch or even File>Scripts>Image Processor, both dialogues open fine.
Running Windows 8.1 Pro.
Anyone else seen this and actually resolve the issue? Does anyone know where the scripts are supposed to be located and/or if I can get them from somewhere else? Any help is much appreciatedMake sure Photoshop is not started and then try to use Bridge menu Tools>Photoshop>Batch does Photoshop start up?
Bridge CS5 menu Tools>Photoshop>Batch works on my Windows 7 Pro system
Photoshop Automate>Batch is not a script and Photoshop does not any external java program it had its own version of java plugin.
c:\Program Files (x86)\Adobe\Adobe Photoshop CS5\Plug-ins\Extensions\ScriptingSupport.8li
c:\Program Files\Adobe\Adobe Photoshop CS5 (64 Bit)\Plug-ins\Extensions\ScriptingSupport.8li
However there are two startup scripts for the bridge involved Bridge and Photoshop You must have them for you have a Bridge menu Tools>Photoshop>items
two scripts on my system are:
c:\Program Files (x86)\Common Files\Adobe\Startup Scripts CS5\Adobe Bridge\bridge-4.jsx
c:\Program Files (x86)\Common Files\Adobe\Startup Scripts CS5\Adobe Photoshop\photoshop.jsx
The photoshop.jsx seems to be the one the the inserts the menu Tools>Photoshop>Batch into Bridge and also invokes Photosgop Automate>batch photoshop.jsx also inserts the other Bridge menu Tools>Photoshop>Menu Itens that you state work.
Here is what I see in my photoshop.jsx for batch. I do not know or understand Bridge scripting and do not know javsscript but what I see there seems to be some checking done about Photoshop being available and if it is not the script just returns which is what you seem to be experiencing the test looks like this
if (!photoshop.correctPSIsAvailable (availabilityCheckOptions))
return;
The whole batch support section follows:
//=================================================================
// Batch
// Sets up Photoshop's Batch automation command to be
// accessed from the Bridge.
//=================================================================
// This routine takes an array of files. If called by Photoshop,
// it will invoke Batch with the files. If called by
// any other app, it will send a BridgeTalk message to Photoshop
// to invoke this routine with the same arguments.
photoshop.batch = function (/* Array */ files, availabilityCheckOptions)
try
if (availabilityCheckOptions == null)
availabilityCheckOptions = new AvailabilityCheckOptions ();
// Make sure this can be run.
if (!photoshop.correctPSIsAvailable (availabilityCheckOptions))
return;
if (BridgeTalk.appName != "photoshop")
// Bring Photoshop to the foreground.
BridgeTalk.bringToFront (photoshop.versionInfo.btTargetName);
// Create a new BridgeTalk message for Photoshop to invoke
// Batch with the selected files
var btMessage = new BridgeTalk;
btMessage.target = photoshop.versionInfo.btTargetName;
btMessage.body = "photoshop.batch (" + files.toSource () + ");";
btMessage.send ();
else
app.bringToFront();
photoshop.runActionCommand ('batch', files,
localize ("$$$/PSBI/Automate/BatchSettingsFile=Batch via Bridge Settings"));
catch (error)
if (error.number != 8007) // Don't report user cancelled errors.
alert (error);
// This routine is called when the Bridge's Batch menu item is
// chosen.
photoshop.batchFromBridge = function ()
try
var availabilityCheckOptions = new AvailabilityCheckOptions ();
// Make sure this can be run.
if (!photoshop.correctPSIsAvailable (availabilityCheckOptions))
return;
var files = photoshop.getBridgeFileListForAutomateCommand (true, false);
if (files.length != 0)
photoshop.batch (files, availabilityCheckOptions);
catch (error)
if (error.number != 8007) // Don't report user cancelled errors.
alert (error);
// The code below inserts the Batch menu item into the Bridge menus.
if ((BridgeTalk.appName == "bridge") && (BridgeTalk.appVersion.indexOf (photoshop.versionInfo.bridgeTargetVersion) == 0))
// Use temp function to keep vars out of global namespace.
photoshop.tempFunction = function ()
// Set up the info necessary for inserting this item into the Bridge's menus later.
var menuItemInfo = new Object;
menuItemInfo.text = localize ("$$$/PSBI/Menu/Automate/Batch=Batch...");
menuItemInfo.name = 'Batch';
menuItemInfo.onSelect = photoshop.batchFromBridge;
photoshop.menuItemInfoArray.push (menuItemInfo);
photoshop.tempFunction ();
delete photoshop.tempFunction; -
Application Alias not working with Global Single Sig on
I have a intranet applications, with login against https://login.oracle.com that is working fine. However, when I try to use the Application Alias, defined on Applications Attributes, it's not working, redirecting to an invalid page:
https://htmldb.oraclecorp.com/pls/htmldb/-PORTAL_SSO-
How can I make this work, I mean, using alias, instead of applications number?
Thanks in advance,
Andre SilveiraAndre,
Assuming your application's ID is 9999 and its alias is AAAA, you may be finding that a request like f?p=9999 and f?p=AAAA produce the same results, those you described. When using SSO as the authentication scheme, it's necessary to provide the page ID or page alias in the URL also, e.g, f?p=AAAA:PPPP or f?p=AAAA:1.
Scott -
Hi Everyone,
I just deleted PS CS6 and installed PS CC 2014. I'm trying to use the Liquify Filter and it does not work. When I click on the Liquify Filter, my photo does not appear properly. The photo appears as two flourescent color fields - bright turquoise and lime green! Can anyone help me with this? Also, does anyone know if I can re-install Photoshop CS6?
Thanks!
LaraineHi Everyone....I figured it out. Strangely, although I had NEVER used Liquify in PS CC 2014....I just realized that in Liquify Advanced Mode that the "SHOW MASK" option was on by default! I unchecked SHOW MASK. Everything is OK. Whew! Tks!
-
NW7.5sp07: Memberset(BAS) not working in Script Logic
Hi,
I wrote one simple script :
*XDIM_MEMBERSET G_FLOW=F_CLO
*XDIM_MEMBERSET G_DATASRC =BAS(CMTTOT)
*XDIM_MEMBERSET DC_ACCT=DA_CE0120000
*XDIM_MEMBERSET DC_FDETAIL=ALL
*DESTINATION_APP=FINANCE
*ADD_DIM CONSOLVIEW=NONGROUP
*RENAME_DIM DC_ACCT=G_ACCT
*SKIP_DIM=DC_FDETAIL
*WHEN DC_FDETAIL
*IS FD_CE0120006
*REC(DC_ACCT=DVAL131A3, G_DATASRC=VALIDATIONS)
*IS BAS(FD_CE0112000)
*REC(DC_ACCT=DVAL131A4, G_DATASRC=VALIDATIONS)
*ENDWHEN
*COMMIT
But i am not able to get the data for account DVAL131A4, though DVAL131A3 is working fine.
In DVAL131A44, i am getting 0 records and i check the package status script alsoHi, as far as I know the BAS option does not work for XDIM_MEMBERSET in the version you are working. I would use teh *SELECT option as an alternative to tackle this issue via some properties.
Hope this helps. -
Picexport is not working with SCRIPT
Hi ALL,
I have upgraded my diadem from 2010 to 11 and now this is not working anymore:
Call PicExport("X:\transfer\081022\"&SaveFile&"_scaled_tsr","WMF",1,768,1024,"",75,"",0)
when I try this script i get a first the failure message ==> acsess violation; and when i retry this function I get the message that this function is not activated
please help me
THX in advanceHy,
I have tried now almost all formats with the same result:
- when I use the picexport "by hand" it works fine!
- when I use the record function for scripting it is working...
- I stop the recording and want to run the script, it works the first time and then I get first the access violation msg and then the "not activated" msg
I dont wanna use the PDF eport because I have arround 200-300 pictures per "run" which I want to quickcheck ("scrolling" thru all pics witch a picture viewer) and this not very useful by PDF...
So there must be a solution?!!!! The same script was working with the last diadem version...
THX
Andreas
Attachments:
accessviolation.PNG 46 KB
not_active.PNG 33 KB -
Activate not working in scripts written 6 years ago not working now
Hi All,
I have a script that has been working consistently for 6 to 7 years. Now I copied it to my new Macbook Pro running yosemite and now the activate is not working when placed before display dialog. The script uses Illustrator and Excel and for some parts of the script these applications are brought to the front using activate. These activates seem to work. However, the activate does not work with display dialog. I tried to remedy this by putting a tell me block around the code.
I don't know if this make a difference but the script is executed through the run script command.
Any help would be great.
Thanks,
Carolyn
OS 10.10.1
15 inch retina
2.5 intel core i7Do you have the proper conference media resources set up with MRG and MRGLs?
-
I have a MobileMe account with multiple aliases, I was told and read that I would be able to send from my mobileme alias with iOS4, however, I do not have the "FROM" option when composing an email. Anyone have any idea why this new feature is not working for me.
Yes, I have all my info filled out under my aliases in settings.
Thanks in advanceThis wasn't working for me as well... at first.
I read a response (in some other thread) indicating that I needed to fill out all of the fields for each alias, and the main account, in the web email's Preferences screen. So I did that -- and still nothing. This sounds like where you are right now, eh?
While puzzling this out, on my phone, I experimentally switched my default email account to a different one... and then back to my mobileme account. When I went back to Mail... after waiting a few moments for a spinning wheel to go away... I opened a new email and discovered my aliases were now there. I don't know, frankly, if I fixed it... or if I just stalled long enough for it to start working on its own... but it's now working.
... sort of ...
Only the .mac form of my aliases are listed (which is goofy, but workable).
I went back to settings, to see if I could now change my default email account to be one of the aliases... no dice on that either. Oh well... we're getting closer. -
In .profile, why is alias not working?
Recently (since upgrading to Mavericks??), several alias commands in ~/.profile are not working after I start Terminal (although numerous path settings set up there are working as expected). For example, ~/.profile includes:
alias mysqlctl='sudo /usr/local/mysql/support-files/mysql.server'
alias mysqlstart='mysqlctl start'
But after I start Terminal and execute
mysqlstart
I get error:
bash: mysqlstart: command not found
I know that something peculiar is going on because when I attempt to exit the (one and only) running Terminal session with command exit I just see an echoed response
exit
but can quit Terminal by executing the same exit command again.
Moreover, if in Terminal I execute
source ~/.profile
then the aliases work as expected.
I did try the ruse I found somwhere of including before any of the other alias lines in .profile the command alias sudo='sudo ' but that doesn't fix the problem.
I thought perhaps some other startup file is being read and hence commands in ~/.profile are therefore not being executed, but I find no such: I have no
~/.bashrc or ~/.bash_profile or ~/.login file. (And Terminal is set to use the default login shell, which is bash.
What could be wrong and how can it be fixed?I tried the method recommended at http://stackoverflow.com/questions/18773051/how-to-make-os-x-to-read-bash-profil e-not-profile-file, namely, to move all the commands formerly in ~/.profile into ~/.bashrc and then to create ~/.bash_profile consisting of lines:
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
(And of course delete ~/.profile).
That does now allow my alias commands (formerly in ~/.profile and now in ~/.bashrc) to work in Terminal.
However, now executing in Terminal echo $PATH gives my entire path (as defined in ~/.bashrc) twice -- in a rather strange order of duplication:
/usr/local/mysql/bin
/usr/texbin
/opt/local/bin
/opt/local/sbin
/opt/local/apache2/bin
/usr/local/mysql/bin
/usr/texbin
/opt/local/bin
/opt/local/sbin
/opt/local/apache2/bin
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/opt/X11/bin
/usr/local/MacGPG2/bin
/usr/texbin
/Library/Frameworks/Python.framework/Versions/3.3/bin
/Library/Frameworks/Python.framework/Versions/2.7/bin
/Volumes/MacHD/Applications/Programming/Python/anaconda/bin
/Volumes/MacHD/Users/murray/Library/Application Support/GoodSync
/Volumes/MacHD/Users/murray/bin
/Volumes/MacHD/Applications/Math/Singular/3-1-6/ix86Mac-darwin
/Library/Frameworks/Python.framework/Versions/3.3/bin
/Library/Frameworks/Python.framework/Versions/2.7/bin
/Volumes/MacHD/Applications/Programming/Python/anaconda/bin
/Volumes/MacHD/Users/murray/Library/Application Support/GoodSync
/Volumes/MacHD/Users/murray/bin
/Volumes/MacHD/Applications/Math/Singular/3-1-6/ix86Mac-darwin
So something is still wrong! -
Wired Keyboard on 2014 iMac not working
Hi there,
I have a lab containing 25 x 27" 2014 imacs. During a morning start up roughly 6 out of the 25 (and usually different ones each time) will be unable to detect the wired apple keyboard that is attached. All USB ports on every machine are working correctly. To resolve this issue, sometimes it works by just swapping the ports, sometimes a full reboot will do it, other times it comes down to swapping the keyboard with its neighbouring iMac (even if both are not detected) and miraculously they both are now detected.
Resetting SMC and PRAM does not fix the issue.
What is going on? All these keyboards work fine when attached to a 2011 iMac running the same OS (Mavericks.)
Thanks,
DudleyReset the SMC and PRAM 2-3 times back to back using the following instructions:
iMac SMC and PRAM reset
If that does not work, try using another wired keyboard. -
Cloud Files Sync not working on Mac - Folder is archived
The sync of files in my cloud is not working at all. I wanted to try this feature out for the first time and this is what I always get as a screen:
It appears again and again.
I do see an adobe cloud folder but it has (archived) written behind it.
Please can someone tell me what is wrong?File Sync Links that may help
-https://forums.adobe.com/community/creative_cloud/host_sync
-http://helpx.adobe.com/creative-cloud/kb/arent-my-files-syncing.html
-http://helpx.adobe.com/creative-cloud/kb/cannot-share-certain-types-files.html
-Size Limits https://forums.adobe.com/thread/1488242 -
Good Day to ALL!
I have a script of SQLPlus that creates a report. I have 8/9 numeric columns which are 'SUM'ed up thru 'COMPUTE' command. It works for all BUT 2 columns. If I put these two columns, compute does not take affect. If I remove these two columns ( just cut) 'COMPUTE' works fine!!! These two coulumns use DB Function. But I have other column that also use DB Function. These two columns has some extra additions. Any thing wrong with the script/column defn.
Thanks - Pradip (Pradip Biswas @Singapore) Could you pl. reply to [email protected]
Here is bit of script. Sorry about the length of the cut and paste.
COLUMN OPEN_QTY_BAL FORMAT 9,99,990 HEADING 'Opening|Qty' Justify LEFT
COLUMN OPEN_QTY_VALUE FORMAT 99,999,990 HEADING 'Opening|S$' Justify LEFT
COLUMN PO_RECEIPTS_QTY FORMAT 99,990 HEADING 'PO Rec|QTY ' Justify LEFT
COLUMN PO_RECEIPTS_QTY_VALUE FORMAT 9,999,990 Heading 'PO Rec|S$' Justify LEFT
COLUMN MISC_RECEIPTS_QTY Format 99,990 Heading 'Misc |Qty' Justify LEFT
Column MISC_RECEIPTS_QTY_VALUE Format 9,999,990 Heading 'Misc|S$' Justify LEFT
COLUMN WORKORDER_QTY FORMAT 99,990 HEADING 'WorkOrd|Qty' Justify LEFT
COLUMN WorkOrder_QTY_VALUE Format 9,999,990 HEADING 'WorkOrd|S$' Justify LEFT
COLUMN SALES_SHIPMENT_QTY FOrmat 99,990 Heading 'SalesShip|Qty' Justify LEFT
COLUMN SALES_SHIPMENT_QTY_VALUE FOrmat 9,999,990 Heading 'SalesShip|S$' Justify LEFT
COLUMN MISC_ISSUE_QTY Format 99,999 HEADing 'Misc|Qty' Justify LEFT
COLUMN MISC_ISSUE_QTY_VALUE Format 9,999,990 heading 'Misc|S$' Justify LEFT
COLUMN TRANSFER_QTY format 99,990 heading 'Transfer|Qty' Justify LEFT
COLUMN TRANSFER_QTY_VALUE format 99,999,990 heading 'Transfer|S$' Justify LEFT
COLUMN REVAL_VALUE Format 99,990 Heading 'Reval|S$' Justify LEFT
COLUMN ON_HAND_QTY FORMAT 9,99,990 HEADING 'Closing|Qty' Justify LEFT
COLUMN ON_HAND_QTY_VALUE FORMAT 99,999,999,990 HEADING 'Closing|S$' Justify LEFT
REPHEADER on
REPHEADER left ' GL Period From: &&P_GL_PERIOD_NAME_FROM ' skip left ' GL Period To : &&P_GL_PERIOD_NAME_TO ' skip left ' Inv Org Code : &&P_INV_ORG_CODE ' skip left 'SubInventory Code : &&P_SUBINVENTORY_CODE ' skip 2
TTITLE left 'H - Inv Inventory Movement Report as at:' TTITLE_DATE RIGHT 'PAGE:' FORMAT 999 SQL.PNO SKIP 2
BTITLE skip 1 CENTER 'COMPANY CONFIDENTIAL - Printed on ' TTITLE_DATE
BREAK on REPORT skip 1;
--rem(1) compute SUM label 'Total' of OPEN_QTY_VALUE PO_RECEIPTS_QTY_VALUE MISC_RECEIPTS_QTY_VALUE WorkOrder_QTY_VALUE SALES_SHIPMENT_QTY_VALUE MISC_ISSUE_QTY_VALUE TRANSFER_QTY_VALUE REVAL_VALUE on report;
--REM(2) compute SUM label 'Total $S: ' of OPEN_QTY_VALUE REVAL_VALUE on report;
--REM(3) compute SUM label 'Total $S: ' of OPEN_QTY_VALUE REVAL_VALUE ON_HAND_QTY_VALUE on report;
compute SUM label 'Total $S:' of OPEN_QTY_VALUE PO_RECEIPTS_QTY_VALUE MISC_RECEIPTS_QTY_VALUE WorkOrder_QTY_VALUE SALES_SHIPMENT_QTY_VALUE MISC_ISSUE_QTY_VALUE TRANSFER_QTY_VALUE REVAL_VALUE on report;
WHENEVER SQLERROR EXIT FAILURE
select
-- MSI.ORGANIZATION_ID ORGANIZATION_ID,
-- MSI.INVENTORY_ITEM_ID INVENTORY_ITEM_ID,
MSI.SEGMENT1||'//'||MSI.DESCRIPTION ITEM,
-- MSI.DESCRIPTION DESCRIPTION,
All_Item_subinv.SUBINVENTORY_CODE SUBINVENTORY,
MSIV.PRIMARY_UOM_CODE UOM,
--NVL(MOQ_OPen_BAL.OPEN_QTY_BAL ,0) OPEN_QTY_BAL ,
-- NVL(MOQ_OPen_BAL.OPEN_QTY_BAL,0) * NVL(AVG_ITEM_COST1.ITEM_COST,0) OPEN_QTY_VALUE,
(MOQ_OPen_BAL( All_Item_subinv.SUBINVENTORY_CODE,
MSI.ORGANIZATION_ID,
MSI.INVENTORY_ITEM_ID,
'&P_GL_PERIOD_NAME_FROM') ) OPEN_QTY_BAL ,
(MOQ_OPen_BAL_VAL( All_Item_subinv.SUBINVENTORY_CODE,
mSI.ORGANIZATION_ID,
MSI.INVENTORY_ITEM_ID,
'&P_GL_PERIOD_NAME_FROM')
) OPEN_QTY_VALUE,
NVL(AGGREGATED_MTT.PO_RECEIPTS_QTY,0) PO_RECEIPTS_QTY,
NVL(AGGREGATED_MTT.PO_RECEIPTS_QTY_VALUE,0) PO_RECEIPTS_QTY_VALUE,
NVL(AGGREGATED_MTT.MISC_RECEIPTS_QTY,0) MISC_RECEIPTS_QTY,
NVL(AGGREGATED_MTT.MISC_RECEIPTS_QTY_VALUE,0) MISC_RECEIPTS_QTY_VALUE,
NVL(AGGREGATED_MTT.WORKORDER_QTY,0) WORKORDER_QTY,
NVL(AGGREGATED_MTT.WorkOrder_QTY_VALUE,0) WorkOrder_QTY_VALUE,
NVL(AGGREGATED_MTT.SALES_SHIPMENT_QTY,0) SALES_SHIPMENT_QTY,
NVL(AGGREGATED_MTT.SALES_SHIPMENT_QTY_VALUE,0) SALES_SHIPMENT_QTY_VALUE,
NVL(AGGREGATED_MTT.MISC_ISSUE_QTY,0) MISC_ISSUE_QTY,
NVL(AGGREGATED_MTT.MISC_ISSUE_QTY_VALUE,0) MISC_ISSUE_QTY_VALUE,
NVL(AGGREGATED_MTT.TRANSFER_QTY,0) TRANSFER_QTY,
NVL(AGGREGATED_MTT.TRANSFER_QTY_VALUE,0) TRANSFER_QTY_VALUE,
NVL(AGGREGATED_MTT.REVAL_VALUE,0) REVAL_VALUE,
(MOQ_OPen_BAL(All_Item_subinv.SUBINVENTORY_CODE,
MSI.ORGANIZATION_ID,
MSI.INVENTORY_ITEM_ID,
'&P_GL_PERIOD_NAME_FROM')
+
nvl(AGGREGATED_MTT.PO_RECEIPTS_QTY,0) +
nvl(AGGREGATED_MTT.MISC_RECEIPTS_QTY,0) +
nvl(AGGREGATED_MTT.WORKORDER_QTY,0) +
nvl(AGGREGATED_MTT.SALES_SHIPMENT_QTY,0) +
nvl(AGGREGATED_MTT.MISC_ISSUE_QTY,0) +
nvl(AGGREGATED_MTT.TRANSFER_QTY,0) ) ON_HAND_QTY,
((MOQ_OPen_BAL_VAL( All_Item_subinv.SUBINVENTORY_CODE,MSI.ORGANIZATION_ID,MSI.INVENTORY_ITEM_ID,'&P_GL_PERIOD_NAME_FROM'))
+(nvl( AGGREGATED_MTT.PO_RECEIPTS_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.MISC_RECEIPTS_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.WorkOrder_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.sALES_SHIPMENT_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.MISC_ISSUE_QTY_VALUE,0) )
+(nvl( AGGREGATED_MTT.TRANSFER_QTY_VALUE,0) )
+nvl( AGGREGATED_MTT.REVAL_VALUE,0)) ON_HAND_QTY_VALUE -- column alias
FROM
-- In line View for MSI
(select distinct MMT.ORGANIZATION_ID, MMT.INVENTORY_ITEM_ID, MMT.SUBINVENTORY_CODE
From MTL_MATERIAL_TRANSACTIONS MMT,
ORG_ORGANIZATION_DEFINITIONS OOD,
MTL_ONHAND_QUANTITIES moq
where
OOD.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD.inventory_enabled_flag = 'Y'
AND OOD.operating_unit = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
AND OOD.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND MMT.ORGANIZATION_ID = OOD.organization_id
AND MMT.SUBINVENTORY_CODE = NVL('&P_SUBINVENTORY_CODE', MMT.SUBINVENTORY_CODE)
and MMT.ORGANIZATION_ID = MOQ.ORGANIZATION_ID -- to eliminate consigend items:2007Jan04:PKB
and MMT.INVENTORY_ITEM_ID = MOQ.INVENTORY_ITEM_ID --,,
and MMT.SUBINVENTORY_CODE = MOQ.SUBINVENTORY_CODE --,,
UNION
Select distinct MOQ.ORGANIZATION_ID, MOQ.INVENTORY_ITEM_ID, MOQ.SUBINVENTORY_CODE
from MTL_ONHAND_QUANTITIES MOQ,
ORG_ORGANIZATION_DEFINITIONS OOD2
WHERE
OOD2.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD2.inventory_enabled_flag = 'Y'
AND OOD2.operating_unit = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
AND OOD2.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND moq.ORGANIZATION_ID = OOD2.organization_id
AND moq.SUBINVENTORY_CODE = NVL('&P_SUBINVENTORY_CODE', moq.SUBINVENTORY_CODE)
) ALL_Item_SUBInv,
MTL_SYSTEM_ITEMS_B MSI,
Mtl_System_Items_Vl MSIV,
(SELECT
MMT.ORGANIZATION_ID ORGANIZATION_ID,
MMT.INVENTORY_ITEM_ID INVENTORY_ITEM_ID,
MMT.SUBINVENTORY_CODE SUBINVENTORY_CODE,
-- PO RECEIPTS.
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Purchase order')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('PO Receipt','PO Rcpt Adjust','Return to Vendor')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) PO_RECEIPTS_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Purchase order')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('PO Receipt','PO Rcpt Adjust','Return to Vendor')
THEN
NVL(MMT.ACTUAL_COST,0)* nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST * NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) PO_RECEIPTS_QTY_VALUE,
-- MISC RECEIPTS.
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Account','Inventory')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Account receipt','Miscellaneous receipt')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) MISC_RECEIPTS_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Account', 'Inventory')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Account receipt','Miscellaneous receipt')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) MISC_RECEIPTS_QTY_VALUE,
-- WorkOrder Qty and S$
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Job or Schedule')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('WIP Assembly Return','WIP Assy Completion','WIP component issue','WIP Component Return')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) WORKORDER_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Job or Schedule')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('WIP Assembly Return','WIP Assy Completion','WIP component issue','WIP Component Return')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) WorkOrder_QTY_VALUE,
-- Sales Shipment
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Sales order','RMA')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Sales order issue','Sales Order Pick','RMA Return','RMA Receipt')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) SALES_SHIPMENT_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Sales order','RMA')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Sales order issue','Sales Order Pick','RMA Return','RMA Receipt')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) SALES_SHIPMENT_QTY_VALUE,
-- MISC ISSUE
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Inventory','Account' )
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Miscellaneous issue','Account issue')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) MISC_ISSUE_QTY,
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
('Inventory','Account' )
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Miscellaneous issue','Account issue')
THEN
NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) MISC_ISSUE_QTY_VALUE,
-- Transfers
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Inventory' )
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Subinventory Transfer')
THEN
--MMT.TRANSACTION_QUANTITY
mmt.primary_quantity
ELSE 0
END
ELSE 0
END ) TRANSFER_QTY,
SUM( CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Inventory')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Subinventory Transfer')
THEN NVL(MMT.ACTUAL_COST,0) * nvl(mmt.primary_quantity,0)
MMT.TRANSACTION_COST NVL(AVG_ITEM_COST.ITEM_COST,0)
ELSE 0
END
ELSE 0
END ) TRANSFER_QTY_VALUE,
-- Adjustment to Cost (Revaluation)
SUM(CASE
WHEN MTST.TRANSACTION_SOURCE_TYPE_NAME in
( 'Standard cost update','Job or Schedule')
THEN
CASE
WHEN MTT.TRANSACTION_TYPE_NAME in
('Standard cost update','WIP cost update')
THEN
--2007JAN03:PKB MMT.TRANSACTION_COST
MMT.TRANSACTION_COST* MMT.QUANTITY_ADJUSTED
ELSE 0
END
ELSE 0
END ) REVAL_VALUE
FROM
MTL_MATERIAL_TRANSACTIONS MMT,
--GL_PERIODS GP,
MTL_TRANSACTION_TYPES MTT,
MTL_TXN_SOURCE_TYPES MTST,
ORG_ORGANIZATION_DEFINITIONS OOD
WHERE
OOD.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD.inventory_enabled_flag = 'Y'
AND OOD.operating_unit = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
AND OOD.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') --1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND MMT.ORGANIZATION_ID = OOD.organization_id
AND MMT.SUBINVENTORY_CODE = NVL('&P_SUBINVENTORY_CODE', MMT.SUBINVENTORY_CODE)
-- AND GP.PERIOD_SET_NAME = 'HF-ACCTG-CAL' -- Hardcoded PKB
AND
( (EXISTS
( select GP.Period_name
FROM GL_PERIODS GP
where TO_DATE(TO_CHAR(MMT.TRANSACTION_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
>= TO_DATE(TO_CHAR(GP.START_DATE,'DD-MM-YYYY'),'DD-MM-YYYY') --Between GP.START_DATE and GP.END_DATE
AND GP.PERIOD_NAME = '&P_GL_PERIOD_NAME_FROM'
and GP.PERIOD_SET_NAME = 'HF-ACCTG-CAL'
AND NVL('&P_GL_PERIOD_NAME_FROM','ALL') != 'ALL'
OR (NVL('&P_GL_PERIOD_NAME_FROM' ,'ALL') = 'ALL')
AND
( (EXISTS
( select GP.Period_name
FROM GL_PERIODS GP
where TO_DATE(TO_CHAR(MMT.TRANSACTION_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
<= TO_DATE(TO_CHAR(GP.END_DATE,'DD-MM-YYYY'),'DD-MM-YYYY')
AND GP.PERIOD_NAME = '&P_GL_PERIOD_NAME_TO'
and GP.PERIOD_SET_NAME = 'HF-ACCTG-CAL'
AND NVL('&P_GL_PERIOD_NAME_TO','ALL') != 'ALL'
OR (NVL('&P_GL_PERIOD_NAME_TO','ALL') = 'ALL')
AND MMT.TRANSACTION_TYPE_ID = MTT.TRANSACTION_TYPE_ID
AND MMT.TRANSACTION_SOURCE_TYPE_ID = MTST.TRANSACTION_SOURCE_TYPE_ID
group by
MMT.ORGANIZATION_ID,
MMT.INVENTORY_ITEM_ID,
MMT.SUBINVENTORY_CODE
) AGGREGATED_MTT,
-- Inline Table for AVG_ITEM_COSTs 2nd time,
(SELECT
CIC.ORGANIZATION_ID ORGANIZATION_ID,
CIC.INVENTORY_ITEM_ID INVENTORY_ITEM_ID,
CIC.COST_TYPE_ID COST_TYPE_ID,
CCT.COST_TYPE COST_TYPE,
NVL(CIC.ITEM_COST ,0) ITEM_COST
FROM
CST_ITEM_COSTS CIC,
CST_COST_TYPES ccT,
ORG_ORGANIZATION_DEFINITIONS OOD1
WHERE
CCT.COST_TYPE_ID = CIC.COST_TYPE_ID
/*AND (
(CCT.COST_TYPE = 'Average' and '&P_INV_ORG_CODE' = 'HS')
OR
(CCT.COST_TYPE = 'Frozen' and '&P_INV_ORG_CODE' = 'HL')
AND CCT.COST_TYPE_ID =
( select m.primary_cost_method
from mtl_parameters m
where m.organization_id = OOD1.ORGANIZATION_ID
and OOD1.organization_code = '&P_INV_ORG_CODE' --'HS' --'&P_INV_ORG_CODE'
AND OOD1.inventory_enabled_flag = 'Y'
AND OOD1.operating_unit = fnd_profile.value('ORG_ID') 83 --fnd_profile.value('ORG_ID')
AND OOD1.SET_OF_BOOKS_ID = fnd_profile.value('GL_SET_OF_BKS_ID') 1 --fnd_profile.value('GL_SET_OF_BKS_ID')
AND cic.ORGANIZATION_ID = OOD1.organization_id
) AVG_ITEM_COST1
WHERE
AGGREGATED_MTT.ORGANIZATION_ID(+) = All_Item_subinv.ORGANIZATION_ID
AND AGGREGATED_MTT.INVENTORY_ITEM_ID(+) = All_Item_subinv.INVENTORY_ITEM_ID
AND AGGREGATED_MTT.subinventory_code(+) = All_Item_subinv.subinventory_code
AND All_Item_subinv.ORGANIZATION_ID = MSI.ORGANIZATION_ID
AND ALL_Item_SUBInv.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID
AND AVG_ITEM_COST1.ORGANIZATION_ID(+) = MSI.ORGANIZATION_ID
AND AVG_ITEM_COST1.INVENTORY_ITEM_ID(+) = MSI.INVENTORY_ITEM_ID
and msi.ROWID = MSIV.ROW_ID
and msi.ORGANIZATION_ID = fnd_profile.value('ORG_ID') --83 --fnd_profile.value('ORG_ID')
and sysdate between NVL(msi.start_date_active,sysdate -1 )
and NVL(msi.end_date_active,sysdate+1)
Order BY
MSI.SEGMENT1,
MSI.DESCRIPTION ,
All_Item_subinv.SUBINVENTORY_CODE
/Hi Barry and All: This indeed is a bug in SQLPLUS ! Version 9.2.0.1.0 as well.
Thanks for asking the version no of SQLLPLUs. I was working thru Oracle Apps 11i.10 (concurrent program). So I did not get any message from SQLPLUS.
I tested independently in SQLPLUS and got the message! Thanks Oracle!!!
The Bug is in the name of COLUMN NAME or ALIAS Name. I renamed the columns from ON_HAND_QTY and ON_HAND_VALUE to CLOSE_QTY and CLOSE_QTY_VALUE. It worked!! The string 'ON' in the column/alias name is taken as 'ON' keyword/clause for 'compute' statement for SQLPLUS.
Here is the message from SQLPLUS
" SP2-0084: COMPUTE ON keyword specified already"
See these two line and compare
--compute SUM label 'Total $S: ' of SALARY ON_SALARY on report;
compute SUM label 'Total $S: ' of SALARY on report;
Thanks - Pradip
Here is the sample code to simulate. (not Big :))
WHENEVER SQLERROR EXIT FAILURE
CLEAR computes
CLEAR BREAKS
clear column
TTITLE OFF
BTITLE OFF
set verify off
set feedback off
set echo off
set heading off
set termout off
set linesize 203
set pagesize 30
set termout on
SET UNDERLINE =
set heading on
COLUMN SALARY FORMAT 9,999,990 Heading 'SALARY'
COLUMN ON_SALARY format 9,999,990 Heading 'ON Salary'
column ENAME format a20 heading 'NAME'
COLUMN EMPNO Format 99999 HEADING 'EMPNO'
BREAK on REPORT skip 3;
--compute SUM label 'Total $S: ' of SALARY ON_SALARY on report;
compute SUM label 'Total $S: ' of SALARY on report;
WHENEVER SQLERROR EXIT FAILURE
select empno, ename, sal SALARY, sal ON_SALARY from scott.emp;
Maybe you are looking for
-
I have been using itunes on my pc for quite a while now and it has always worked great. Now all of a sudden when i try to open it up it says "The iTunes library.itl is locked, on a locked disc, or you do not have permission to write this file. I neve
-
My MacBook Pro isn't recognising my SD card
I have previosuly imported photos from the SD card in my camera although today when I try and do it it's not even recognising my card, it's not rejecting it or saying there is a fault it jsut does nothing when I put it in... Any suggetions?
-
Hi there, I'm new to Flash so please bear with me. I have a buttont that has drag and drop assigned to it as an actionscript from code snippets. I am trying to link the movements made by this button and the on click function to a symbol on the screen
-
how to transfer downloded app in pc itune to iphone, if i sync then the some app on iphone which r not on itune get deleted
-
Java Programming Please Help me, Please...
I have 3 classes, I and I can't import anything, because this is my class project. I won't attempt to lie about it. I've been working on this project for two weeks. My professor usually answers questions, but the University internet is down. This is