Debug and parameter groups to release

Hello

I created a plugin and I am faced with two questions right now. First of all, my user interface is a little cluttered. I've read all the SDK but could not find enough information on how to create groups of parameters.  Second, can someone tell me how to convert the plugin from Debug to release in Xcode and Windows? Also, whenever I change the Outflags, AE throws an error saying that theere is an incompatibility with PiPL. How is this figure PiPL calculated? Is this just a hexadecimal number?

Thank you much in advance.

Once, there was a call API ADM (the adobe dialog manager).

It enabled plugin programmers to create windows with various controls, including text boxes.

I don't know why, but it is no longer supported.

Anyway,.

Since you mentioned using interface builder, I guess that we are talking about mac.

I have to tell you my friend, you have hit the spot with this question.

There are a lot of little problems in this process, which left me frustrated for days on end.

so now you have a .nib file and ask yourself, "now what?"

first of all, open the .nib file in interface builder.

set the modal class of the window 'furniture '.

This will ensure the window being in front of the AE and avoid interactions with EI until the window is released.

the second step would be to add the .nib file to the xcode project.

of course, you add the file like any other file, and it appears in the project.

You should see that it also appears on the last record on the project, called "Files" NIB.

We're not done Add.

now spin towards the bottom of the category "targets" and twirl down the name of your plugin.

You can now see the stages of construction.

Now add a new generation of scene, "copy bundle resources" and add the file in as .nib.

now, compile your plugin and go into the generated file.

Open the packaging and check that the file nib is there.

included with success?

We are still adding stuff.

now add two objects of type "existing frameworks.

'IOKit.framework' and 'CoreFoundation.framework '.

We move.

go to the folder 'mac' inside the project folder and look for a file named "YourPlugName.plugin - info.plist".

open it with the property list editor.

We are especially interested in the chain of CFBundleIdentifier.

This is very probably "com.adobe.AfterEffects.YourPlugName."

You can keep it like that, or change it to anything you want.

Make sure it is unique, so no other packs in the world would use the same name.

Copy this name. We need to later.

and that is how it is all being implemented:

some of the statements

CFBundleRef bundleRef = NULL;

IBNibRef theNibRef = NULL;

OSStatus theErr = NULL;

const EventTypeSpec [] = {{kEventClassCommand, kEventCommandProcess}} kEvents;

WindowRef ActivationWindow = NULL;

Create a reference of nib

bundleRef = CFBundleGetBundleWithIdentifier (CFSTR ("replace this text with the name of bundle of earlier"));

theErr = CreateNibReferenceWithCFBundle (bundleRef, CFSTR ("replace this text with the .nib, without the .nib extension file name"), & theNibRef);

optioanl control to find errors.

You should put this after almost every step.

It is up to you.

require_noerr (theErr, CantGetNibRef);

Create a window.

It is still not visible at this point.

theErr = CreateWindowFromNib (theNibRef, CFSTR ('Window'), & ActivationWindow);

We don't need the reference of the pen more.

DisposeNibReference (theNibRef);

ensuring that the window appear somewhere on the screen.

RepositionWindow (ActivationWindow, NULL, kWindowCascadeOnMainScreen);

The window has been created hidden then show it.

ShowWindow (ActivationWindow);

Install event handlers

theErr = InstallWindowEventHandler (ActivationWindow, EventHandlerFunction,

GetEventTypeCount (kEvents), kEvents, (void *), ActivationWindow, NULL);

Call the event loop

RunApplicationEventLoop();

