Changing the Content of a Document at creation time using Java
Hi,
I made a ClassObject 'Division' that is a subclass of the
oracle.ifs.beans.Document,
and I want to change the content of a Division instance while it
is being created because I can't change the editor (Epic) that
creates this object.
(and it has to be at creation time!)
To do this, I made a server-side class S_Division that
implements the extendedPreUpdate method.
I was able to get the content of the object when that method was
called for the 4th time
and that way I could change some attributes of that object that
depend on that content.
My problem is that I need to change the origal content into
something else using that extendedPreUpdate method
and I don't know how.
The bean-side Document class has an easy method setContent
(DocumentDefinition) for changing the content of its instances,
but the server-side S_Document doesn't!
So how can I do that using the server-side classes?
Maybe using the update(OperationState,
S_LibraryObjectDefinition) method?
Can someone give me some help or an example that shows me the
way?
Thanx,
Gerd Vanhoof
Hi,
I made a ClassObject 'Division' that is a subclass of the
oracle.ifs.beans.Document,
and I want to change the content of a Division instance while it
is being created because I can't change the editor (Epic) that
creates this object.
(and it has to be at creation time!)
To do this, I made a server-side class S_Division that
implements the extendedPreUpdate method.
I was able to get the content of the object when that method was
called for the 4th time
and that way I could change some attributes of that object that
depend on that content.
My problem is that I need to change the origal content into
something else using that extendedPreUpdate method
and I don't know how.
The bean-side Document class has an easy method setContent
(DocumentDefinition) for changing the content of its instances,
but the server-side S_Document doesn't!
So how can I do that using the server-side classes?
Maybe using the update(OperationState,
S_LibraryObjectDefinition) method?
Can someone give me some help or an example that shows me the
way?
Thanx,
Gerd Vanhoof
Similar Messages
-
Can we change the UserID for a document without logging off using DIAPI
Is it possible to change userid in a document using DI API?
The senario is that I have logged in with a user for which there is no authorization to add or update BP Master.
But in a special case I want him to change a particular field.
So how can i do this.
If yes, can somebody help me on how we can do this...Sorry I don't really have time for a full sample so the basic idea is:
DI_company1 -> This is your logon with the user who is not authorised. When they trigger the scenario where they need to update the field they are not authorised for (and I can't give you a sample for that, it is completely up to your scenario) do the following
DI_Company2 = new SAPbobsCOM.Company
//Here supply it with all the usual connection information to your DB but
//with a user who *IS* authorised
DI_Company2.Connect()
SAPbobsCOM.Documents oDocument = DI_Company2.GetBusinessObject(oOrders);
oDocument.GetByKey(keyOfDocumentToUpdate)
oDocument.MyFieldToUpdate = "Value to Update with"
oDocument.Update()
DI_Company2.Disconnect()
The basic idea is that you are connecting a second time with your addon, with a new company object, using a user who is authorised & then disconnecting when finished. Your original connection (DI_Company1) is still connected and valid.
Code is a horrible mix between VB and C# syntax because I don't have an editor to hand
Good luck! -
What is the tcode to change the contents of sales order
hi
what is the tcode to change the contents of sales orderSD Transaction Code Flow:
Inquiry / Document type IN
create chan disp tables updated
Tcode for creation VA11,VA12,VA13. tables VBAK,VBAP
Quotation / QT
Tcode for creation VA21,VA22,VA23. tables VBAK,VBAP
Purchase Order PO
Tcode for creation ME21,ME22,ME23. tables EKKO,EKPO.
Sales Order OR
Tcode for creation VA01,VA02,VA03. tables VBAK,VBAP
Delivery LF
Tcode for creation VL01,VL02,VL03. tables LIKP,LIPS
Billing F2
Tcode for creation VF01,VF02,VF03. tables VBRK,VBRP -
How to change the "content created" date/time in FCPX?
Since I've had problems importing my whole iMovie event library into FCPX I decided to run some tests with importing individual files (part of iMovie events and originally imported from camera into iMovie). Some of them for some reason got the wrong "content created" date/time in them while in iMovie they have the right date/time set. Does anybody have an idea on how to change the "content created" timestamp?
I had a bunch of DV files that imported stamped with the file modification date and time. I did not find a way to change it in FCPX. With FCPX not running, I used A Better Finder Attributes to modify the creation and modification dates of the files in the event folder. FCPX reconnected to them but the event still showed the old range of dates so I created a new event and moved the clips to it. Maybe ther is a beter way but that is how I did it.
-
i have 5 html pages that share a common header, footer, and sidebar. how do i use my nav bar to change the content of the body without duplicating a lot of code? thank you!
i inherited the website. It’s for a non-profit and is not very
sophisticated, and neither am I in webdesign. It currently has multiple
pages that are identical except for that body section, so whenever i change
the navigation (in the sidebar) I have to update every html page. I want
to have one basic page, and just call in the different body content based
on the link the user selects from the nav bar. How can i do that using a
script? i am using Dreamweaver.
~ in love and light ~
Jeannie
On Sat, Feb 7, 2015 at 4:07 AM, Ben Pleysier <[email protected]> -
After upgrading to Maverick, when I double click on the attachment I get this message "...could not be saved, because you cannot change the contents of that folder. Change the folder properties and try again, or try saving in a different location." It happens for all types of files.
Any suggestions as how to fix this?
I'm on a Mac OS X 10.9.3 with Thunderbird 24.5.0Thunderbird > preferences (I think on a mac) and under attachments set the folder
-
Changing the size of a document in Pages?
How can you change the size of a document in pages? I need to change a poster size document to 8.5 x 11?
Nevermind. Found it! Sorry, new to Mac
-
I am the user of latest firefox 3.6.6 browser. I am getting problems of frequent crashes whenever i tries to install any addon. The crashes also occures whenever i want to download any file.
I am also receiving errors while downloading any file like:
"C:\Users\****\AppData\Local\Temp\******.001.part could not be saved, because you cannot change the contents of that folder.
Change the folder properties and try again, or try saving in a different location. I already changed it many many times but still the same problem."
Adobe flash palyer is also giving problems of not responding. I am using updated version of it already. Java is also updated.
I already uninstalled firefox compeletly and re installed it many many times but still the same problem. I also scanned my computer with avira and malware bytes' Anti malware and got no dection. Please ractify this problem ASAP lest my profession will suffer.
== Crash ID(s) ==
b7f518f2-8d86-41ca-8bab-aee632100709; 1d790e10-d8eb-4904-98c9-94bc62100708; f042d319-b9f8-42ed-a8cb-57c7d2100708Please help.
It is getting worse
Adobe flash player is crashing. I already uninstalled and re installed the latest ver. Also it is hanging randomly.
Please help. -
How to display the contents of a document set on a page?
I want to display the contents of a document set (that contains both folders and files) on a page (with the same structure as they are in the document set like folders and files). How to achieve this?
I tried content search webpart but it is of no use as it displays the flat list instead I need folders and files as they are present in the document set
I tried document set contents webpart but as it doesn't accept any connection, it is not of much use.
I will be glad if you have any pointers for me in this regard.
Regards
KesavaHi Kesava,
According to your description, you might want to display the content in a document set with its hierarchy.
How about using
Page Viewer Web Part to display the page of the corresponding document set? This would be a non-code solution I would recommend.
More information about Page Viewer Web Part:
https://support.office.com/en-nz/article/Page-Viewer-Web-Part-e364436c-0ec4-4819-acac-1982b3525531
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
contact [email protected]
Patrick Liang
TechNet Community Support -
First off, when firefox trys to auto update, it fails. It tells me to try and download the new version from mozilla's site. When I try to download the new version I get this: (C:\Users\John\AppData\Local\Temp could not be saved, because you cannot change the contents of that folder.)
This is the same message I have been getting when I try to download other things off the net. (When I use other browsers to download I dont have this problem)Please help.
It is getting worse
Adobe flash player is crashing. I already uninstalled and re installed the latest ver. Also it is hanging randomly.
Please help. -
How to change the price list in document?
Dear All,
Is it possible to change the price list in document (e.g. Sales Order) by program (UI)?
If no, any other way to do so? Thanks!
Regards,
OnDear Gordon,
It may be Purchase Order or Sales Order. But different target will have different solution?
Regards,
On -
How do you recover the contents of a document once its been erased
Hi Pages community
Any idea how to recover the contents of a document once the contents has been erased but the document still exists?
I already reset the Ipad using an Icloud backup from June 11th.
Thanks
BethThis is modified code. I think it works.
declare
a blob;
b blob;
d number:=1;
e number:=1;
f number:=1;
begin
select module_floorplan into a from tblob where seqno = 100;
select module_floorplan into b from tblob where seqno = 100;
e:=length(a);
d:=length(b);
select dbms_lob.compare(a,b,dbms_lob.lobmaxsize,d,e) into f from dual;
if f = 0 then
dbms_output.put_line('Same --> '||to_char(f));
else
dbms_output.put_line('Diff --> '||to_char(f));
end if;
exception
when others then
dbms_output.put_line(SQLERRM);
end; -
How to change the orientation of a document on iPad?
How do I change the orientation of a document on my iPad?
There is no Rotation command within Reader on an iPad. You should use the iPad orientation lock icon (drag from the bottom of the screen to bring up quick settings, and choose it there). Then rotate your device.
-
How to change the content of GTC (terms and conditions) for Partner
Hi all,
We are using R/3 version of ISA B2B site. while creating order thru Shopping Basket we have requirement that We need to provide GTC (General Terms and Condions) for the Partner (View GTC link ). Right now some default text is displayed in that window (text text text ext text text text text text like that). we need to change this.
where i can change this text and enter our own terms and conditions.
Please help me to resolve this,
thanks in advance
siva kumarHi Siva,
the GTC is shown in the JSP b2c/order/terms_and_conditions.jsp. If you have a look at the file, you will find the following code:
<isa:translate key="b2c.order.termsAndConds.txt.dmy"/>
The translate tag will render the language dependant text for the resource key "b2c.order.termsAndConds.txt.dmy". To change the content that is shown you can change the resource text or create your own resource key in the corresponding resource file. The resource files are located in the src-folder of the web application DC.
Best Regards,
Peter Kraus
SAP Web Channel Consultant
http://www.leonardo-it.com -
How to change the language in a document
How do I change the language in a document in Adobe Acrobat?
Hi computerflowers,
You can set the document language in Acrobat: File > Properties > Advanced tab > Language drop down box under Reading Options. This informs screen readers (for example) what language the document is written in.
I am not sure that is what you are looking for though. If I am steering you wrong please follow up.
a 'C' student
Maybe you are looking for
-
Error while running TDS in background
Hii, When our FI consultant is running TDS Certificate using Tx J1INCERT in back ground process. we are getting following error message. Date Time Message text 25.06.2010 13:15:15 Job started 25.06.2010 13:15:15 Step 001 started (program
-
After plugging my phone into my computer, it asked me to update and then got stuck on the update page and the bar hasn't moved at all. Then I plugged it into my computer after it died just like it told me to and it asked me if i wanted to restore my
-
No Mac OSX DVD in the box of my macbook air
Hi, I've just bought in Miami App Store, a new MacBook Air 13" with Lion installed. I've been looking for a CD, DVD, or USB key containing Mac OSX in the box, but i found nothing. Is that normal? I need this CD, in cases where my computer needs a res
-
Default font size for message buttons
I am using Office/Powerpoint 2012 and Adobe Presenter 8. When a quiz question is created all of the elements use formatting from the theme, default shape, default text box etc. The appearance tab formatting can only be applied AFTER the quiz has been
-
How do I save bookmarks for reinstalltion of OS?
I need to reformat my C drive and will have to reinstall Firefox. How do I save my bookmarks? Thank you