Apex changing nulls to zeroes when creating Flash Charts
Hey all,
Apex appears to be changing Null's to Zeroes when generating the XML to fuel a graph. I want to chart this year's output by month against last year's output by month. As this year is not complete, the two lines should be different lengths. When I view the XML, Apex is "filling in" the vacant (future) months with zeroes. This causes the line for this year to continue by dropping to zero for the rest of the year. I have already tried to adjust this by changing the maximum rows for this year's series.
Any help would be greatly appreciated. Marco, this seems to be up your alley.
Thanks.
Paul
Paul,
The best place to put it is an Application Process.
1) Go to Shared Components and create an Application Process (say it's named MY_CHART_XML_PROCESS). The PL/SQL for the Application Process should follow this general outline, substituting your own XML-generating logic for {my chart XML}:
owa_util.mime_header( ccontent_type => 'text/xml', bclose_header => TRUE, ccharset => 'utf-8');
htp.p('{my chart XML}');2) Replace both occurences of "FLOW_FLASH_CHART_R#REGION_ID#" with "APPLICATION_PROCESS=MY_CHART_XML_PROCESS" in the region source for the chart that is to use this XML.
That should do it.
- Marco
Similar Messages
-
Changing the custom XML for a flash chart dynamically
Hello
I am wondering if anyone has found a way to change the custom XML
for a flash chart dynamically.
For instance.
On the www.anychart.com website their is a gallery with charts.
I have studied one called "2Dlinetimechart. It has hours on the X-axis.
When I view the XML for this chart.
I found this enrty
- <block color="0x0080C0" border_color="0x0080C0" name="Sales dept.">
<set value="0" argument="0" name="00:00" />
<set value="1" argument="0" name="01:00" />
It uses the tag value to set the position on the X-axis. But the tag name to set the labels on the X-axis.
I have not found a way to do this in application express 3.0.
Therefore I wonder if I can change to XML dynamically, and build my own block based on the input I have.
Or even build a chart, based on a xml that I create first then sends to the object that renders the chart.
Hope this makes sence ?
Ulf
PS this is related to my question about
http://forums.oracle.com/forums/thread.jspa?messageID=1887210?
using dates on the x-axis.
But would by nice to know a general method to rebuild the xml-file dynamically so I can change the chart within the limits of the xml-definition.String value = ResultSet.getObject("myfield").toString();
String opvalue = "15";
<OPTION Value=15 <%=((opvalue.equals(value))?"selected":"")%>> -
Can you put line break in text in the data box when creating a chart.
i.e. if you have a bar chart with text underneath each bar, can you break it when you’re entering it instead of manually afterwards
Thankshttp://help.adobe.com/en_US/illustrator/cs/using/WS3f28b00cc50711d9fc86fa8133b3ce158e-8000 .html
See "Enter labels" -
Change name of publishedcollection when creating or editing
I need to change the name of the publishcollection when the collection is created or edited. This is to make sure the collection name matchs the name of the one on the remote server. I have tried the following code and it executes ok, but in the end the name of the collection is not changed.
here is the code
function publishServiceProvider.updateCollectionSettings( publishSettings, info )
local colname = "This is my new collection name"
LrLibLogger.outputToLog( colname )
catalog:withWriteAccessDo( "Set name", function ()
info.publishedCollection:setName( colname )
LrLibLogger.outputToLog(info.publishedCollection:getName()) -- outputs the old name and not the new one
end)
end
After running this the collection name is still the old one.Hi Allen,
I've tested your second version of your code, and although I can't find why the name isn't fixed, I get an error, only when creating a new collection:
"We can only wait from within a task"
I found this at the Adobe documentation for pubCollection:getName():
"This function must be called from within an asynchronous task started using LrTasks. Must not be called from within the same catalog:with___WriteAccessDo gate in which the collection object was created."
I'm very new to Lua and LR development, but I hope this helps.
Regards,
Juanma -
Solved, permission error when creating Flash Clip
My new HP PC is equipped with a device called a personal media drive (K:\). When I tried to and write to this new external drive when creating a Flash clip for the first time, I was unable to do so because I did not have permission. After much searching, I determined that this error is not an Adobe error, but rather a Windows error in Vista. I accessed the drive in explorer, right clicked on it and went to properties. By following the tabs, I was eventually able to enable sharing and grant all permissions to the drive. Once this was done, I was able to successfully render out a .flv file without no diffuculty and withut needing to restart the computer.
Please, all users, when you do eventually solve your problems, do post your results. Forums are such depressing places to visit otherwise. Registration is pretty quick and "paying it forward", is just being a good human.ChojinDSL wrote:
However, when I try to run gitosis-init as the git user I get the following error:
IOError: [Errno 13] Permission denied: '/usr/lib/python2.7/site-packages/soaplib-1.0.0_beta8-py2.7.egg-info/top_level.txt'
What are the permissions of that file? Did you use a restrictive umask while building gitosis-git? -
VB6: division by zero when create task
When I try to run "Onesample.vbp" in VB6 examples folder
appears the message-box: "Error: 11 division by zero".
I followed the suggestion to change decimal separator
from "." to ",".
Debug say me that the error occours when I create
the task.
Any hint?Kelly, initially, I would suggest you have your weight and height measurements in the same type of units (kg or cm) and write your code when you square it as (Height * Height). Your code of x<>0 seems as though it would generate an error as the program would read it as less than and great than 0. Sometimes you get errors that say one thing but the snytax is missing a parenthesis or a quotation mark, so I would go back over your syntax. Hope this helps.
Josephine -
Null pointer exception when creating new model-
Hi Experts,
When I create a new model in NWDS i get the following error.
java.lang.NullPointerException
at com.sap.ide.jcb.core.service.SAPLogonHelper.<init>(SAPLogonHelper.java:48)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage$MessageServerPane.fillUpLoadBalancingPaneSystems(SAPLogonPage.java:1003)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage$MessageServerPane.show(SAPLogonPage.java:303)
at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.createControl(SAPLogonPage.java:91)
at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.createPageControls(ModelWizard.java:408)
at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:524)
at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:473)
at org.eclipse.jface.window.Window.create(Window.java:302)
at org.eclipse.jface.window.Window.open(Window.java:552)
at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
!ENTRY com.tssap.util 4 0 Mar 18, 2008 15:02:50.286
!MESSAGE Mar 18, 2008 3:02:50 PM com.sap.ide.webdynpro.ui.service.ServicesUI [Thread[main,5,main]] Error: Internal error
Plugin name: Web Dynpro Model Editor
Plugin ID : com.sap.ide.webdynpro.modeleditor
Class : com.sap.ide.webdynpro.modeleditor.ModelEditorCallback
Method : createModel
Message : An error ocurred. See error log for more details.
Exception : java.lang.NullPointerException: null
Seems to be a plugin problem.What can I do to correct this..?
Also where can i see the error log(The above error message is from .log file in sap workspace.)If you have Windows Seven (and probably Windows Vista) ...
Close NWDS.
Make backup \IDE70\eclipse\plugins\com.sap.ide.jcb.core_2.0.0\SapJavaConnectivityBuilderCore.jar.
Get file-archive \IDE70\eclipse\plugins\com.sap.ide.jcb.core_2.0.0\SapJavaConnectivityBuilderCore.jar,
in it get file \com\sap\ide\jcb\core\service\com\sap\ide\jcb\core\service\SAPLogonHelper.class,
Change this .class file in any HexEditor,
text "windows 2003" to text "indows vista" (not "windows vista"),
save,
replace original in
\IDE70\eclipse\plugins\com.sap.ide.jcb.core_2.0.0\SapJavaConnectivityBuilderCore.jar
inner path = \com\sap\ide\jcb\core\service\com\sap\ide\jcb\core\service\
done!!! -
Why the HTML copy when creating Flash?
Just started working with Flash and I noticed when I publish
a page that I'm working on Flash creates a HTML version as well.
What I am working on will be placed within an existing site which
is all html. Not sure the reason for the additional html page and
what to do with it. Sorry if I'm a bit dense about this but ya
gotta start somewhere.as to what would be used for? the HTML? It provides the tags
for proper display of the SWF. From the
help docs:
To display a SWF file in a web browser, an HTML document must
use the object and embed tags with the
proper parameters.
Playing Flash content in a web browser requires an HTML
document that activates the SWF file and
specifies browser settings. The Publish command automatically
generates this document, from HTML
parameters in a template document.
The template document can be any text file that contains the
appropriate template
variablesâincluding a plain HTML file, a
file that includes code for special interpreters such as
ColdFusion or Active Server Pages (ASP), or a template
included with Flash.
To manually enter HTML parameters for Flash or customize a
builtâin template, use an HTML editor.
HTML parameters determine where the content appears in the
window, the background color, the size of
the SWF file, and so on, and set attributes for the object
and embed tags. Change these and other
settings in the HTML panel of the Publish Settings dialog
box. Changing these settings overrides
options youâve set in the SWF file.
just search help docs (F1) for "Using object and embed tags"
Chris Georgenes
Animator
http://www.mudbubble.com
http://www.keyframer.com
Adobe Community Expert
*\^^/*
(OO)
<---->
westlight wrote:
> Thanks. Still reading on as to what it would be used
for. Just for positioning and layout info?
>
> Back to the tutorials, and the Flash for Dummies book. -
Is it possible to change the default URL when creating new hyperlinks?
I'm currently working to take a 128 page catalog that was created in InDesign for print and turn it into a interactive PDF to post on our companies website. The catalog contains thousands of part numbers and I'd like to link each one to its corresponding stock status page on our website that gives current availability and pricing for any particular customer.
So say I'm dealing with part number "XXXX". When I go to add the hyperlink the default web address it spits out is " http://XXXX ". Instead of that, would it be possible to change the default to " http://forums.adobe.com/discussion/XXXX/1 ". Obviously I just used this website as an example, but it would save so much time if I could avoid having to type the exact same URL every time.
Or maybe is there a quicker way to do this other than what I am currently trying?
ThanksI've found some external software applications that will do it, so that leads me to believe its not possible within ID CC.
-
I have created the following workflow on the wiki page library to run when an item is changed:-
And it will send emails as follow:-
Currently when a user creates a new wiki page and he enters the wiki page name.
Then he enters the content and click on save.
Then two duplicate emails from the workflow will be sent ? So can anyone advice why creating a new wiki page will fire the workflow twice ?
ThanksHi john
Have you see the library where the wiki pages are stored. You can see how many occurrences of the workflow has been run.
Anyway, instead of using "wait for", can we put a condition that says, if Assign To:Approver is not empty. then email.
i use if instead of wait and it worked well, thanks -
How do you change the max data when creating a DVD?
I recently filmed a show and am making DVD copies. The show runs 1hour 45mins and is about 79gb in HD. I'm using compressor 4.1 to create the DVDs so it fits on one disc. I've made a few test copies but so far every DVD freezes at around 43 mins when I play it in another computer or dvd player. I heard in a blog that reducing the max data should solve the problem. This is my first time using compressor and I wanted to know where do you go to change the max data and how will that affect the video quality? Also, what is the suggested range of data limits for a project of this size?
ThanksDuplicate the Create DVD preset from the Settings pane and name it.
Select the MPEG setting in the batch window.
Open the Inspector and click the Video tab.
Choose your "Encoding Mode" (CBR, etc.).
Uncheck Automatically Select Bit Rate.
You can then move the slider: somewhere around 4 Mb per second should be about right.
Just to add that you might also have a problem with the physical media. Try another brand to see whether that makes a difference.
Russ -
Changing default Target Group when creating transports.
Hi All,
We have 4 different target groups for the transports created in development systems. I would like to make one transport group default which is mainly used by majority of consultants.
How to make one transport group default during creation of transport.
Regards,
KrishnaAnd to just make it more clear :
and here is the SAP help on the subject:
Transport Layer in ABAP Workbench
The Change and Transport System supports the distribution of development work on large projects across multiple SAP Systems.
The packages in each development system are grouped into one transport layer.
The transport layer determines whether objects are assigned to a local or transportable change request.
Use
Each of your SAP development systems is assigned a transport layer as its standard transport layer. If you use Extended Transport Control, you can assign different standard transport layers to certain clients.
You can define at the most one consolidation target for each SAP System and transport layer.
When you create a package, it is assigned the standard transport layer of the SAP System.
If you want to assign a different transport layer to a package, you require the administration authorization for the Change and Transport System.
The objects in a package automatically have the transport attributes defined for the corresponding transport layer.
If a consolidation route originating in their SAP System is defined, then the objects are assigned to a transportable request, and transported into the consolidation target when it is released.
If a consolidation route is not defined, the objects are assigned to a local request, and are not transported.
Customizing settings are not assigned to a package. They have the transport attributes of the standard transport layer of the system or client.
It is best to assign a package a standard transport layer for which a consolidation route originating in the development system is defined.
To display and maintain the transport layers and routes, use the Transport Management System (transaction STMS).
Only the system adminstrator can make changes.
Caution:
The tables TSYST, DEVL, TWSYS, TASYS are no longer productive as of Release 4.0A and cannot be maintained.
Best regards,
Menelaos -
Changing the catalog profile when creating a QN FROM ACTION BOX in transaction QM02
Hi All,
When I create a quality notification from the action box in transaction QM02, the catalog profile is fetched from the material master. I want this changed so that the catalog profile is
always copied from the QN being preocessed in QM02. (current QN)
I am not able to locate the code where the catalog profile for the new QN(QN being created) is fetched from the material master.
If I change the catalog profile in the material master, it works, but that is not a solution for me.
Need the exact point where I can pass in a different catalog code.
Also, I do not see the new QN number anywhere while debugging.
PS: The QN is being created from the action box in transaction QM02 and not from transaction QM01.
Thanks.Hi All,
When I create a quality notification from the action box in transaction QM02, the catalog profile is fetched from the material master. I want this changed so that the catalog profile is
always copied from the QN being preocessed in QM02. (current QN)
I am not able to locate the code where the catalog profile for the new QN(QN being created) is fetched from the material master.
If I change the catalog profile in the material master, it works, but that is not a solution for me.
Need the exact point where I can pass in a different catalog code.
Also, I do not see the new QN number anywhere while debugging.
PS: The QN is being created from the action box in transaction QM02 and not from transaction QM01.
Thanks. -
Viewc32 is changing long to int when creating view.java
I have copied the view and the java code generated from the view by viewc32. In the view field <b>oszStartTime </b>is a long. In java it is represented as a int. The .h file is a long. Is this the way it is suppose to work? I thought the .java file would represent the field as a long. I have created about 4 views and this is consistent for all of them. All longs are changed to ints in the .java programs.
Thanks for the help...
Here is my view
VIEW GetEqmhistView
#type cname fbname count flag size null
string iReqName - 1 - 30 -
string iMsgName - 1 - 30 -
short iMsgVersion - 1 - - 0
string iszTrainSection - 1 - 2 -
string iszTrainSymbol - 1 - 8 -
string iszTrainDay - 1 - 3 -
short onSiteNumber - 100 - - 0
long <b>oszStartTime </b>- 100 - - 0
char ocSiteKind - 100 - - \0
char oReserved - 100 - - \0
long omdwReturnStatus - 1 - - 0
long omdwErrorCode - 1 - - 0
string omszErrorMessage - 1 - 256 -
END
Here is the Java Generated:
package com.nscorp.apps.util;
import java.io.*;
import java.lang.*;
import weblogic.wtc.jatmi.*;
import weblogic.wtc.jatmi.Utilities;
public class GetEqmhistView extends TypedView32 implements Serializable {
private String iReqName = null;
private String iMsgName = null;
private short iMsgVersion = 0;
private String iszTrainSection = null;
private String iszTrainSymbol = null;
private String iszTrainDay = null;
private short[] onSiteNumber = null;
private int[] <b>oszStartTime </b>= null;
private char[] ocSiteKind = null;
private char[] oReserved = null;
private int omdwReturnStatus = 0;
private int omdwErrorCode = 0;
private String omszErrorMessage = null;
private boolean _associatedFieldHandling = false;
public GetEqmhistView() {
super("GetEqmhistView");
this.onSiteNumber = new short[100];
this.oszStartTime = new int[100];
this.ocSiteKind = new char[100];
this.oReserved = new char[100];
return;
* Gets the current state of associated field handling.
* @return the current state (true=on, false=off)
public boolean getAssociatedFieldHandling()
return _associatedFieldHandling;
* Sets the state of associated field handling.
* @param state the desired state (true=on, false=off)
public void setAssociatedFieldHandling(boolean state)
_associatedFieldHandling = state;
* Gets the value of the iReqName element of this view
* @return The value which this element has
public String getiReqName()
return(this.iReqName);
* Sets the value of the iReqName element of this view
* @param value The value to set the element to
* @throws IllegalArgumentException if the value is too long
public void setiReqName(String value)
if (value.length() > 30)
throw new IllegalArgumentException("Data too large for iReqName");
this.iReqName = value;
* Gets the value of the iMsgName element of this view
* @return The value which this element has
public String getiMsgName()
return(this.iMsgName);
* Sets the value of the iMsgName element of this view
* @param value The value to set the element to
* @throws IllegalArgumentException if the value is too long
public void setiMsgName(String value)
if (value.length() > 30)
throw new IllegalArgumentException("Data too large for iMsgName");
this.iMsgName = value;
* Gets the value of the iMsgVersion element of this view
* @return The value which this element has
public short getiMsgVersion()
return(this.iMsgVersion);
* Sets the value of the iMsgVersion element of this view
* @param value The value to set the element to
public void setiMsgVersion(short value)
this.iMsgVersion = value;
* Gets the value of the iszTrainSection element of this view
* @return The value which this element has
public String getiszTrainSection()
return(this.iszTrainSection);
* Sets the value of the iszTrainSection element of this view
* @param value The value to set the element to
* @throws IllegalArgumentException if the value is too long
public void setiszTrainSection(String value)
if (value.length() > 2)
throw new IllegalArgumentException("Data too large for iszTrainSection");
this.iszTrainSection = value;
* Gets the value of the iszTrainSymbol element of this view
* @return The value which this element has
public String getiszTrainSymbol()
return(this.iszTrainSymbol);
* Sets the value of the iszTrainSymbol element of this view
* @param value The value to set the element to
* @throws IllegalArgumentException if the value is too long
public void setiszTrainSymbol(String value)
if (value.length() > 8)
throw new IllegalArgumentException("Data too large for iszTrainSymbol");
this.iszTrainSymbol = value;
* Gets the value of the iszTrainDay element of this view
* @return The value which this element has
public String getiszTrainDay()
return(this.iszTrainDay);
* Sets the value of the iszTrainDay element of this view
* @param value The value to set the element to
* @throws IllegalArgumentException if the value is too long
public void setiszTrainDay(String value)
if (value.length() > 3)
throw new IllegalArgumentException("Data too large for iszTrainDay");
this.iszTrainDay = value;
* Gets the value of the onSiteNumber element of this view
* @return The value which this element has
public short[] getonSiteNumber()
return(this.onSiteNumber);
* Gets the value of the onSiteNumber element of this view
* @param index The element in the array to return
* @return The value which this element has
* @throws ArrayIndexOutOfBounds if the array index is out of bounds
public short getonSiteNumber(int index)
return(this.onSiteNumber[index]);
* Sets the value of the onSiteNumber element of this view
* @param value The value to set the element to
* @throws ArrayIndexOutOfBounds if the array given is too large
public void setonSiteNumber(short[] value)
if (value.length > 100)
throw new ArrayIndexOutOfBoundsException("Array too large for onSiteNumber");
if (value.length < onSiteNumber.length)
for(int i = 0; i < value.length; i++)
onSiteNumber[i] = value;
else
this.onSiteNumber = value;
* Sets the value of the onSiteNumber element of this view
* @param value The value to set the element to
* @param index The element in the array to set
* @throws ArrayIndexOutOfBounds if the array index is out of bounds
public void setonSiteNumber(short value, int index)
this.onSiteNumber[index] = value;
* Gets the value of the oszStartTime element of this view
* @return The value which this element has
public int[] getoszStartTime()
return(this.oszStartTime);
* Gets the value of the oszStartTime element of this view
* @param index The element in the array to return
* @return The value which this element has
* @throws ArrayIndexOutOfBounds if the array index is out of bounds
public int getoszStartTime(int index)
return(this.oszStartTime[index]);
* Sets the value of the oszStartTime element of this view
* @param value The value to set the element to
* @throws ArrayIndexOutOfBounds if the array given is too large
public void setoszStartTime(int[] value)
if (value.length > 100)
throw new ArrayIndexOutOfBoundsException("Array too large for oszStartTime");
if (value.length < oszStartTime.length)
for(int i = 0; i < value.length; i++)
oszStartTime[i] = value[i];
else
this.oszStartTime = value;
* Sets the value of the oszStartTime element of this view
* @param value The value to set the element to
* @param index The element in the array to set
* @throws ArrayIndexOutOfBounds if the array index is out of bounds
public void setoszStartTime(int value, int index)
this.oszStartTime[index] = value;
* Gets the value of the ocSiteKind element of this view
* @return The value which this element has
public char[] getocSiteKind()
return(this.ocSiteKind);
* Gets the value of the ocSiteKind element of this view
* @param index The element in the array to return
* @return The value which this element has
* @throws ArrayIndexOutOfBounds if the array index is out of bounds
public char getocSiteKind(int index)
return(this.ocSiteKind[index]);
* Sets the value of the ocSiteKind element of this view
* @param value The value to set the element to
* @throws ArrayIndexOutOfBounds if the array given is too large
public void setocSiteKind(char[] value)
if (value.length > 100)
throw new ArrayIndexOutOfBoundsException("Array too large for ocSiteKind");
if (value.length < ocSiteKind.length)
for(int i = 0; i < value.length; i++)
ocSiteKind[i] = value[i];
else
this.ocSiteKind = value;
* Sets the value of the ocSiteKind element of this view
* @param value The value to set the element to
* @param index The element in the array to set
* @throws ArrayIndexOutOfBounds if the array index is out of bounds
public void setocSiteKind(char value, int index)
this.ocSiteKind[index] = value;
* Gets the value of the oReserved element of this view
* @return The value which this element has
public char[] getoReserved()
return(this.oReserved);
* Gets the value of the oReserved element of this view
* @param index The element in the array to return
* @return The value which this element has
* @throws ArrayIndexOutOfBounds if the array index is out of bounds
public char getoReserved(int index)
return(this.oReserved[index]);
* Sets the value of the oReserved element of this view
* @param value The value to set the element to
* @throws ArrayIndexOutOfBounds if the array given is too large
public void setoReserved(char[] value)
if (value.length > 100)
throw new ArrayIndexOutOfBoundsException("Array too large for oReserved");
if (value.length < oReserved.length)
for(int i = 0; i < value.length; i++)
oReserved[i] = value[i];
else
this.oReserved = value;
* Sets the value of the oReserved element of this view
* @param value The value to set the element to
* @param index The element in the array to set
* @throws ArrayIndexOutOfBounds if the array index is out of bounds
public void setoReserved(char value, int index)
this.oReserved[index] = value;
* Gets the value of the omdwReturnStatus element of this view
* @return The value which this element has
public int getomdwReturnStatus()
return(this.omdwReturnStatus);
* Sets the value of the omdwReturnStatus element of this view
* @param value The value to set the element to
public void setomdwReturnStatus(int value)
this.omdwReturnStatus = value;
* Gets the value of the omdwErrorCode element of this view
* @return The value which this element has
public int getomdwErrorCode()
return(this.omdwErrorCode);
* Sets the value of the omdwErrorCode element of this view
* @param value The value to set the element to
public void setomdwErrorCode(int value)
this.omdwErrorCode = value;
* Gets the value of the omszErrorMessage element of this view
* @return The value which this element has
public String getomszErrorMessage()
return(this.omszErrorMessage);
* Sets the value of the omszErrorMessage element of this view
* @param value The value to set the element to
* @throws IllegalArgumentException if the value is too long
public void setomszErrorMessage(String value)
if (value.length() > 256)
throw new IllegalArgumentException("Data too large for omszErrorMessage");
this.omszErrorMessage = value;
public void _tmpresend(DataOutputStream encoder)
throws TPException, IOException {
int lcv;
try {
Utilities.xdr_encode_string_length(encoder,iReqName, 30);
Utilities.xdr_encode_string_length(encoder,iMsgName, 30);
encoder.writeInt(iMsgVersion);
Utilities.xdr_encode_string_length(encoder,iszTrainSection, 2);
Utilities.xdr_encode_string_length(encoder,iszTrainSymbol, 8);
Utilities.xdr_encode_string_length(encoder,iszTrainDay, 3);
for (lcv = 0; lcv < 100; lcv++) {
encoder.writeInt(onSiteNumber[lcv]);
for (lcv = 0; lcv < 100; lcv++) {
encoder.writeInt(oszStartTime[lcv]);
for (lcv = 0; lcv < 100; lcv++) {
encoder.writeInt((int)ocSiteKind[lcv]);
for (lcv = 0; lcv < 100; lcv++) {
encoder.writeInt((int)oReserved[lcv]);
encoder.writeInt(omdwReturnStatus);
encoder.writeInt(omdwErrorCode);
Utilities.xdr_encode_string_length(encoder,omszErrorMessage, 256);
catch (IOException ie) {
System.out.println("Error encoding view buffer: " + ie);
return;
public void tmpostrecv(DataInputStream decoder, int recvsize)
throws TPException, IOException {
int lcv;
iReqName = Utilities.xdr_decode_string(decoder, null);
iMsgName = Utilities.xdr_decode_string(decoder, null);
iMsgVersion = (short)decoder.readInt();
iszTrainSection = Utilities.xdr_decode_string(decoder, null);
iszTrainSymbol = Utilities.xdr_decode_string(decoder, null);
iszTrainDay = Utilities.xdr_decode_string(decoder, null);
for (lcv = 0; lcv < 100; lcv++) {
onSiteNumber[lcv] = (short)decoder.readInt();
for (lcv = 0; lcv < 100; lcv++) {
oszStartTime[lcv] = decoder.readInt();
for (lcv = 0; lcv < 100; lcv++) {
ocSiteKind[lcv] = (char)decoder.readInt();
for (lcv = 0; lcv < 100; lcv++) {
oReserved[lcv] = (char)decoder.readInt();
omdwReturnStatus = decoder.readInt();
omdwErrorCode = decoder.readInt();
omszErrorMessage = Utilities.xdr_decode_string(decoder, null);
return;Hi Corey,
The behavior you are seeing is expected. A long in Tuxedo is a 32 bit value. That maps to a Java int data type which is also a 32 bit value.
Regards,
Todd Little
BEA Tuxedo Engineering -
Change the transaction status when creating a follow up activity
Hello All
We need to change the activity status if a follow up document is created from. E.g. If an activity is created type 001 then a follow-up activity type 003 as a follow up document from 001 the system automatically changes the activity status from open to in process. I need detailed steps regarding how to reach this
Regards
JacopoSee if you can "exploit" CRM_COPY_BADI and function modules CRM_STATUS_CHANGE_EXTERN to change the User status or CRM_STATUS_CHANGE_INTERN for System status.
Maybe you are looking for
-
Ayer a las mil me fui a la cama dejando un trabajo casi liquidado en Illustrator. Hoy, cuando lo intento abrir, me dice "No se puede abrir la ilustración. No se puede completar la operación solicitada". Lo he probado en otro equipo y ocurre lo mismo,
-
How do I burn Playlist to disc, when it is greyed out.
Hi, I have updated to itunes 7 and the first thing I did was lose all my music off my ipod, as I didn't have it in the library. I now think that I have all my music back as I had backed up on DVDs. I know that itunes is s'posed to be a one way thing
-
Dear Guru , In one of my system some LUW got stuck in the source .Which leads to data mismatch I have checked the source system and found some LUW got stucked of last month since I can not push manually by pressing F6 because it is in executing for
-
Can i add greek spelling check for Pages for ipad mini retina?
Hi! Can i add greek spelling check for Pages for ipad mini retina?
-
Please help with "while" "charAt" and "length"
i'm trying to write a program that counts the number of each vowel in an inputed string of characters. i'm using a "while" statement, not a "for" statement, and i'm using a switch statement inside the "while" i'm having trouble getting the while stat