This is it. you are now stuck at the event loop until end you it.
Here is the Basic code for the event handling:
#define OkCommand 'ok '.
#define CancelCommand "no!"
OSStatus ActivationFormEventHandler)
EventHandlerCallRef inHandlerCallRef,
EventRef inEvent,
void * inData)
{
OSStatus theErr = eventNotHandledErr;
HICommand theHICommand;
WindowRef theWindow = inData (WindowRef);
() GetEventParameter
inEvent, kEventParamDirectObject, typeHICommand, NULL,
sizeof (HICommand), NULL, & theHICommand);
Switch (theHICommand.commandID)
{
case OkCommand:
do what you want to do when the user clicks on "ok".
termination of the window and freeing up the process of return to the effect.
DisposeWindow (theWindow);
QuitApplicationEventLoop();
break;
case No. CancelCommand:
and the same for when the user clicks "Cancel".
QuitApplicationEventLoop();
theErr = noErr;
break;
}
Return theErr;
}
That's all.
This should help you operational.
:-)

Tags: After Effects

Similar Questions

  • I can't get mail and news groups to appear only a specific folder

    When I registered Thunderbird tonight I usually see the folder mail and news groups. Unfortunately, only a specific folder opens and I'm unable to click the windows tab and select this option. I restarted. Close Thunderbird and it does not work. Strange thing is that it works fine on my old old PC home computer. It's my Mac laptop which is problematic. Can you please help? I have important files that I need access ASAP.

    Hello

    To better help you with your question, please provide us with a screenshot. If you need help to create a screenshot, please see How to make a screenshot of my problem?

    Once you have done so, attach the file to screen shot saved to your post on the forum by clicking on the button Browse... under the box to post your reply . This will help us to visualize the problem.

    Thank you!

  • Cats 1-1 and Skype group chat doesn't work do not

    I upgraded Skype since Friday and then none of group cats, that I already have updated and I can't send a message in them. I've also added to groups by other contacts while on a call to them, and the group is created, but it shows as a group of "Untitled" with 0 participants on my screen and no video or mic.

    In addition to this, when I'm on the Cat 1-1 some of my posts don't send not the contact will go into offline mode and 1 minute later, they come online and sends the message. I thought that this could well be the first contact, but happened to 4 or 5 people I speak now.

    I use Skype version 7.21.0.100

    The first three lines of /dumpmsnp are:

    MSNP: Connection data (MSNP24):
    * Status: NetStateDisconnected
    * Current server: s.gateway.messenger.live.com
    * Server registered: s.gateway.messenger.live.com

    Please can anyone help with a solution to these problems?

    Restart your computer in Safe Mode with network and then try to start Skype.

  • Safari, taken in charge by the fake site FBI and money required for release, I need to delete the history data and the web to regain access.  How do I block it?

    Safari, supported by the fake site of the FBI and the money requested release. I have to delete the history data and the web to regain control. How do I block it?

    Lean on an adblock app. I use Weblock but there are other

    And if there is a particular site that you are attending that flat to the top of these malicious ads, well stop to go.

  • ASA political anyconnect and default group policy

    Hello world

    ASA is configured with anyconnect tunnel group and anyconnect group policy.

    AnyConnect group policy for

    in ASDM to allow concurrent connections box inherit

    timeout in ASDM watch checkmark on inherit

    By default of exhibitions in political group or system default

    simultaneous connections show 3

    timeout idlle shows 30 mins

    Need to understand that when we create anyconnect group policy and we click on inherit means it will take the value of this field of

    default group policy?

    As above default group policy also indicates that it has simultaneous connections for 3 and if I change to 2 concurrent connections in anyconnect group policy

    then the Group anyconnect policy will take precedence over the default group policy?

    The default system policy also shows idle time-out of 30 minutes that means it disconnects the anyconnect session after 30 minutes?

    Concerning

    Mahesh

    You're right about the strategy of group by default. If you assign a simultaneous connection of different to your group policy for the anyconnect profile these settings will override default group policy. Any changes of setting that explicitly to any group policy on the system replaces what has configured the default group policy.

  • What is main groups of work and home-group?


    Dear moderator,


    What is main groups of work and home-group?


    Best@regards
    Faruksao
    From Bangladesh

    Homegroup, you need windows 7 or a later version to use.

    Group work is part of a network, if your PC is part of a

  • AnyConnect tunnel-group automatic assignment without selecting any group-tunnel-group-list alias and user-group strategy.

    Objective is that the anyconnect user must select group-alias, so that when a user enters his username and password he must go to his political group and tunnel-group specific. as I removed this command in webvpn 'no tunnel-group-list don't enable '. This I can not connect (user does not authenticate).

    1 - my question is why his past does not?

    Solution:

    If I keep only a single tunnel-group by default and make several group policies and assign to each user with his specific group policy that it works. in user attribute means I have only question following the commands it works, but if I put "group-lock value test-tunnel" that it did not identify.

    Please explain why.

    WebVPN

    allow outside

    limit the cache-fs 50

    SVC disk0:/anyconnect-win-3.0.10055-k9.pkg 1 image

    enable SVC

    internal strategy of group test-gp

    attributes of the strategy of group test-gp

    VPN-tunnel-Protocol svc webvpn

    the address value test-pool pools

    username, password test test

    username test attributes

    VPN-tunnel-Protocol svc

    group-lock value test-tunnel

    Strategy Group-VPN-test-gp

    tunnel-group test-tunnel type remote access

    attributes global-tunnel-group test-tunnel

    Group Policy - by default-test-gp

    tunnel-group test-tunnel webvpn-attributes

    allow group-url https://192.168.168.2/test

    Yes, you have the right solution. You only need to create 1 group of tunnel and multiple group policy. Under the attribute of the user, you re then group policy of vpn that you want the user assigned too.

    You can also authenticate users against AD and configure ldap attribute map to map the user to a specific group policy automatically.

    Here is an example of configuration if you happen to have the AD and will authenticate against AD:

    http://www.Cisco.com/en/us/products/ps6120/products_configuration_example09186a00808d1a7c.shtml

    Hope that helps.

  • Group and the Group of the United Nations

    Hi all

    I'm doing a code can select all the objects,text blocks and layers and then group them all the (CTRL + A) +(CTRL+G) , then I'll add more steps

    After that, I want to make a group of the United Nations again (CTRL + A) +(CTRL+SHIF+G)

    I try with this code but I see a few layers not selected and ungrouped, can anyone help please

    var doc = app.activeDocument;

    doc.selectObjectsOnActiveArtboard ();

    newGroup = app.activeDocument.groupItems.add ();

    for (a = app.activeDocument.layers [0].pageItems.length - 1; a > 0; a)

    {

    app.activeDocument.layers [0] .pageItems [a] .moveToBeginning (newGroup);

    }

    Thank you very much

    app.executeMenuCommand ("selectall");   (CTRL + A)

    app.executeMenuCommand ('group');   (CTRL + G)

    app.executeMenuCommand ('separate');  (CAPS + CTRL + G)

  • Is there a way to get the list of hosts and its groups of belonging to the vCenter folder level in 5.5 web vsphere client plugin development?

    Hello

    I need to get the list of all hosts and its groups of belonging to the vcenter folder level.

    1. I created a view giving the extension point: vsphere.core.folder.monitorViews.

    2. After this step, I wrote the constraint as in my class of mediator,

    var ListConstraint:Constraint =

    QuerySpecUtil.createConstraintForRelationship ( _contextObject, 'childEntity');

    I was expecting a list of all child entities such as hosts, dc, cluster... But I have only the immediate child object which is only the Datacenter as my result.

    Is it possible to get all hosts and vCenter folder level Clusters because I need the entire list to vCenter (highest level).

    Other info:

    Object file has only two properties:

    1 childEntity - list of entities

    2 childType in-kind folder ('Virtual Machine', 'Data center'...)

    Is it possible to write a constraint specifying which list of childEntities I need using childType in.

    Example: Make Me childEntities that has a 'Host' and 'Cluster' childType but childType in doesn't have these two types.

    In addition, at this level, I could see the 'Associated objects' tab which has all the information I need, such as Clusters and Cluster tab hosts and host tab respectively.

    So, I think its possible to get this list to vCenter folder level.

    I have attached a screenshot representing the need. Kindly ignore the Conventions of naming in there since I edited the example comes with the sdk program.


    Query:

    1. How can I get the host and Cluster (table of relationship) list to vCenter folder level or even at the level of the vise.global.view?

    2. once I get this list, is it possible for me to manipulate that list and send the new list to IU?

    3. is there another way to do the same thing without the help of model classes and mediator?


    Pointers to this will be very useful.

    It is not possible to obtain all hosts a folder specific vCenter from a single query Data Manager.  You need to get the list of centers of data first and then get a list of data center hosts.

    It is best to make these repeated requests to the java level and return only the list that you want to the user interface.

    You can get all the objects in the host of the system with a simple query using a constraint with targetType = 'HostSystem', but you will need to eliminate those from other vCenter servers.  See how this chassis example queries all hosts the Java later in the getHosts() method: samples/chassis-app/chassisRackVSphere-service/src/main/java/com/vmware/samples/chassisRackVSphere/ChassisRackVSphereDataAdapter.java

    Another option is to use the vSphere Web Services SDK to browse vCenter. See the vSphere management forum for help on these APIs.  See this plugin of the sample using this SDK

    samples/vsphereviews/vsphere-wssdk-provider/src/main/java/com/vmware/samples/wssdkprovider/VmDataProviderImpl.java

  • How can I add and synchronize groups and AD users after a successful installation?

    Hello

    Maybe I don't see the wood from the trees.

    I have successfully installed a working environment of the Horizon.

    Now, I would like to add a few new users and AD groups, so that they would be synchronized with Horizon Workspace.

    If I am logged on as admin-account on the portal of the workspace, and I can see the tab "users and groups".

    There, I also see synchronized users during the installation, I added.

    But how can I add and synchronize the users in my ad?

    Kind regards

    André

    AD synchronization is done automatically on the schedule that you specified during the Setup installation ad part. You can change it and thus force a manual synchronization. But it is done on the connector and not the ordinary administration portal. You access your connector by using https:// Connector_URL:8443

  • Need info regarding the behavior of Oracle UCM accounts and security groups

    Need information about the behavior of Oracle UCM accounts and security groups.

    Oracle UCM version: 11.1.1.5.0

    Steps to follow:
    1. log in with the user "weblogic" and content created with the id of "content1".
    2. apply the "@acc1 (R)" and "TestGroup1" to her quote created in step 1
    3. close the session
    4. connect as that of "acc1user1", the user is not able to see the "content1".
    5. close the session
    6 log in as "role1user1", the user is not able to see the "content1".

    Account information and group:
    1. the user "acc1user1" is part of the "@acc1 (R).
    2. the user "role1user1" belongs to 'role1 (R)' and is mapped to "TestGroup1" at the Complutense University of MADRID

    Expected:
    The 'acc1user1' and 'role1user1' should be able to see "content1" because they have at least the read permission.

    Please help me understand why users aren't able to see the content.

    See section 5.5.1.1 in the Manual: http://docs.oracle.com/cd/E23943_01/doc.1111/e10792/c05_security.htm#BGBGIJDJ

    If the accounts and roles are used, the result is an intersection, not a Union.

  • 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

  • Copy the files/etc/passwd and/etc/Group from your ESX Server to the machine that you want to use as map server

    I'm trying to set up an NFS share on my windows server so that I can do vMotion.  I have 2 ESX servers that will access the storage location so that I can vMotion the content on an ESX Server to the other ESX Server.  I came across many discussion forums who say I need to "copy the files/etc/passwd and/etc/Group for your ESX Server to the machine that you want to use as map server"... How can I copy these files onto my ESX Server?

    I am VERY VERY new to VMware and will need step by step instructions on how to do it.

    Thanks in advance!

    Hello

    Try this http://vmetc.com/2008/02/19/create-a-nfs-share-for-vm-iso-files-with-windows-2003-server-r2/ and this

    http://ITKnowledgeExchange.TechTarget.com/it-consultant/Configuring-NFS-in-Windows/

    To copy the files everywhere I would use WINSCP which based a gui app secure copy, which should make it easy to copy the file into the Windows box

    Concerning

  • database version and the Group of patches applied to the operating system level to ensure

    How to find the version of database and the Group of patches applied to the level of Solaris operating system?

    [oracle@rac1 udump] $ cd $ORACLE_HOME/OPatch.
    [oracle@rac1 OPatch] $ pwd
    /U01/app/Oracle/product/10.2.0/Db_1/OPatch

    [oracle@rac1 OPatch] $ export ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1

    [oracle@rac1 OPatch] $. / lsinventory opatch
    Citing OPatch 10.2. 0.1.0

    Installer of fixed interim version 10.2.0.1.0 Oracle
    Copyright (c) 2005, Oracle Corporation. All rights reserved...

    Oracle home: /u01/app/oracle/product/10.2.0/db_1
    Inventory Center: / u01/app/oracle/oraInventory
    from: /u01/app/oracle/product/10.2.0/db_1/oraInst.loc
    OPatch version: 10.2.0.1.0
    YES version: 10.2.0.1.0
    YES location: /u01/app/oracle/product/10.2

    Published by: rajeysh on July 31, 2010 01:19

  • SE bin-debug and bin-release to work

    Hello

    I'm really stuck.

    I have my application to work with a MySQL database (the application itself makes no difference)

    When I compile and run the application with the menu ¨Run! and then ¨run main¨, everything works fine.

    But when I go in the bin-debug or release-bin directory and ask the application.html to open in the browser, I just get my repeating errorScreen shot 2011-07-24 at 5.42.57 PM.png

    Someone told me that the gataway.php file should not be referenced as url: but I don't know what that means.

    It certainly has to do with the dataservice access, but my Spanish is at the end on debugging. Who can unlock me really (I'm stuck for a good week on that.

    At the end I want to do is to export bin-publishing to a remote server (not localhost) in order to make the application available on the internet.

    I thought I can just ftp release bin in this remote server and perhaps adjust the MySQL database access settings.

    But I also need something to the Zend Framework, I guess.

    Help, please

    Peter

    its because when you hit in FB runs the application in a local server

    If you open the file in Windows Explorer, you won't be running on the local server.

    using WAMP? You have an icon in the system tray? Click on that and open localhost, find the Debugging folder and execute the html page from there. It will work because you are in the local server environment

    This might help

    http://www.YouTube.com/watch?v=P333JuiX-V8

Maybe you are looking for

  • What is the best way to consolidate e-mail messages in the e-mail program, before deleting?

    I have an iMac with a capacity to 1.11 - 679,49 GB available. With the software updated. Model name: I I have emails out of my different accounts in a "random" folder, but is not free up space. If I move an email in "Archives" and then it always rema

  • New Yahoo Group

    If you need another place to evacuate or ask questions, go to Yahoo and search on the Sony Tablet S in the section groups.

  • Z410 Touchpad does not work after upgrade to Windows 10

    Hello I have the Z410 (2 years) and since the upgrade to Windows 10, the TouchPad does not work! I updated the driver with no luck to make it work.Solutions used Lenovo Center, digitised material and nothing shows a hardware or driver missing.In Devi

  • screen resolution of 16 bit to 32 bit.

    "I'm running a Dell Dimension 4600 C. XP has already been installed and tried '7'. didn't like it because of driver problems. o.s. reinstalled xp now I can't change my screen resolution of 16 bits to 32bit.i need it works because I am using a monitor

  • My computer is still slow

    I had Windows Vista and one day it turned suddenly very slow and after a while it would freeze and I have to restart the computer. So I decided to reinstall the operating system, but since I lost my vista disk I downloaded Ubuntu on usb and installed