Using quotes in dbms_wm.AlterVersionedTable
Hi,
I try to create custom spatial index in LT table, but get the error:
exec dbms_wm.AlterVersionedTable('USER.TABLE','DDL', 'ddl=create index user.TABLE_IN on user.TABLE_LT (geom) indextype is mdsys.spatial_index PARAMETERS(''layer_gtype=POINT sdo_non_leaf_tbl=TRUE tablespace=custom_tbs'') parallel, force=true', true);}
14:39:40 Error: ORA-20171: WM error: invalid parameter_options string specified /* by quotes??
ORA-06512: at "WMSYS.LT", line 14673
ORA-06512: at line 1The simple index creation works fine:
exec dbms_wm.AlterVersionedTable('USER.TABLE','DDL', 'ddl=create index user.TABLE_IN on user.TABLE_LT (geom) indextype is mdsys.spatial_index, force=true', true);Can I create a custom indexes in above procedure? Or I must use use only dbms_wm.BeginDDL/CommitDDL ?
Oracle 10.2.0.5
When I remove ignore_last_error=>true, I get another error in this case:
10:33:05 Error: ORA-06550: line 2, column 158:
PLS-00103: Encountered the symbol "LAYER_GTYPE" when expecting one of the following:
* & = - + ; < / > at in is mod remainder not rem return
returning <an exponent (**)> <> or != or ~= >= <= <> and or
like LIKE2_ LIKE4_ LIKEC_ between into using || multiset bulk
member SUBMULTISET_
ORA-06512: at "WMSYS.LT", line 14673
ORA-06512: at line 1
If I not remove ignore_last_error=>true, the procedure is performed but does nothing
Edited by: ⁸⁷Rb-⁸⁷Sr on 22.08.2012 23:37
Similar Messages
-
Sourcing using quota arrangement
Hi,
How to carry out sourcing using quota arrangement?
We want to use quota arrangement to carryout sourcing?
Pl guide.
ThxVaibhav
Your question is too general. You have to be little more specific about your reqirement.
Iam going to assume you are talking about sourcing to a single destination branch from multiple vendors using quotas. It is simple you have to create inbound quotas to branch from the vendors using tcode /n/sapapo/scc_tq1. Make sure the quotas are active and valid as of the current date. Then run heuristics and you will see the quotas taking effect .
thanks
aparna
Edited by: Aparna.Ranganathan on Feb 3, 2011 6:43 PM -
Using Quota templates with Self Service Site Creation
I am having an issue with quota templates not getting assigned to site collections created with Self Service Site Creation.
I set up a quota template in 'Specify Quota Templates' and give it the name 'test'. I then go to self service site creation management and select the name 'test' from the 'Quota template to apply' dropdown. I then create a site using self service
site creation and when completed no template is applied to the new site collection. I am wondering if anybody has seen this or if not am I incorrect in what I am expecting, that is that all site created in that web application should have the quota template
applied that I selected in self-service site creation management
Steven Albrecht
University of Colorado Denver
Steven AlbrechtHi Steven,
Please create a quota template named "Personal site" and apply in self service site creation page, then check again.
http://blogs.msdn.com/b/jimmiet/archive/2012/07/22/10332361.aspx
http://danmyhre.wordpress.com/2010/03/16/my-sites-do-not-have-a-quota-when-they-are-created/
Thanks
Daniel Yang
TechNet Community Support -
How to know if a MRP run element is using Quota Arrangement and lot size?
Hi all,
Two questions:
A) How to determine if a source is actually pulled from Quota Arrangement?
I am wondering if there is anyway from ABAP table or from Transaction (i.e. Purchasing Order) in which the source is pulled from a Quota Arrangement?
We use scheduling agreement, PIR and source list, and as well as Quota Arrangement for our purchasing.
I just want to know how, from system (table and transaction), to find out the source is from quota, not from PIR or others.
B) Quota Arrangement still can work properly if lot-size procedure's splitting quota indicator not Checked?
If my the lot-size procedure which I am using for a material does not activate the splitting quota indicator, it means split quota will not work during MRP run.
But does this also mean that quota arrangement will not be working for this particular material even if I have create a a quota arrangement object (via MEQ1) for this material?
Thanks
DanielTomek,
If I want to use the split quota, it seems there is some pre-requisite.
If you go to MEQ1 and press F1's on the "Minimum qty split" column, and you will notice the following message.
Allocation by quota using splitting quotas is only carried out via a requirement planning run, subject to the following preconditions:
Through the appropriate entry in the field Quota arrangement usage (on the MRP data screen 2 or Purchasing screen) it must have been specified that a quota arrangement is to be applied in the planning run.
The indicator for the splitting quota must be set for the the lot-sizing procedure used for materials planning purposes in Customizing.
Hence, the quota arrangmeent still workable even if the lot-size does not have the spliting quota box checked?
Indicator: Splitting quota in short-term horizon
The indicator for splitting is used to determine that in the case of the selected lot size, the quota arrangement is to be applied using the splitting logic.
Use
If this indicator has been set, the lot is split up in the planning run according to the following formula:
quota for source X
Quantity for source X = --------------------- * requirement
sum of all quotas -
How to use quotes in the forum
Whenever I use the quote functionality in these forums the actual quotes are preceded by code. I don't see this happening to most others. What am I doing wrong?
function(){return A.apply(null,[this].concat($A(arguments)))}
Curt Y wrote:
acresofgreen wrote:
Whenever I use the quote functionality in these forums the actual quotes are preceded by code. I don't see this happening to most others. What am I doing wrong?
This is all I see when I click on the quote icon in reply.
Browser may make a difference, as I sometimes see this with other posts. I use Firefox browser.
I suspected that at least some other people were not doing anything special and the quote icon just worked for them, but thanks for confirming. I use Internet Explorer - I wonder if there is some setting I could change in the tools menu that would fix the problem...
Oh well, it is an annoyance, that's all, and I can live with it! -
I am running CF MX7 Enterprise, and using a Sybase driver as
the datasource. I can run this query just fine:
select my_field from my_table
where my_key = '1234'
but I get an error when I replace the single quotes with
double quotes (shift-quote on the keyboard), like this:
select my_field from my_table
where my_key = "1234"
If I switch to an ODBC socket either one will work. It's just
the Sybase driver that throws the error. Does anyone have any
expeience with this?gmtjr wrote:
> I am running CF MX7 Enterprise, and using a Sybase
driver as the datasource. I
> can run this query just fine:
>
> select my_field from my_table
> where my_key = '1234'
>
> but I get an error when I replace the single quotes with
double quotes
> (shift-quote on the keyboard), like this:
>
> select my_field from my_table
> where my_key = "1234"
>
> If I switch to an ODBC socket either one will work. It's
just the Sybase
> driver that throws the error.
Every proper database server will throw an error because the
SQL
standard says that you are not supposed to do that.
Convert your queries to use cfqueryparam to solve the
problem.
Jochem
Jochem van Dieten
Adobe Community Expert for ColdFusion -
Find production order using quote and/or sales order number
How can I find the related production order if I only have the quote/sales order number and line item? I know that I can go through AFPO and/or AFKO but is there another way?
Regards,
DavisIn the Table AFPO, the Field KDAUF contains the Sales Document Number and KDPOS the Line Item Number. If you are looking for a Transaction to Enter the Sales Document Number at, use TCode CO26.
-
Using quote values w/ BAPI_SALESORDER_SIMULATE
i am simulating an order with BAPI_SALESORDER_SIMULATE. When i enter the order via VA01, i get a popup that there is an open quote, and i can select thequote and get a specific price. I need to be able to, at the item level, either tell it to use any open quote price, or specify a quote number and item number.
I need to get the same price for the simulation that i get for VA01, somehow.
thanks for any helpThis is really an interesting question!
You want to link the sales order item to a quote item and if a quote already exists you want to pull that price rather than repricing within the order simulation.
Can you try, passing the three reference document fields for preceding document within ORDER_ITEMS_IN table parameter, with REF_DOC = Quote, REF_DOC_IT = item and REF_DOC_CA = 'B' for quotation?
BAPI_SALESORDER_SIMULATE
Fields from TABLE: ORDER_ITEMS_IN
REF_DOC VGBEL CHAR 10 0 Document number of the reference document
REF_DOC_IT VGPOS NUMC 6 0 Item number of the reference item
REF_DOC_CA VBTYP_V CHAR 1 0 Document category of preceding SD document
Let me know if it takes the price for this item from the quote instead. -
Creating Quote using Quoting APIs
Hi,
I am using the following method, trying to create a Quote from OA.
oracle.apps.qot.core.Quote.create(ControlRecord controlRecord) returns void
Since the method return void, I could not fetch the Quote details, of the created quote, like quote_header_id, etc.. also am not sure weather the Quote has been created or not.
Plz help me with this, also what values shoud be assigned to ControlRecord object for creating a valid Quote.
Thanks,
AdarshHi,
Below is the description obtained in the quoting implementation guide.
create(ControlRecord) Creates a quote with the attributes populated in this quote
object. Quote header ID, last update date, and quote number
will be populated in the quote header after the quote is
created. This API should be called within a transaction block.
public void
create(oracle.apps.aso.quote.ControlRecord
controlRec)throws FrameworkException, SQLExce
ption, QuoteException
As per this description it should populate Quote header ID, last update date, and quote number . So i am trying to fetch the quote header id and it is showing null.
Is there anything which i am missing in the code?
Regards,
Mithun -
Negative material coverage when using quota
Hello!
We are using scheduling agreements with quota. Vendors in quota has different delivery times. MRP lets material coverage go negative instead of creating schedule line to vendor which quota rating is higher. Do you know any solution for this problem?
Thanks in advance!
Kimmohave u marked the allow negative stock for ur plant or sloc check box in backend
if yes then unmark that then mrp will genrate the schedule lines
on more thing ru taking about split quota -
How to use quota on a desktop folder for all users with File Server Resource Manager.
Hi there,
I'd like to know if there is a posibility to use variables in the path with File Server Resource Manager if you want to set the quota.
The path I'd like to use is d:\home\%username%\desktop.
Like to hear from you all if there is a solution or workaround for this one :)
Thanks for your time.
Ben.
Ben van der MeerThat's a question about Automator, so I'd pop that one here
http://discussions.apple.com/forum.jspa?forumID=1339
Regards
TD -
Cannot use quota command on NFS shares
When I am logged into a host other than where the my users directories reside, the quota -v command does not display any information.
Does the file systems need to be mounted differently? I know the mounts are definitely including the rq mount option.
Thanks for the help,
-Toddlook into rquotad/rquota. it may be disabled (svcs nfs/rquota) or commented out in /etc/inetd.conf
-
Activate Smartnet using Quote Numbers?
I've inherited a job site that is 2/3 complete and nobody was following up on SmartNet as it got ordered.
Long story short is that I've got two quotes with SmartNet and a link to the old CSCC site to activate / register the SmartNet for my devices.
I've reached out to a few different E-mail / form message entities on the Cisco site but am having a hard time trying to figure out a way to get these SmartNet contracts registered. Anyone have insight on how to do it or who to call? I do have of course the device serial numbers as well.If it's only a quote, there's no "activation". If you've put in a Purchase Order, the reseller should have created a sales order (SO). Given an SO number, the TAC can associate your cisco.com id with the contract.
If you don't have a SO number, you'll need to contact your reseller - like Leo said. -
Allocation quantity using quota arrangement
Hi folks.
please let me know what I need to do in order to allocate the schedule lines according the quota defined. I mean.. if I have a demand for 100 PC for each weak and a quota arrangement with 60% for vendor A and 40% for vendor B how can I get for each weak a schedule line with 60 PCs to vendor A and 40PCs to vendor B?
tksTks Baweja. But actually what is happening is that the system is allocating quantity only to a one vendor and not distributing the quantities for both.
week qty vendor
1 60 A
1 40 B
2 60 A
2 40 B
3 60 A
3 40 B
4 60 A
4 40 B
5 60 A
5 40 B
What I found out was that to split the quota we have to set up it in the lot size procedure.
spro->production->materials requirements planning->planning->lot size calculation->check lot-size procedure->mrp lot size -
Using quote delimiter with define off.
I am having issues with the the quote delimiter picking up the colon as a bind variable. For some reason when there is a tick infront of the colon it will break (ex. 2) but in (ex. 3) it is behind the colon it will work fine.
set define off
DECLARE
s1 VARCHAR2(20);
s2 VARCHAR2(20);
s3 VARCHAR2(20);
BEGIN
s1 := 'Isn''t t:his cool';
--s2 := q'{Isn't th:is cool}';
s3 := q'{Isnt th:is co'ol}';
dbms_output.put_line(s1);
dbms_output.put_line(s2);
dbms_output.put_line(s3);
END;
/@SY,
Can you please explain the difference ?
SQL> select * from v$version;
BANNER
Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
PL/SQL Release 9.2.0.8.0 - Production
CORE 9.2.0.8.0 Production
TNS for HPUX: Version 9.2.0.8.0 - Production
NLSRTL Version 9.2.0.8.0 - Production
SQL> SET define off
SQL>
SQL> DECLARE
2 s1 VARCHAR2 (20);
3 s2 VARCHAR2 (20);
4 s3 VARCHAR2 (20);
5 BEGIN
6 s1 := 'Isn''t t:his cool';
7 s2 := q'{Isn't th:is cool}';
8 s3 := q'{Isnt th:is co'ol}';
9 DBMS_OUTPUT.put_line (s1);
10 DBMS_OUTPUT.put_line (s2);
11 DBMS_OUTPUT.put_line (s3);
12 END;
13 /
s2 := q'{Isn't th:is cool}';
ERROR at line 7:
ORA-06550: line 7, column 11:
PLS-00103: Encountered the symbol "{Isn" when expecting one of the following:
. ( * @ % & = - + ; < / > at in is mod not rem
<an exponent (**)> <> or != or ~= >= <= <> and or like
between ||
SQL> select * from v$version;
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
PL/SQL Release 11.2.0.2.0 - Production
CORE 11.2.0.2.0 Production
TNS for Linux: Version 11.2.0.2.0 - Production
NLSRTL Version 11.2.0.2.0 - Production
SQL> SET define off
SQL>
SQL> DECLARE
2 s1 VARCHAR2 (20);
3 s2 VARCHAR2 (20);
4 s3 VARCHAR2 (20);
5 BEGIN
6 s1 := 'Isn''t t:his cool';
7 s2 := q'{Isn't th:is cool}';
8 s3 := q'{Isnt th:is co'ol}';
9 DBMS_OUTPUT.put_line (s1);
10 DBMS_OUTPUT.put_line (s2);
11 DBMS_OUTPUT.put_line (s3);
12 END;
13 /
Isn't t:his cool
Isn't th:is cool
Isnt th:is co'ol
PL/SQL procedure successfully completed.Thanks in advance.
Maybe you are looking for
-
Issue related to change of Quotas on transfering an employee
Dear All, I have a query regarding the generation/ updation of quotas during transfers. We have 2 sets of groupings. For the 1st set of grouping as per the PSA's, PL quota is 21 days and for the 2nd set of grouping, PL quota is 24 days and is geneart
-
After installing Mavericks, iMac crashes and reboot
Hi All, Since the update to Mavericks my iMac spontanisly crashes. See below the output from the crash report: Anonymous UUID: D5DBA943-F091-C598-917C-11C5772A2A33 Thu Oct 24 19:40:31 2013 panic(cpu 3 caller 0xffffff8003cdc19e): Kernel trap at
-
Error ora-01033 initialization or shutdown in progress Oracle 10g
Hello ! I am a young Gabonese student and I need your help , it turns out that I have an Oracle database 10g and I am facing the same problem for a month already Indeed, my database shows me The instance of the database that my application connects
-
Hey. Iv installed photoshop and Illustrator CS6 and also Maya 2012 but they wont open. when I attempt it says 'You can't open the application (..) because it is not supported on this type of mac" iv tripple checked that im not being stupid and downlo
-
According to u201EEnterprise Services Enhancement Guideu201D document I tried to enhance SAP Enterprise Service by creation a new u2018productu2019 u2018product versionu2019 software unit componentu2019 and so on in the SLD. Unfortunately I cannot