OPM quality specification API and API rules of validity

Hello

I wanted to create a specification of quality and its rules of validity to the underside of the API Help, did someone could provide examples of scripts for the same, I would really appreciate your help on this?

gmd_spec_pub. CREATE_SPEC

gmd_spec_vrs_pub. CREATE_WIP_SPEC_VRS

gmd_spec_vrs_pub. CREATE_INVENTORY_SPEC_VRS

gmd_spec_vrs_pub. CREATE_CUSTOMER_SPEC_VRS

gmd_spec_vrs_pub. CREATE_SUPPLIER_SPEC_VRS

Thank you

RAM

l_gmd_spec_tbl: = NULL;

l_gmd_spec_tbl.spec_id: = NULL;

l_gmd_spec_tbl.spec_name: = spec_rec.spec_name;

l_gmd_spec_tbl.spec_vers: = spec_rec.spec_vers;

l_gmd_spec_tbl.spec_desc: = spec_rec.spec_desc;

l_gmd_spec_tbl.inventory_item_id: = spec_rec.inventory_item_id;

l_gmd_spec_tbl. Review: = NULL;

l_gmd_spec_tbl.grade_code: = NULL;

l_gmd_spec_tbl.spec_status: = gn_status;

l_gmd_spec_tbl.owner_organization_id: = spec_rec.organization_id;

l_gmd_spec_tbl.owner_id: = l_user_id;

l_gmd_spec_tbl.sample_inv_trans_ind: = NULL;

l_gmd_spec_tbl.delete_mark: = 0;

l_gmd_spec_tbl.text_code: = NULL;

l_gmd_spec_tbl. CREATION_DATE: = gd_sysdate;

l_gmd_spec_tbl.created_by: = l_user_id;

l_gmd_spec_tbl.last_updated_by: = l_user_id;

l_gmd_spec_tbl.last_update_date: = gd_sysdate;

l_gmd_spec_tbl.last_update_login: = l_user_id;

l_gmd_spec_tbl.spec_type: = 'I ';                     -lc_spec_type;

l_gmd_spec_tbl.overlay_ind: = NULL;

l_gmd_spec_tbl.base_spec_id: = NULL;

l_spec_tests_tbl: = NULL;

l_count: = 1;

l_spec_tests_tbl (ln_count) .spec_id: = NULL;

l_spec_tests_tbl (ln_count) .test_id: = l_test_id;

l_spec_tests_tbl (ln_count) .test_method_id: = l_test_method_id;

l_spec_tests_tbl (ln_count) .seq: = l_seq;

l_spec_tests_tbl (ln_count) .test_qty: = l_qty;

l_spec_tests_tbl (ln_count) .test_qty_uom: = l_uom;

l_spec_tests_tbl (ln_count) .min_value_num: = l_min_value_num;

l_spec_tests_tbl (ln_count) .target_value_num: = l_target;

l_spec_tests_tbl (ln_count) .max_value_num: = l_max_value_num;

l_spec_tests_tbl (ln_count) .min_value_char: = null;

l_spec_tests_tbl (ln_count) .target_value_char: = null;

l_spec_tests_tbl (ln_count) .max_value_char: = null;

l_spec_tests_tbl (ln_count) .test_replicate: = 1;

l_spec_tests_tbl (ln_count) .check_result_interval: = 1;

l_spec_tests_tbl (ln_count) .display_precision: = l_display_precision;

l_spec_tests_tbl (ln_count) .report_precision: = l_report_precision;

l_spec_tests_tbl (ln_count) .test_priority: = NULL;

l_spec_tests_tbl (ln_count) .optional_ind: = Upper (substr (spec_test_rec.optional_ind, 1, 1));

l_spec_tests_tbl (ln_count) .retest_lot_expiry_ind: = Upper (substr (spec_test_rec.retest_lot_expiry_ind, 1, 1));

l_spec_tests_tbl (ln_count) .test_display: = spec_test_rec.target_desc;

l_spec_tests_tbl (ln_count) .viability_duration: = 0;

l_spec_tests_tbl (ln_count) .creation_date: = gd_sysdate;

l_spec_tests_tbl (ln_count) .created_by: = l_user_id;

l_spec_tests_tbl (ln_count) .last_updated_by: = l_user_id;

