API to update MINORITY OWNED at supplier header

Hi,
can anybody brief me about the following API in r12 and also if have script please provide:
" POS_SUPP_CLASSIFICATION_PKG.update_bus_class_attr "
I am trying to update APPLICABLE flag and MINORITY OWNED at Suplier Header level (AP_SUPPLIERS).
Thanks,
KJ

Hi, there are no APIs that I found, either. I traced the packages in our 11i.5.10 instance that insert/update these text comments for the formula and batch, and what I found were some remnants of odd code, including obvious cases of copied files that still had comments from their prior life, unused declared variables, and a very odd approach to managing the text tables. We ended up writing our own API's to add text to batches, and I'm sure it would apply to formulas as well.
Send me an email to wolfgang dot moritz at farweststeel dot com, and I can share what we did.

Similar Messages

  • Is there an API to updated DFFs on Supplier Sites?

    I am looking for a Public API to update a DFF on various supplier sites. Any help is appreciated. Thanks!

    DECLARE
    lv_return_status varchar2(1);
    lv_msg_count number;
    lv_msg_data varchar2(2000);
    lv_vendor_id ap_suppliers.vendor_id%type;
    lv_vendor_site_id ap_supplier_sites_all.vendor_site_id%type;
    lv_vendor_rec AP_VENDOR_PUB_PKG.r_vendor_rec_type;
    lv_vendor_site AP_VENDOR_PUB_PKG.r_vendor_site_rec_type;
    l_user_id number;
    l_resp_id number;
    l_respid_id number;
    Cursor cur_vendor is
    select sup.vendor_id,
    sit.vendor_site_id,
    sit.vendor_site_code
    from ap.ap_suppliers sup,
    ap.ap_supplier_sites_all sit
    where sup.vendor_id = sit.vendor_id
    and sup.vendor_id = 15;
    BEGIN
    SELECT fnd_profile.value ('USER_ID') INTO l_user_id FROM dual;
    SELECT fnd_profile.value ('RESP_ID') INTO l_resp_id FROM dual;
    SELECT fnd_profile.value ('RESP_APPL_ID') INTO l_respid_id FROM dual;
    fnd_global.apps_initialize(l_user_id,l_resp_id, l_respid_id );
    For c_vendor in cur_vendor Loop
    lv_vendor_id:= c_vendor.vendor_id;--156001;--&VENDOR_ID;
    lv_vendor_rec.MATCH_OPTION:= 'P'; --FND_API.G_MISS_DATE; 
    lv_vendor_site.vendor_id := c_vendor.vendor_id;--156001;
    lv_vendor_site.MATCH_OPTION := 'P';
    lv_vendor_site.VENDOR_SITE_CODE := c_vendor.vendor_site_code;--'ABU DHABI';
    lv_vendor_site_id :=c_vendor.vendor_site_id;-- 3341;
    AP_VENDOR_PUB_PKG.Update_Vendor
    ( p_api_version => 1.0
    , p_init_msg_list => fnd_api.g_true
    , p_commit => fnd_api.g_false
    , p_validation_level => fnd_api.g_valid_level_full
    , x_return_status => lv_return_status
    , x_msg_count => lv_msg_count
    , x_msg_data => lv_msg_data
    , p_vendor_rec => lv_vendor_rec
    , p_vendor_id => lv_vendor_id
    --update vendor site
    ap_vendor_sites_pkg.update_row(p_vendor_site_rec => lv_vendor_site,
    p_last_update_date => sysdate,
    p_last_updated_by => -1,
    p_last_update_login => -1,
    p_request_id =>null,
    p_program_application_id =>200,
    p_program_id =>null,
    p_program_update_date =>null,
    p_vendor_site_id =>lv_vendor_site_id);
    End Loop;
    commit;
    dbms_output.put_line(lv_return_status||'-'||lv_msg_count||'-'||lv_msg_data);
    Exception when others then
    dbms_output.put_line('Error:'||sqlerrm);
    END;

  • Update ADDRESS PURPOSE FOR SUPPLIER

    I am working in R12 EBS with oracle database 10g. I have a requirement to update the 'SUPPLIER ADDRESSBOOK DETAILS'.
    ACCOUNT PAYABLES RESPONSIBILITY--> SUPPLIER-->ENTRY-->SUPPLIER-->ADDRESS BOOK-->UPDATE ADDRESS
    Then you can update the supplier address details.This page contains two sections 'ADDRESS DETAILS' and 'CONTACT DETAILS AND PURPOSE'. In 'Contact Details and Purpose' section, *'Address Purpose' column contains 3 check boxes, named, 'purchasing','payment', and 'RFQ Only'.*
    My requirement is, i have 50 suppliers, i need to check these 3 check boxes of Address Purpose' for every supplier.
    I can't do it manually for each supplier; Could anyone suggest me the solution to update 'Address Purpose' for supplier. Is there any API or INTERFACE available?
    Any Suggestion is very helpful.
    Thanks in advance.

    Hi,
    1/Do you have only these 50 suppliers in one SOB ?
    If Yes it is very easy : you have to launch the recorder with winparrot, click on each checkbox and add in the macro a loop
    (with a :BEGIN label and the Goto(:BEGIN,1) function). You can use the IfImage() function to be sure that each checkbox is checked.
    2/If you must do it for a list of 50 suppliers (and you have more than 50 suppliers in this SOB) you must record like in 1/ and :
    List the 50 suppliers in an Excel spreadsheet 1, of the XLS file $F and use the function XlsReadData($F,1, "A"&$L) where $L is the line for each supplier name.
    (use the strings "V[F11]" and "\[CTRL]V[F11]/[CTRL]" to query in forms each supplier)
    Please let us know if you succeed or need help :-) (case 1/ or /2 ?)
    Regards
    Edited by: user12065962 on 2 févr. 2011 12:31
    Edited by: user12065962 on 2 févr. 2011 12:31

  • API to Update Invoice Attributes in Oracle R12

    Hi,
    I'm looking some Oracle EBS API to update the Invoice header attributes fields in AR R12.
    If some of you can help me I will appreciate it.
    Regards.
    Fco.

    AFAIK, Oracle does not provide APIs to update ATTRIBUTE columns, since these columns store free-form customer-defined data. You can directly update ATTRIBUTE columns using SQL, taking appropriate care to not corrupt/invalidate the data in these columns.
    HTH
    Srini

  • 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

  • Problem with Time Capsule used with an External Hard Drive (with it's own power supply)

    I have a mid 2012 Macbook Pro with Mavericks installed. I have the latest Time Capsule (802.11 ac) with an external hard drive hooked up via the USB port. The external hard drive was taken from an older Mac desktop machine and is formatted correctly (Mac OS Extended Journaled). The external hard drive has it's own power supply and shows up fine when connected directly to my laptop.
    For whatever reason I CAN see the hard (LAN Storage) when in AirPort utility but I CANNOT find or access the drive from anywhere within the Finder.
    My finder settings are set this way:
    My FInder appears this way, with the Time Capsule selected:
    As you can see, the "Data" drive isn't displayed (it's not on the TIme Machine mounted drive either). The external drive "LAN Storage" isn't availailable anywhere either.
    I've tried unplugging and restarting my Time Capsule and the External Drive with no luck.
    Any advice?
    Thanks.

    Welcome to Mavericks.. and its new concept of network drives not just being hard to find like in Mountain Lion but totally invisible.
    Apple changed over Mavericks to using SMB2 by default.. broken and flawed SMB2.
    Change over to AFP by manually mounting the TC drives.
    I strongly recommend the first thing you do is change the TC names to SMB standard.. that just helps.
    Short, no spaces and pure alphanumeric.
    So rather than the very Generic THE Airport Time Capsule.. you make it even more Generic with TC1 (each subsequent TC increment the number. )
    LAN Storage is not a good name either for USB drive.. especially now that it is WAN Storage.. WStore for example.. but whatever makes sense to you.
    The name itself doesn't matter. .following the rules, short no spaces and pure alphanumeric does. Everything, conforms.
    Now in Finder.. Go, Connect to Server.
    AFP://TC1 or AFP://10.0.1.1 (you can use either the name (now that it is proper network name) or the IP address .. replace with your actual name or IP).
    The computer will find the resources and then ask you for a password.. this is required, even if default,, which is public.. so type in your password or public if you did not change it.
    Store the password in your keychain.
    The TC should now mount and all the resources on it be made available or visible.

  • 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

  • Use of APIs to update Absence info in Oracle HR/SSHR 11i

    Dear all,
    Use of APIs and Absences
    1. Can you please let me know which are the relevant APIs to update Absences Information into Oracle Human Resources Application?
    2. Where can I find relevant documentation on how to deploy these APIs?
    Thanking you in advance for your feedback
    Best regards
    Elena

    Hi Elena,
    You may find a list of the APIs in HRMS on Metalink. Just query for "APIs in HRMS". For absences you may use the following APIs: hr_absence_type_api, hr_person_absence_api
    You may create a PL/SQL program to use these APIs or alternatively use web ADI to create upload integrators. You may have to write a custom wrapper before calling these APIs if required.
    - Vikram

  • Supplier Header Levels

    We use Oracle Applications11.5.10. When changing information (banking, holds, payment terms) at the supplier header level it does not carry over to each site. If the terms are changed at the header level why is not able to be carried over and applied at each site level? It is still necessary to go into each site and make the changes too.

    Hello,
    Please check
    SWB_COND     Display start conditions
    SWB_PROCUREMENT     Define start conditions
    I hope with this you will be able to control all these settings.
    Kind regards,
    Gaurav
    PLEASE GIVE FULL POINTS FOR USEFUL REPLIES

  • API for Updating Attribute in CZ

    Hi All,
    Could you please suggest me any Standard API to update the Attribute Value in cz_config_ext_attributes.
    Thank you,
    Aush

    Could you please suggest me any Standard API to update the Attribute Value in cz_config_ext_attributes.I do not see any reference on MOS that shows what API can be used to update this table.
    Have you reviewed the documentation? -- http://www.oracle.com/technetwork/documentation/applications-167706.html
    You may also review iREP and eTRM websites.
    http://irep.oracle.com/index.html
    http://etrm.oracle.com/
    Thanks,
    Hussein

  • API to Update PARTY in R12

    Hi All,
    could you please provide me the API to update the PARTY Information in R12.
    Thank you,
    Aush

    Try:
    HZ_PARTY_V2PUB.update_person
    HZ_PARTY_V2PUB.update_group
    HZ_PARTY_V2PUB.update_organization
    Hope it helps.

  • API to update MTL_UOM_CLASS_CONVERSIONS

    Hi All,
      Please let me know the API to update MTL_UOM_CLASS_CONVERSIONS?
    Thanks...

    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

  • API to update/ create Organization EIT

    Hi All,
    I 'am trying to find the API to update/ create EITs for HR Organizations. While I can find the API to update person and assignments hr_assignment_extra_info_api/ hr_person_extra_info_api, I 'am not able to find out the API/ package for Organization EITs.
    Can you please let me know the API that I need to use to create/ update HR Organizations EITs (HR_ORGANIZATION_INFORMATION_V table). Any inputs on this will be immensely helpful.
    Thanks,
    Ganapathi

    You can APIs
    hr_organization_api.create_org_information or
    hr_organization_api.update_org_information to create / update Organization Information Types.

Maybe you are looking for

  • Storage Type 916 in the outbound delivery

    SAP GURU, When i am creating a outbound delivery against a sales order...as my Plant is warehouse mnamanged so Warehouse will automatically get determined in the delivery based on SPRO setting but i am not able to find out how storage type 916 at the

  • Cipher program.. in need of a little guidance

    I understand I posted many messages about this subject. But I just wanted to start a new thread on this as a whole. I apologize for that. Anyways I can't get this thing going right... I want to take a repeating key and encode words with it. This prog

  • Can you select a JTable row programmically??

    Seemingly a simple thing to want to do but I don't see an easy way of doing this...is there? Thanks

  • HT201304 iPad restriction settings

    If i set up an iPad with restrictions for installing apps, but leave the accounts setting to allow changes thus allowing to user to change the apple ID, can the user then connect the iPad to iTunes, change the account and install any pre-bought apps

  • Printer Spreads to single pages

    Hello. I am a digital printer and am having an issue with printer spreds. I have customer who keeps submitting a booklet they need printed in printer spreds. However that is basically usless for me since I have a digital press with impostion software