How can I edit BusinessRule very fast?
Hello Folks,
Is there a way to edit the business rules from a different place than the included web editor? Editing is very tedious and time-consuming in this editor.I would like to edit something like a text file where I can move around blocks in my favorite editor.
Furthermore, text files would be great for version tracking tools.
So the question is: Does Oracle Business Rules have an IMPORT facility for importing rules? It is possible to generate RL Language from existing rules via the "RL" tab in ruleauthor, but is it also possible to import these files ?
I have heard that a preview release will come out sooner or later, I do not known any dates. Currently there is a developer preview for:
toplink:
http://www.oracle.com/technology/software/products/ias/htdocs/1111topsoft.html
oc4j:
http://www.oracle.com/technology/software/products/ias/htdocs/utilsoft_preview.html
JDeveloper Software:
http://www.oracle.com/technology/products/jdev/11/index.html
JDeveloper Online Demos:
http://www.oracle.com/technology/products/jdev/viewlets/11/index.html
JDeveloper Tutorials:
http://www.oracle.com/technology/obe/obe11jdev/11/index.html
Similar Messages
-
How can I load my data faster? Is there a SQL solution instead of PL/SQL?
11.2.0.2
Solaris 10 sparc
I need to backfill invoices from a customer. The raw data has 3.1 million records. I have used pl/sql to load these invoices into our system (dev), however, our issue is the amount of time it's taking to run the load - effectively running at approx 4 hours. (Raw data has been loaded into a staging table)
My research keeps coming back to one concept: sql is faster than pl/sql. Where I'm stuck is the need to programmatically load the data. The invoice table has a sequence on it (primary key = invoice_id)...the invoice_header and invoice_address tables use the invoice_id as a foreign key. So my script takes advantage of knowing the primary key and uses that on the subsequent inserts to the subordinate invoice_header and invoice_address tables, respectively.
My script is below. What I'm asking is if there are other ideas on the quickest way to load this data...what am I not considering? I have to load the data in dev, qa, then production so the sequences and such change between the environments. I've dummied down the code to protect the customer; syntax and correctness of the code posted here (on the forum) is moot...it's only posted to give the framework for what I currently have.
Any advice would be greatly appreciated; how can I load the data faster knowing that I need to know sequence values for inserts into other tables?
DECLARE
v_inv_id invoice.invoice_id%TYPE;
v_inv_addr_id invoice_address.invoice_address_id%TYPE;
errString invoice_errors.sqlerrmsg%TYPE;
v_guid VARCHAR2 (128);
v_str VARCHAR2 (256);
v_err_loc NUMBER;
v_count NUMBER := 0;
l_start_time NUMBER;
TYPE rec IS RECORD
BILLING_TYPE VARCHAR2 (256),
CURRENCY VARCHAR2 (256),
BILLING_DOCUMENT VARCHAR2 (256),
DROP_SHIP_IND VARCHAR2 (256),
TO_PO_NUMBER VARCHAR2 (256),
TO_PURCHASE_ORDER VARCHAR2 (256),
DUE_DATE DATE,
BILL_DATE DATE,
TAX_AMT VARCHAR2 (256),
PAYER_CUSTOMER VARCHAR2 (256),
TO_ACCT_NO VARCHAR2 (256),
BILL_TO_ACCT_NO VARCHAR2 (256),
NET_AMOUNT VARCHAR2 (256),
NET_AMOUNT_CURRENCY VARCHAR2 (256),
ORDER_DT DATE,
TO_CUSTOMER VARCHAR2 (256),
TO_NAME VARCHAR2 (256),
FRANCHISES VARCHAR2 (4000),
UPDT_DT DATE
TYPE tab IS TABLE OF rec
INDEX BY BINARY_INTEGER;
pltab tab;
CURSOR c
IS
SELECT billing_type,
currency,
billing_document,
drop_ship_ind,
to_po_number,
to_purchase_order,
due_date,
bill_date,
tax_amt,
payer_customer,
to_acct_no,
bill_to_acct_no,
net_amount,
net_amount_currency,
order_dt,
to_customer,
to_name,
franchises,
updt_dt
FROM BACKFILL_INVOICES;
BEGIN
l_start_time := DBMS_UTILITY.get_time;
OPEN c;
LOOP
FETCH c
BULK COLLECT INTO pltab
LIMIT 1000;
v_err_loc := 1;
FOR i IN 1 .. pltab.COUNT
LOOP
BEGIN
v_inv_id := SEQ_INVOICE_ID.NEXTVAL;
v_guid := 'import' || TO_CHAR (CURRENT_TIMESTAMP, 'hhmissff');
v_str := str_parser (pltab (i).FRANCHISES); --function to string parse - this could be done in advance, yes.
v_err_loc := 2;
v_count := v_count + 1;
INSERT INTO invoice nologging
VALUES (v_inv_id,
pltab (i).BILL_DATE,
v_guid,
'111111',
'NONE',
TO_TIMESTAMP (pltab (i).BILL_DATE),
TO_TIMESTAMP (pltab (i).UPDT_DT),
'READ',
'PAPER',
pltab (i).payer_customer,
v_str,
'111111');
v_err_loc := 3;
INSERT INTO invoice_header nologging
VALUES (v_inv_id,
TRIM (LEADING 0 FROM pltab (i).billing_document), --invoice_num
NULL,
pltab (i).BILL_DATE, --invoice_date
pltab (i).TO_PO_NUMBER,
NULL,
pltab (i).net_amount,
NULL,
pltab (i).tax_amt,
NULL,
NULL,
pltab (i).due_date,
NULL,
NULL,
NULL,
NULL,
NULL,
TO_TIMESTAMP (SYSDATE),
TO_TIMESTAMP (SYSDATE),
PLTAB (I).NET_AMOUNT_CURRENCY,
(SELECT i.bc_value
FROM invsvc_owner.billing_codes i
WHERE i.bc_name = PLTAB (I).BILLING_TYPE),
PLTAB (I).BILL_DATE);
v_err_loc := 4;
INSERT INTO invoice_address nologging
VALUES (invsvc_owner.SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH INITIAL',
pltab (i).BILL_DATE,
NULL,
pltab (i).to_acct_no,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 5;
INSERT INTO invoice_address nologging
VALUES ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH',
pltab (i).BILL_DATE,
NULL,
pltab (i).TO_ACCT_NO,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 6;
INSERT INTO invoice_address nologging
VALUES ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH2',
pltab (i).BILL_DATE,
NULL,
pltab (i).TO_CUSTOMER,
pltab (i).to_name,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 7;
INSERT INTO invoice_address nologging
VALUES ( SEQ_INVOICE_ADDRESS_ID.NEXTVAL,
v_inv_id,
'BLAH3',
pltab (i).BILL_DATE,
NULL,
'SOME PROPRIETARY DATA',
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
NULL);
v_err_loc := 8;
INSERT
INTO invoice_event nologging (id,
eid,
root_eid,
invoice_number,
event_type,
event_email_address,
event_ts)
VALUES ( SEQ_INVOICE_EVENT_ID.NEXTVAL,
'111111',
'222222',
TRIM (LEADING 0 FROM pltab (i).billing_document),
'READ',
'some_user@some_company.com',
SYSTIMESTAMP);
v_err_loc := 9;
INSERT INTO backfill_invoice_mapping
VALUES (v_inv_id,
v_guid,
pltab (i).billing_document,
pltab (i).payer_customer,
pltab (i).net_amount);
IF v_count = 10000
THEN
COMMIT;
END IF;
EXCEPTION
WHEN OTHERS
THEN
errString := SQLERRM;
INSERT INTO backfill_invoice_errors
VALUES (
pltab (i).billing_document,
pltab (i).payer_customer,
errString || ' ' || v_err_loc
COMMIT;
END;
END LOOP;
v_err_loc := 10;
INSERT INTO backfill_invoice_timing
VALUES (
ROUND ( (DBMS_UTILITY.get_time - l_start_time) / 100,
2)
|| ' seconds.',
(SELECT COUNT (1)
FROM backfill_invoice_mapping),
(SELECT COUNT (1)
FROM backfill_invoice_errors),
SYSDATE
COMMIT;
EXIT WHEN c%NOTFOUND;
END LOOP;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
errString := SQLERRM;
INSERT INTO backfill_invoice_errors
VALUES (NULL, NULL, errString || ' ' || v_err_loc);
COMMIT;
END;Hello
You could use insert all in your case and make use of sequence.NEXTVAL and sequence.CURRVAL like so (excuse any typos - I can't test without table definitions). I've done the first 2 tables, so it's just a matter of adding the rest in...
INSERT ALL
INTO invoice nologging
VALUES ( SEQ_INVOICE_ID.NEXTVAL,
BILL_DATE,
my_guid,
'111111',
'NONE',
CAST(BILL_DATE AS TIMESTAMP),
CAST(UPDT_DT AS TIMESTAMP),
'READ',
'PAPER',
payer_customer,
parsed_francises,
'111111'
INTO invoice_header
VALUES ( SEQ_INVOICE_ID.CURRVAL,
TRIM (LEADING 0 FROM billing_document), --invoice_num
NULL,
BILL_DATE, --invoice_date
TO_PO_NUMBER,
NULL,
net_amount,
NULL,
tax_amt,
NULL,
NULL,
due_date,
NULL,
NULL,
NULL,
NULL,
NULL,
SYSTIMESTAMP,
SYSTIMESTAMP,
NET_AMOUNT_CURRENCY,
bc_value,
BILL_DATE)
SELECT
src.billing_type,
src.currency,
src.billing_document,
src.drop_ship_ind,
src.to_po_number,
src.to_purchase_order,
src.due_date,
src.bill_date,
src.tax_amt,
src.payer_customer,
src.to_acct_no,
src.bill_to_acct_no,
src.net_amount,
src.net_amount_currency,
src.order_dt,
src.to_customer,
src.to_name,
src.franchises,
src.updt_dt,
str_parser (src.FRANCHISES) parsed_franchises,
'import' || TO_CHAR (CURRENT_TIMESTAMP, 'hhmissff') my_guid,
i.bc_value
FROM BACKFILL_INVOICES src,
invsvc_owner.billing_codes i
WHERE i.bc_name = src.BILLING_TYPE;Some things to note
1. Don't commit in a loop - you only add to the run time and load on the box ultimately reducing scalability and removing transactional integrity. Commit once at the end of the job.
2. Make sure you specify the list of columns you are inserting into as well as the values or columns you are selecting. This is good practice as it protects your code from compilation issues in the event of new columns being added to tables. Also it makes it very clear what you are inserting where.
3. If you use WHEN OTHERS THEN... to log something, make sure you either rollback or raise the exception. What you have done in your code is say - I don't care what the problem is, just commit whatever has been done. This is not good practice.
HTH
David
Edited by: Bravid on Oct 13, 2011 4:35 PM -
How can I edit multiple clips with different frame rates on the same timeline
how can I edit multiple clips with different frame rates on the same timeline
You do not want to edit material from different frame rates on one timeline. You CAN do this, but it is a very bad idea - and this is why.
Once you establish the sequence frame rate - lets say it is PAL material at 25fps, any material that you drop into the sequence other than 25 fps will have to be changed to play at 25 fps. If the material you add is NTSC (29.97), FCP will DROP 5 frames per sec to bring the frame rate down to 25 fps. Which 5 get thrown away? Every 6th one. This yields a funky cadence that becomes even more complex as as there are also interlaced fields (DV/NTSC is an interlaced format). Oh, and by the way, the image sizes are different as well. DV/PAL has 576 lines of resolution and DV/NTSC has 480. FCP has to scale up the NTSC to fit the PAL frame.
You do not want FCP adjusting these things on the fly. You want to do a thoughtful (and time consuming) conversion so that you end up with all your material in one format with the best possible image from the conversion process. Compressor can do an adequate job with Frame Controls turned on. The Natress Standards Conversion FCP plugin is another way to go. A third option is to find a post house that can do the conversion for you using a hardware based process.
The good news is, once everything is in the same format, editing it will be painless and the output process very quick.
Whatever frame rate/ image size you select, I'd suggest using ProRes for the codec. It is 4:2:2 color and will withstand color correction and composting with much more grace than any variant of DV based codecs.
Have fun.
x -
how can I edit external e-mails accounts configurations I had on Mobile Me mail and now are
on iCloud?Thanks for the answer, but the external POP accounts I had in my MobileMe are working in my iCloud! I receive all the e-mails that are directed to those POP accounts, in my iCloud e-mail, since I migrated from Mobileme to iCloud. So, iCloud accepts external accounts, but i doesn't allow us to edit new configurations or to send e-mails using Pop Accounts through it. Very weird. Does anybody have a solution?
-
How can i edit default XML in Poratl?
How can i edit default XML in Poratl?
I want make some change on Discussion.xml,but i can't find it and i want Edit it, what should i do?
Thank you very much for your Help!
Best Regards!
Hanall the .XML files will be available in the following path
project(folder)->dist(folder)->portal-inf(folder)
in NetWeaver developer studio.
to edit double click on the xml file and select the source tab in the bottom,you can view and edit the source. -
How can one edit a profile name in ACR?
Both Adobe DNG Profile Utility and the PassPort profile software very nicely create and install profiles in ACR. A profile name is given at the time of creation. Once installed in ACR, however, how can one edit the name of the profile?
thanks, grampus45http://forums.adobe.com/message/3158961#3158961
-
My Macbook Pro has become very slow and it sometimes hangs. How can I make it work faster and normal? I used Etrecheck and got the report below;
EtreCheck version: 1.9.12 (48)
Report generated June 16, 2014 at 18:05:25 GMT+1
Hardware Information:
MacBook Pro (13-inch, Mid 2012) (Verified)
MacBook Pro - model: MacBookPro9,2
1 2.5 GHz Intel Core i5 CPU: 2 cores
4 GB RAM
Video Information:
Intel HD Graphics 4000 - VRAM: (null)
Color LCD 1280 x 800
System Software:
OS X 10.9.3 (13D65) - Uptime: 0 days 1:50:52
Disk Information:
APPLE HDD TOSHIBA MK5065GSXF disk0 : (500.11 GB)
EFI (disk0s1) <not mounted>: 209.7 MB
Machintosh HD (disk0s2) / [Startup]: 499.25 GB (465.33 GB free)
Recovery HD (disk0s3) <not mounted>: 650 MB
MATSHITADVD-R UJ-8A8
USB Information:
Apple Inc. FaceTime HD Camera (Built-in)
Apple Inc. Apple Internal Keyboard / Trackpad
Apple Inc. BRCM20702 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Thunderbolt Information:
Apple Inc. thunderbolt_bus
Gatekeeper:
Mac App Store and identified developers
Launch Daemons:
[loaded] com.adobe.fpsaud.plist Support
[loaded] com.microsoft.office.licensing.helper.plist Support
User Login Items:
iTunesHelper
Dr.Web Light
Dropbox
Internet Plug-ins:
SharePointBrowserPlugin: Version: 14.0.0 Support
FlashPlayer-10.6: Version: 14.0.0.125 - SDK 10.6 Support
Flash Player: Version: 14.0.0.125 - SDK 10.6 Support
QuickTime Plugin: Version: 7.7.3
Default Browser: Version: 537 - SDK 10.9
Safari Extensions:
iGetter Extension: Version: 2.9.2
Audio Plug-ins:
BluetoothAudioPlugIn: Version: 1.0 - SDK 10.9
AirPlay: Version: 2.0 - SDK 10.9
AppleAVBAudio: Version: 203.2 - SDK 10.9
iSightAudio: Version: 7.7.3 - SDK 10.9
iTunes Plug-ins:
Quartz Composer Visualizer: Version: 1.4 - SDK 10.9
User Internet Plug-ins:
iGetter Plugin: Version: 2.9.2 Support
iGetterScriptablePlugin: Version: 2.9.2 Support
3rd Party Preference Panes:
Flash Player Support
Time Machine:
Time Machine not configured!
Top Processes by CPU:
4% Dropbox
3% WindowServer
0% fontd
0% Microsoft Word
0% Microsoft Excel
Top Processes by Memory:
242 MB drwebd
176 MB Dropbox
147 MB Dr.Web Light
86 MB WindowServer
82 MB App Store
Virtual Memory Information:
43 MB Free RAM
1.68 GB Active RAM
1.65 GB Inactive RAM
641 MB Wired RAM
421 MB Page-ins
0 B Page-outsMeli070,
uninstall Dr.Web Light. -
How can i edit a picture like these?
How can i edit a picture like these? (i mean the text) Please write me a program or a tutorial. Thanks! http://wallpiph.com/wallpaper/2013-pain-gain-hd-wallpaper.html
Image like that can be achieved many different ways there is no right or wrong no one way to do things in Photoshop. There are also many third Add-Ons developed for Photoshop. Prices range from free to very expensive. Several third party add on have been developed to process images and help produce image like your example.
-
How can I edit a post that I made?
How can I edit a post that I made?
Hi Matt. There is only a very short window of time to edit a post (15 minutes). However, I have spotted your other post and requested a moderator to edit out your contact info.
-
How can I edit a published Website in iWeb again?
Hi there,
after upgrading to Leopard my former published website-folders have not been overtaken to new installed iWeb ´08.
How can I edit those older iWeb-folders (import them to new installed iWeb ´08 again) to provide from rebuilding the complete stuff?
Thanks very much for infos...
Sincerely,
Jörg Daniel
(fridgeflight)Did you find an answer on this, or give up? I've done the latter, and recommend that you also consider buying a more useful application for this purpose.
This really is an unbelievably silly oversight on Apple's part to "break" our webpage interface so that users lose their website (which I did by trying to link iweb to it) or cannot edit it in any way after a new install nor find it for edit from another machine (like my laptop).
The whole idea of this "basic" software was that we users don't need to be "savvy". But this takes savvy to a whole new level.
I recommend you, find some freeware or just buy a decent app, that actually allows you to download the website into it (like the Netscape Communicator's built-in webpage editor used to do). It allowed the user to save the currently loaded webpage, edit it, and publish it properly.
Good luck to us all.
Jakib -
How can I edit existing region
Hi All,
I have added one item to exisitng vo and attached to AM.
Now i need to add above item to region , but region not in edit mode it was in disable mode.
Can anyone please help on this, how can I edit region or how can i add new item to existing Region.
Regards,
RakeshHI Vishwanath,
I have exisiting VO, in that Vo added new column.
Now, i need to add the new column to exisitng region.
when ever I am selecting region it is in noneditable mode.
can you please provide, how can I get new coolumn to the region.
We have assignment number box is there, for that box seach is there, and assignment number having region, this region having VO(I have modfiied with new column), but I am not able to see the new column in that region.
If possible, can you please provide your gmail id, I will send scrren shots, then youcan easily understand my issue, I am very new to OAF.
Please help..
Regards,
Rakesh -
Hi sir im using fcp 7 for video editing in i mac, how can i edit mts files in fcp 7 without log n transfer, is their solution for fcp 7?
>No, you are not right.
Going to question the biggest contributor to this forum? (Yes, my ego is talking). OK then...
>Install the QT-Plugin, restart your Mac and you will be able to import and use .mts files in FCP 7.
Sure...yes, that makes it POSSIBLE to read the files natively in FCP...if they come from a Panasonic camera. BUT...just try working with those files. Right away the system won't be nearly as responsive as it would if they were ProRes. First...there are no sequence settings for that format...so you'll have to use ProRes and have a green render bar. BUT, that's no big deal. The big deal is trying to work with the AVCHD format, which is VERY processor intensive...inside an application that doesn't like to work with much outside of the FCP editing codecs.
Is it possible? Sure? Will it work well...will you be as zippy and error free as if you converted to ProRes? Not by a long shot. OH, but don't just take my word for it. Go ahead...try it and see. No skin off my nose...no waste of my time. See how well this works.
I'm just here to relate real world working solutions to issues. And yes, I did try that plugin, and boy, was editing a pain. -
how can i edit an adobe file free of charge?
in the originating software that the PDF was created from. Acrobat is not a very good editor just strictly meant for very minor touch ups.
Duplicate words very small missing words, misspellings -
Q:-
How can I remove my very old Apple ID from my Iphone 4S. The old ID is still staying on my mobile but that email doesn't exist anymore. I cant rest my mobile as everytime i tried it asks ID password which I don't remember.Hello mushysun,
Thanks for using Apple Support Communities.
If you did not sign out of your Apple ID on your iPhone before creating a new one, then you will need to sign back in with your previous Apple ID and then sign out. If you do not remember your password and do not have access to the email account, then you can reset your password by using the security questions.
If you forgot your Apple ID password - Apple Support
Have a great weekend,
Alex H. -
How can i edit contacts in bulk
Bought an iPhone 5 and transfered contacts from my old phone and my phone contacts first and last name were reversed. How can I edit my address book contacts in bulk instead of one at a time? And then have these updates in my iPhone 5?
to any1 that wants to use the scripts and have them work just type "save" on the next like after end tell and itll do it........
Maybe you are looking for
-
My internal macintosh HD died and I want to use an SSD drive if possible. I either want to replace the internal HD or boot to an external SSD drive if possible. I would have to connect with FW800 since I am lacking thunderbolt on my iMac. Would FW800
-
PS path/tool cursors not refreshing
Hi everyone I'm using PS version 12.1x32 (CS 5.1 Extended) and recently i've been getting some erratic behaviour when creating clipping paths/using other tools. For some reason, as I'm creating a clipping path, the results of my work aren't showing u
-
Regarding ports and partner profiles in ALE.
Hi All, Please tell me how to transport the partner profiles and ports from Development to Quality systems. Please reply asap.
-
Hi I am new in weblogic as i tried to run a java simple application on weblogic but i am facing a simple problem that the start option is disable.. <BR><BR> the steps i did for that is <BR><BR> <b>1. create weblogic application 2. create weblogic pro
-
Hi How to find out the IP Address configuration for a particular client in IDES Version ? Ex : Client 800 & Client 810. regards, senthil.