l_spec_tests_tbl (ln_count) .last_update_date: = gd_sysdate;

l_spec_tests_tbl (ln_count) .last_update_login: = l_user_id;

BEGIN

Apps.gmd_spec_pub.create_spec

(p_api_version-online 2.0

p_init_msg_list-online apps.fnd_api.g_true

p_commit-online apps.fnd_api.g_false

p_validation_level-online apps.fnd_api.g_valid_level_full

p_spec-online l_gmd_spec_tbl

p_spec_tests_tbl-online l_spec_tests_tbl

p_user_name-online l_user_name

x_spec-online x_gmd_spec_tbl

x_spec_tests_tbl-online x_spec_tests_tbl

x_return_status-online l_return_status

x_msg_count-online l_msg_count

x_msg_data-online l_msg_data

);

' IF l_return_status <> s ' THEN

l_msg: = ";

BECAUSE me in 1... l_msg_count LOOP

l_msg: = SUBSTR(l_msg ||) ' | ' || SUBSTR (apps.fnd_msg_pub.get (l_msg_count - i + 1, 'F'), 0, 200), 1, 2000);

END LOOP;

l_msg_data: = l_msg;

Apps.fnd_file.put_line (apps.fnd_file. JOURNAL,'TRACK 13.4 data :'|| l_msg_data);

END IF;

EXCEPTION

WHILE OTHERS

THEN

Apps.fnd_file.put_line (apps.fnd_file. JOURNAL,'API HAS RAISED THE ERROR: ' | SQLCODE. '-'|| SQLERRM);

