API to update credit_card number in iby_creditcard table

We got a requirement to update the credit card number stored in iby_creditcard table with a magic number and the API 'iby_creditcard_pkg.update_card' doesn't have the option to update the credit card. Is there any other API to update the credit card number in iby table?

Thanks for the reply Sajid. In order to meet PCI compliance we are supposed to wipe out the actual credit card numbers from the system. The actual credit card numbers are stored in encrypted format in IBY_SECURITY_SEGMENTS. So, I am searching if there is any API to update the data in that table as there is no API to delete card information.

Similar Messages

  • Api to update the values in per_periods_of_placement table

    Hi,
    can anyone let me know whether any hrms api is available to update the values in the table PER_PERIODS_OF_PLACEMENT.
    I want to update the values under the column TERMINATION_REASON in per_periods_of_placement for few set of contingent workers(for those a wrong reason was entered need to replace with correct value now).
    Please revert asap.
    Thanks,
    Jithendra

    Here is my stand alone PL/SQL block :
    I am supplying the start_date fro mthe per_periods_of_ placement table itself...
    DECLARE
    CURSOR get_cwk_details IS
    SELECT person_id cwk_person_id,
    object_version_number ovn,
    date_start service_start_date
    FROM per_periods_of_placement pdp, hr_lookups l
    WHERE l.lookup_type(+) = 'HR_CWK_TERMINATION_REASONS'
    AND l.lookup_code(+) = pdp.termination_reason
    AND HR_GENERAL.DECODE_LOOKUP ('HR_CWK_TERMINATION_REASONS',
    PDP.TERMINATION_REASON) = 'Deceased' ;
    l_person_id NUMBER(20);
    l_ovn NUMBER(10);
    l_date_start DATE;
    BEGIN
    FOR get_cwk_details_rec in get_cwk_details
    LOOP
    l_person_id := 153564;--get_cwk_details_rec.cwk_person_id;
    l_ovn := get_cwk_details_rec.ovn;
    l_date_start := get_cwk_details_rec.service_start_date;
    dbms_output.put_line('l_person_id = ' || l_person_id);
    dbms_output.put_line('l_ovn = ' || l_ovn);
    dbms_output.put_line(' l_date_start = ' || l_date_start);
    apps. hr_periods_of_placement_api.update_pdp_details(
    P_VALIDATE => FALSE,
    P_EFFECTIVE_DATE => l_date_start,
    P_OBJECT_VERSION_NUMBER => l_ovn,
    P_PERSON_ID => l_person_id,
    P_DATE_START => l_date_start,
    P_TERMINATION_REASON => 'DW');
    COMMIT;
    END LOOP;
    END;

  • Update sequence number in PLAF table.

    Hi
    There is a requirement where I have to update sequence number for Planned Order in ECC.
    Sequence Data is stored in PLAF-SEQNR field [Seq. number order].
    BAPI_PLANNEDORDER_CHANGE did not work for me. There are only 27 field which i think we can edit (ie field in import parameters BAPIPLAF_I2).
    So can someone help me to find a way to update PLAF-SEQNR.
    Thanks
    Bhavesh

    Use an Enhancement Spot

  • API to update PO_LINE_LOCATIONS table

    Does anyone know any public/private API to update po_line_locations table.
    We have the following requirement.
    -We are planning to implement iSupplier portal for Consignment Suppliers.Since we don't have VMI enabled, We need to create Purchase Orders before suppliers could create ASN.
    So, we automated this process by importing Purchase Orders through Open Interface(PDOI).
    Oracle has a known BUG with Open Interface that it does not allow importing Consignment PO's.Therefore,We need to update po_line_locations.is_consigned_flag ='Y' after PO is created.
    Any help would be greatly appreciated.
    Thanks,

    Hi,
    I recommend performing following setups and then try importing the standard PO.
    1. Create a blanket purchase agreement mentioning the respective supplier, site, item and price.
    2. Create a sourcing rule for the supplier and site used in the BPA.
    3. Note the assignment set value from the profile option of "MRP: Default Sourcing Assignment Set".
    4. Assign the sourcing rule created in step-2 to the assignment set noted in step-3 as "Item-Organization" assignment.
    5. Setup Approved Supplier List (ASL) for the item and map supplier and site mentioned in the BPA.
    6. Go to ASL attributes and map the BPA number in the "Source Documents" tab.
    7. Next, go to "Inventory" tab of the same form and check the "Consigned from Supplier" checkbox.
    Now you try importing the standard PO for the item, supplier and site involved in the above setups.
    It should get the CONSIGNED_FLAG checked in the line_locations table, as the standard PO created through front end does the same.
    Let me know how you go.
    Thanks,
    PS.

  • API for updating pay_people_groups table..

    Hi,
    Is there any API for updating pay_people_groups table. I know we can do it using hr_assignment_api.update_emp_asg_criteria but this API updates the assignement with the new pay_group_id. I want to know is there is any API which can only update the pay_people_groups and not the assignment.
    Regards,
    Shabana.

    Hi,
    Technically you want update values for people group. If you remember At the time of definition of people group you created value set and attached people group flex field.
    People group are created on the basis of combination of segments. So you have to update only values not people group.
    I doubt oracle provides API to update key flex field.
    You may get API to update values try out that option.
    Hope this helps.
    Sathish

  • API to update ap_invoices_all table

    Hello all,
    is there any API to update ap_invoices_all table? Please let me know.
    thanks,

    Oracle uses AP_INVOICES_PKG API (Update_Row procedure) internally, but I believe you cannot use this API directly -- http://etrm.oracle.com/pls/et1211d9/etrm_pnav.show_object?c_name=AP_INVOICES_PKG&c_owner=APPS&c_type=PACKAGE
    Please log a SR to confirm this with Oracle Support.
    Thanks,
    Hussein

  • API for Updating fileds in cn_payment_transactions_all table(OIC module)

    Hi,
    I have a requirement to put the Sales Commission Lines (Oracle Incentive Compensation module) on hold for a particular Salesperson if the corresponding invoice line has an amount due not equal to zero.
    Now to put the commission lines on hold I need to update the hold_flag of the cn_payment_transactions_all table.
    I need help to find the API which I can use to update the hold_flag.I searched metalink on the same but did not find anything suitable.
    Please advice which API I should use or any reference where I can find any suitable documents on that.Can i update the hold_flag directly in case i do not find any API to update this flag.
    Thanks in advance......
    Regards
    Subhabrata
    Edited by: user10816003 on Dec 28, 2009 6:05 AM

    Hi Subhabrata,
    I am not sure if there is any standard API to do this update.
    Looks like you have requirement to pay the commission only when the invoice is fully paid.
    Customizing like this is not the best option. There are outbox ways to design the collection/plan so that you pay commission when the invoice is paid.
    Thanks
    Srini Parimi
    Edited by: user12263675 on Dec 29, 2009 10:40 AM

  • API to update mtl_item_sub_inventories table.

    Hi All,
    Can anyone please let me know if there is any API to update mtl_item_sub_inventories table.
    Regards,
    Shruti

    Hi All,
    Some time back I had posted the question on how I can update the mtl_item_sub_inventories table.
    Now, I have a requirement that based on certain criteria, I have to update the min max quantities and lead time at subinventory or org level respectively.
    For the updation at subinventory, i can use csp_item_sub_inventories_pkg, but how to do the same at org level.
    Regards,
    Shruti

  • Need a PLSQL API for update the oe_order_headers_all table

    Hi all,
    I need a PLSQL API for update the oe_order_headers_all table.
    Anyone know please help me.
    Regards,
    M.Soundrapandian.

    Use the Process Order API to update this table.
    Note: 746787.1 - Process Order API In Order Management
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=746787.1
    Oracle Order Management Open Interfaces, API, & Electronic Messaging Guide
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/115omapi.zip
    Oracle Integration Repository
    http://irep.oracle.com

  • How to update Purchase requisition number in EBAN table through ME51n?

    Hi Guru,
    I know thoes user exit as below use for ME51N.
    EXIT_SAPLMEREQ_005
    EXIT_SAPLEBND_001
    EXIT_SAPLMEREQ_010
    But I don't know which use exit  effect after saving  PR number in EBAN table and which field  to tick PR number = '0010000111'  in order to I want update  number 00100001111 in EBAN  table after clicking save in ME51N.
    I need it soon . Please help me,
    Thank you so much guru.

    Hi,
    Try with this BADI ME_PROCESS_REQ_CUST and create a new implementation under POST. That would give us the generated new PR number and using that we can access the relevant tables.
    And also try this exit given Below EXIT_SAPLMEREQ_009 Document Number Assignment: Purchase Requisition
    Regards
    kk
    Edited by: Krishna KiranN on Dec 20, 2011 5:28 AM

  • API In AR to update Printing Option in ra_customer_trx table

    Hi,
    I need your help to find out an API to update the printing_option in rs_customer_trx for type "INVOICE-OKS", my requirement is to update the printing_option to 'NOT' when it is printed once. I have found the api (AR_TRANSACTION_PUB) but it is erroring out saying
    Error Message: You cannot update posted transactions.
    Error Message: There has been activity against this transaction. You cannot update it.
    Error Message: You cannot update printed transactions.
    L_RETURN_STATUS E
    ORA-0000: normal, successful completion
    Please reply me if anyone have used this api or got this error message when used.
    Thanks,
    Sravan

    Oracle typically does not provide APIs for ATTRIBUTE columns as these need to be maintained by customers.
    HTH
    Srini

  • How to Update Particular row in a table from OAF page

    Hi Can anyone please help me on the following requirement:
    In my oaf page i am displaying table values(supplier site details from base tables) with update and delete icons . When i click on update button a new page opens in which we used to update the values and click on apply button which again comes back to the original page.
    So when i click on apply button on update page i have to first search for the site in the site table whether it exists or not, if not exists i have to create a new row and save the data, if site exists in the table i have to update the row of a table for that particular site. I have written code for this but unable to achive the requirement, it is not updating the existing row of the table. And i am doing all this on the Temp tables.
    So now when i save, previous transaction is also updating along with the current transaction. That means when i m trying to save 2nd transaction values , 1st transactions values are getting updated with the 2nd transaction values(2 rows are getting updated)
    Can anyone help me with the code used for updating the current row of the table. Please correct me if i m doing anyting wrong in code.
    following is the current code i m using and which is failing :
    Controller Code
    if(pcontactaction.equals("createECdetailsEvent")) {
    String currentSiteName=pageContext.getParameter("SiteName");
    System.out.println("Selected Site Name is : " + currentSiteName);
    Serializable x[]={reqNum,suppId,currentSiteName,pnotifMethod,pfaxNum};
    System.out.println("Invoking AM Method.........");
    am.invokeMethod("initCreateECDetails",x);
    System.out.println("initCreateECDetails Method Executed. ");
    //am.invokeMethod("save");
    localOAApplicationModule.getTransaction().commit();
    pageContext.setForwardURL(
    "OA.jsp?page=/oracle/apps/floaf/flpos/supregister/webui/ECDetailsPG"
    , null //not needed as we are retaining menu context
    ,OAWebBeanConstants.KEEP_MENU_CONTEXT
    , null //not needed as we are retaining menu context
    ,null // no parameters are needed
    ,true //retain AM
    ,OAWebBeanConstants.ADD_BREAD_CRUMB_NO
    ,OAWebBeanConstants.IGNORE_MESSAGES);
    AM Code
    public void initUpdateECDetails(String request_number,String supplier_id,String site_name,String site_id,String notification_method,String fax_number)
    OADBTransaction localOADBTransaction = getOADBTransaction();
    String siteToUpdate;
    siteToUpdate=site_name;
    String siteidToUpdate;
    siteidToUpdate=site_id;
    System.out.println("Site Name to Update or Create is : " + siteToUpdate);
    System.out.println("Site Id to Update or Create is : " + siteidToUpdate);
    System.out.println("Inside Update EC Details MEthod.");
    OAViewObject suppSiteDetVO = getFLPOSSuppSiteDetailsVO1();
    FLPOSSuppSiteDetailsVORowImpl sro=null;
    String existingWhereClause = suppSiteDetVO.getWhereClause();
    suppSiteDetVO.setWhereClause(null);
    suppSiteDetVO.setWhereClauseParams(null);
    suppSiteDetVO.setWhereClause("SUPPLIER_ID = :1 AND REQUEST_NUMBER = :2 AND SITE_ID = :3 ");
    suppSiteDetVO.setWhereClauseParam(0, supplier_id);
    suppSiteDetVO.setWhereClauseParam(1, request_number);
    suppSiteDetVO.setWhereClauseParam(2, site_id);
    suppSiteDetVO.executeQuery();
    suppSiteDetVO.setWhereClauseParams(null);
    suppSiteDetVO.setWhereClause(existingWhereClause);
    int rowcount = suppSiteDetVO.getRowCount();
    System.out.println("Fetched Rows : " + rowcount);
    if (rowcount == 0) {
    Row row = suppSiteDetVO.createRow();
    System.out.println("Row is : " +row);
    suppSiteDetVO.insertRow(row);
    String siteId = getOADBTransaction().getSequenceValue("FLPOS_SITE_ID_SEQ").toString();
    System.out.println("New Site ID : " + siteId);
    row.setNewRowState(Row.STATUS_INITIALIZED);
    row.setAttribute("RequestNumber", request_number);
    row.setAttribute("SupplierId", supplier_id);
    row.setAttribute("SiteName", site_name);
    row.setAttribute("SiteId", siteId);
    row.setAttribute("FaxNo",fax_number);
    row.setAttribute("NotificationMethod",notification_method);
    System.out.println("New Row Created for Supplier Site.");
    System.out.println("Data Saved to table.");
    else{
    System.out.println("Inside Else Block ");
    try {
    System.out.println("Inside Try Block ");
    Row[] row = suppSiteDetVO.getAllRowsInRange();
    for (int i = 0; i < rowcount; i++) {
    sro = (FLPOSSuppSiteDetailsVORowImpl)row;
    String psiteName=sro.getSiteName();
    Number psiteid=sro.getSiteId();
    System.out.println(" p Site Name is : " +psiteName);
    System.out.println(" p site id is " +psiteid);
    if(psiteid.equals(siteidToUpdate) ) {
    sro.setAttribute("FaxNo",fax_number);
    sro.setAttribute("NotificationMethod",notification_method);
    //getOADBTransaction().commit();
    break;
    catch (Exception e) {
    System.out.println("Exception in update : " + e);
    }

    Please answer following:
    1. Are you using EO based VOs or ReadOnly VO?
    2. What is your VO Query for the search and update?
    3. Why have you based your logic on site_name; you should have used site_id?
    4.Are you getting correct site name in handling createECdetailsEvent event in CO?
    5. In case of update are you getting correct values on the Update Site Details?
    6. On coming back from Update page to Supplier Site Search page, do you see old values of the site or the new values in the results table?
    Please share the screenshot if possible.
    -Prince
    [email protected]
    http://princekapoor82.blogspot.com

  • Get Error while update the User defined row table through DSK Code

    Hi experts,
    I have got an error while updating the user row defined table.
    Error is - "Invalid row"
    I have created one master table "@CBF_FARM " and Child table "@CBF_FAR1"
    First i inserted 5 record in the child table so in my my child table there are 5 Line id (1,2,3,4,5 one for each row).
    after that i delete 2 rows (3rd & 4th row) from child table now in my child table there are 3 rows( Line id 1, 2, 5). Please See attachment.
    Now i am updating  the last record of child table through Code  (Line id is 5)  from other form, then i got error  invalid row.
    Following Code used for updating the user defined child table.
      SAPbobsCOM.GeneralService oGeneralService1 = null;
                                    SAPbobsCOM.GeneralData oGeneralData1 = null;
                                    SAPbobsCOM.GeneralDataParams oGeneralParams1 = null;
                                    SAPbobsCOM.CompanyService sCmp1 = null;
                                    SAPbobsCOM.GeneralData oChild1 = null;
                                    SAPbobsCOM.GeneralDataCollection oChildren1 = null;
                                    sCmp1 = clsAddOn.LDNA_Company.GetCompanyService();
                                    oGeneralService1 = sCmp1.GetGeneralService("CBF_FARM");
                                    // Get UDO record
                                    oGeneralParams1 = ((SAPbobsCOM.GeneralDataParams)(oGeneralService1.GetDataInterface(SAPbobsCOM.GeneralServiceDataInterfaces.gsGeneralDataParams)));
                                    oGeneralParams1.SetProperty("Code", oForm.Items.Item("edtFarmCd").Specific.Value);
                                    oGeneralData1 = oGeneralService1.GetByParams(oGeneralParams1);
                                    // Add lines on UDO Child Table
                                    oChildren1 = oGeneralData1.Child("CBF_FAR1");
                                    // Create data for rows in the child table
                                    SAPbouiCOM.Item oItem = oForm.Items.Item("cmbShed");
                                    oCombo = oItem.Specific;
                                    string ShedCode = oCombo.Selected.Value;
                                    ldna_Rec = clsAddOn.LDNA_Company.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset);
                                    string strQuery1 = "select LineId from [@CBF_FAR1] where U_ShedCd = " + ShedCode;
                                    ldna_Rec.DoQuery(strQuery1);
                                    oChild1 = oChildren1.Item(ldna_Rec.Fields.Item("LineId").Value - 1);
                                    oChild1.SetProperty("U_Status", "Ready For Schedule");
                                    //Update the UDO Record
                                    oGeneralService1.Update(oGeneralData1);
    Please Help me it is an urgent requirement,
    -Regards
    Vikas

    hi.
    Error is - "Invalid row"
    Now i am updating  the last record of child table through Code  (Line id is 5)  from other form, then i got error  invalid row.
    As per my knowledge
    What i understood is you have 5 lines and you are going to be update 5th line
    am i correct..
    while u are updating the line in child table
    you have to consider like this..
    line number         u have to update like
    1                                        0
    2                                        1
    3                                        2
    4                                        3
    5                                        4
    which means in child table treat
    line 1  as 0
    line 2 as  1
    line 5 as 4
    If you want to update the line 5 u have to mention 4 th line

  • Need help in SQL Query: Update a row in a table & insert the same row into another table

    I want to update a row in a table say Table A and the updated row should be inserted into another table say Table B. I need to do it in a single SQL query and i don't want to do it in PL/SQL with triggers. And i tried with MERGE statement but its working with this scenario. (Note: I'm using Oracle Database 10g Enterprise Edition Release 10.2.0.1.0).
    Thanks in Advance.

    Using Sven's code as an example, you could save the updated row in a sql plus variable. (also untested):
    SQL> var v_id number
    update tableA  
    set colB='ABC' 
    where colC='XYZ' 
    returning id into :v_id;
    insert into table A_History (ID, colA, colB, ColC)  
    select id, ColA, ColB, ColC  
    from tableA  
    where id = :v_id;   

  • Updating a field in multiple tables at the same time

    Hi All,
    I have a table with right and wrong values of a field 'id'. I want to replace the wrong values in all the tables at all_tab_columns with the right values. I did the following and it did not work. Please help.
    CREATE OR REPLACE PROCEDURE Clean_ID_Proc(v_id number) IS
    right_id number;
    v_table_name varchar2(100);
    BEGIN  
        Select correct_id into right_id from tb_id
        where wrong_id = v_id;
        FOR table_cur IN (select * from all_tab_columns
                            where column_name = 'ID')
        LOOP
          EXECUTE IMMEDIATE 'update '||table_cur.table_name||'  set id = '||right_id||' where id ='|| v_id;
        END LOOP;     
    END;The error I have been getting is :
    [1]: ORA-00942: table or view does not exist
    [1]: ORA-06512: at "schema.CLEAN_ID_PROC", line 12
    [1]: ORA-06512: at line 1
    Thanks in advance

    user7415666 wrote:
    Hi All,
    I have a table with right and wrong values of a field 'id'. I want to replace the wrong values in all the tables at all_tab_columns with the right values. I did the following and it did not work. Please help.
    CREATE OR REPLACE PROCEDURE Clean_ID_Proc(v_id number) IS
    right_id number;
    v_table_name varchar2(100);
    BEGIN  
    Select correct_id into right_id from tb_id
    where wrong_id = v_id;
    FOR table_cur IN (select * from all_tab_columns
    where column_name = 'ID')
    LOOP
    EXECUTE IMMEDIATE 'update '||table_cur.table_name||'  set id = '||right_id||' where id ='|| v_id;
    END LOOP;     
    END;The error I have been getting is :
    [1]: ORA-00942: table or view does not exist
    [1]: ORA-06512: at "schema.CLEAN_ID_PROC", line 12
    [1]: ORA-06512: at line 1
    Thanks in advancewhat is the actual table_name of the table being updated?
    who owns this table?
    which USER owns & runs posted code?
    why did you bother populating TB_ID table instead of doing the UPDATE at that time?

Maybe you are looking for

  • How to use quick link property in the km navigation iview

    Hi all I have requirement. T structured lables one on top and rest 12 at the bottem in 3 columns, 4 rows. when i click the lable it should connect to a  respective folder in the KM this entire page have to be connected to a folder link...ie when i cl

  • HT1918 remove my credit card from my account

    I want to remove my credit card account from my itunes account.

  • Analog Fedback for position control

    Hi all, Its been a long time since I have written into this discussion forum. I have a question. Till now I have been using encoder as a feedback device for position control in PCI 7342 motion controller. Now I want to know about position control usi

  • Diagnostics

    Hey folks Is there any way to get diagnostics from the AEX itself? logs/config etc? Mine drops from my network after a few days, normally the green light stays on but I can't find it in Airport Utility from either my MBP or Mac Mini. I am pretty sure

  • Help with a magically appearing Server

    Hey all, I don't know what else to title this post. I have searched everything I can think of for an answer and I just can't figure this one out! I use this Mac in a business setting. We have a PC servers we connect to for different things. OKAY...NO