How call wsdl and save the output in the database?
Hi all
I am trying to create an API charger and need to insert data in a table.
any suggestion?
BTW: I'm using Oracle Database 11 g 2.
Kind regards
Nelz Ki
Look here I did a few examples:
How to consume a simple web service in 11g PL/SQL?
Tags: Database
Similar Questions
-
Hi, I want to know how to extract and save the text highlighted on Acrobat Reader.
Hi, I want to know how to extract and save the text highlighted on Acrobat Reader.
Hi Eli Marto,
I'm sorry, but it is not possible to extract text from a PDF file using the player.
It can be done using Adobe Acrobat.
Ref: export the comments AND highlighted text?
Kind regards
Ana Maria
-
How instance recovery and restart the database after SHUTDOWN ABORT?
How instance recovery and restart the database after the database is closed by using the command "SHUTDOWN ABORT"?Recovery if instance Oracle background SMON instance failure process using or stop quitting or database starting strength. After shutdown abort you just restart the startup database, oracle will take care for instance recovery you need'nt to intervene for example recovery.
-
How to find and save the subject line in thunderbird
I need to search the mails and export lines referred to Excel.
After a thorough review, it appears there are a few bugs in the add-on: right click on a selection of messages, then "save messages selected/just index (CSV)" does not create a csv file, and choose a few index (HTML) produces an empty index.html file. By selecting 'Spreadsheet (CSV)' produces a csv file, but it contains the message body.
However, if you right click on a folder, then ImportExportTools/export all messages in the folder/just index (CSV), a csv file is created with columns for the sender, the subject, the recipient and the Date.
So, until the bugs are fixed, it seems that you have to copy the search results in a folder for the purpose of creating the csv file correct; Open in Excel, and remove the unwanted columns.
-
How to create and save the Excel file at the dam using java
I'm trying to create an excel spreadsheet and save it in the dam. I am able to create Excel in the dam, but no data is it than excel. I use the following codes to create.
String filename = "updatedMetadata.xls";
FileOutputStream fos = new FileOutputStream (filename);
Workbook WritableWorkbook is Workbook.createWorkbook (new File (filename));.
WritableSheet writableSheet = workbook.createSheet ("update metadata", 0);
Label = null;
label = new Label (0, 0, "Header1");
writableSheet.addCell (label);
label = new Label (0, 1, "tête2");
writableSheet.addCell (label);
label = new Label (0, 2, "Header3");
writableSheet.addCell (label);
label = new Label (0, 3, "Header4");
writableSheet.addCell (label);
label = new Label (0, 4, "Header5");
writableSheet.addCell (label);
label = new Label (0, 5, "Header6");
writableSheet.addCell (label);
label = new Label (0, 6, "Header7");
writableSheet.addCell (label);
label = new Label (0, 7, "Header8");
writableSheet.addCell (label);
label = new Label (1, 0, "col val");
writableSheet.addCell (label);
label = new Label (1, 1, "col val");
writableSheet.addCell (label);
label = new Label (1, 2, "col val");
writableSheet.addCell (label);
label = new Label (1, 3, "col val");
writableSheet.addCell (label);
label = new Label (1, 4, "Col. val" "");
writableSheet.addCell (label);
label = new Label (1, 5, "col val");
writableSheet.addCell (label);
label = new Label (1, 6, "col val");
writableSheet.addCell (label);
label = new Label (1, 7, "col val");
writableSheet.addCell (label);
label = new Label (2, 0, "col val");
writableSheet.addCell (label);
label = new Label (2, 1, "col val");
writableSheet.addCell (label);
label = new Label (2, 2, "col val");
writableSheet.addCell (label);
label = new Label (2, 3, "col val");
writableSheet.addCell (label);
label = new Label (2, 4, ' Col. val "" ");
writableSheet.addCell (label);
label = new Label (2, 5, "col val");
writableSheet.addCell (label);
label = new Label (2, 6, "col val");
writableSheet.addCell (label);
label = new Label (2, 7, "col val");
writableSheet.addCell (label);
Workbook.Write ();
Workbook.Close ();
ResourceResolver resourceResolver = request.getResourceResolver ();
AssetManager Manager = resourceResolver.adaptTo (AssetManager.class);
InputStream is = this.getClass () .getResourceAsStream ("/ content/dam/company/fileFolder /" + filename);
Element element = manager.createAsset ("/ content/dam/company/fileFolder /" + name of file, is, "application / vnd.ms - excel", true);
File is created in the path "/ content/dam/company/fileFolder / '.
The file name is "updatedMetadata.xls".
Thanks in advance
Mahesh Narayanan
I found it myself. I share the code so that in the future someone else can use it.
String filename = "updatedMetadata.xls";
ExcelFile to the file = new File (filename);
Workbook WritableWorkbook = Workbook.createWorkbook (excelFile);
WritableSheet writableSheet = workbook.createSheet ("update metadata", 0);
Label = null;
label = new Label (0, 0, "Header1");
writableSheet.addCell (label);
label = new Label (0, 1, "tête2");
writableSheet.addCell (label);
label = new Label (0, 2, "Header3");
writableSheet.addCell (label);
label = new Label (0, 3, "Header4");
writableSheet.addCell (label);
label = new Label (0, 4, "Header5");
writableSheet.addCell (label);
label = new Label (0, 5, "Header6");
writableSheet.addCell (label);
label = new Label (0, 6, "Header7");
writableSheet.addCell (label);
label = new Label (0, 7, "Header8");
writableSheet.addCell (label);
label = new Label (1, 0, "col val");
writableSheet.addCell (label);
label = new Label (1, 1, "col val");
writableSheet.addCell (label);
label = new Label (1, 2, "col val");
writableSheet.addCell (label);
label = new Label (1, 3, "col val");
writableSheet.addCell (label);
label = new Label (1, 4, "Col. val" "");
writableSheet.addCell (label);
label = new Label (1, 5, "col val");
writableSheet.addCell (label);
label = new Label (1, 6, "col val");
writableSheet.addCell (label);
label = new Label (1, 7, "col val");
writableSheet.addCell (label);
label = new Label (2, 0, "col val");
writableSheet.addCell (label);
label = new Label (2, 1, "col val");
writableSheet.addCell (label);
label = new Label (2, 2, "col val");
writableSheet.addCell (label);
label = new Label (2, 3, "col val");
writableSheet.addCell (label);
label = new Label (2, 4, ' Col. val "" ");
writableSheet.addCell (label);
label = new Label (2, 5, "col val");
writableSheet.addCell (label);
label = new Label (2, 6, "col val");
writableSheet.addCell (label);
label = new Label (2, 7, "col val");
writableSheet.addCell (label);
Workbook.Write ();
Workbook.Close ();
ResourceResolver resourceResolver = request.getResourceResolver ();
AssetManager Manager = resourceResolver.adaptTo (AssetManager.class);
InputStream stream = new FileInputStream (excelFile);
Element element = manager.createAsset ("/ content/dam/company/fileFolder /" + name of file, is, "application / vnd.ms - excel", true);
-
How to create and use the database in the development of a mobile Web site?
Hello
I am a beginner in the creation of Mobile-based Web sites. So, please can someone help me as I want to use a database for a website of the mobile base. How can I proceed further on this issue? I know what database I use and how a connection can be made to it and using what language?
Please do not respond.
Thank you and best regards,
Richa Bhatia
If you are a Microsoft Developer, you can use ADO.NET to access the database. This is because it is the technology on the server side and is running on the web server and not to the device.
You can create your Web site by using one of the web technologies side server such as ASP.NET, JSP, PHP etc. Any technology that will serve up to HTML will work.
When developing web sites for mobile devices, you will quickly realize that it is not a "one size fits all". Each set of HTML markup will probably have to be customized for each of the mobile that you are eager to target. And then, for each version of the operating system for mobile devices there are differences in sizes of rendering, JavaScript and HTML/CSS screen capabilities.
My best analogy is thinking differences between desktop browsers such as IE5/6/7/8, Firefox, Chrome, Opera, Safari vX.Y. Then multiply that by about 10 fold when it comes to differences in mobile browsers.
Have a Web site that supports all mobile devices with a set of means HTML you'll probably adopt an approach more common denominator based on lowest mobile device features, you want to support. The alternative is create targeted for each mobile user experiences.
-
helllo all,.
I'm working on the application web flex4 with as3.
I have a doubt, I've created a mxml it has two text boxes, except the button and a combo box that is has two option as a percentage and the amount.
my needs are I gave here.
need 1: when I choose option amount that two text boxes does not have to be editable.when I select text tat box two percentage option will be editable.
need 2: when I select the percentage in combox option and two text boxes are empty, and then click the button Save-> I want to display warning msg
need 3: when I select the option amount combox and the two boxes are emptu click the button Save-> I don't want any warning messages.
How to validate it and how to write backup for this function.
any suggession or extract code is welcome.
Thanks in advance,
B.Venkatesan
Looks like you are trying to do too much at once. Try to hang the events correctly
The close event of the comboBox can do something like this
protected function toggleTextEditing(event:DropDownEvent):void
{
If (this.optionCmb.selectedItem.label is "Percentage")
{
This.Text1.editable = true;
This.Text2.editable = true;
}
Else if (this.optionCmb.selectedItem.label == "Number")
{
This.Text1.editable = false;
This.Text2.editable = false;
}
}
The button's click event can do something like
protected function save(event:MouseEvent):void
{
If (this.optionCmb.selectedItem.label is "Percentage")
{
If (this.text1.text == "" & this.text2.text == "")
{
Alert.Show ("text is empty");
return;
}
on the other
{
}
}
Else if (this.optionCmb.selectedItem.label == "Number")
{
}
}
If you can put in your entire code, maybe I can have a look to see if I can find something wrong with that.
-Pramod
-
How to find and save the utilities and drivers for Satellite Pro M10?
OK, so last time I formatted I not able to find the recovery discs and installed WXP Pro from a CD, there to remove the OEM on the virtual partition! Then spent hours to find the right drivers, etc..
Is there a way easy to find and backup drivers and utilities that I need for my system before I have format the HD?
Hello guy
I don't know what model of laptop you have and how old there but everything you need you can download from the Toshiba support page under http://eu.computers.toshiba-europe.com support & downloads.
If you have any other questions, please write again.
-
Call and save the reports/export to PDF using use?
Hello
My use is for the ".csv" files and works perfectly when read and load the files. But what would be really nice if I could somehow put the data in these files in their appropriate report templates and then export this report to a file '.pdf '.
So, I tried to add:
Call DataFileLoad ([Filepath], [Script]
Call DataFileSave ([Filepath], ".") CT","CT")
Call Report.LoadLayout ([the report path])
Call Report.Sheets.ExportToPDF ([path to save .pdf], False)
Call Report.Refresh
Call Data.Root.Clear)«When I test the use by indexing a file manually, I get the message: Variable is undefined: «DataFileLoad»»
So, if it is reading as a variable that suggest that it does not recognize functions unless they are specified in the sub?
Is it possible to do what I want?
Thank you.
Hey Kevin,
Your VBScript use cannot be called "red" DIAdem orders The VBScript host that uses the use contains only basic functions VBScript more some specific commands to use, but none of the rest of orders DIAdem.
You need to use a VBScript DIAdem script to load the data file, load the layout and save the PDF file.
Brad Turpin
Tiara Product Support Engineer
National Instruments
-
How to capture a .gif of a spectrum analyzer file and save the file in PC
I want to capture a .gif from a spectrum analyzer file and save the file to the PC, but I have a problem when reading data from the instrument. I don't know how to format the string has obtained from the instrument, when I use '%s' or '%t' as string format to read the data from the instrument is truncated.
my code are, could someone tell me where I'm wrong?
char resultsArray [5000];
viPrintf (hSpectrumInstr, ": MMEMTORCR ' CIMAGE.") GIF "\n"); "
viQueryf (hSpectrumInstr, ": MMEMATA? '") CIMAGE. (' GIF'\n ', '%t', resultsArray);
printf ("%s", resultsArray);
GetChar ();as you can see your code is not readable, can you post a screenshot or, as before, a Word document?
When you use "%b" table must be of type ViInt8
-
How can I get my PDF to save mode landscape instead of portrait orientation? I am able to turn to see the landscape and save the file. However, when I open the new file is saved, it's back to portrait mode. Help!
You must register to organize PDF service https://cloud.acrobat.com/organizepdf & use PDF tool organizing to turn the pages at all times.
Kind regards
Nicos -
How can I delete large groups of photos and save the ones I want to keep?
How can I delete large groups of photos and save the ones I want to keep?
Rickw salvation,
You must select all the images you want to remove in now CTRL + click in Windows and command-click on Mac.
Once this is done, you can press the delete button to delete the catalog.
It will also give you the option to delete the computer as well.
Please click the link for information detailed below.
Adobe Photoshop Lightroom Help | Manage photos in folders
I hope this helps.
~ UL
-
How to incorporate the timestamp and file name automatically select and save the file dialog?
Hello
I try to incorporate the name of the file that is the registration of the end user with the timestamp in the selected and save file dialog box. Can you help me?
Thank you
Hi Mike227,
I couldn't find a way to immediately make the bat. I guess you need to mess with ActiveX to do. I found an msdn page that could help with this.
Have you considered simply concatenating the name of the file and the time stamp with a path of the file and save the file when you create it, without inviting the user?
-
How to debug and find the exact constraint violation error
{14:22:36:ErrorCode 122712 - 1 with ErrorMessage as ORA-00001: unique constraint (OPS$ CMS.)} {PK_TB_ML_EXER_UPLOAD) violated appeared [SSO16063259009], pk_xop_subsales.pr_process_exer [CMSCOST_USER]}
{Pr_process_exer (PROCEDURE)
p_voucher_num tb_xop_order_manager_t.voucher_num%TYPE,
p_status_type tb_xop_order_manager_t.status_type%type,
p_dest tb_xop_order_manager_t.dest%type,
p_reference_key tb_xop_order_manager_t.reference_key%type,
p_seq_num tb_xop_order_manager_t.seq_num%type,
p_return_code tb_xop_order_manager_t.return_code%type,
p_reason_desc tb_xop_order_manager_t.reason_desc%type,
p_activity_qty tb_xop_order_manager_t.activity_qty%type,
p_leaves_qty tb_xop_order_manager_t.leaves_qty%type,
p_exec_price tb_xop_order_manager_t.exec_price%type,
p_current_status tb_xop_order_manager_t.current_status%type,
p_err_cur ON ref_cursor)
IS
CURSOR get_order_dtls (v_voucher_num tb_xop_order_manager_t.voucher_num%type)
IS
SELECT *.
OF tb_xop_order_manager_t
WHERE voucher_num = v_voucher_num;
CURSOR get_mail_cd (v_opt_num OPTIONEE.opt_num%TYPE) IS
SELECT mail_cd, sp_mail_cd
OF XOP_OPTIONEE
WHERE opt_num = v_opt_num;
cursor get_opt_dtls (v_opt_num OPTIONEE.opt_num%TYPE) IS
Select
SUBSTR (Trim (O.name_first) |) ' ' || Trim (O.name_mi) | ' ' ||
Trim (O.name_last), 1: 35) p_name,.
SUBSTR (O.address1, 1, 35) opt_addr1,.
SUBSTR (O.address2, 1, 35) opt_addr2,.
SUBSTR (O.address3, 1, 35) opt_addr3,.
SUBSTR (O.address4, 1, 35) opt_addr4,.
SUBSTR (O.address5, 1, 35) opt_addr5,.
SUBSTR (O.address6, 1, 35) opt_addr6,.
SUBSTR (Trim (O.City) |) ' ' || Trim (O.State) | ' ' ||
Trim (O.zip) | ' ' || Trim (O.Country), 1: 35) city_state_zip_country,.
Trim town (O.City),
Trim (O.State) State,
Trim (O.zip) zip,
Trim (O.Country) countries
of the option o holder
where o.opt_num = v_opt_num;
-CQ: PCTUP00210726 - added wire instructions audit for info thread deleted.
CURSOR (c_wire_instruction)
in_wire_seq_no TB_XOP_WIRE_INSTRUCTIONS.wire_seq_no%TYPE) IS
SELECT ml_brok_acct_num,
SSN,
plan_num,
instr_type,
aba_routing_num,
swift_routing_code,
bank_name,
bank_acct_num,
name_on_account,
bank_addr_1,
bank_addr_2,
bank_addr_3,
City,
State,
countries,
zip,
bank_ident_num,
addtl_info
OF TB_XOP_WIRE_INSTRUCTIONS
WHERE wire_seq_no = in_wire_seq_no
UNION
SELECT ml_brok_acct_num,
SSN,
plan_num,
instr_type,
aba_routing_num,
swift_routing_code,
bank_name,
bank_acct_num,
name_on_account,
bank_addr_1,
bank_addr_2,
bank_addr_3,
City,
State,
countries,
zip,
bank_ident_num,
addtl_info
OF TB_XOP_WIRE_INSTRUCTIONS_AUDIT
WHERE wire_seq_no = in_wire_seq_no;
CURSOR c_order_qty IS
SELECT order_qty
OF tb_xop_order_manager
WHERE voucher_num = p_voucher_num;
v_order_qty tb_xop_order_manager.order_qty%TYPE;
v_wire_instruction c_wire_instruction % ROWTYPE;
v_order_dtls get_order_dtls % rowtype;
v_opt_dtls get_opt_dtls % rowtype;
v_settle_dt tb_ml_exer_upload.settle_dt%type;
v_cusip_num corp.cusip_num%type;
number of v_err_cd (12): = 0;
v_err_msg varchar2 (4000);
v_compy_nme tb_fc_Compy.compy_nme%type;
v_ml_sec_num tb_fc_compy.ml_sec_num%type;
v_mail_cd xop_optionee.mail_cd%type;
v_count1 PLS_INTEGER: = 0;
v_sum_activity_qty tb_xop_order_manager_t.activity_qty%TYPE;
v_transact_no PLS_INTEGER;
v_ivr_plan_num tb_fc_compy.ivr_plan_num%TYPE;
wait_for_more EXCEPTION;
exceeds_order_qty EXCEPTION;
-Added CQ # PCTUP00481233
number of v_sub_totfee;
number of v_sub_fixedfee1;
number of v_sub_fixedfee2;
number of v_sub_fixedfee3;
number of v_sub_secfee;
number of v_sub_feenum;
-Added CQ # PCTUP00481233
v_fixedfee1 tb_xop_order_manager_t.fixed_fee1%TYPE; -SPIF # 43161 - variable to contain the fixed mensuels1
BEGIN
OPEN c_order_qty.
SEEK c_order_qty INTO v_order_qty;
CLOSE C_order_qty;
DBMS.output.put_line ('completed1');
IF v_order_qty <>p_activity_qty THEN
DBMS.output.put_line ('completed2');
IF p_status_type = "EO" AND v_order_qty < p_activity_qty THEN
RAISE exceeds_order_qty;
DBMS.output.put_line ('completed3');
ELSIF p_status_type = 'EO' AND v_order_qty > p_activity_qty THEN
-Partial enforcement
INSERT INTO tb_xop_hold_multi_orders
(voucher_num
reference_key
seq_num
return_code
reason_desc
status_type
activity_qty
leaves_qty
exec_price
current_status
waiting
activ_dt)
VALUES
(p_voucher_num
p_reference_key
p_seq_num
p_return_code
p_reason_desc
p_status_type
p_activity_qty
p_leaves_qty
p_exec_price
p_current_status
, 'Y'
SYSTIMESTAMP);
DBMS.output.put_line ('completed4');
ON THE OTHER
IF p_status_type = "BE" THEN
SELECT COUNT (1) IN v_count1
OF tb_xop_hold_multi_orders
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed5');
IF v_count1 > 0 THEN
INSERT INTO tb_xop_hold_multi_orders
(voucher_num
reference_key
seq_num
return_code
reason_desc
status_type
activity_qty
leaves_qty
exec_price
current_status
waiting
activ_dt)
VALUES
(p_voucher_num
p_reference_key
p_seq_num
p_return_code
p_reason_desc
p_status_type
, (-1) * p_activity_qty
p_leaves_qty
p_exec_price
p_current_status
, 'Y'
SYSTIMESTAMP);
UPDATE tb_xop_hold_multi_orders
QUEUE = 'Y '.
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed6');
END IF;
END IF;
END IF;
DBMS.output.put_line ('completed7');
SELECT SUM (NVL(activity_qty,0)) IN the v_sum_activity_qty
OF tb_xop_hold_multi_orders
When pending = 'Y '.
AND voucher_num = p_voucher_num;
IF v_sum_activity_qty > 0 THEN
IF v_sum_activity_qty <>v_order_qty THEN
RAISE wait_for_more;
ON THE OTHER
-final order in the case of partial performance; complete the process
UPDATE tb_xop_hold_multi_orders
PUT on hold = ' don't
process_dt = SYSDATE
WHERE voucher_num = p_voucher_num;
END IF;
END IF;
END IF;
UPDATE tb_xop_order_manager_t
SET activ_dt = TO_CHAR (SYSDATE, "YYYY-MM-DD HH24:MI:SS") | '. 000'
dest = p_dest
reference_key = p_reference_key,
seq_num = p_seq_num
return_code = p_return_code
reason_desc = p_reason_desc,
status_type = p_status_type
, activity_qty = v_order_qty - p_activity_qty
, leaves_qty = 0 - p_leaves_qty
exec_price = p_exec_price,
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed8');
/*
* SPIF # 43161 - update of the current situation to the PO moved to the end, even in works of the PROD.
*/
IF (p_status_type = "EO") THEN
BEGIN
Select cusip_num
in v_cusip_num
Corp;
EXCEPTION
WHEN NO_DATA_FOUND THEN
SELECT cusip_num
IN v_cusip_num
OF tb_xop_espp_compy
WHERE compy_acronym = replace (replace(user,'CMS'), '_USER');
WHILE OTHERS THEN
NULL;
END;
Select compy_nme, ml_sec_num, ivr_plan_num
in v_compy_nme, v_ml_sec_num, v_ivr_plan_num
of tb_fc_compy
where compy_acronym = replace (replace(user,'CMS'), '_USER')
UNION ALL
Select compy_nme, je_ml_security_number, ivr_plan_num
of tb_xop_espp_compy
where compy_acronym = replace (replace(user,'CMS'), '_USER');
-where ivr_plan_num = replace (substr(p_voucher_num,1,7), 'NORTH', 'XOP');
Open get_order_dtls (p_voucher_num);
SEEK get_order_dtls INTO v_order_dtls;
v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_order_dtls.exer_date + 1));
v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_settle_dt + 1));
v_settle_dt: = fn_xop_bankopen_bizday (TRUNC (v_settle_dt + 1));
FOR c_mail_cd IN get_mail_cd (v_order_dtls.opt_num)
LOOP
v_mail_cd: = c_mail_cd.mail_cd;
-We need get sp_mail_cd and overlay with the sp_mail_cd in order_manager_t?
END LOOP;
OPEN get_opt_dtls (v_order_dtls.opt_num);
SEEK get_opt_dtls INTO v_opt_dtls;
CLOSE Get_opt_dtls;
v_fixedfee1: = nvl (v_order_dtls.fixed_fee1, 0);
/*
* SPIF # 43161 - at least one transaction per day fees
*/
v_fixedfee1: = pk_xop_enh_exerupdate.chrg_tranxfixed_fee (v_fixedfee1,
v_order_dtls. Symbol,
v_order_dtls.corp_acronym,
v_order_dtls.opt_num);
-Insert in tb_ml_exer_upload
-Added CQ # PCTUP00481233
Pk_Xop_Transactmodel.GET_FEE (v_order_dtls. GROUP_ID, v_order_dtls. SVC_ID, 'SQ', v_order_dtls.opts_exer,
round (v_order_dtls.exec_price, 4), v_sub_totfee, v_sub_fixedfee2, v_sub_fixedfee1,.
v_sub_fixedfee3, v_sub_secfee, v_sub_feenum, LPAD (v_order_dtls. SSN, 9, 0));
v_order_dtls.sec_fee: = v_sub_secfee;
UPDATE tb_xop_order_manager_t
SET sec_fee = v_sub_secfee
WHERE voucher_num = p_voucher_num;
DBMS.output.put_line ('completed8');
-End CQ # PCTUP00481233
INSERT INTO tb_ml_exer_upload
(exer_num, exer_seq,
exer_dt, written_flag, backout_flag, output_line,
je_flag, opts_exer,
tot_tax, shrs_sold, comm_value, tot_fee,
mkt_prc, exer_type, soc_sec,
name_first, name_mi,
name_last, check_addr_1, check_addr_2, check_addr_3,
check_addr_4, check_addr_5, city, state, zip, country,.
city_state_zip_country,
p_name, opt_addr1, opt_addr2, opt_addr3, opt_addr4,
opt_addr5, opt_addr6,
settle_dt, send_to_citibank_flag,
dom_chek_distr, foreign_currency_code,
distribution_method, wire_seq_no,
cusip_num, ml_retail_account, multi_curr_handling_fee,
ml_sec_num, corp_name, upd_optionee_addr,
outbound_flag,-there are N
corp_symbol, taxwire_approve,-not make applicaplabe
exersource,
mail_cd, sp_mail_cd,
backup_withholding,
user_id,
acct_num_othr)
VALUES (v_order_dtls.exer_num, 0, v_order_dtls.exer_date, 'No', not, NULL,)
-Would be PG 12/12/05 Changed to fill the resulting je_flag of dom_chek_distr',.
-PG 16/12/05 I should not be generated for international controls... If 'Y' always
'Y',-je_flag
v_order_dtls.opts_exer, 0,-total tax will be 0.
v_order_dtls.opts_exer, shrs_sold,
v_order_dtls.comm_value,
-SPIF # 43161 - replaced nvl (v_order_dtls.fixed_fee1, 0), with v_fixedfee1
v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), - v_order_dtls.fees_amt,
round (v_order_dtls.exec_price, 4), v_order_dtls.exer_type.
LPAD (v_order_dtls. SSN, 9, '0'),-v_order_dtls.ssn, modified by Suresh on 08/02/07 for SPIF # 37210
v_order_dtls.name_first, v_order_dtls.name_mi, v_order_dtls.name_last,
v_order_dtls.check_addr_1, v_order_dtls.check_addr_2, v_order_dtls.check_addr_3,
v_order_dtls.check_addr_4, v_order_dtls.check_addr_5, NVL (v_order_dtls. City, v_opt_dtls. (City),
NVL (v_order_dtls. State, v_opt_dtls. State), NVL (v_order_dtls.zip, v_opt_dtls.zip).
NVL (v_order_dtls. Country, v_opt_dtls. (Country),
SUBSTR (nvl (v_order_dtls.city | v_order_dtls.)) State | v_order_dtls.zip | v_order_dtls. Country,
v_opt_dtls.city_state_zip_country), 1: 34),-COLUMN LENGTH MAX IS 35
v_opt_dtls.p_name, v_opt_dtls.opt_addr1, v_opt_dtls.opt_addr2, v_opt_dtls.opt_addr3,
v_opt_dtls.opt_addr4, v_opt_dtls.opt_addr5, v_opt_dtls.opt_addr6,
v_settle_dt, Decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'),
v_order_dtls.dom_chek_distr, v_order_dtls.foreign_currency_code,
v_order_dtls.distribution_method, v_order_dtls.wire_seq_no,
v_cusip_num, v_order_dtls.acct_num, v_order_dtls.multi_curr_handling_fee,
-nvl (fn_get_sec_num (replace (substr (p_voucher_num, 1, 7), 'NORTH', 'XOP'), v_order_dtls.symbol), v_ml_sec_num).
NVL (fn_get_sec_num (v_ivr_plan_num, v_order_dtls.symbol), v_ml_sec_num).
v_compy_nme, v_order_dtls.upd_optionee_addr,
'N'-' is for outgoing flag.
v_order_dtls. Symbol, 'd', --a ' for disabled taxwires
The of ', - the of ' source being a subsequent sale.
v_mail_cd, need to get mail_Cd?
v_order_dtls.sp_mail_cd, v_order_dtls.backup_withholding,
(User, v_order_dtls.acct_num_othr);
IF (NVL(v_order_dtls.wire_seq_no,0) > 0) THEN
OPEN c_wire_instruction (v_order_dtls.wire_seq_no);
SEEK c_wire_instruction INTO v_wire_instruction;
CLOSE C_wire_instruction;
INSERT INTO TB_XOP_TRANSACT_WIRE_INSTR
(user_id, exer_num, wire_seq_no, ml_brok_acct_num, ssn,
plan_num, instr_type, aba_routing_num,
swift_routing_code, bank_name, bank_acct_num,
name_on_account, bank_addr_1, bank_addr_2, bank_addr_3,
City, State, country, zip, bank_ident_num, addtl_info)
VALUES
(USER, v_order_dtls.exer_num, v_order_dtls.wire_seq_no,
v_wire_instruction.ml_brok_acct_num, v_wire_instruction.ssn,
v_wire_instruction.plan_num, v_wire_instruction.instr_type, v_wire_instruction.aba_routing_num,
v_wire_instruction.swift_routing_code, v_wire_instruction.bank_name, v_wire_instruction.bank_acct_num,
v_wire_instruction.name_on_account, v_wire_instruction.bank_addr_1, v_wire_instruction.bank_addr_2,
v_wire_instruction.bank_addr_3, v_wire_instruction.city, v_wire_instruction.state, v_wire_instruction.country, v_wire_instruction.zip,
(v_wire_instruction.bank_ident_num, v_wire_instruction.addtl_info);
DBMS.output.put_line ('completed10');
END IF;
/ * PG 05/01/06 call conversion check only for international controls and son * /.
IF = v_order_dtls.dom_chek_distr ' n AND v_order_dtls.distribution_method IN ('W' ' d ","C"" ") THEN
/ * PG 20/12/05 to treat the subsequent sales with the wire or the distribution of currency * /.
v_transact_no: = 88;
pk_xop_citibank_forex.pr_cashconversion_ins_request (v_order_dtls.acct_num
LPAD(v_order_dtls.ssn,9,'0') - v_order_dtls.ssn, modified by Suresh on 15/02/07 for SPIF # 37210
v_order_dtls.distribution_method
v_order_dtls.foreign_currency_code
v_order_dtls.wire_seq_no
, TOWER ((v_order_dtls.opts_exer * ronds (v_order_dtls.exec_price, 4)), 2)
-ROUND(v_order_dtls.comm_value,2)
-ROUND (nvl(v_order_dtls.fixed_fee1,0) + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), 2)
-nvl(v_order_dtls.multi_curr_handling_fee,0)
-product net nvl(v_order_dtls.backup_withholding,0)-
, v_order_dtls.multi_curr_handling_fee - handling fee
-Modified by Billon/Suresh on 03/02/2006-, v_order_dtls.login_name
, CASE v_order_dtls.login_name WHEN ' CUSTOMER /' THEN v_order_dtls.login_name |' SSO' ELSE v_order_dtls.login_name |' / SSO' END
, v_transact_no - transact_no as a placeholder for the 88 exer_type
v_order_dtls.check_addr_1
v_order_dtls.check_addr_2
v_order_dtls.check_addr_3
v_order_dtls.check_addr_4
v_order_dtls.upd_optionee_addr
v_order_dtls.city
v_order_dtls.state
v_order_dtls.zip
v_order_dtls.country
v_order_dtls.login_ipaddress
v_order_dtls.fcnum
v_order_dtls.opt_num
v_settle_dt,
p_exer_num = > v_order_dtls.exer_num
);
END IF;
COMMIT;
close get_order_dtls;
END IF;
/*
* SPIF # 43161 - update of current status in IN. is moved to this part, even PROD.
*/
UPDATE tb_xop_order_manager_t
SET exec_dttime = decode (p_status_type, "EO", to_char (sysdate, 'DD-MON-YYYY HH24:mi:ss'), null)
exer_date = trunc (sysdate)
, cancel_dttime = decode (p_status_type, 'CX', to_char (sysdate, 'DD-MON-YYYY HH24:mi:ss'), 'UR', to_char (sysdate, "MON-DD-YYYY HH24:mi:ss), null)
, current_status = "PO."
sum_status = decode(p_status_type,'EO','X','C'),
sum_stat_dttime = SYSDATE
WHERE voucher_num = p_voucher_num;
v_err_cd: = sqlcode;
v_err_msg: = sqlerrm;
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
EXCEPTION
DBMS.output.put_line ('completed200');
/ * PG 02/10 managed 'order of partial fill' exception * /.
When wait_for_more then
v_err_cd: = 0;
v_err_msg: = ' ORA-0000: normal completion, successfully ';
pr_xop_log_errors (' partially filled;) Pending-activity qty:' | TO_CHAR (v_sum_activity_qty) | "pk_xop_subsales.pr_process_exer");
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
When exceeds_order_qty then
v_err_cd: = sqlcode;
v_err_msg: = sqlerrm;
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
pr_xop_log_errors ("exceeded the amount of activity Order_qty - activity qty: ' | ') TO_CHAR (p_activity_qty) | "pk_xop_subsales.pr_process_exer");
while others then
v_err_cd: = sqlcode;
v_err_msg: = sqlerrm;
Open the p_err_cur for v_err_cd select err_code, v_err_msg err_msg double;
pr_xop_log_errors (' error code ' | ') SQLCODE |' with ErrorMessage like ' | SQLERRM |' occurred '. the user | (' pk_xop_subsales.pr_process_exer');
DBMS.output.put_line ('completed125');
END pr_process_exer;
}
Hi friends, any1 help me how set ref-cursor in the declaration section and how to find the constraint error situation has occurred...956684 wrote:
Hello.Friends please help... How to debug and find the exact position of the constraint violation... Thank you for the help...
It's not a way to track it unless you have taken the exception raised.
As a way to start debugging, you will need to monitor
1. all DML against the Table on which you have constraint. Specifically, the DML that Act on the column you will be forced.
2. use the exception handling, to record the error and the data that causes the constraint to fail.
3. don't forget to monitor triggers, if used, could write data in the column you have forced on.Or
Another track is to:
select * from user_source where lower(text) like '%your_table_name%'; order by type, name, line;
Look at the lines, exclude that are in the statement or in the SELECT statements and targets of the DML.
Looking at the unformatted code, that you have published, this statement looks like a culprit.
INSERT INTO tb_ml_exer_upload (exer_num,exer_seq, exer_dt, written_flag, backout_flag, output_line, je_flag, opts_exer, tot_tax,shrs_sold,comm_value,tot_fee, mkt_prc,exer_type, soc_sec, name_first, name_mi, name_last,check_addr_1,check_addr_2,check_addr_3, check_addr_4,check_addr_5,city,state,zip,country, city_state_zip_country, p_name,opt_addr1,opt_addr2,opt_addr3,opt_addr4, opt_addr5,opt_addr6, settle_dt,send_to_citibank_flag, dom_chek_distr,foreign_currency_code, distribution_method,wire_seq_no, cusip_num, ml_retail_account,multi_curr_handling_fee, ml_sec_num, corp_name,upd_optionee_addr, outbound_flag, -- make it N corp_symbol,taxwire_approve, -- make it not applicaplabe exersource, mail_cd, sp_mail_cd, backup_withholding, user_id, acct_num_othr) VALUES(v_order_dtls.exer_num,0,v_order_dtls.exer_date,'N','N',NULL, -- PG 12/12/05 Changed to populate the je_flag based on dom_chek_distr 'D', -- PG 12/16/05 JE should not be generated for international checks.. So 'Y' always 'Y', --je_flag v_order_dtls.opts_exer,0,--total tax will be 0. v_order_dtls.opts_exer, --shrs_sold, v_order_dtls.comm_value, --SPIF# 43161- replaced nvl(v_order_dtls.fixed_fee1, 0) with v_fixedfee1 v_fixedfee1 + nvl(v_order_dtls.fixed_fee3,0) + nvl(v_order_dtls.sec_fee,0), --v_order_dtls.fees_amt, round(v_order_dtls.exec_price, 4),v_order_dtls.exer_type, LPAD(v_order_dtls.ssn,9,'0'), --v_order_dtls.ssn, Modified by Suresh on 02/08/07 for SPIF # 37210 v_order_dtls.name_first,v_order_dtls.name_mi,v_order_dtls.name_last, v_order_dtls.check_addr_1,v_order_dtls.check_addr_2,v_order_dtls.check_addr_3, v_order_dtls.check_addr_4,v_order_dtls.check_addr_5,nvl(v_order_dtls.city,v_opt_dtls.city), nvl(v_order_dtls.state,v_opt_dtls.state),nvl(v_order_dtls.zip,v_opt_dtls.zip), nvl(v_order_dtls.country,v_opt_dtls.country), SUBSTR(nvl(v_order_dtls.city||v_order_dtls.state||v_order_dtls.zip||v_order_dtls.country, v_opt_dtls.city_state_zip_country),1,34), -- COLUMN LENGTH MAX IS 35 v_opt_dtls.p_name,v_opt_dtls.opt_addr1,v_opt_dtls.opt_addr2,v_opt_dtls.opt_addr3, v_opt_dtls.opt_addr4,v_opt_dtls.opt_addr5,v_opt_dtls.opt_addr6, v_settle_dt,decode(v_order_dtls.distribution_method,'W','Y','D','Y','C','Y','D'), v_order_dtls.dom_chek_distr,v_order_dtls.foreign_currency_code, v_order_dtls.distribution_method,v_order_dtls.wire_seq_no, v_cusip_num,v_order_dtls.acct_num,v_order_dtls.multi_curr_handling_fee, -- nvl(fn_get_sec_num(replace(substr(p_voucher_num,1,7),'SSO','XOP'),v_order_dtls.symbol),v_ml_sec_num), nvl(fn_get_sec_num(v_ivr_plan_num, v_order_dtls.symbol),v_ml_sec_num), v_compy_nme,v_order_dtls.upd_optionee_addr, 'N', --'N' is for outbound flag. v_order_dtls.symbol,'D', --'D' for taxwires disabled 'S', -- 'S' for source being subsequent sale. v_mail_cd, --need to get mail_Cd?? v_order_dtls.sp_mail_cd,v_order_dtls.backup_withholding, user,v_order_dtls.acct_num_othr);
What is the structure of the tb_ml_exer_upload Table and the columns do you have constraints?
Which column of the tb_ml_exer_upload table is your primary key (because the constraint name mentions pk_tb_ml_exer_upload)?Published by: Jen K on January 4, 2013 12:57
-
Help open the levels dialog box and save the entered settings.
Hey,.
I'm trying to work out how to save the applied middle, whitepoint ect to a variable after the levels dialog box was called from javascript?
I am writing a script that allows you to adjust the levels on a single image, and then I have to repeatedly apply these settings on a batch of images specified.
Is this possible? I figured out how to open and apply the levels but not to save the entered settings.
Any help would be appreciated!
I use photoshop cs6 on a mac.
Thank you
Mark
Sorry Paul, but I think that you're wrong. The 'adjustment' list should have descriptions for each channel that has been set by the user. These descriptors must have the key for the channel as a referencetype, b/w in a list entry points, exit points black and white as a list and as a double gamma. I think that if these aren't in the descriptor, it is because the user has not changed the default values.
But what if all you want to do is reapply the same settings later that you don't really need to know what setting were. You simply store the descriptor that contains for later use.
function newLevels() { var desc2 = new ActionDescriptor(); var ref1 = new ActionReference(); ref1.putClass( charIDToTypeID('AdjL') ); desc2.putReference( charIDToTypeID('null'), ref1 ); var desc3 = new ActionDescriptor(); var desc4 = new ActionDescriptor(); desc4.putEnumerated( stringIDToTypeID('presetKind'), stringIDToTypeID('presetKindType'), stringIDToTypeID('presetKindDefault') ); desc3.putObject( charIDToTypeID('Type'), charIDToTypeID('Lvls'), desc4 ); desc2.putObject( charIDToTypeID('Usng'), charIDToTypeID('AdjL'), desc3 ); return executeAction( charIDToTypeID('Mk '), desc2, DialogModes.ALL ); }; // store the descriptor holding the users values for later var newLevelsDesc = newLevels(); // do something else like open another image // then when needed make a new adjustment layer using those settings executeAction( charIDToTypeID('Mk '), newLevelsDesc, DialogModes.NO );
Maybe you are looking for
-
SKYPE PREMIUM of Mac does not work!
Mac OS x version 10.7.5 2.53 ghz Intel Core 2 Duo 4 GB 1067 Mhz DDR3 Mac Book Pro I've been using Skype perfectly! But must be several video chat! So I went to SKYPE PREMIUM! I open Skype and the Rainbow ball starts spinning and I have to force QUIT.
-
Updating BIOS on Satellite L50 - B - 11 K
I want to update the bios I 1.40 last updated 2.0 first 1.70 1.90 and after 2.0 or direct 2.0.model is L50 - B - 11 KThank you
-
Windows XP logs on when I connect.
I have my laptop HP with Windows XP Home Edition. There is a problem with that. I am not able to connect to the system. At the point where I spend my credentials, he gets automatically disconnected. And that's why the vicious circle continue to work
-
Hello Where can I download an ISO file that will allow me to reinstall COA x 13-04660? Thank you Shaun
-
I want to put a mechanism to control the reachbility between two nodes by using the property intellectual ALS, but I find no definition df bit for ip sla icmp packets, y at - it ideas to do? Best regards.