Apps.fnd_file.put_line (apps.fnd_file. NEWSPAPER, "FOLLOW 13.6" | "» l_return_status);

END;

l_count: = 1;

l_inventory_spec_vrs_tbl (l_count) .spec_vr_id: = NULL;

l_inventory_spec_vrs_tbl (l_count) .spec_id: = ln_spec_id;

l_inventory_spec_vrs_tbl (l_count) .orgn_code: = 'PR1 ';

l_inventory_spec_vrs_tbl (l_count) .spec_vr_status: = 100;

l_inventory_spec_vrs_tbl (l_count) .start_date: = gd_sysdate;

"l_inventory_spec_vrs_tbl (l_count) .end_date: = December 31, 2014;

l_inventory_spec_vrs_tbl (l_count) .creation_date: = gd_sysdate;

l_inventory_spec_vrs_tbl (l_count) .created_by: = l_user_id;

l_inventory_spec_vrs_tbl (l_count) .last_updated_by: = l_user_id;

l_inventory_spec_vrs_tbl (l_count) .last_update_date: = gd_sysdate;

l_inventory_spec_vrs_tbl (l_count) .last_update_login: = l_user_id;

l_inventory_spec_vrs_tbl (l_count) .organization_id: = ln_organization_id;

BEGIN

Apps.gmd_spec_vrs_pub.create_inventory_spec_vrs

(p_api_version => ' 1.0' ")

, p_init_msg_list-online 'F'

, p_commit-online 'F'

p_validation_level-online apps.fnd_api.g_valid_level_full

p_inventory_spec_vrs_tbl-online l_inventory_spec_vrs_tbl

p_user_name-online l_user_name

x_inventory_spec_vrs_tbl-online l_inventory_spec_vrs_out_tbl

x_return_status-online l_return_status

x_msg_count-online l_msg_count

x_msg_data-online l_msg_data

);

' IF l_return_status <> s ' THEN

BECAUSE me in 1... l_msg_count LOOP

Apps.fnd_msg_pub.get (p_msg_index-online i

, p_encoded-online 'F'

p_data-online l_msg_data

p_msg_index_out-online l_msg_ind

);

END LOOP;

END IF;

EXCEPTION

WHILE OTHERS

THEN

Apps.fnd_file.put_line (apps.fnd_file. JOURNAL,'API HAS RAISED THE ERROR: ' | SQLCODE. '-'|| SQLERRM);

END;

Tags: Oracle Applications

Similar Questions

  • Abondonment of BlackBerry specific APIs?

    Howfar can I abandon the use of the API specific BlackBerry without losing the ability to write sophisticated applications?

    The idea is to reduce the use of BlackBerry specifig API to be able to port the application to other devices JavaME, I know that it is possible to implement MIDlets for BlackBerry, also. But what keyfeature what I lose if I give up the BlackBerry API?

    I had a look at the overview of the BlackBerry API. But I don't know if it should be used.

    For example the digital rights management:

    Instead of using net.rim.device.api.drm, I can use JSR 117 SATSA.

    If I do not pay much attention to achieve a BlackBerry like look & feel of the application, I can make functionailites Wifi, USB, Bluetooth connections, works with the file system and so we without BlackBerry specific APIs?

    NOTE: My application only works in a local network without using Internet and BlackBerry Enterprise Server and suchs things.

    Thank you
    EnochRoot

    I understand your point of view, but what do you consider "other J2ME devices?

    For example, a function is listed in a JSR doesn't mean that Blackberry or Android supports this feature without a need for porting. Especially when any form of networking is used, and certainly when it comes to the GUI.

    Ideally, you can simply paste using Midlets, but don't ignore the importance of a good UI appearance. If the majority of people do not keep important quality of graphical interfaces, Linux would be the dominant operating system and iPhones would be not nearly as popular as now.

    My preference is to develop a generic code base and then build the platform specific GUI and functions on top. It is best to take advantage of the features of the native platform.

  • How to make a simple slideshow DVD of a group of .jpg images?  No music, no fancy transition. iDVD &gt; magic DVD comes close, but the quality is poor and I want the images in a specific order.  I also have iLIFE ' 09, which includes iPHOTO

    How to make a simple slideshow DVD of a group of .jpg images?  No music, no fancy transition. iDVD > magic DVD comes close, but the quality is poor and I want the images in a specific order.  I also have iLIFE ' 09, which includes iPHOTO

    1. put the image files you want in the slide show in an album and genre as you want. Follow the Apple document to prepare images for iDVD: iDVD ' 09 (7.x): preparing images for iDVD slideshows

    2 - Launch iDVD and select an older theme, not animated.  You can change the background of the theme by dragging the image file of your choice, black or other, in the display pane for the menu.

    3 - Click on the button '+' and add a slideshow from the menu.

    4. double click on the sideshow button to enter the mode of construction of the slide show.

    5. in the media pane click the Photos button.

    6 - click on iPhoto and find the album you created with selected images.

    7. Select all images in the album and drag to the left in the slide show window.

    8 - Select the transition for the slideshow and the time for each slide on screen

    9 - follow this workflow to help ensure the best DVD video qualty:

    Once the project you want it save it as an image disk via the menu file → save as Disk Image . It will separate from the process of encoding of the burning process.

    To check coding mount the disk image, launch a DVD player and read it.  If it plays OK with DVD, encoding is good.

    Burn burn to disc with utility disk or toasts to the slowest speed (2 x - 4 x) in order to ensure the best quality.  Always use higher quality media: Verbatim, Maxell or Taiyo Yuden DVD-R are recommended in these forums.

  • Open interface for lists of approved suppliers and sourcing rules

    Hi all

    Is there an open interface or an API of accepted lists suppliers and sourcing rules.

    Thank you and best regards,

    MPH

    You can use the API, even if you do not use MFG.

    You must set up the sourcing
    You must enter the Organization of shipment if the SR gets other org inventory material. otherwise, you will need to enter the details of the seller.
    I think you can leave the receipt org id field.

    Hope this helps,
    Sandeep Gandhi

  • How to plan to clear all alarms in Foglight on a specific date and time?

    Here's what I want to accomplish informing a group of people that all alarms will be erased and then foglight removes all the weapons on a specific date and time

    ..

    1

    I'd like to be able to plan / create a rule or any other option available to use... to be able to send an email through foglight or notification to a specific group of people telling them that all messages will be deleted.

    2nd

    What I'm looking for must be able to clear all alarms in Foglight to a date and a specific time.

    I just noticed this has not had a response.

    I hope that you could see the information contained in the KB, some items may have been written there so I recommend for anyone who wants to use it to test on a test server or check with the support, if there are recent scripts.

    How to purge the alarms? How to program the purge of alarms? (40651)

    Clear the alarms then X days (74729)

    How to clear alarms command line? How to program the clearing of alarms? (51324)

    Is there a way to clean only certain rules specific alarms? (73003)

    How to accuse reception/Clear old messages older then X number of days automatically (72146)

    Regarding the sending of notifications on a schedule, I think the simplest if to set that plan and create a rule with a true value, which is only applicable to this annex (annex rule or rule that is valid on a precise timetable) and has the action to send the notification to users on the alarms about to be cleared/purged.

    Hope this helps

    Golan

  • How we can plan automatic updates app and icloud backup at a specific time and off-peak hours?

    How we can plan automatic updates app and icloud backup at a specific time and off-peak hours?

    It does not work like that. It cannot be scheduled for a specific time.

  • Can you backup specific files and I need to compress them?

    original title: CAN a Backup SPECIFIC FOLDERS, AND I have TO COMPRESS somehow to of NO USE 50 DISC?

    CAN I SAVE SPECIFIC FOLDERS?
    AND SHOULD I THE COMPRESS SOMEHOW DO NOT USE OF 50 DISCS?
    It is using Windows Vista backup and not having not a lot of CD - R thank you!

    Hi Darrin,

    Please take a look at the following response:

    http://social.technet.Microsoft.com/forums/en-us/WindowsBackup/thread/9ff11640-2335-4FEE-91D0-02ec23eaf622/

    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-and-restore-frequently-asked-questions

  • Filing of documents to a specific file and transfer previously filed documents to another file

    How to file the documents in a specific file and transfer has already filed documents to another file?

    How to file the documents in a specific file and transfer has already filed documents to another file?

    Pretty simple. But first you need to know if you have copy to or Move To options in your context menu.
    If you have not, here is the tutorial to install.
    http://www.howtogeek.com/HOWTO/Windows-Vista/add-copy-to-move-to-on-Windows-Vista-right-click-menu/

    Once this is done, the rest is simple > right click on the doc file > click Move To > move the folfer of your choice > click on move. For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • In PSE14, where Photomerge (specifically, HDR and panorama)?

    Where Photomerge (specifically, HDR and panorama) moved to PSE 14? In comparison tables, I see no mention of these features being deleted, but I can't find them. In PSE 13, they were under Enhance, Photomerge, then several options, including exposure (HDR), Panorama and a few others I've ever used.

    Installs Adobe Photomerge to guided pse 14.

    Photoshop elements help | What's new in Photoshop elements 14

    Photoshop elements help | Guided - mode Photomerge edits

  • How can I get specific fonts and are only they included in Creative Cloud for?

    How can I get specific fonts and are only they included in cc?

    Which fonts? There are a bunch of fonts with typeKit, which is included in the CC, but specific fonts must still be purchased individually in the respective type foundries.

    Mylenium

  • Quality H.264, and transcoding problems after update 7.1

    From the 11/1, my CC Manager was telling me about updates for After Effects, first and Flash, but every time I tried to update, the update failed. (In the error message it seemed to make a corrupt download. He said to try to download it again, but there is no option to do so.)  I found that the main for all 3 Media Encoder update, so today I downloaded and installed the update of Media Encoder 7.1 of the Adobe Web site, and then CC has been able to complete the update of the applications.  Now, when I use me to render a project from creation to the H.264 format, in general, the quality is terrible, and all files mp4 in the project get returned under a white green.

    Is there a way I can uninstill and reinstall just Media Encoder without uninstalling all CC?  I built a large number of predefined values of rendering and stuff in first and AE and I just do not want to have to go through the records of the app and find all this garbage to save.  I'm on Windows 7 Enterprise x 64 with a Quadro 4000.  I tried the only rendering software and it's the same thing.  Export directly from first instead of worked me like a charm.

    I solved the problem by downloading and installing the Premiere Pro and After Effects patches from the same place as the Media Encoder update.

    http://www.Adobe.com/support/downloads/new.jsp

    It seems to work fine now.

  • Loader class: How can I go to the specific scenes and frames?

    Is there a way to go to a specific scene and the image in the file that I'm loading using the loader class? For example, I would go to the 3 image in scene 2 of the file I am loading "File.swf".

    Here is the code I use to load the file. Now, I would go to a specific image and scene within the file:

    var LoaderHome:Loader = new Loader();

    LoaderHome.load (new URLRequest ("File.swf"));

    addChild (LoaderHome);

    Question #2

    Also, when I add the file "File.swf" should I remove the film exist for performance/memory management? If so, how would remove a child where the code is another movie?

    Before you can try to manipulate the file, you need to know that it has finished loading.  For this you need to add an event listener to the object/property contentLoaderInfo the loader.  You can then use the function handler for this listener action for the loaded file.

  • Find a specific word and change its color in InDesign

    Hello

    I was wondetring if there is a script that runs automatically on InDesign startup that can find the specific words and change the fill color of this word and this word only.

    I have a table in InDesign that fills with the name of the week (Monday, Tuesday, Wednesday, etc.), so that every time you see all the names of the week, but every day they change places. I need a script that can find, for example, the word 'Saturday' and change the color from black to yellow.

    Any help would be appreciated!

    -Windows7 CS6 Indesign

    with respect,

    Amir

    Y at - it a paragraph style applied at this time?

    If so, you can create a GREP style in the paragraph style.

    Make "new Style GREP.

    Text: Saturday

    Apply the Style: A new Style of character

    In the new character Style, only change the fill color and name the style.

    It should work.

  • ASL and Sourceing rule

    Dear Experts

    Where is the link between the FSA and rule of Sourcing...
    ex in ASL (point x or xx goods) approved provider is "yy".
    Sourcing rule u just mensioned beg 'YY' we can dimension allocation % and grade... here there is no link with the point... .where is the link... which will be the important things you should know in ASL and Sourcing rule?

    To add to the answer of MS Dash,
    As a general rule,.
    Sourcing rules will tell you the supplier.
    FSA tells you the price and release method.

    You also asked about

    where is the link

    The link is in the mission screen Sourcing rule.
    Purchase > supply base > assign rules of sourcing.

    On this screen, you assign a sourcing rule to an element. This is how Oracle knows what supply section to use for a given element / org/item-org.

    Hope this helps
    Sandeep Gandhi
    Techno-Functional consultant

  • distribution and business rule

    Hi guru

    Can we use allowance and business rules in essbase?
    It can be used only in the planning?

    can you please help me with this

    Thank you

    HBRs are BSO cubes only.

    You can launch HBRs four different ways (may be more or less applicable to you):
    (1) starting at EAS - it is for admins only
    (2) of SmartView
    (3) to a form of planning (I know, you're not in the planning, I simply mention it for completeness) good, technically true, but you must have a connection schedule to do this, and you said Essbase, do not intend.
    4) there is a pitcher of Web of trade rules. See: http://download.oracle.com/docs/cd/E17236_01/epm.1112/hbr_web.pdf
    (5) apparently I'm a bad meter. For ODI, see: http://john-goodwin.blogspot.com/2009/07/odi-series-executing-hyperion-business.html

    I'll bet that #4 is what you want.

    You can certainly use against plain old HBRs Essbase BSO. It's your choice if you use graphics or improved calc scripts.

    Kind regards

    Cameron Lackpour

    PS It is also Manager of Calc, if you are so inclined.

    Published by: CL on June 4, 2010 13:20
    P.P.S. You can watch this thread: How to run a business of Hyperion Essbase Excel planning rule

Maybe you are looking for

  • Card replacement Satellite A200 power

    OK, so my adapter is dead, and I have a problem with finding a replacement. My adapter is 19V 4, 74 a, no Watt output is marked. And there are no adapters 4.74 A available in my country, the closest are 3, 95 a or 6, 3 a. On the Toshiba site I checke

  • Download photos of the Iphone 4

    I have an old Iphone 4 which have about 800 pictures stored there.  I want to download them to my PC but when I go to import from the device, a message informs you that there are no new pictures or videos to import? Maybe I copied these to another PC

  • power printer, photosmart c3210a problems

    I have a photosmart c310a wireless printer. He is still on, but unplugged. After verifying that he has been back he used to be able to save. nothing when I push the power button. don't know why the button would be bad since sound never used. suggesti

  • Median value in reports 6i

    HelloI use oracle reports 6i. In one of my report, I have average values datewise and I need median at the end of the report. But there is no function integrated to median reports 6i.How to do this?

  • Syncronize "tags" between vcenter servers

    Maybe someone already has a solution to do this, so I'll ask here until I get out all my hair.In one of our vcenter, we started the use of the tags later. Similar to this is the way we want to go, so now the challenge is to "synchronize" tags between