How to carve, and concatenate the two text fields in a form
Hi people,
Newbie here... have two fields in a form: FirstName and LastName. Want to have these appear later as: name, first name.
For example: 'Rick' "Stockstill" should later manifest as: 'Stockstill, Rick' with a comma separating the names and trailing blanks removed.
It is a piece of cake in Excel, but have not figured out how to do the same with Acrobat. My first try at a script looks like this:
(Recipient.rawValue = trim (LastName.rawValue) +","+ FirstName.rawValue);
The field 'Recipient' is a standard text field which I am filling using the property to 'calculate '. The good news is that I get no error message, but the bad news is that the field recipient does not get filled.
Any help is greatly appreciated.
At the latest,
Rick Stockstill
North East Independent School District
San Antonio, TX
210-407-0317.
[email protected]
OK, in this case you can use this code as the custom recipient field calculation script:
event.value = trim(this.getField("LastName").valueAsString) + ", " + trim(this.getField("FirstName").valueAsString); function trim(s) { return s.replace(/^\s+/,"").replace(/\s+$/,""); }
Tags: Acrobat
Similar Questions
-
Hello, I've created a form with Adobe pro XI. I want to create a text field that combines the two fields (Field1 and Field2) text. How can I do?
If the third field does not need to be editable, you can use a calculation script customized to what is something like the following:
Custom calculation script
(function () {}
Get the field values as strings
var s1 = getField("Text1").valueAsString;
var S2 = getField("Text2").valueAsString;
Set the value of this field to the concatenation of two strings
Event.Value = s1 + s2;
})();
-
How to fill two text fields based on a simple drop down list
I'm trying to set up a form so that the two text fields will fill with a text by default (separate for each text field) at the same time.
Here is a screenshot of the fields.
Thus, for example, if I select Utah in the drop-down list in 'State', ' OH Fund Center "is automatically filled in with APWSWR4949 and"OH WBS"is automatically filled in with WR49.73.0003.
I have a similar script for down text in form fields, but the script does not work. I tried the following script:
var v1 = this.getField("RecState").valueAsString;
If (v1 == "Utah") event.value = APWSWR4949;
else event.value = "";
However, it would not AutoFill OH Fund Center area. And I have no idea how complete both fields at the same time.
Any help would be greatly appreciated.
Thank you!
Crystal
Strings must be enclosed in quotation marks. So change your code:
var v1 = this.getField("RecState").valueAsString; if (v1=="Utah") event.value = "APWSWR4949"; else event.value = "";
If it works, then you can use code similar to your other field.
-
Text that develop with the expandable text field
I created a form using Livecycle Designer. I have 2 questions;
1. how to create repeating fields.
2 it is the text before and after the extensible text field, how the texts after the text growable field 'navigate' the text growable field. (when the user starts to fill the field expand the text after the demon of the text is expected to grow to the right as the text field.)
3. how to create the text field in double capture / will reflect whatever the user type in a field in another text field without filling actually twice.
See attached file
Will be grateful if anyone can help! Thank you thank you =)
For Q1 and 2 there is something called a field floating allow you to merge the data in a text block and reflow to remove all spaces in the block. This is available only when the data are merged on the form. This isn't an interactive field. Once the data are merged, it is transformed into a block of static text.
For Q3, this is a case to assign a value to another.
FieldNameofTargetField.rawValue = OriginalFieldName.rawValue;
This code must be run on an event related to the original material. In general the exit event is used for this purpose. So when the user leaves the field, the target field will be updated with what was typed in the original field.
Paul
-
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 to increase or decrease the effect of an adjustment brush in Lightroom CC? In Lightroom 5, I could hover over the PIN and drag the two-way arrow left or right. This feature seems to have disappeared in the CC version.
I'll answer one of your three messages that asked this question. If possible, please remove the other two.
Hover and dragging moves the axis as it should. The cursor turns into a hand to indicate the area brushed, it moves.
Hover over the pin code, press the Alt/Opt key and drag left and right and the effect will become less and more. The cursor turns into a two-headed arrow to indicate that the function of the drag has changed. If you are not hovering over a pin code and press the Alt/Opt, then the cursor turns into a brush to erase to remove the adjustment every time you paint.
-
How to get and set the length and the width of the content of the layer?
How to get and set the length and the width of the content of the layer
All layers are packed not equal. a layer as adjustment have no limits. Layer to smart object can have two different sizes. The size of the object and the size of the object may be transformed. All smart object layers have an associated transform. To transform a smart object layers you need to work with the size of the object the generated pixels fot the layer. Text layer can be resized with a transform or by changing the font size. Pixelated layers are resize via a transformation. The script method is resize. When you resize the number of pixelsits made by interpolation. You can specify what method to use or set Photoshop interpolation preferably by default.
There is also a bug in Photoshop scripts if you pause the story said make a selection and use resize. Photoshop will properly support up to a State before where you suspended history. This bug seems to be in all versions of Photoshop.
If you look ate the script in my bug report, you should get a good idea of how to resize a layer.
Photoshop: Bug Script resize the rear paper folded to a history State
-
Satellite A30 921: how to remove and replace the memory?
Hi, can someone help me how to remove and replace the memory of satellite A30 921. and also, please give a detailed instruction.
Thank you in advance.
Hello
There is not much to explain. On the low side in the Middle it is placed to cover memory (fixed with two screws). Remove the cover and you will see 2 slots there. I put t know how much memory you here but like Stefan says you can use max 2 GB of RAM (2 x 1024Mo PC2700 - PA3313U-1M1G). How to remove the memory modules, which you can see on http://www.hardwaresecrets.com/article/189/5
Good bye
-
doubt Doc-ID 1618305.1 How to install and configure the user interface with WebCenter content 11.1.1.8.0 content
The portal_domain field contains;
AdminServer (admin) and Enterprise Manager, (port 7001)
IBR_server1, (port 16250)
UCM_server1, (port 16200)
WC_Spaces1, (port 8888).
On the same machine, I have another weblogic, admin and for the ITS.
The case is that continued to develop for the upgrade to the new skin WebCenter content.
That's my goal.
Then I did some research and came to the following notes in support.
1 - how to install and configure the UI content with WebCenter content 11.1.1.8.0 and 11.1.1.9.0 (Doc ID 1618305.1()
and
2 - update of the 11.1.1.8.0 UI content after you apply the Patch of Bundle WebCenter content 3 (MLR 3) or higher (Doc ID 1617477.1()
The UCM_server1 has the following House / app / oracle / Middleware / Oracle_ECM1 /.
And the list of patches;
===================================================================================================
Installed products of higher level (1):
Oracle WebCenter content management install 11.1.1.8.0
There are 1 products in this House of Oracle.
Installed products (40):
Cloning of the 11g Application Server 11.1.1.8.0 component
Enterprise Manager Application Server Integrator Plugin - Management Service Support11.1.1.7.0
FMW Control Plugin for Oracle inbound refinery 11.1.1.8.0
FMW Control Plugin for Oracle WebCenter Capture 11.1.1.8.0
Component install SDK 11.1.0.9.0
Oracle Application Server Configuration 11.1.1.7.0
Part of Oracle 11.1.1.7.0 Bali
Oracle 11.1.1.8.0 capture
Common files Oracle WebCenter content management 11.1.1.8.0
Oracle Content Server 11.1.1.8.0
Content of Oracle 11.1.1.8.0 Server component
Content access Content Server Oracle 11.1.1.8.0
Access to the contents of the Oracle Content Server 11.1.1.8.0 files
Oracle Content Server Core 11.1.1.8.0
Oracle 11.1.1.8.0 server content distribution
Oracle extended Windowing Toolkit 11.1.1.7.0
Oracle Fusion Middleware Admin Config 11.1.1.6.0
Oracle Help for Java 11.1.1.7.0
Oracle Help for the Web - UIX 11.1.1.7.0
Oracle Help for the Web Shared Library 11.1.1.7.0
Oracle Help share library 11.1.1.7.0
Ice browser Oracle 11.1.1.7.0
Oracle IRM 11.1.1.6.0
Oracle extended JFC Windowing Toolkit 11.1.1.7.0
One-time correction of Oracle 11.1.0.9.9 installer
Oracle outside in technology 8.4.0.0.0
Oracle Remote Client of Intradoc 11.1.1.8.0
Component of Oracle 11.1.1.7.0 rules
Oracle SOA 11.1.1.7.0 workflow
Universal Oracle install 11.1.0.9.0
Oracle Upgrade Wizard 11.1.1.8.0
Oracle Upgrade Wizard 11.1.1.8.0
Upgrade Oracle WebCenter content management 11.1.1.8.0 Assistant
Oracle WebCenter Capture 11.1.1.8.0
Oracle Webcenter content - rights 11.1.1.7.0 documentalist
Oracle WebCenter content - Universal Content Manager 11.1.1.8.0
Oracle WebCenter content management install 11.1.1.8.0
Oracle WebCenter content 11.1.1.8.0 management product suite
Oracle WebCenter content: Imaging 11.1.1.8.0
OracleAS Documentation 11.1.1.8.0
There are 40 products installed in this House of Oracle.
Interim plates (2):
Patch 18188143: applied the sea Mar 19 17:37:32 BRT 2014
Patch ID: 17263162
Created February 5, 2014, 12:56:41 pm
Bugs fixed:
15872313, 17184457, 17515691, 16633496, 14317920, 15991141, 16892410
14071471, 17929776, 13414481, 16042293, 17018964, 17627211, 16768600
16037162, 14521663, 17768056, 14738077, 16460053, 17567819, 17806416
15905591, 16080297, 17569908, 17043756, 18139768, 17211093, 17805499
16418434, 16828356, 16671687, 17039391, 16698130, 17943394, 17632731
17560900, 14246603, 15941347, 16045712
Location of patch in the inventory:
/ app/Oracle/middleware/Oracle_ECM1/Inventory/oneoffs/18188143
Patch location in the storage area:
/app/Oracle/middleware/Oracle_ECM1/.patch_storage/18188143_Feb_5_2014_12_56_41
Patch 18088049: applied the sea Mar 19 17:35:58 BRT 2014
Patch ID: 17182855
Created February 16, 2014 20:35:48 hrs PST8PDT
Bugs fixed:
17919101, 17894065, 17884570, 17883868, 17883112, 17854549, 17835742
17832305, 17819213, 17812338, 17789722, 17783376, 17778867, 17761746
17740542, 17733871, 17698852, 17658821, 17642431, 17636186, 17622384
17616664, 17616611, 17616489, 17613656, 17608703, 17589960, 17581458
17574153, 17567413, 17565564, 17558210, 17558068, 17546505, 17545841
17540480, 17528590, 17514070, 17511368, 17511271, 17511089, 17501678
17500375, 17475733, 17449617, 17421368, 17417817, 17416821, 17416807
17416771, 17416377, 17416343, 17402732, 17401071, 17401052, 17397875
17393920, 17393892, 17369286, 17368525, 17368096, 17362858, 17362130
17354877, 17353764, 17352746, 17335303, 17335290, 17330493, 17324707
17323595, 17323038, 17317268, 17314494, 17313064, 17313052, 17313000
17312990, 17312933, 17312863, 17312366, 17298386, 17295962, 17290804
17285105, 17270986, 17261952, 17255019, 17219134, 17216119, 17206903
17201035, 17200854, 17199763, 17187804, 17185539, 17171852, 17171818
17164502, 17160600, 17153780, 17074852, 17050451, 17049175, 17026301
17008220, 17007746, 17007534, 17006378, 16999307, 16999291, 16991380
16980256, 16980207, 16980196, 16979042, 16961904, 16958142, 16954858
16941623, 16936055, 16936048, 16936036, 16936020, 16936006, 16935987
16935976, 16921682, 16908287, 16858148, 16815976, 16796213, 13931337
17424037, 17006115, 17171834
OPatch succeeded.
==============================================================================================
And contains the following configurations in config.cfg
==============================================================================================
SocketAddressHostSecurityFilter = 127.0.0.1 | 0:0:0:0:0:0:0:1 | 192.168.1. * | 10.62.1.79
xPortalSecurityPropagate = true
Web server = javaAppServer
AllowUpdateForGenwww = 1
SearchIndexerEngineName = OracleTextSearch
IndexerDatabaseProviderName = SystemDatabase
AdditionalEscapeChars = -: #.
FileEncoding = UTF8
MaxQueryRows = 2000
DisableAuthorizationTokenCheck = true
IntradocServerPort = 4444
SchemaPublishInterval = 604800
SSAllowDelayedProjectWrites = true
IdcServerThreadQueryTimeout = 120
DisableQueryTimeoutSupport = false
MaxSearchConnections = 20
#Cache
UseSearchCache = false
#
#AdditionalEscapeChars = _: #, -: {-}, has: A, GOLD: GOLD, CAN: CAN, AND: AND at the END:
# Accesing a content item on a mapped Web URL (WebUrlMap) fails with the error: "unable to retrieve the content. Security access denied» (Doc ID 1639028.1()
MaxAccountsInSecurityClause = 300
# end (Doc ID 1639028.1()
#Search fails for external users in WCC after upgrade to 11.1.1.8.0 (Doc ID 1676468.1()
DoCaseInsensitiveAcctSearch = false
# end (Doc ID 1676468.1()
#MigrationFormatForfApplicationGUID = dCollectionName:dCollectionGUID
==============================================================================================
To my UCM_Server1 content WebCenter.
As I already have a WebCenter content I have to follow the second part of the note
How to install and configure the UI content with WebCenter content 11.1.1.8.0 and 11.1.1.9.0 (Doc ID 1618305.1).
Install and configure content WebCenter ADF WebUI against WebCenter Content Server
Step 1) install the MDS schema
(Step 2), install the Weblogic Server
11 GR 1 material step 3) DOWNLOAD and install Oracle Application Development Framework (11.1.1.6.0) in the new WebUI WLS Middleware House, found here
Step 4) Download and apply Patch 16, 546 129.
Step 5) Download and apply Patch 16, 546 157.
Step 6) download and apply the Patch and then 19,469,801, 18,102,108 Patch
Step 7) copy the wccadf files in the field of user interface
Step 8) Oracle on demand services (MDS) metadata registry
Step 9) Place the WebCenter content domain user interface model
Step 10) run the Setup Wizard on the new home of Middleware WebUI to create the new domain
Step 11) updated the Oracle ADF of shared libraries
Step 12) start the domain WebUI administration server
Step 13) Save target Managed Server with the MDS repository and create the metadata partition
Step 14) start the server managed WebUI.
Step 15) associate UI WebCenter content to Content Server.
Step 16) reboot the WebUI ADF server managed.
Step 17 access the WebUI
Step 18) complete the Configuration of the workflow
Step 19) apply the latest Patch Bundle content UI of WebCenter
MY DOUBT IS:
To read the steps that I understood, to 19, with success, in the end, I will have an another WebLogic with a domain name and its respective EM.
I have two servers weblogic?
portal_domain (explained above) and a new wccui_domain wls and domain.
This fix it?
Two WLS to keep WebCenter portal and content, and other elements.
Because I'm not able to do with the WLS even where I UCM_server1 today?
Thanks for all suggestions and criticism.
To read the steps that I understood, to 19, with success, in the end, I will have an another WebLogic with a domain name and its respective EM.
I have two servers weblogic?
portal_domain (explained above) and a new wccui_domain wls and domain.
This fix it?
Two WLS to keep WebCenter portal and content, and other elements.
Because I could not do with the WLS even where I UCM_server1 today?
Yes, up to 11.1.1.9.0, you will need to install a new wls House (new wls server admin) and then configure WCC ui there. User interface and COE will not work in the same field. You can have the portal and content under the same House of wls and install a new one for the user interface.
This is due to a problem with ADF and WCC libraries.
With 12 c, this dependence is not there, and you can install / configure all 3 (Portal, content and adf ui) applications on the same domain.
-
How to launch and use the VMware tools
After installing 2008r2 as a virtual machine and install VMware Tools, I am unable to open the tools and use them. I did two days of searching, and I can't find an answer to my problem. Downstairs is an action I took, but I would appreciate any help from the community.
Purpose:
Laboratory at home training and certification.
Hardware environment: (based on "Chris Wahl" home Build Lab)
SuperMicro Motherboard MBD-X10SLH-F-O
Intel Xeon E3-1230 v3 3.30 GHz processor with 32 GB of ram
Software environment:
64-bit version of Windows 7 Professional, host operating system
VMware Workstation 10 with all updates installed with administrator privileges
VM #2: vSphere 5.1 install
VM #1: The Windows 2008R2 VM I have a problem with VMware tools.
I've deleted and rebuilt the two VM three times now, thinking it was my environment somehow. ESXi 5.1 works although I have not built anything there yet. I am able to access this part of the laboratory fine of vSphere Client.
VMware Tools:
Within the Services of VM 2008 I can see VMware Tools started service, the icon in the system tray notification area and see the files on the C: drive of the virtual computer, but there is no way to open it.
I followed several links to create a virtual laboratory, but should not be this hard to run a program. It's my first time that you try to use VMware tools, but I'm following the steps in the lab below install procedures.
In the middle of the page of "Blog Editor" part 4 "build the ultimate vSphere Lab is where it installs the VMware tool and lowest after restarting Windows Update service I'm stuck to the next step."
"Open VMware Tools, go to the Shrink ." Click on the button of the prepare to shrink . »
? How to "open the VMware Tools?
Now on the path I have searched for and deleted and reinstalled the tools, but always without success.
Here is a link where I found the following measures to be taken, but it doesn't work either. The "NOTE" at the bottom, it's something I noticed and made sure was right when I installed the last time tools.
I even found a link to where you can download the tools separately from the ISO files, and yet, it does not work. A LITTLE HELP PLEASE!
So next step that we did was
1 uninstalled VMware Tools in the virtual machine
2 restarted the VM
3. manually deleted/renamed the C:\Program VMware Tools
4. manually deleted/renamed C:\Programdata\VMware\VMware tools
5 Rebooted
6. install the VMware tools
7 RebootedThe issue is not reproducible after the same
NOTE: Make sure that the virtual computer CD player points to the correct image. I found it always go back to the windows 7 iso image on my C: drive from physical machines to where the image 2008r2 was on drive E:No need to reinstall again. You're not missing something. VMware has changed the VMware Tools tray and removed options that were available in previous versions. Take a look at for example experience front of VMware: The VMware Tools GUI is gone - now what? with some information about this change and the replacement of the command line.
André
-
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
-
Set and get the custom text Sceen Reader
Hi all
I know not how to get and set the legend, the name & tool tip a field but I was wondering is there a way to set and or get whats in the custom screen reader text.
I want to do this javascript example for the ToolTip his
fieldname.assist.toolTip.value
Thank you
Brad
Hi Apemancity,
You can use fieldname.assist.speak.value
Thank you
Rous
-
How can I validate a form if at least one of the three text fields is selected
Hi all
My form has many fields but 3 text fields here that I need to have the Viewer to enter text in a text field before hitting the submit button.
Don't know how to do in this regard.
Thank you
Courier says:
I can't understand how to ensure at least a field is selected by the Viewer on the three text fields, any thoughts?
Yes, I played a bit with this idea earlier today, but got distracted by other things.
What follows is based on the following:
- There is only one form on the page
- No validation is involved
- Each of these fields in the group that needs at least a field has "data-req1" (without the quotes) in its opening tag
For example, if you have a form like this:
Add the following just before the closing on the page tag:
document.forms[0].onsubmit = fillOne;
function fillOne() {
var elems = this.elements,
req1 = [];
for (var i = 0; i < elems.length; i++) {
if (elems[i].hasAttribute('data-req1')) {
req1.push(elems[i].name);
if (elems[i].value.search(/\S+/) != -1) {
return true;
}
}
}
alert('At least one of the following fields must have a value:\n' + req1.join(', '));
return false;
}
If you try to send the form without find out the name or the email field, you will get an alert dialog box and will refuse to submit the form. But if one or the other or both fields have values, the form will appear.
In other words, it will work with any number of fields that have "data-req1" in the opening tag. So much that one of these fields has value, submits the form.
-
The collage of AI. image in InDesign and applying the wrap text does not!
Hello! I was wondering if someone can help me please. Currently, I learn how to use InDesign and have encountered a problem. Basically, I made some sketches/illustrations with Illustrator and to stick in a book about InDesign. When I do this it works fine, but then the text will not wrap around the sketch. I found how to solve this problem - I have created a form (white) solid block of the draft sketch to go under the original sketch and can now wrap the text around it, isn't ideal if - however, I can not select the drop-down menu wrap text options in the dialog text wrap, as it is gray and unclickable.
Help is not help!
Thank you
First, unless there is a reason for it, you are better to place the work Illy.
With this selected work, open the text layout Panel and set the appropriate text wrapping.
Bob
-
How to compress and decompress the file in mac
How to compress and decompress the file in mac
I will use third party software to do this.
Maybe you are looking for
-
How can I pin a website to the start page in W8
I can pin applications for Windows startup/Metro page 8, but cannot see how to pin a website using Firefox. I've seen on the 'how' Geek site it is simple to do in IE and Chrome, but I do not use these browsers. Does anyone know how to do this please?
-
The screen upside - down Satellite A110
I bought a Satellite A110-159 and I am very happy with it so far, but happened Friday last something weird. After coming out of hibernation, my laptopscreen was backwards. I could have pressed some keys before that happened, but if so, I so unconsiou
-
W530 does not reset the widows 8
Okies, I've never had a problem until recently. Windows 8 came with this machine, and I've had problems of performance for a month now. I just soldered on until yesterday when I continued to get different blue screens and need to reboot... now it won
-
I chose this card that I was not able to choose digital camcorders. I have the SPK - HCD and I was wondering if I could use it with the td20 HDR?
-
Venue 8 3830 - unable to connect to the pc, USB icon does not appear
When you connect the Tablet PC, a USB icon is supposed to appear and you are supposed to be able to transfer files back and forth between devices. No such icon appears on my tablet. I chose the Media Device option. Any suggestions?