Help required to understand the configuration parameteres set in Ora JDBC
Hello Support,
Client is connected through Oracle JDBC and folllowing values is assigned in the configuration.
(FAILOVER=on)(LOAD_BALANCE=off)
I would like to know what is the meaning of above values please ? specially Load_balance = OFF
Thanks
I don't know if this will help or not, but with an executable jar file, the classpath is handled differently. All classes are expected to be contained in the jar and external classpath info is ignored. This may also be true in your case if the files are being accessed in that manner. You could try it out quickly by moving the policy and conf files into the jar and dropping the path info.
If that works, you can decide whether or not you want it packaged that way.
If it doesn't work, try unpacking the jar file and running it that way, instead of the executable jar. Again, if that works, you can decide how you want to package your app based on that information.
Similar Messages
-
Help required in understanding the flow of control in working with EJB 3.0
*1. Can anyone help me in understanding the flow after getting an object of InitialContext in using Stateless/Stateful in EJB 3.0 from client i.e. what we are getting in the step Object ref=jndiContext.lookup("CalculateBean/Remote) .*
*2. What is the use of INITIAL_CONTEXT_FACTORY*
*3. PROVIDER_URL*
*4. Java.naimg.factory.url.pkgs*
*5. why org.jboss.naming and org.jnp.interfaces separated by semi colon.*
*6. Why we dont require INITIAL_CONTEXT_FACTORY, PROVIDER_URL and Java.naming.factory.url.pkgs if the client is a web client.*
Properties p=new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
p.put(Context.PROVIDER_URL,"jnp://localhost:1099");
p.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jnp.interfaces");
Context jndiContext = new InitialContext(p);
Object ref = jndiContext.lookup("CalculateBean/Remote");
Calculate c = (Calculate)ref;
int sum=c.add(3,4);
System.out.println(sum);
Thanx in advance........Annotations can also be processed at run time using the core reflection API (java.lang.Class & java.lang.reflect.*), so you might want to explore down that path. I have no idea how JBoss actually does it, but annotation processing at build time and core reflection at runtime are the two most obvious possibilities.
Bruce -
Help required to understand the concepts for data files in tablespace
Hi Guys!
Conceptual understanding for data files.
A tablespace is having 2 datafiles.
What once the data files will get full? I know we can create data files but what if there is no space on the server for any additional file to be created?
Do we require to make the oldest file offline and move outside the environment?
Thanks782790 wrote:
Hi Guys!
Conceptual understanding for data files.
A tablespace is having 2 datafiles.
What once the data files will get full? I know we can create data files but what if there is no space on the server for any additional file to be created?
Do we require to make the oldest file offline and move outside the environment?
ThanksIf the datafiles are full, there is not much that you would get from the "defragmentation" of the datafiles. It would be sort of like this in the start,
FFFFFFFFFFFFFFFFFFFFFFFFFF
Then it will be ,
FFFFFFFUUUUUFFFFFUUUUUU
So what you are going to get is something like this, (if would be done),
FFFFFFFFFFFFFUUUUUUUUUU
So that's how the datafile would like. But that won't give you much of the space anyways still. The option to add a storage must be there with you. The file being offline wont take away the space that it has already allocated. And moreover, doing so, would also impact the access to the data that it would be storing within it.
HTH
Aman.... -
Help required in understanding the rationale behind singleton class
Can anyone help me in understanding singleton classes?why do we need them?Architecturally when should we go for a singleton class?
answer lies in GoF book.
-
Help required in understanding of static blocks in java
Hi ,
Can some one help me in understanding the difference between static blocks in java....also what is the difference in declaring some static variables in a class and and declaring some variables in a static block? From an architecture viewpoint when should one use static blocks in Java?Static blocks are piece of code that can beexecuted
before creating an instance of a class.static blocks are executed once, when the class
itself is loaded by the JVM. They are not executed
before creating each instance of a class.
For example whatever you include in the mainn method will be
executed without you having to create the instanceof
the class using the new operator. So you can saythe
main method is a static block.main is not a static initialisation block but a
static method. a special case static method at that -
it is only executed when the containing class is
specified as a parameter to the JVM. (unless you
specifcally call it elsewhere in code - but that
would be bad form).
in answer to the original post, static variables
belong to the class. each instance of the class share
the same static variables. Public static vars can be
accessed by prefixing them with the class name. A
static initialisation block can be used to
initialise static variables. Variables declared
within the static initialisation block exist only
within the scope of the block.
e.g.
public class Foo {
static Bar bar; // static member variable
// static initialisation block
static {
// variable declared in static block...
String barInfo =
arInfo = System.getParameter("barInfo");
// ... used to initialise the static var
bar = new Bar(barInfo);
So is the only purpose of static initialization blocks is to initialize static variables? Does the initialization of static variables inside a static block make any difference in performance? If yes , then how ? -
I want to check the main diffrence in Pop up block enabled and disabled.But,i don't get any difference.Would u please help me to understand the difference using one practical example of website
Here's two popup test sites.
http://www.kephyr.com/popupkillertest/test/index.html
http://www.popuptest.com/ -
Please help me in understanding the EDIFACT D96A format for INVOICE
Hi,
Im doing an INVOICE02 IDOC to EDIFACT D96A INVOIC scenario. Im new to EDI.
Pls Pls Pls Pls kindly help me in understanding the following EDIFACT D96A file.
UNBUNOA:35410033000055:145400110000009:14070612:085511137INV96A+EANCOM1'
UNH1INVOIC:D:96A:UN:EAN008'
BGM3805010237529+9'
DTM+137:200706120000:203'
DTM+35:20070612:102'
DTM+454:20070612:102'
RFF+ON:32210'
DTM+171:20070612:102'
RFF+DQ:000030585715'
DTM+171:20070612:102'
NADSU5410148000001::9+BVBA Unilever Belgium SPRLBl.De L?'Humanité 292 292Bruxelles1190BE'
RFF+VA:BE438390312'
RFF+ARA:0438390312'
NADBY5400110000009::9+D.L.L.RUE OSSEGHEM 53-MOLENBEEKMOLENBEEK-SAINT-JEAN1080BE'
NADDP5400110000009::9+D.L.L.RUE OSSEGHEM 53-MOLENBEEKMOLENBEEK-SAINT-JEAN1080BE'
NADIV5400110000009::9+DELHAIZE FRS. CENTRALESRUE OSSEGHEM , 53BRUSSEL-MOLENBEEK1080BE'
RFF+VA:BE402206045'
RFF+ARA:0402206045'
CUX+2:EUR:4'
LIN10+8000920900987:EN'
PIA1000000000019009801:SA'
IMDF+IN:::IGLO POELEE LEGUMES CHAMPIGNONS 6X8'
QTY+47:81'
QTY+46:81'
MOA+203:1584.4'
PRI+AAA:19.56'
PRI+AAB:21.24'
TAX7VAT+++:::6.000'
MOA+125:1584.4'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN20+5410148126459:EN'
PIA1000000000011264501:SA'
IMDF+IN:::Epinards hachis en portions '
QTY+47:112'
QTY+46:112'
MOA+203:1061.01'
PRI+AAA:9.47'
PRI+AAB:10.96'
TAX7VAT+++:::6.000'
MOA+125:1061.01'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN40+5410148013452:EN'
PIA1000000000010134500:SA'
IMDF+IN:::15 Fish Sticks Colin d?'Alaska '
QTY+47:256'
QTY+46:256'
MOA+203:4937.63'
PRI+AAA:19.29'
PRI+AAB:20.16'
TAX7VAT+++:::6.000'
MOA+125:4937.63'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
LIN50+5414807999958:EN'
PIA1000000000019999501:SA'
IMDF+IN:::Iglo Poisson Pané Epinards 7X400g'
QTY+47:180'
QTY+46:180'
MOA+203:4160.31'
PRI+AAA:23.11'
PRI+AAB:24.08'
TAX7VAT+++:::6.000'
MOA+125:4160.31'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
LIN60+5410148120952:EN'
PIA1000000000011209501:SA'
IMDF+IN:::Epinards Crhme en Portions '
QTY+47:112'
QTY+46:112'
MOA+203:1594.69'
PRI+AAA:14.24'
PRI+AAB:15.92'
TAX7VAT+++:::6.000'
MOA+125:1594.69'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN70+5410148124158:EN'
PIA1000000000011241503:SA'
IMDF+IN:::EPINARDS HACHES EN PORTIONS 450G'
QTY+47:144'
QTY+46:144'
MOA+203:938.01'
PRI+AAA:6.51'
PRI+AAB:7.44'
TAX7VAT+++:::6.000'
MOA+125:938.01'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN120+5410148016729:EN'
PIA1000000000010167201:SA'
IMDF+IN:::Macaroni Fromage/Jambon '
QTY+47:260'
QTY+46:260'
MOA+203:4337.55'
PRI+AAA:16.68'
PRI+AAB:17.58'
TAX7VAT+++:::6.000'
MOA+125:4337.55'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
LIN130+5410148441255:EN'
PIA1000000000014412503:SA'
IMDF+IN:::CHOUX ROUGES AUX POMMES 450G'
QTY+47:144'
QTY+46:144'
MOA+203:1756.99'
PRI+AAA:12.2'
PRI+AAB:13.36'
TAX7VAT+++:::6.000'
MOA+125:1756.99'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN140+5410148017702:EN'
PIA1000000000010177001:SA'
IMDF+IN:::Frit?'Kot 1'
QTY+47:60'
QTY+46:60'
MOA+203:1102.6'
PRI+AAA:18.38'
PRI+AAB:22'
TAX7VAT+++:::6.000'
MOA+125:1102.6'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:4.9:1'
LIN180+8000920801796:EN'
PIA1000000000018017901:SA'
IMDF+IN:::EPINARDS EN BRANCHES 10 X 450'
QTY+47:190'
QTY+46:190'
MOA+203:2204.2'
PRI+AAA:11.6'
PRI+AAB:12.9'
TAX7VAT+++:::6.000'
MOA+125:2204.2'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN200+5410148014268:EN'
PIA1000000000010142602:SA'
IMDF+IN:::PETITS POIS EXTRA FINS 450G'
QTY+47:238'
QTY+46:238'
MOA+203:1999.6'
PRI+AAA:8.4'
PRI+AAB:9.24'
TAX7VAT+++:::6.000'
MOA+125:1999.6'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
ALCA++1'
PCD+1:1.96:1'
LIN230+8000920807248:EN'
PIA1000000000018072403:SA'
IMDF+IN:::IGLO POUL ET PENNE AUX LEG.SOLEI. 6'
QTY+47:99'
QTY+46:99'
MOA+203:1727.54'
PRI+AAA:17.45'
PRI+AAB:18.3'
TAX7VAT+++:::6.000'
MOA+125:1727.54'
ALCA++1'
PCD+1:0:1'
ALCA++1'
PCD+1:1.97:1'
UNS+S'
CNT+2:12'
MOA+124:1644.27'
MOA+86:29048.8'
MOA+79:27404.53'
MOA+125:27404.53'
TAX7VAT++:::6.000S'
MOA+125:27404.50'
MOA+124:1644.27'
UNT2121'
UNZ111137'
Advance appreciations,
Ram.Its very simple:
UNB-segment : Interchange Header
S001 SYNTAX IDENTIFIER
0001 Syntax Identifier UNOA
0002 Syntax version number 2
S002 INTERCHANGE RECIPIENT
0004 Sender Identification 8711382000091 (= GLN Code Tilburg)
0007 Identification Code Qualifier 14
S003 INTERCHANGE SENDER
0004 Recipient Identification 8711700400008(= GLN Code Unilever)
0007 Identification Code Qualifier 14
S004 DATE/TIME OF PREPARATION
0017 Date YYMMDD
0019 Time HHMM
0020 INTERCHANGE CTRL REF. Unique message reference number
0026 APPLICATION REFERENCE WMS0330
UNH-segment: Message header
0062 MESSAGE REFERENCE NUMBER Unique sequence numbe within UNB
S009 MESSAGE IDENTIFIER
0065 Message type identifier INVRPT
0052 Message type version number D
0054 Message type release number 96A
0051 Controlling agency EN
0057 Association assigned code EAN004
BGM-segment: Beginning of message
C002 DOCUMENT/MESSAGE NAME
1001 Document/message name, coded 35 (= Inventory report)
3055 Code list responsible agency, coded 9 (= EAN)
1004 DOCUMENT/MESSAGE NUMBER Unique Number assigned by CS (= Date/Time CCYYMMDDHHMMSS)
1225 MESSAGE FUNCTION, CODED 9 (= Original)
DTM-segment: Date/time/period
C507 DATE/TIME/PERIOD
2005 Date/time/period qualifier 137 (=Document/message date/time)
2380 Date/time/period Document date
2379 Date/time/period format qualifier 102 (= CCYYMMDD)
RFF-segment: Reference
C506 REFERENCE
1153 Reference code qualifier ON (= Order number)
1154 Reference identifier Agreement number
NAD-segment: Name and address
3035 PARTY QUALIFIER GY (= Inventory reporting party = CS)
GM (= Inventory controller = XYZ)
C082 PARTY IDENTIFICATION DETAILS
3039 Party id. identification GLN code
3055 Code list responsible agency, coded 9 (= EAN)
LIN-segment: Line item
1082 LINE ITEM NUMBER Unique Line Number
C212 ITEM NUMBER IDENTIFICATION
7140 Item number EAN Material code
7143 Item number type, coded EN (= EAN)
PIA-segment: Additional Product Information
4347 PRODUCT ID FUNCTION IDENTIFIER "1"(= Additional Information)
C212 ITEM NUMBER IDENTIFICATION
7140 Item number Promotional Variant
7143 Item number type, coded "PV (= Promotional variant)
QTY-segment: Quantity
C186 QUANTITY DETAILS
6063 Quantity qualifier 12 (= Despatch quantity)
6060 Quantity Number of stock units
PRI: Represent price
TAX: represent tax.
Try to go to the below website where you will able to get the information regarding all the sgements and elements of Invocie.
http://www.edifactory.de/messages.php?s=D96A
Also refer the below link for EDI understanding:
http://www.gxs.com/pdfs/Tutorial/Tutor_EDIFACT_GXS.pdf
Thnx
Chirag Gohil -
Report program to find the configuration parameters of the system?
Hi,
Is there any standard program in SAP to find out the configuration parameters or the configuration settings of the system and any program to find the configuration settings across systems?
thanks & regards,
siddhartha.
P.S : Points will be rewarded.Can you concretize your question ? For what purposes ? The "system" is the front-end or server where sap are installed? Chek the RZ20 and ST06. Regards.
-
Safari was very slow in opening up Google sites. I found a discussion thread that suggested changing the "Configure IPv6" setting to "Off" in the System Preferences, Network, Advanced, TCP/IP section. That seems to work well. Are there any risks to leaving the Configure IPv6 setting to Off?
Nope. You can always reverse that if you choose.
-
Patches required for installing the configuration management workbench?
Hi Team,
Please list all patches required for installing the configuration management workbench in Oracle Apps version 11.5.10.2 ?
Please let me know.
Thanks,
Suman V.Hi;
I also suggest to check:
How to Configure the Oracle Configuration Manager with Support WorkBench [ID 1174943.1]
Regard
Helios -
The configuration parameters of 'BAPI_CUSTOMERCONTRACT_CHANGE'
Hi experts,
I want to use 'BAPI_CUSTOMERCONTRACT_CHANGE' to delete item 000020 in contract 12345678.But alway failed.Please reference below data.
Contract : 12345678
Item Material High level Item
000010 HA001
000020 HA002 000010
I guess it's the configuration problem.But I don't know how to maintain related configuration parameters in 'BAPI_CUSTOMERCONTRACT_CHANGE'.So who can give me some similar sample or help?Many thanks.
Thanks & RegardsUsing this method, you can change or delete contracts.
You can change header data, item data, schedule line data, contract data and configuration data.
In general the following applies:
1. Only enter fields that you want to change.
2. Mark the fields you want to change with an X.
3. Fill in the UPDATEFLAG field with a U.
4. Always enter the key fields when making changes, including in the checkbox list.
5. An exception is configuration. If you change this, you must fill it in completely.
6. Enter quantities and dates under schedule line data.
7. Possible update flags: U = change
D = delete
I = insert
Example
1. Delete complete contract
2. Delete contract item
3. Changes to contract
4. Change configuration
Notes
1. Minimum entries required:
You MUST enter the contract number in the SALESDOCUMENT structure.
You must always enter key fields when you make a change.
You must always enter the update indicator in the INQUIRY_HEADER_INX.
2. Commitment control
The BAPI does not carry out a database commit. This means that the calling application must leave the commit in order to have changes made to the database. BAPI_TRANSACTION_COMMIT is available for this purpose. -
Help needed in understanding the code.
Hi All,
I am just trying to understand the Java code in one Self Serice page. However, I am having tough in understanding the CO code. In the prosessRequest class, I have the below code.
oapagecontext.putTransactionValue("AddAssignmentInsertRowFlag", "N");
oaapplicationmodule.getTransaction().commit();
As soon as, oaapplicationmodule.getTransaction().commit();
gets executed, its calling some other class. Not sure what is being called, but i can see the log messages that its executing some other class which actually does the calls to DB APIs and inserting data into main tables.
Can you please explain me what is being called to make DB API calls. I would greatly appreciate your help.
Thanks in Advance!
- Rani
****************************Here is the full code of class for your reference****************************
public void processFormRequest(OAPageContext oapagecontext, OAWebBean oawebbean)
if("SelectedResourceLink".equals(oapagecontext.getParameter("event")))
Debug.log(oapagecontext, this, "SelectedResourceLink has been pressed", 3);
oapagecontext.redirectImmediately("OA.jsp?akRegionCode=PA_SELECTED_RESOURCES_LAYOUT&akRegionApplicationId=275", true, "RP");
String s = (String)oapagecontext.getTransactionValue("AssignmentType");
super.processFormRequest(oapagecontext, oawebbean);
Debug.log(oapagecontext, this, "in processFormRequest()", 3);
OAApplicationModule oaapplicationmodule = oapagecontext.getRootApplicationModule();
if(!"Y".equals(oapagecontext.getParameter("paMass")))
String s1 = oapagecontext.getParameter("event");
if("lovUpdate".equals(s1))
Debug.log(oapagecontext, this, "*** User Selected a value from LOV ***", 3);
String s3 = oapagecontext.getParameter("source");
Debug.log(oapagecontext, this, "*** lovInputSourceId = " + s3 + " ***", 3);
if("ProjectNumber".equals(s3) && "Project".equals(s))
Hashtable hashtable = oapagecontext.getLovResultsFromSession(s3);
String s10 = (String)hashtable.get("ProjectId");
Debug.log(oapagecontext, this, "*** ProjectId ***" + s10, 3);
oapagecontext.putTransactionValue("paProjectId", s10);
if("Project".equals(s))
Debug.log(oapagecontext, this, "*** Setting default value for Delivery assignment ***", 3);
oaapplicationmodule.invokeMethod("defaultProjectAttrs");
if("RoleName".equals(s3))
Hashtable hashtable1 = oapagecontext.getLovResultsFromSession(s3);
Debug.log(oapagecontext, this, "*** RoleName Hashtable Contents ***" + hashtable1.toString(), 3);
String s11 = (String)hashtable1.get("RoleId");
Debug.log(oapagecontext, this, "*** RoleId ***" + s11, 3);
Debug.log(oapagecontext, this, "*** AssignmentType = " + s + "***", 3);
if("Open".equals(s))
Debug.log(oapagecontext, this, "*** Calling defaultJobAttrs for Open Assignment***", 3);
Serializable aserializable[] = {
s11
oaapplicationmodule.invokeMethod("defaultJobAttrs", aserializable);
if("Template".equals(s) || "Open".equals(s))
Debug.log(oapagecontext, this, "*** Defaulting Competencies ***" + s11, 3);
OAViewObject oaviewobject = (OAViewObject)oapagecontext.getApplicationModule(oawebbean).findViewObject("RoleCompetenciesVO");
oaviewobject.setMaxFetchSize(-1);
oaviewobject.setWhereClauseParam(0, s11);
oaviewobject.executeQuery();
Debug.log(oapagecontext, this, "*** End LOV event ***", 3);
String s4 = "";
String s8 = "";
OASubTabLayoutBean oasubtablayoutbean1 = (OASubTabLayoutBean)oawebbean.findIndexedChildRecursive("AddAssignmentSubTabLayout");
if("Project".equals(s) && !oasubtablayoutbean1.isSubTabClicked(oapagecontext))
OAViewObject oaviewobject1 = (OAViewObject)oapagecontext.getApplicationModule(oawebbean).findViewObject("AddNewAssignmentVO");
s4 = (String)oaviewobject1.first().getAttribute("ProjectId");
s8 = (String)oaviewobject1.first().getAttribute("ProjectNumber");
Debug.log(oapagecontext, this, "*** lProjectId = " + s4, 3);
Debug.log(oapagecontext, this, "*** lProjectNumber = " + s8, 3);
if("Project".equals(s) && !oasubtablayoutbean1.isSubTabClicked(oapagecontext) && !StringUtils.isNullOrEmpty(s8))
Debug.log(oapagecontext, this, "Delivery Assignment, Project Number is there but no Project Id", 3);
if(s4 == null || s4.equals(""))
ViewObject viewobject = oapagecontext.getApplicationModule(oawebbean).findViewObject("ObtainProjectId");
if(viewobject == null)
String s14 = "SELECT project_id FROM PA_PROJECTS_ALL WHERE segment1 =:1";
viewobject = oaapplicationmodule.createViewObjectFromQueryStmt("ObtainProjectId", s14);
viewobject.setWhereClauseParam(0, s8);
viewobject.executeQuery();
int j = viewobject.getRowCount();
if(j != 1)
Debug.log(oapagecontext, this, "Error : Project Number is Invalid or not unique", 3);
OAException oaexception4 = null;
oaexception4 = new OAException("PA", "PA_PROJECT_NUMBER_INVALID");
oaexception4.setApplicationModule(oaapplicationmodule);
throw oaexception4;
oracle.jbo.Row row = viewobject.last();
if(row != null)
Object obj2 = row.getAttribute(0);
if(obj2 != null)
s4 = obj2.toString();
if(s4 != null)
oapagecontext.putTransactionValue("paProjectId", s4);
if(oaapplicationmodule.findViewObject("AddNewAssignmentsVO") != null)
oaapplicationmodule.findViewObject("AddNewAssignmentVO").first().setAttribute("ProjectId", s4);
} else
Debug.log(oapagecontext, this, "Error : No rows returned in Project Number query", 3);
OAException oaexception5 = null;
oaexception5 = new OAException("PA", "PA_PROJECT_NUMBER_INVALID");
oaexception5.setApplicationModule(oaapplicationmodule);
throw oaexception5;
String s12 = "F";
if(s4 != null && !s4.equals(""))
String s13 = Security.checkUserPrivilege("PA_ASN_CR_AND_DL", "PA_PROJECTS", s4, oapagecontext, false);
if("F".equals(s13))
OAException oaexception3 = null;
oaexception3 = new OAException("PA", "PA_ADD_DELIVERY_ASMT_SECURITY");
oaexception3.setApplicationModule(oaapplicationmodule);
Debug.log(oapagecontext, this, "ERROR:" + oaexception3.getMessage(), 3);
throw oaexception3;
OAViewObject oaviewobject2 = (OAViewObject)oapagecontext.getApplicationModule(oawebbean).findViewObject("AddNewAssignmentVO");
Object obj = oaviewobject2.first().getAttribute("BillRateOverride");
Object obj1 = oaviewobject2.first().getAttribute("BillRateCurrOverride");
Object obj3 = oaviewobject2.first().getAttribute("MarkupPercentOverride");
Object obj4 = oaviewobject2.first().getAttribute("DiscountPercentOverride");
Object obj5 = oaviewobject2.first().getAttribute("TpRateOverride");
Object obj6 = oaviewobject2.first().getAttribute("TpCurrencyOverride");
Object obj7 = oaviewobject2.first().getAttribute("TpCalcBaseCodeOverride");
Object obj8 = oaviewobject2.first().getAttribute("TpPercentAppliedOverride");
Object obj9 = null;
Object obj10 = null;
Debug.log(oapagecontext, this, "in AddAssignmentsTopCO processFcstInfoRg(): getting the implementation options", 3);
Object obj11 = oaviewobject2.first().getAttribute("BrRateDiscReasonCode");
Object obj12 = oapagecontext.getTransactionValue("rateDiscReasonFlag");
Object obj13 = oapagecontext.getTransactionValue("brOverrideFlag");
Object obj14 = oapagecontext.getTransactionValue("brDiscountOverrideFlag");
String s22 = oapagecontext.getParameter("BillRateRadioGroup");
if("BRCurrencyRadioButton".equals(s22))
Debug.log(oapagecontext, this, "BRCurrencyRadioButton chosen", 3);
if(obj == null || obj1 == null)
Debug.log(oapagecontext, this, "error", 3);
OAException oaexception6 = new OAException("PA", "PA_CURR_BILL_RATE_REQUIRED");
oaexception6.setApplicationModule(oaapplicationmodule);
throw oaexception6;
} else
if("BRMarkupRadioButton".equals(s22))
Debug.log(oapagecontext, this, "BRMarkup%RadioButton chosen", 3);
if(obj3 == null)
Debug.log(oapagecontext, this, "error", 3);
OAException oaexception7 = new OAException("PA", "PA_MARKUP_PERCENT_REQUIRED");
oaexception7.setApplicationModule(oaapplicationmodule);
throw oaexception7;
} else
if("BRDiscountRadioButton".equals(s22))
Debug.log(oapagecontext, this, "BRDiscount%RadioButton chosen", 3);
if(obj4 == null)
Debug.log(oapagecontext, this, "error", 3);
OAException oaexception8 = new OAException(oapagecontext.getMessage("PA", "PA_DISCOUNT_PERCENT_REQUIRED", null));
oaexception8.setApplicationModule(oaapplicationmodule);
throw oaexception8;
if("Y".equals(oapagecontext.getTransactionValue("paMass")) || "Admin".equals(s) || "Template".equals(s))
Debug.log(oapagecontext, this, "Need not have this check for team templates ", 3);
} else
if(obj13 != null && obj13.equals("Y") && obj12 != null && obj12.equals("Y") && "BRCurrencyRadioButton".equals(s22) && StringUtils.isNullOrEmpty((String)obj11))
Debug.log(oapagecontext, this, "error 1", 3);
OAException oaexception9 = new OAException("PA", "PA_RATE_DISC_REASON_REQUIRED");
oaexception9.setApplicationModule(oaapplicationmodule);
throw oaexception9;
if(obj14 != null && obj14.equals("Y") && obj12 != null && obj12.equals("Y") && "BRDiscountRadioButton".equals(s22) && StringUtils.isNullOrEmpty((String)obj11))
Debug.log(oapagecontext, this, "error 2", 3);
OAException oaexception10 = new OAException("PA", "PA_RATE_DISC_REASON_REQUIRED");
oaexception10.setApplicationModule(oaapplicationmodule);
throw oaexception10;
Debug.log(oapagecontext, this, "*** Selected transfer price radio shr = " + s22, 3);
oapagecontext.putTransactionValue("BROGroupSelected", s22);
Debug.log(oapagecontext, this, "*** 1 :Selected bill rate radio = " + s22, 3);
if(s22 != null)
oapagecontext.putSessionValue("BROGroupSelected", s22);
s22 = oapagecontext.getParameter("TransferPriceRadioGroup");
Debug.log(oapagecontext, this, "*** Selected transfer price radio = " + s22, 3);
if("TPCurrencyRadioButton".equals(s22))
Debug.log(oapagecontext, this, "***TPCurrencyRadioButton chosen", 3);
if(obj5 == null || obj6 == null)
Debug.log(oapagecontext, this, "error", 3);
OAException oaexception11 = new OAException("PA", "PA_CURR_RATE_REQUIRED");
oaexception11.setApplicationModule(oaapplicationmodule);
throw oaexception11;
} else
if("TPBasisRadioButton".equals(s22))
Debug.log(oapagecontext, this, "***TPBasisRadioButton chosen", 3);
if(obj7 == null || obj8 == null)
Debug.log(oapagecontext, this, "error", 3);
OAException oaexception12 = new OAException("PA", "PA_BASIS_APPLY_PERCENT_REQD");
oaexception12.setApplicationModule(oaapplicationmodule);
throw oaexception12;
oapagecontext.putTransactionValue("TPORadioGroupSelected", s22);
if(oaapplicationmodule.findViewObject("AddNewAssignmentVO").first().getAttribute("RoleId") != null)
Debug.log(oapagecontext, this, "*** Role Id is + " + oaapplicationmodule.findViewObject("AddNewAssignmentVO").first().getAttribute("RoleId"), 3);
if(oapagecontext.getParameter("SearchCompetencies") != null)
String s2 = "OA.jsp?akRegionCode=PA_COMP_SEARCH_LAYOUT&akRegionApplicationId=275&paCallingPage=AddAssignment";
oapagecontext.redirectImmediately(s2, true, "RP");
OASubTabLayoutBean oasubtablayoutbean = (OASubTabLayoutBean)oawebbean.findIndexedChildRecursive("AddAssignmentSubTabLayout");
if(s.equals("Project") && oasubtablayoutbean.isSubTabClicked(oapagecontext) && !StringUtils.isNullOrEmpty((String)oapagecontext.getTransactionValue("paProjectId")))
String s5 = "PA_ASN_FCST_INFO_ED";
String s9 = "F";
s9 = Security.checkUserPrivilege(s5, "PA_PROJECTS", (String)oapagecontext.getTransactionValue("paProjectId"), oapagecontext, false);
if(s9.equals("F"))
Debug.log(oapagecontext, this, "Error : PA_ASN_FCST_INFO_ED previelge not found", 3);
OAException oaexception2 = null;
oaexception2 = new OAException("PA", "PA_NO_SEC_FIN_INFO");
oaexception2.setApplicationModule(oaapplicationmodule);
throw oaexception2;
if(oapagecontext.getParameter("GoBtn") != null)
if("Y".equals(oapagecontext.getTransactionValue("paMass")) && "0".equals(oapagecontext.getTransactionValue("paNumSelectedResources")))
OAException oaexception = new OAException("PA", "PA_NO_RESOURCE_SELECTED");
oaexception.setApplicationModule(oapagecontext.getRootApplicationModule());
Debug.log(oapagecontext, this, "ERROR:" + oaexception.getMessage(), 3);
throw oaexception;
String s6 = "T";
if(s.equals("Admin") && "Y".equals(oapagecontext.getTransactionValue("paMass")) && "1".equals(oapagecontext.getTransactionValue("paNumSelectedResources")))
Debug.log(oapagecontext, this, "resource id[19] is " + (String)oapagecontext.getTransactionValue("paResourceId"), 3);
if(oapagecontext.getTransactionValue("AdminSecurityChecked") == null)
String s7 = Security.checkPrivilegeOnResource("-999", (String)oapagecontext.getTransactionValue("paResourceId"), SessionUtils.getResourceName((String)oapagecontext.getTransactionValue("paResourceId"), oapagecontext), "PA_ADM_ASN_CR_AND_DL", null, oapagecontext, false);
if("F".equals(s7))
OAException oaexception1 = new OAException("PA", "PA_ADD_ADMIN_ASMT_SECURITY");
oaexception1.setApplicationModule(oapagecontext.getRootApplicationModule());
Debug.log(oapagecontext, this, "ERROR:" + oaexception1.getMessage(), 3);
throw oaexception1;
if("SUBMIT_APPRVL".equals(oapagecontext.getParameter("AddAsgmtApplyAction")))
oapagecontext.putTransactionValue("Save", "N");
else
oapagecontext.putTransactionValue("Save", "Y");
String as[] = oaapplicationmodule.getApplicationModuleNames();
String as1[] = oaapplicationmodule.getViewObjectNames();
Debug.log(oapagecontext, this, "no of app module: " + as.length, 3);
Debug.log(oapagecontext, this, "no of view: " + as1.length, 3);
for(int i = 0; i < as.length; i++)
Debug.log(oapagecontext, this, "app module: " + as, 3);
for(int k = 0; k < as1.length; k++)
Debug.log(oapagecontext, this, "app module: " + as1[k], 3);
Debug.log(oapagecontext, this, "*** assignmentType = " + s, 3);
Debug.log(oapagecontext, this, "*** projectId = " + oapagecontext.getTransactionValue("paProjectId"), 3);
if("Project".equals(s) && !StringUtils.isNullOrEmpty((String)oapagecontext.getTransactionValue("paProjectId")) && !"Y".equals(oapagecontext.getParameter("paMass")))
Debug.log(oapagecontext, this, "*** Setting default staffing owner for add delivery assignment -- projectId = " + oapagecontext.getTransactionValue("paProjectId"), 3);
oaapplicationmodule.invokeMethod("setDefaultStaffingOwner");
OAViewObject oaviewobject3 = (OAViewObject)oaapplicationmodule.findViewObject("RoleCompetenciesVO");
oaviewobject3.setMaxFetchSize(0);
oaviewobject3.setRangeSize(-1);
oracle.jbo.Row arow[] = oaviewobject3.getAllRowsInRange();
for(int l = 0; l < arow.length; l++)
RoleCompetenciesVORowImpl rolecompetenciesvorowimpl = (RoleCompetenciesVORowImpl)oaviewobject3.getRowAtRangeIndex(l);
Debug.log(oapagecontext, this, "roleCompetenciesVORowImpl" + rolecompetenciesvorowimpl, 3);
rolecompetenciesvorowimpl.setPlsqlState((byte)0);
oapagecontext.putTransactionValue("AddAssignmentInsertRowFlag", "N");
oaapplicationmodule.getTransaction().commit();
if("Y".equals(oapagecontext.getTransactionValue("paMass")) && !"1".equals(oapagecontext.getTransactionValue("paNumSelectedResources")))
if(!"SUBMIT_APPRVL".equals(oapagecontext.getParameter("AddAsgmtApplyAction")))
Debug.log(oapagecontext, this, "Save, Mass, NumSelectedResources>1", 3);
Debug.log(oapagecontext, this, "work flow has been launched", 3);
OADialogPage oadialogpage = new OADialogPage((byte)3, new OAException("PA", "PA_MASS_ASSIGNMENT_CONFIRM"), null, "OA.jsp?akRegionCode=PA_RESOURCE_LIST_LAYOUT&akRegionApplicationId=275&addBreadCrumb=N", null);
oadialogpage.setRetainAMValue(false);
oapagecontext.redirectToDialogPage(oadialogpage);
return;
Debug.log(oapagecontext, this, "SaveAndSubmit, Mass, NumSelectedResources>1", 3);
putParametersOnSession(oapagecontext);
int i1 = 0;
int j1 = 0;
String s21 = "SelectedResourceId";
int l1 = Integer.parseInt(oapagecontext.getTransactionValue("paNumSelectedResources").toString());
Debug.log(oapagecontext, this, "size of resourceArray = " + l1, 3);
String as2[] = new String[l1];
for(; !"END".equals(oapagecontext.getTransactionValue(s21.concat(Integer.toString(i1)))); i1++)
if(oapagecontext.getTransactionValue(s21.concat(Integer.toString(i1))) != null)
Debug.log(oapagecontext, this, "resource id = " + oapagecontext.getTransactionValue(s21.concat(Integer.toString(i1))).toString(), 3);
as2[j1] = oapagecontext.getTransactionValue(s21.concat(Integer.toString(i1))).toString();
j1++;
SessionUtils.putMultipleParameters("paResourceId", as2, oapagecontext);
Debug.log(oapagecontext, this, "redirect to Mass Submit for Approval page", 3);
oapagecontext.redirectImmediately("OA.jsp?akRegionCode=PA_MASS_SUBMIT_LAYOUT&akRegionApplicationId=275&paCallingPage=MassAdd&paProjectId=" + oapagecontext.getTransactionValue("p_project_id"), false, "RP");
return;
if("RETURN_TO".equals(oapagecontext.getParameter("AddAsgmtApplyAction")))
Debug.log(oapagecontext, this, "Return to Option Selected ", 3);
String s15 = (String)oapagecontext.getTransactionValue("PrevPageUrl");
int k1 = s15.indexOf("OA.jsp?");
s15 = s15.substring(k1);
Debug.write(oapagecontext, this, "*** RETURN_TO URL: " + s15, 3);
oapagecontext.redirectImmediately(s15);
} else
if("ADD_ANOTHER".equals(oapagecontext.getParameter("AddAsgmtApplyAction")))
Debug.log(oapagecontext, this, "Add Another Option Selected", 3);
oaapplicationmodule.invokeMethod("resetAddNewAssignment");
if(oaapplicationmodule.findViewObject("RoleCompetenciesVO") != null)
oaapplicationmodule.findViewObject("RoleCompetenciesVO").clearCache();
String s16;
if(!s.equals("Project") && !s.equals("Admin"))
s16 = "OA.jsp?akRegionCode=PA_ADD_ASSIGNMENTS_PAGE_LAYOUT&akRegionApplicationId=275&paProjectId=" + oapagecontext.getTransactionValue("paProjectId") + "&paAssignmentType=" + s + "&OA_SubTabIdx=0";
else
s16 = "OA.jsp?akRegionCode=PA_ADD_ASSIGNMENTS_PAGE_LAYOUT&akRegionApplicationId=275&paResourceId=" + oapagecontext.getTransactionValue("paResourceId") + "&paAssignmentType=" + s + "&OA_SubTabIdx=0";
Debug.log(oapagecontext, this, "nextUrl " + s16, 3);
if("Template".equals(s))
oapagecontext.redirectImmediately(s16, true, "S");
else
oapagecontext.redirectImmediately(s16, false, "S");
} else
if("UPDATE_DETAILS".equals(oapagecontext.getParameter("AddAsgmtApplyAction")))
Debug.log(oapagecontext, this, "Update Details Selected ", 3);
String s17 = "";
if("Staffed".equals(s))
s17 = "ProjStaffedAsmt";
else
if("Admin".equals(s))
s17 = "AdminAsmt";
else
if("Project".equals(s))
s17 = "PersonStaffedAsmt";
else
if("Open".equals(s))
s17 = "OpenAsmt";
else
if("Template".equals(s))
s17 = "TemplateAsmt";
String s19 = "OA.jsp?akRegionCode=PA_ASMT_LAYOUT&akRegionApplicationId=275&paProjectId=" + oapagecontext.getTransactionValue("paProjectId") + "&paAssignmentId=" + oapagecontext.getTransactionValue("wfOutAssignmentId") + "&paCalledPage=" + s17 + "&addBreadCrumb=RP";
Debug.log(oapagecontext, this, "UPDATE_DETAILS: URL: " + s19, 3);
oapagecontext.redirectImmediately(s19, false, "RP");
if(s.equals("Staffed") || s.equals("Admin") || s.equals("Project"))
String s18 = (String)oapagecontext.getTransactionValue("wfOutResourceId");
String s20 = (String)oapagecontext.getTransactionValue("wfOutAssignmentId");
Debug.log(oapagecontext, this, "outResourceId " + s18, 3);
Debug.log(oapagecontext, this, "outAssignmentId " + s20, 3);
if("SUBMIT_APPRVL".equals(oapagecontext.getParameter("AddAsgmtApplyAction")))
if(s.equals("Staffed"))
oapagecontext.redirectImmediately("OA.jsp?akRegionCode=PA_SUBMIT_ASMT_APR_LAYOUT&akRegionApplicationId=275&paAsgmtId=" + s20 + "&paResourceId=" + s18 + "&paProjectId=" + oapagecontext.getTransactionValue("paProjectId") + "&paAsgmtAprStatus=ASGMT_APPRVL_WORKING&paAssignmentType=" + s + "&paCallingPage=AddAssignment", false, "RP");
return;
oapagecontext.redirectImmediately("OA.jsp?akRegionCode=PA_SUBMIT_ASMT_APR_LAYOUT&akRegionApplicationId=275&paAsgmtId=" + s20 + "&paResourceId=" + s18 + "&paAsgmtAprStatus=ASGMT_APPRVL_WORKING&paAssignmentType=" + s + "&paCallingPage=AddAssignment", false, "RP");Hi Rani,
As soon as the transaction is commited the methods in the VORowImpl Class are called.
You can check in the VORowImpl class and search for the log messages.
Thanks,
Gaurav -
Help required in implementing the algorithm
Actually I am brand new to the java programming, and i need some help to implement the algorithm below in java.
I have the dataset required for the execution,
Can any body please help me?
Input: (1) a source database D,
(2) a min support,
(3) a min confidence,
(4) a set of recommended items Y
Output: a transformed database D, where rules containing
Y on RHS will be hidden
1. Find large 1-item sets from D;
2. For each hidden item y �� Y
3. If y is not a large 1-itemset, then Y := Y − {y};
4. If Y is empty, then EXIT;// no AR contains Y in RHS
5. Find large 2-itemsets containing items in Y from D;
6. For each y �� Y {
7. For each large 2-itemset containing y {
8. Compute confidence of rule U, where U is a rule likex �� y;
9. If confidence(U) �� min conf, then { //Calculate # of transactions required to lower the confidence of U
10. Calculate iterNumConf = _|D|∗(supp(xy) − minconf ∗supp(x))_;
//Calculate # of transactions required to lower the support of U
11. Calcualte iterNumSupp = _|D|∗(supp(xy)− min supp)_;
12. Calculate k = minimum (iterNumConf, iterNumSupp);
13. Calculate |TR| = |xy|; //|TR|: # of transactions inTR
14. if k > |TR|
15. Can not hide U;
16. else {
17. Find T kR = first k transactions that contain xy;
18. Sort T kR in ascending order by the number of items;
19. for i = 1 to iterNum do { 20. Choose the first transaction t from T kR ;
21. Modify t so that y is not supported, the RHS(U);
22. |xy| = |xy| − 1; // update support count of xy
23. confidence(U) = |xy|/|x|; // update confidence
24. Remove and save the first transaction t from T kR ;
25. }; // end for iterNum
26. }; // end if confidence(U)
27. }; // end of each large 2-itemset
28. Remove y from Y;
29. } // end of for each y
30. Output updated D, as the transformed D;The way you post that, it looks very much like "Do my work for me". Nobody around here likes that kind of post, they consider it lazy and selfish. But perhaps you didn't mean it that way? Why don't you explain what you have done and what parts of it you are having problems with. Explain those problems in detail.
-
Help Required in Migrating the Dev to Test Instance
Hi
Am very new to SOA platform, i developed one project in dev instance. now i would like to move this project to test instance.
can any one help me to migrating the project.
So I Need sample document with step by step instruction. i have 5 days only to migrate, i gone through so many blogs and post in metalink, but i didn't understand the concept exactly.
Santhosh Kumar. KHi K,
There are many ways to do it, it will all depend on your environment.
The way that works for me is:
1. Deploy your project to SAR (it will actually generate a jar file)
2. Copy the generated file to the environment where it will be deployed
3. Use the ant-sca-deploy.xml to deploy it
ant-sca-deploy.xml will be located at $BEA_HOME/Oracle_SOA1/bin
and you can call it from your own ant build.xml like this:
<target name="deploy-app">
<ant
antfile="${beaHome}/Oracle_SOA1/bin/ant-sca-deploy.xml"
target="deploy"
dir="${beaHome}/Oracle_SOA1/bin"
>
<property name="serverURL" value="${scaDeployUrl}"/>
<property name="sarLocation" value="${appEarDestDir}/${sca.jar}"/>
<property name="overwrite" value="true"/>
<property name="user" value="${domainUser}"/>
<property name="password" value="${domainPwd}"/>
<property name="failOnError" value="true"/>
<property name="partition" value="${partition}"/>
</ant>
</target>
Cheers,
Vlad
Give points - it is good etiquette to reward an answerer points (5 - helpful; 10 - correct) for their post if they answer your question. If you think this is helpful, please consider giving points -
Help, I accidentally deleted the parent tab set.
I accidentally deleted the parent tab set from my application, and cannot find anyway to create a new one. Has anyone had this problem?
Oracle - 9.04R2
ApEx - 2.2.0
Browser - Firefox
Thanks,
MichelleHi Scott,
unfortunately I made a stupid thing, being too smart and updating the FLOWS_020200.wwv_SOMETHING_tabs record, modifying parent tab of the problematic tab to main. Doing that caused the complete application to disappear from the Application builder. I guess some checksums in APEX internal objects were modified and that is the result.
Fortunately I had a recent export of an application, so I didn't loose too much. That also means that I can not help myself with "as of" export.
Could you please just tell if recreating parent tabs is possible by "clicking through apex screens" or should there be some hacking used.
Zober
Maybe you are looking for
-
How to parse XML and store the data in tables using sql or plsql?
I want to parse the xml <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <xmlListWrapper> <size>2</size> <AppTypeID>10</AppTypeID> </xmlListWrapper> and store in a table |pk|apptypeid| 1 10
-
I just downloaded a trial of Flash CS3. I've been using an education version of MX for quite awhile and thought perhaps the audio problem I have noticed was unique to MX. However, after opening the file in CS3, I note that the sound is not clear, and
-
Why can't i use command F in Notes?
Hi all, i recently upgraded my to a newer macbook. i used to be able to use command f to search my notes. i'm now using 10.8.2 and for some reason i can't search/find. i hit 'command f' i get the bleep sound. when i look at Edit > Find > Find, the w
-
When I type up paragraphs and such, I like to use the justification setting, so that all my text is blocked up. I've noticed that when I use the tab button on the keyboard for indenting my paragraphs, the justification changes how far away the indent
-
PCR (Personnel Change Request) in ess/mss workflow number
Hi , i am working on PCR (Personnel Change Request) Hr workflow object it is es/mss object.please tell me is there any standard workflow available for this .if so please tell me the workflow number. Regards, charita.