Problem with ENTITY FX TYPE in Currency Conversion
Hi Experts,
I have a problem regarding currency translation. I tried to use the property FX_TYPE so as to use the value in this as filter in the ENTITY FX TYPE field of the currency conversion table. I want some rules to apply only to specific entities so I used this filter but what seems to be happening is that I doesn't seem to filter it. It still applies to other entities as well thus I get wrong translation. I validated it by removing all other rules except for the ones that's being used by the entity I am analyzing and my values translation is OK but when I put the other rules again, which I have already filtered to run on specific entities only using the FX_TYPE property, my translations are wrong again. Does ENTITY FX TYPE really work or I'm just missing some set up?
Thanks,
Marvin
Hello Martin,
Could you solve this issue, Im having the same problem.
Im trying to use this functionality but it seems that it does not apply the filter. When I run the currency convertion it stills run the business rule I have configure for all the other entities.
Best regards,
Aldrin Liendo
Similar Messages
-
Problem with entity passed as argument
Hello !
I have this code :
Public Class myclass
Private cont As MyentEntities
Public Sub New( ByRef cnx As MyentEntities)
cont = cnx
End Sub
Public Sub test
If cont.mytable1.Count=1 then
end if
End Sub
End class
'On my main form :
Dim E1 as MyEntEntities
Dim m1 as myclass
Private Sub MainForm_Load(sender As System.Object, e As System.EventArgs) Handles Me.Load
E1=New MyentEntities
m1=new MyClass(E1)
End Sub
Private sub fill_entity
E1.MyTable1.Tolist
End sub
Private Sub Button1_Click(sender As System.Object, e As System.EventArgs) Handles Button1.Click
m1.test
End Sub
When I click the button , I get an error :
....the entity of type 'MyTable1' does not exist in the context.
But I passed E1 with ByRef ?
What's wrong ?
Thank you !Hello,
>>Problem with entity passed as argument
With your provided code, I tested with my database, it is ok, below is the test demo which is similar with yours except the used databse:
Public Class Form1
Dim E1 As DFDBEntities
Dim m1 As TestClass
Private Sub Form1_Load(sender As Object, e As EventArgs) Handles MyBase.Load
E1 = New DFDBEntities
m1 = New TestClass(E1)
End Sub
Private Sub fill_entity()
E1.Orders.Tolist()
End Sub
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
m1.test()
End Sub
End Class
Public Class TestClass
Private cont As DFDBEntities
Public Sub New(ByRef cnx As DFDBEntities)
cont = cnx
End Sub
Public Sub test()
If cont.Orders.Count = 1 Then
End If
End Sub
End Class
Since we do not know your exact table structure, it is hard to know why this exception is thrown in your side, one reason I know is the .edmx file is not mapped correctly, you could check this link which describes various possibilities for the
caused reason of this exception:
http://stackoverflow.com/questions/5634392/ef-4-1-code-first-error-the-entity-type-sometype-is-not-part-of-the-model-for
Or you could provide information as what database you are using, the table you are working with and the Entity Framework version.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Problem with import file type setting
Problem with import file type settings - In preferences>general I select "wav encoder" But then going to tools>Create it still says "create mp3 version".
Can't find a way to overcome this. Thanks for any help.Doublechecking, roy. After making the preferences change, are you leaving the General tab by clicking the OK button down the bottom-right-hand corner of the tab?
-
Problem with field KONWA-Rate Unit(Currency or Percentage) of table KONP
Hi Gurus,
I m facing problem with field 'KONWA -Rate Unit (Currency or Percentage)' of table KONP. This field is showing Currency and '%' both in table KONP. For some materials its showing currency value and for some its showing '%'. Due to which its creating load problems. My question is how this '%' is coming (means is there any calculation behind that or something else) in table KONP and how can I identify this.
I am sure u will have the answer for this question so Thanks in advance.
Message was edited by:
Amit Rajput
Message was edited by:
Amit Rajput
nullHi,
take the following example: you sell liquor to customers; in your country, when you sell liquor your company is entitled to pay customs and excise fees to governamental authorities.
These excises and duties are a percentage of the retail price. You'll then create such a condition record with this rate so that you calculation schema will post the correct value during the processing of billing documents...
hope this shed light
Olivier.
Message was edited by:
Olivier Cora -
ITunes Match: There was a problem with your payment type.
This Morning i received the following email from apple regarding my itunes match account.
I have no idea why this has happened, i am now worried of loosing all my music.
I have itunes match set for AUTORENEWAL, and there ist enough credit on my itunes store account.
Does anyone have an answer to this?
Would be greatful for help.
Thanks in advance
iTunes Match: There was a problem with your payment type.
There was a problem with your payment type that prevented the automatic renewal of your subscription to iTunes Match. To renew your subscription and to regain the ability to store your entire music collection on iCloud and enjoy it on your iOS devices, iTunes, and Apple TV, you will need to update your payment information. iTunes Match stores not only your songs purchased on the iTunes Store, but all of the other great music you have acquired over the years, including music from CDs.
To update your payment information or manage your subscription, sign in to iTunes on your computer and go to your Account Information page. Your matched and uploaded tracks will be removed from iCloud in 90 days, so renew your subscription now and keep all of your music in the cloud so you can listen to it anytime, anywhere.
Regards,
The iTunes Store teamI tried calling but they are closed in bservance of holiday. I want to resolve this issue now please via Internet so that I can resume my game. Thx very much for your help. Can u guide me thought this or email me the instructions as to how to resolve this step by step. It appears to me that there must have been a past billing issue.
-
Problem with pricing condition type in case of proforma invoicing
Hello All,
the problem is related to a pricing condition type in case of proforma invoice where the details are as follows -
Name of Condition Type - ZADC - Add 10% on Cost Access seq. Z038 Diff
Plus/minus A Positive
Cond. class - A Discount or surcharge
Calculat.type - A Percentage
Cond.category - Blank
Manual entries D Not possible to process manually
Amount / Percent - Checked
Item Condition - checked
Scale Basis - Quantity
Currency Conversion - Checked
Quantity Conversion - Checked
This condition type has been kept as statistical in the pricing procedure. Still in the proforma invoice the condition type is not getting reflected automatically , whenever I am updating with " carry out new pricing " option the condition type is getting populated.In case of other commercial invoices this very condition type is getting populated automatically without any updates.Along with this point to be noted is that the Condition type in which the actual costi is captured has been kept active.
What more needs to be configured or what are the changes to be done to populate the condition type automatically as statistical during the time of proforma invoicing?
Thanks & Regards
Priyanka MitraHi,
Kindly do the pricing analysis and check whether you have the following error such as
Inactive condition type because of subsequent price,
Regards,
Ravi -
Problem with setting oracle type parameter in viewobject query
Hi There,
I am facing a problem with JDev1013. I have a view that has JDBC positional parameters that are supposed to be in parameters for function like:
SELECT x.day, x.special_exact_period_only
FROM (
SELECT x.day, x.special_exact_period_only
FROM (
SELECT
x.day,
rb.special_exact_period_only
FROM TABLE (
RentabilityPkg.findMarkerSlots(
'start',
? /* dchannel */,
NULL,
? /* resorts */,
'special',
NULL,
? /* code */,
NULL,
TRUNC(SYSDATE),
TRUNC(SYSDATE + 365 * 2),
NULL
) x
JOIN resourcebase rb USING (rentabilitymanager_id)
UNION
SELECT
x.day,
rb.special_exact_period_only
FROM TABLE (
RentabilityPkg.findMarkerSlots(
'start',
? /* dchannel */,
NULL,
? /* resorts */,
'composition',
NULL,
? /* code */,
NULL,
TRUNC(SYSDATE),
TRUNC(SYSDATE + 365 * 2),
NULL
) x
JOIN resourcebase rb USING (rentabilitymanager_id)
)x
ORDER BY x.day
) x
WHERE ROWNUM <= 30now the JDBC positional parameters take our custom defined list type defined as:
CREATE TYPE NumberList AS TABLE OF NUMBER;
we are setting the parameter in the views with the help of oracle.sql.ARRAY class like:
* Set parameters.
public void setParams(Integer dchannelId, Integer[] resorts, String specialCode)
try {
System.out.println(this.getClass() + ".setParams()");
ARRAY arrParam1 = ((NWSApplicationModule)getApplicationModule()).toSQLNumberList(Arrays.asList(resorts));
ARRAY arrParam2 = ((NWSApplicationModule)getApplicationModule()).toSQLNumberList(Arrays.asList(resorts));
System.out.println("arrParam1 - " + arrParam1);
System.out.println("arrParam1 - " + arrParam1);
System.out.println(this.getClass() + " ARRAY - " + arrParam1.getArray());
System.out.println(this.getClass() + " -- " + arrParam1.length());
System.out.println("arrParam2 - " + arrParam2);
System.out.println("arrParam2 - " + arrParam2);
System.out.println(this.getClass() + " ARRAY - " + arrParam2.getArray());
System.out.println(this.getClass() + " -- " + arrParam2.length());
Object[] params =
{ dchannelId,
arrParam1,
specialCode,
dchannelId,
arrParam2,
specialCode
setWhereClauseParams(params);
System.out.println("DONE WITH " + this.getClass() + ".setParams()");
catch(Exception ex)
ex.printStackTrace(System.out);
}the toSQLNumberList() method is defined in our App module baseclass as follows:
public ARRAY toSQLNumberList(Collection coll)
debug("toSQLNumberList()");
DBTransaction txn = (DBTransaction)getTransaction();
debug("txn - " + txn + " : " + txn.getClass());
return NWSUtil.toSQLNumberList(coll, getConnection(txn));
public static ARRAY toSQLNumberList(Collection c, Connection connection)
//printTrace();
debug("toSQLNumberList()");
try
ArrayDescriptor numberList = ArrayDescriptor.createDescriptor("NUMBERLIST", connection);
NUMBER[] elements = new NUMBER[c == null ? 0 : c.size()];
if (elements.length > 0 )
Iterator iter = c.iterator();
for (int i = 0; iter.hasNext(); i++)
elements[i] = new NUMBER(iter.next().toString());
return new ARRAY(numberList, connection, elements);
catch (Exception ex)
ex.printStackTrace();
return null;
protected Connection getConnection(DBTransaction dbTransaction)
//return null;
debug("Inside getConnection()");
CallableStatement s = null;
try
* Getting Conenction in BC4J is dirty but its better
* as otherwise we might end up coding with connections
* and the Transaction Integrety will be
s = dbTransaction.createCallableStatement("BEGIN NULL; END;", 0);
debug("DOING s.getConnection()...");
Connection conn = s.getConnection();
debug("DONE WITH s.getConnection()...");
/*try
throw new Exception("TEST");
catch (Exception ex)
ex.printStackTrace(System.out);
debug("conn CLASS - " + conn.getClass());
return conn;
catch (Exception ex)
ex.printStackTrace();
return null;
finally
try { s.close(); }
catch (Exception ex) {}
}Whenever we try setting the parameters in view using setParams() and use this view to set the model of a java control it thorws the following exception :
[2006-10-10 12:34:48,797 AWT-EventQueue-0 ERROR] JBO-28302: Piggyback write error
oracle.jbo.PiggybackException: JBO-28302: Piggyback write error
at oracle.jbo.common.PiggybackOutput.getPiggybackStream(PiggybackOutput.java:185)
at oracle.jbo.common.JboServiceMessage.marshalRefs(JboServiceMessage.java:267)
at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:343)
at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:316)
at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2283)
at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7509)
at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:474)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
at RemoteAMReservation_StatefulSessionBeanWrapper906.doMessage(RemoteAMReservation_StatefulSessionBeanWrapper906.java:286)
at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
## Detail 0 ##
java.io.NotSerializableException: oracle.jdbc.driver.T4CConnection
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075)
at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1369)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1341)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1245)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1069)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at oracle.jbo.common.SvcMsgResponseValues.writeObject(SvcMsgResponseValues.java:116)
at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:890)
at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1333)
at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1284)
at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1073)
at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:291)
at oracle.jbo.common.PiggybackOutput.getPiggybackStream(PiggybackOutput.java:173)
at oracle.jbo.common.JboServiceMessage.marshalRefs(JboServiceMessage.java:267)
at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:343)
at oracle.jbo.server.remote.PiggybackManager.marshalServiceMessage(PiggybackManager.java:316)
at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.processMessage(AbstractRemoteApplicationModuleImpl.java:2283)
at oracle.jbo.server.ApplicationModuleImpl.doMessage(ApplicationModuleImpl.java:7509)
at oracle.jbo.server.remote.AbstractRemoteApplicationModuleImpl.sync(AbstractRemoteApplicationModuleImpl.java:2221)
at oracle.jbo.server.remote.ejb.ServerApplicationModuleImpl.doMessage(ServerApplicationModuleImpl.java:79)
at oracle.jbo.server.ejb.SessionBeanImpl.doMessage(SessionBeanImpl.java:474)
at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
at com.evermind.server.ejb.StatefulSessionEJBObject.OC4J_invokeMethod(StatefulSessionEJBObject.java:840)
at RemoteAMReservation_StatefulSessionBeanWrapper906.doMessage(RemoteAMReservation_StatefulSessionBeanWrapper906.java:286)
at sun.reflect.GeneratedMethodAccessor63.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)This is a typical interaction between 2 server-side components (view-object and app module). Now the question is why is this exception thrown? Any answers?
This application is one that we have migrated from 904 to 1013 and are trying to get it running in 3-tier.
Regards,
AnupamSorry I missed out some semicolons, the script follws:
-- The following TABLE was created to simulate the issue
CREATE TABLE TEST_OBJECT
ASSET_ID NUMBER,
OBJECT_ID NUMBER,
NAME VARCHAR2(50)
INSERT INTO TEST_OBJECT VALUES(1,1,'AAA');
INSERT INTO TEST_OBJECT VALUES(2,2,'BBB');
INSERT INTO TEST_OBJECT VALUES(3,3,'CCC');
COMMIT;
SELECT * FROM TEST_OBJECT;
-- The following TYPES was created to simulate the issue
CREATE OR REPLACE
TYPE DUTYRESULTOBJECTTAB AS TABLE OF DUTYRESULTOBJECT;
CREATE OR REPLACE
type DutyResultObject as object
( ASSET_ID number,
OBJECT_ID number,
NAME varchar2(150)
-- The following PACKAGE N FUNCTION was created to simulate the issue
CREATE OR REPLACE PACKAGE TESTOBJECTPKG
IS
FUNCTION OBJECTSEARCH(P_RESOURCE IN NUMBERLIST) RETURN DUTYRESULTOBJECTTAB;
END;
CREATE OR REPLACE PACKAGE BODY TESTOBJECTPKG
IS
FUNCTION OBJECTSEARCH(P_RESOURCE IN NUMBERLIST) RETURN DUTYRESULTOBJECTTAB
IS
BULKDUTYRESULTOBJECTTAB DUTYRESULTOBJECTTAB;
BEGIN
SELECT DUTYRESULTOBJECT(ASSET_ID, OBJECT_ID, NAME)
BULK COLLECT INTO BULKDUTYRESULTOBJECTTAB
FROM TEST_OBJECT;
RETURN BULKDUTYRESULTOBJECTTAB;
END;
END;
[\code] -
Problem with item of type DB column, reinitialized in a process
Hello,
I have a problem with an item P216_username with source type=database column(empty in this case). In a process On Load-After Header(with a sequence number bigger then the Fetch Row sequence number) , I change the value of this item:
:P216_USERNAME := 'custom_value';
When I run the page, I see the item P216_USERNAME with the value from the database column(empty), instead of attributed value from the process('custom_value').
Here is a copy of the page in a debug mode:
0.00: Session: Fetch session header information
0.00: ...Metadata: Fetch page attributes for application 107, page 216
0.00: Fetch session state from database
0.00: Branch point: BEFORE_HEADER
0.00: Fetch application meta data
0.01: Computation point: BEFORE_HEADER
0.01: Processing point: BEFORE_HEADER
0.01: Show page template header
0.01: Computation point: AFTER_HEADER
0.01: Processing point: AFTER_HEADER
0.01: ...Process "Fetch Row from CONSULTANT_ALLOCATION_PERIODS": DML_FETCH_ROW (AFTER_HEADER) F|#OWNER#:CONSULTANT_ALLOCATION_PERIODS:P216_ALLOCATION_PERIOD_ID:ALLOCATION_PERIOD_ID
0.01: ...Process "Initialize Username": PLSQL (AFTER_HEADER) begin :P216_USERNAME := 'custom_value'; htp.p(:P216_USERNAME); end;
custom_value PrintLogout
0.01: Computation point: BEFORE_BOX_BODY
0.01: Processing point: BEFORE_BOX_BODY
0.01: Region: Edit Allocation Period
Edit Allocation Period Cancel
Create
0.02: Item: P216_ALLOCATION_PERIOD_ID HIDDEN
0.02: Item: P216_USERNAME TEXT
Username
0.02: Item: P216_START_DATE PICK_DATE_MM_DD_YYYY
Start Date
0.02: Item: P216_END_DATE PICK_DATE_MM_DD_YYYY
End Date
0.02: Item: P216_COMMENTS TEXTAREA
Comments
custom_value ''
0.02: Computation point: AFTER_BOX_BODY
0.02: Processing point: AFTER_BOX_BODY
0.02: Computation point: BEFORE_FOOTER
0.02: Processing point: BEFORE_FOOTER
0.02: Show page tempate footer
If you had this problem, or you know where it comes from, please answer.
Thank you.Hi,
Tomáš : I noticed that if i change the Source Used to 'Only when current value in session state is null' it works but I dont think its a normal behaviour.
Scott: Thanks, it's working now with the post computation callculation attribute.
Thanx for answers,
Vastiana -
Problem with Dockingsta​tion Type 2504 and R60 LAN Performanc​e
Hello,
we have a smal problem with a lenovo dockingstation type 2504 and a r60 laptop.
Made some performance test for oure fileserver.
Found out, if i use dockingsstation, i get poor performance.
If i use the r60 without dockingstation, lan performance is realy good.
Some idea why?
How could it be?
Performance profile is max.
Use battrie in r60, dockingstation with power supply.
Big thanksOk, so I was able to video chat with Defcom last night by turning on my firewall and also by changing iChat/AIM to logon through port 334. I still cannot video chat with appleutest01. Any other ideas?
-
Problem with Packaging Material Type
Hello all Gurus,
I have a problem with a packaging material type that I have created copying the standrad Packaging material type LEIH. I created a new packing material type ZPAC - Packaging Material copying LEIH.
I then created a new material master record using this new material type ZPAC.
When I am using this material for packing in outbound delivery document - VL01N, I am getting the following strange error message:
20333 does not have packaging material type and is therefore not a pack.mat.
Please suggest me why this error is coming and how I can rectify this error. Is there any further configuration that I need to do for packaging material types??? Kindly suggest.
Thanks and Regards,
Umakanth.Hi,
Material type is not enough, you have to maintain proper master data as well as config.
At least please maintain value in MARA-VHART for the packaging material. Please also check these links how HUM works:
http://www.sap-img.com/sap-hu.htm
http://help.sap.com/saphelp_crm40/helpdata/en/c8/a44b779f3211d2858d0000e81ddea0/frameset.htm
Regards,
Csaba -
Problem with bool data type in overloading
Please find the following error.
I did following typedef:
typedef bool Boolean;
typedef signed int Sint32;
Problem description:
This error is occurring because Sun CC 5.9 or Solaris 9 g++ considers bool data type as signed Integer, when passed as an constructor argument. First, it is overloading the constructor with �bool� data type and when it comes the turn of �signed integer� to overload constructor, the compiler is giving an error �cannot be overloaded�. The error �redefinition� is also due to bool data type.
Could please let me know, whether i need to add ant compiler option on Sun CC
ERROR in g++:-
( /usr/local/bin/g++ -DSOLARIS_PLATFORM -DUNIX -DPEGASUS_PLATFORM_SOLARIS_SPARC_GNU -DPEGASUS_OS_SOLARIS -DPEGASUS_HAVE_TEMPLATE_SPECIALIZATION -DEXPAND_TEMPLATES -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -Wno-non-template-friend -DTEST_VAI -D__EXTERN_C__ -Dregister= -D_POSIX_PTHREAD_SEMANTICS -Wno-deprecated -DAUTOPASS_DISABLED -DCLUSTER_GEN_APP -DSTAND_ALONE_INTEG -I"/TESTBUILD/p2.08.00/TESTsrc" -I/TESTBUILD/pegasus/src -I"/TESTBUILD/p2.08.00/TESTCommonLib" -O -c -o /TESTBUILD/p2.08.00/TESTobj/TESTBase.o /TESTBUILD/p2.08.00/TESTsrc/TESTBase.cpp );
In file included from /TESTBUILD/pegasus/src/Pegasus/Common/Array.h:74,
from /TESTBUILD/pegasus/src/Pegasus/Common/CIMName.h:40,
from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:39,
from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
/TESTBUILD/pegasus/src/Pegasus/Common/ArrayInter.h:49: error: redefinition of `class Pegasus::Array<Pegasus::Boolean>'
/TESTBUILD/pegasus/src/Pegasus/Common/ArrayInter.h:49: error: previous definition of `class Pegasus::Array<Pegasus::Boolean>'
In file included from /TESTBUILD/pegasus/src/Pegasus/Common/MessageLoader.h:42,
from /TESTBUILD/pegasus/src/Pegasus/Common/Exception.h:44,
from /TESTBUILD/pegasus/src/Pegasus/Common/CIMName.h:41,
from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:39,
from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
/TESTBUILD/pegasus/src/Pegasus/Common/Formatter.h:114: error: `Pegasus::Formatter::Arg::Arg(Pegasus::Sint32)' and `Pegasus::Formatter::Arg::Arg(Pegasus::Boolean)' cannot be overloaded
In file included from /TESTBUILD/pegasus/src/Pegasus/Common/CIMProperty.h:40,
from /TESTBUILD/pegasus/src/Pegasus/Common/CIMObject.h:42,
from /TESTBUILD/pegasus/src/Pegasus/Client/CIMClient.h:41,
from /TESTBUILD/v2.08.00/TESTsrc/TESTVAIInterface.h:4,
from /TESTBUILD/v2.08.00/TESTsrc/TESTCaVAI.h:24,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.h:11,
from /TESTBUILD/v2.08.00/TESTsrc/TESTBase.cpp:1:
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:92: error: `Pegasus::CIMValue::CIMValue(Pegasus::Sint32)' and `Pegasus::CIMValue::CIMValue(Pegasus::Boolean)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:147: error: `Pegasus::CIMValue::CIMValue(const Pegasus::Array<Pegasus::Boolean>&)' and `Pegasus::CIMValue::CIMValue(const Pegasus::Array<Pegasus::Boolean>&)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:291: error: `void Pegasus::CIMValue::set(Pegasus::Sint32)' and `void Pegasus::CIMValue::set(Pegasus::Boolean)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:323: error: `void Pegasus::CIMValue::set(const Pegasus::Array<Pegasus::Boolean>&)' and `void Pegasus::CIMValue::set(const Pegasus::Array<Pegasus::Boolean>&)' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:377: error: `void Pegasus::CIMValue::get(Pegasus::Sint32&) const' and `void Pegasus::CIMValue::get(Pegasus::Boolean&) const' cannot be overloaded
/TESTBUILD/pegasus/src/Pegasus/Common/CIMValue.h:409: error: `void Pegasus::CIMValue::get(Pegasus::Array<Pegasus::Boolean>&) const' and `void Pegasus::CIMValue::get(Pegasus::Array<Pegasus::Boolean>&) const' cannot be overloaded
*** Error code 1
make: Fatal error: Command failed for target `/TESTBUILD/v2.08.00/TESTsrc/TESTBase.or'
Same ERROR in Sun CC:-
palace /TESTBUILD/p2.08.00/TESTobj-> make -ef Make_SolarisVAICC TESTVAIrun
( /sun-share/SUNWspro/bin/CC -DSOLARIS_PLATFORM -DUNIX -DPEGASUS_PLATFORM_SOLARIS_SPARC_CC -features=bool -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DTEST_VAI -DEXPAND_TEMPLATES -D__EXTERN_C__ -DPEGASUS_INTERNALONLY -DPEGASUS_OS_SOLARIS -DPEGASUS_USE_EXPERIMENTAL_INTERFACES -DPEGASUS_USE_DEPRECATED_INTERFACES -Dregister= -D_POSIX_PTHREAD_SEMANTICS -DCLUSTER_GEN_APP -DSTAND_ALONE_INTEG -I"/TESTBUILD/v2.08.00/TESTsrc" -I"/Pegasus/pegasus-2.5/src" -I"/TESTBUILD/p2.08.00/TESTCommonLib" -O -c -o /TESTBUILD/p2.08.00/TESTobj/TESTBase.o /TESTBUILD/p2.08.00/TESTsrc/TESTBase.cpp );
"/Pegasus/pegasus-2.5/src/Pegasus/Common/ArrayInter.h", line 47: Error: Multiple declaration for Pegasus::Array<int>.
"/Pegasus/pegasus-2.5/src/Pegasus/Common/Formatter.h", line 103: Error: Multiple declaration for Pegasus::Formatter::Arg::Arg(int).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 90: Error: Multiple declaration for Pegasus::CIMValue::CIMValue(int).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 145: Error: Multiple declaration for Pegasus::CIMValue::CIMValue(const Pegasus::Array<int>&).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 289: Error: Multiple declaration for Pegasus::CIMValue::set(int).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 321: Error: Multiple declaration for Pegasus::CIMValue::set(const Pegasus::Array<int>&).
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 375: Error: Multiple declaration for Pegasus::CIMValue::get(int&) const.
"/Pegasus/pegasus-2.5/src/Pegasus/Common/CIMValue.h", line 407: Error: Multiple declaration for Pegasus::CIMValue::get(Pegasus::Array<int>&) const.
Thank and Regards,
DileepIn Sun C++, type bool is not equivalent to signed int. I don't think g++ makes it equivalent either.
Please show an example of source code that is causing the problem. -
OBIEE-Answers Problems with NVARCHAR2 data type elements
Hello experts,
After we completed the .rpd development and ported to the real-time environment, when we try to create requests in Answers of Presentation services by selecting certain columns only and try to see results, we are getting an error if the columns are of NVARCHAR type. The error is given below.
This is stopping end users being not able to create any answers/requests. Please suggest how we can resolve this or if any specific things need to be done to solve the problem.
Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
State: HY000. Code: 87720170. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 24328, message: ORA-24328: illegal attribute value at OCI call OCIAttrSet. [nQSError: 17007] Error while executing OCIDefine routines. (HY000)Hello Damon,
Thanks for the response.
We have also tried to query the same data through SQL*Plus and it went well. We had no issues with any data. Also the .RPD is working in our local system with the same data, on windows OS. But when we port the .RPD in the Server (Sun Solaris) we are having problems with the columns which are considered as NVARCHAR2 in the database and VARCHAR in the Physical layer of BI.
We observed there is no NVARCHAR2 data type supported in BI administrator in building the RPD. Is there any other datatype supports the NVARCHAR2 datatype in BI?
Thanks,
Narasimha -
Problem with Entity PK Attributes & VO inputListOfValues
Hello, im using Jdev 11.1.1.3.0 and have this issue. Use Case: 4 PK Entity Attributes that are used in a view object as Input List of Values. On a JSPx, there's a table where LOVs are located, The problem appears when i call createInsert method and start filling the LOVs. Afters popup LOV is closed no data its loaded in to the input LOV. But if page its reloaded , data appear I guess its a problem with the Entity PKs.
Any help??
Edited by: JayD on Jul 23, 2010 4:48 PMAll my afternoon wasted on this bug :( ... till now it seems that this problem its related with this:
Target Unreachable, identifier 'row' resolved to null
http://jobinesh.blogspot.com/2009/06/target-unreachable-identifier-row.html -
Problem with packed data type variable?
Hi all,
I have a problem while doing calculations with packed data type variables . As they are saving in the format '0,00'. so unable to do calulations because of ',' .
To convert these fields into str and replacing ',' with '.' is very time consuming because i have many packed data type variables.
Can you please provide any other alternative for over coming this problem? Is there any option while defining these variables?
Thanks,
Vamshi.Hi VAMSHI KRISHNA,
First check out SU01 Tcode (if u don't have permission then u can ask BASIS to do it)
Enter User Name
Execute
Goto Defaults Tab
Check Out Decimal Notation here... set it 1,234,567.89
SAVE it
Log Off once and again login with the same user id and check the result...
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7 -
Is there a problem with Entity EJBs on 8.1.7?
Oracle 8.1.7 on Solaris 7:
Bean Managed persistence:
TX Attribute - Required:
UserTransaction bound into JNDI:
I have tried numerous times and numerous ways to get my Entity beans working. Ejbs that represent tables with 3 columns work fine, but another EJB with 15 columns doesn't - ejbCreate, ejbFindByPrimaryKey work fine, but whenever make some changes and subsequently commit, ejbStore doesn't execute, I even had my client sleep for 15 secs, but still nothing. I know there is a problem with deploying EJBs using JDeveloper 3.2, but I have deployed all these EJBs using deployejb command line tool on the server itself!
We are right now trying to find out whether Oracle is our right choice for EJBs, any input is highly appreciated.
Thanks in Advance.
Ashish.Upon further investigation this is what I have found:
1. Created another EJB for the 15 column table, but this time represented just 3 of its columns - so I have 3 instance variables in the Bean, and a getter/setter method for each except a setter for the primary key.
2. Undoubtedly it worked fine.
3. Increased the number of columns to 4 and GUESS WHAT, upon calling setXXX for the newly added setter method and committing, it started failing, the value just wouldn't change in the DB. But when I call all the setXXX methods, it works just fine, I finally narrowed it down to just 1 setXXX method, if I use this method with any other setXXX methods, all the values get updated, otherwise none of them get updated.
CLEARER PICTURE:
Supposing I have the following instance variables in the Bean:
String id;
String dt;
String vol;
String price;
String beg_day;
String end_day;
and the following get/set methods
String getId()
String getDt()
String setDt()
String getVol()
String setVol()
String getPrice()
String setPrice()
String getBeg_day()
String setBeg_day()
String getEnd_day()
String setEnd_day()
Now if I do the following:
HomeInterface hm = ...JNDI lookup
UserTransaction ut = ...JNDI lookup
ut.begin();
RemoteInterface rm = hm.findByPrimaryKey("1");
rm.setBeg_day("01-DEC-00");
ut.commit();
nothing happens, the date in the underlying table is still the same, BUT.....
if I do this:
ut.begin();
rm = hm.findByPrimaryKey("1");
rm.setDt("01-DEC-00");
rm.setBeg_day("01-DEC-00");
ut.commit();
IT WORKS..... using setDt() with any other method works for that setXXX method also...
Anybody experience this at all.....
Thanks in advance for your help.
Ashish.
PS: setDt() is the last method in the stBean.java file with the maximum __method_index, does that make any difference??
Maybe you are looking for
-
Need help removing apple id from old songs
hi, hope someone can help. just rebuilt my computer and put my songs from my old ipod nano onto itunes. only 3 songs were purchased yrs ago with my ex wife's account. when i click on those songs in itunes to play, it pops up with her apple id. how ca
-
ANNOUNCE: Speed up your Data-Driven JSF/Seam Application by Two Orders of
Hello, I am pleased to announce a new article on JSF Central. In the second installment of this two-part article, Dan Allen continues his discussion of some common performance problems you may encounter when using JSF components, Seam components, and
-
Large input xml request to BPEL
Does BPEL load the whole input request xml in memory? I have a input request having multiple IDs. The oracle business rule transforms 1 id at a time. BPEL calls the business rule in flowN for a size of 20. (processes 20 ids at a time) The input reque
-
Online PDF landing page via links
This is an odd How-To question, so here goes. I have a document of about a dozen abstracted text records. Each abstracted record, actually deeds from the 1700's, has the full image in a PDF file. In my Word file I want to create a link to the inte
-
Lenovo T430s - where is the fingerprint driver+software download?!
We recieved the Lenovo T430s today and I have reinstalled Windows 7 on it... I could not find the download for the Fingerprint software anywhere on the site... Any help?! Thank you in advance! -tsd