How do I get the name of Type of Document in passing a PO_HEADER_ID

Hello

Is it possible to get the TYPE_NAME of the PO_DOCUMENT_TYPES_ALL_TL for a PO_HEADER_ID?
Is there an API to get the name of Type of Document from PO_HEADER_ID?
Can someone help me with this please?

Thank you
Sunny

I don't know about the API, but you can choose from PO_DOCUMENT_HEADERS_VIEW.

Sandeep Gandhi

Tags: Oracle Applications

Similar Questions

  • How can I get the name of rulefiles in application with the help of custom java code.

    Hello.
    I want to get the names of rulefiles of analytical service with the help of java api.
    How can I get the name of rulefiles. What api should I use for this problem?

    Hello

    IEssCube.getOlapFileObjects () api allows you to retrieve files of rules.
    Insert this code snipid in your code, it will list all the rules files.

    IEssCube cube = olapSvr.getApplication("Sample").getCube ("Basic");
    ITR IEssIterator = cube.getOlapFileObjects (IEssOlapFileObject.TYPE_RULES);
    RFS [] IEssBaseObject = itr.getAll ();
    System.out.println ("rule file count:" + rfs.length);
    for (int i = 0; i)< rfs.length;="" i++)="">
    System.out.println ("RuleFile" + i + ":" + ((EssOlapFileObject)rfs). getName() ' ");
    }

    You can also list the data files and other objects in file by changing the IEssOlapFileObject.TYPE in getOlapFileObjects()

    Concerning
    Rajeev Singh

  • How do I get the name of a duplicated or created control and add a reminder

    Hi all

    According to the number of entry points I need, I duplicate a digital or an input string to the DuplicateCtrl function. My question is, how do I get the name and id of the control that has been created, and how can I assign a callback to it? Alternatively, it would be better to create a fresh ctrl instead of duplicate?

    Thanks in advance!

    Hi TurboMetrologist,

    Why are you trying to get the name of constant control? Remember that you cannot use this name to address control; control names are in fact simply the macros in the file associated with the UIR, include in other words, the preprocessed compiler code and everywhere where the names of PANEL_CONTROL replaces the digital value as parameters to functions (and therefore 'control' parameter is an int value and not a char *)

    That's why NewCtrl () or DuplicateCtrl () functions return a control ID: this is the handle to the new object, the only way to handle it. You will need to store this handle in a nonvolatile memory so that you can access durng life program.

    In addition, there are other ways to assign a meaning to a control to pass on the name of constant control. For example, you can use the callbackData parameter to differentiate the different copies of a control.

    Let me explain with an example. You said that you need several entries (dynamically created that you don't know in advance how many of them use); a solution could be:

    • Design a master copy of a control in the IUR Editor, where it is easy to customize; also assign a callback function, if it must be common to all copies of the control
    • Assign a value to this control callbackData, programmatically for example SetCtrlAttribute (...,..., ATTR_CALLBACK_DATA, (void *) 1);
    • Duplicate the control, and then assign a different callbackData
      for (i = 2; I have< 5;="" i++)="">
      handle = DuplicateCtrl (...);
      SetCtrlAttribute (..., handle, ATTR_CALLBACK_DATA, (void *) I);
      }

    By operating this way, whenever the reminder of control is triggered by any control, it will receive the callbackData assigned, and you will be able to differentiate your code with a simple switch:

    switch (callbackData (int)) {}

    case 1: / / the master controls

    break;

    case 2: / / first dual control

    break;

    }

  • How can I get the name of the song to appear in Windows Live Messenger "show what I'm listening to '?"

    How can I get the name of the song I am listening, to see where it says show comes into contact with the song I listen to, it worked before but not now

    Please make sure that show what I'm listening is also enabled in Live Messenger itself. See the following screenshot:

    http://static.commentcamarche.NET/en.kioskea.NET/FAQ/images/0-BeQo7AgV-John-s-.PNG

  • How do I get the name of the caller (no contacts) that displays on the incoming call screen?

    Hi all
    1. work on the version of BB storm (9500/9530 Simulator) is v4.7.0.75
    2 opportunity BB JDE v4.7

    3. signed request

    4. the request is:

    I need to get the name of the appellant on the screen programmatically incall.
    I have observed that there are some providers will provide some default/a name on-screen incall.

    Note: I am not match the number of incall in contacts and look for the name.

    How do I get the name of the caller (no contacts) that displays on the incoming call screen?

    can any body help on this.

    Thanks in advance

    Ratna-

    There is no API that provides this information.  You can get the number of incoming callers, but not the name of caller ID.

  • How can I get the name of the procedure

    Hello

    With the help of our application, we update a table (P_Balance) in the statement of account and date thanks to certain procedures.

    in some column of status situation alone expects to obtain the correct value, but the date column with the value NULL.

    Now, we have decided to follow this through which procedure to get this updated value null date column.

    To do this, I decided to write a trigger for the table 'P_BALANCE' by what procedure, this update going on.

    How can I get the name of the procedure.

    Hello

    You can write the call stack in a log whenever the value of the column is null. See

    DBMS_UTILITY. FORMAT_CALL_STACK

    This will give you the name of the object and the line numbers of the update program.

    Concerning

    Marcus

  • How can we get the names of police of every text layer in a document?

    Hi all!

    I wanted to know how we can get the names of fonts applied in each text layer in a psd file. I tried the following,

    NumLayers Int32 = 0;

    calculate the number of text layers.

    error = PIUGetInfo (classTextLayer, keyCount and numLayers, NULL);

    for (int i = numLayers - 1; i > 0;--i)

    {

    char * fontName = new char [100];

    Int32 len = 100;

    get the name of the font of each layer by index.

    error = PIUGetInfoByIndex (I, classTextLayer, keyFontName, fontName and len);

    }

    Suppose I have a document that has 2 layers of text and 2 layers of solid color as shown in the screenshot. Note that this document does not have a background layer. So, number of layers is 4.

    Forum.JPG

    If the layer is a layer of solid color, then I get the number of layers 0. But, if the selection of the layer is at all layers of text, I get number of layers 4. Why not get the number of layers 2 I requested info in the instruction text layers, PIUGetInfo (classTextLayer, keyCount and numLayers, NULL).

    In addition, I get error =-25922 to PIUGetInfoByIndex (I, classTextLayer, keyFontName, fontName and len).

    which is errReferenceNotFoundDefine.

    How can I go about it?

    Thank you!

    Hello

    I usually have "remember" United in what image is and then start working on it. This allowes me to iterate through layers when draft information or perform an action, and then set the document (in the previous state, with this wantsof user change course). Using this approach I am using index layers, but I don't know as I work on the layer is curently active layer.

    Now

    Getting the numbers of layer in a document:

    SPErr AMAutoPlugin::GetLayNum()

    {

    SPErr error = kSPNoError;

    numLayers Int32;

    Result PIActionDescriptor = NULL;

    Reference PIActionReference = NULL;

    error = sPSActionReference-> Make (& reference);

    If (error) goto returnError;

    error is sPSActionReference-> PutEnumerated(reference,classDocument,typeOrdinal,enumTarget);.

    If (error) goto returnError;

    error is sPSActionControl-> Get (& result, reference);.

    If (error) goto returnError;

    error = sPSActionDescriptor-> GetInteger (result, keyNumberOfLayers, & numLayers);

    If (error) goto returnError;

    stDocData.iNumLayers=numLayers;// is just my overall

    returnError:

    If (result! = NULL) sPSActionDescriptor-> Free (result);

    If (reference! = NULL) sPSActionReference-> Free (reference);

    error return;

    }

    Here is a part of the code (I hope you can understand that I have cut out a lot of)

    code that is not necessary in order to shorten the post) that retrieves the names of fonts.

    I used this approach since I have to get a lot more detailed information about text layers (not prsented here)

    I guess bu using routines from PIUGetInfoByIndex to aproprite, you can do much shorter.

    SPErr AMAutoPlugin::GetTextLayerAttributes(int index, TxtLayerInfo* info)

    {

    In order to clarify

    'info' is my structure that I filled with the data I need you can use somethong that suites you

    //

    UInt32 stringLength = 0;

    UInt32 STRL = 0;

    "" fontName char [255] = "";

    "" chariot of fontStyle [255] = "";

    "" char fontPSname [255] = "";

    HasKey Boolean = false;

    SPErr error = kSPNoError;

    DescriptorTypeID runtimeKeyID;

    DescriptorTypeID runtimeClassID;

    DescriptorTypeID runtimeTypeID;

    DescriptorTypeID runtimeUnitID;

    DescriptorTypeID runtimeEnumID;

    DescriptorClassID descClass;

    DescriptorEnumID enumValue.

    PIActionList listTextStyle = NULL;

    PIActionDescriptor descLayer = NULL; / / *

    PIActionDescriptor descPosition = NULL;

    PIActionDescriptor descTextLayer = NULL;

    PIActionDescriptor descTextStyle = NULL;

    PIActionDescriptor descFont = NULL;

    PIActionDescriptor descFontColor = NULL;

    PIActionDescriptor descClickPoint = NULL;

    PIActionDescriptor desclayerLocking = NULL;

    PIActionDescriptor descEFFECTS = NULL;

    error = sPSActionDescriptor-> Make (& descLayer);

    If (error) goto returnError;

    error = sPSActionDescriptor-> Make (& descTextLayer);

    If (error) goto returnError;

    error = sPSActionDescriptor-> Make (& descTextStyle);

    If (error) goto returnError;

    error = sPSActionList-> Make (& listTextStyle);

    If (error) goto returnError;

    error = sPSActionDescriptor-> Make (& descFont);

    If (error) goto returnError;

    error = PIUGetInfoByIndex(index,classLayer,0,&descLayer,);

    If (error) goto returnError;

    text

    error is PIUGetSingleItemFromDescriptor (descLayer, keyText, & descTextLayer, & descClass);.

    If (error) goto returnError;

    //

    get the police handle

    error = sPSActionDescriptor-> GetList (descTextLayer, keyTextStyleRange, & listTextStyle);

    If (error) goto returnError;

    error = sPSActionList-> GetObject (listTextStyle, 0, & descClass, & descTextStyle);

    If (error) goto returnError;

    error is PIUGetSingleItemFromDescriptor (descTextStyle, keyTextStyle, & descFont, & descClass);.

    If (error) goto returnError;

    font size

    error = sPSActionDescriptor-> GetFloat (descFont, keySizeKey, & dFontSize);

    If (error) goto returnError;

    Info-> dFontSize = dFontSize;

    name of the font

    error = sPSActionDescriptor-> GetStringLength (descFont, keyFontName, & stringLength);

    If (error) goto returnError;

    stringLength += 2;

    error = sPSActionDescriptor-> GetString (descFont, keyFontName, fontName, stringLength);

    If (error) goto returnError;

    Info-> sFName = fontName;

    NAME OF FONT PS

    error = sPSActionControl-> StringIDToTypeID ("fontPostScriptName", & runtimeKeyID);

    If (error) goto returnError;

    error = sPSActionDescriptor-> GetStringLength (descFont, runtimeKeyID, &STRL);)

    If (error) goto returnError;

    STRL += 2;

    error = sPSActionDescriptor-> GetString (descFont, runtimeKeyID, fontPSname, STRL);

    If (error) goto returnError;

    Info-> sPSName = fontPSname;

    font name style

    error = sPSActionDescriptor-> GetStringLength (descFont, keyFontStyleName, & stringLength);

    If (error) goto returnError;

    stringLength += 2;

    error = sPSActionDescriptor-> GetString (descFont, keyFontStyleName, fontStyle, stringLength);

    If (error) goto returnError;

    Info-> sFStyle = fontStyle;

    etc...

    Hope this helps,

    Kind regards

    Momir

  • Getting the name of a new document returns an empty string.

    When I try to get the name of a new document name an empty string is returned.

    Why this is happening? Is it possible to get the "Untitled1.fm" I see in the application Adobe FM 2015?

    It's the FDK API call that I use:

    F_ApiGetString(FV_SessionId, docId, FP_Name);
    

    Try FP_Label instead of FP_Name.

  • How can I get the name of the package where a table is used

    Hello... Hello...

    How can I know the name of the package or procedures where a particular table is used?

    is there a such sql query, I can get the names?

    It should work. Not tested.

    SELECT *
      FROM USER_DEPENDENCIES
     WHERE     TYPE LIKE 'PACKAGE%'
           AND REFERENCED_TYPE = 'TABLE'
           AND REFERENCED_NAME = 'YOUR_TABLE_NAME'  --Replace with the table name you are looking for
    

    G.

    Edited by: g. on February 23, 2011 12:42 AM

  • How can I get the name of the images in my package of res?

    Hello

    I have a lot of images in the "res" my project package. I need to get the names of these files and save them in a table. How can I do?

    Thank you.

    There is no API to do this, your application must "know" the names of the images.

  • How can I get the name of Contact? ~

    now, I opened a list of contacts,

    Contact list BlackBerryContactList = (BlackBerryContactList) BlackBerryPIM.getInstance () .openPIMList (BlackBerryPIM.CONTACT_LIST, BlackBerryPIM.READ_ONLY);
    Contact BlackBerryContact = (BlackBerryContact) contactList.choose ();

    I want to get the name of the contact that I choose, how can I do?

    I use

    String contactName = contact.getString (BlackBerryContact.NAME, 0);

    but can not have, how to use these Field summary FORMATTED_NAME ,NAME ?

    final String[] name = contact.getStringArray(Contact.NAME, 0);
            final String firstName = name[Contact.NAME_GIVEN];
            final String lastName = name[Contact.NAME_FAMILY];
    

    Check this link below.

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800363/How_To _...

  • How can I get the name of an instance of the applied effect?

    We have a plug-in effects after (written using the SDK), and we would like to get the name of an instance of an effect applied. For example, if my name of the installed effect is "FoofooBerry", and the customer applied two effects of FoofooBerry, it would be named "FoofooBerry" and the other named "FoofooBerry 2".

    In the documentation, it is said:


    «To get the name of the instance of the effect (as renamed by the user), get the AEGP_StreamRef for the effect itself and call AEGP_GetStreamName.»

    Which seems to be what I want to do, but how we "get the AEGP_StreamRef for the effect itself" escapes me.

    I have tried iterating over all flow on the effect and control of these devices, but I don't see anything useful. Someone knows how to get the ref to flow for effect (not a stream on this effect)?

    I also asked this question on StackOverflow, but unsurprisingly, had no luck (not a bunch of AE experts out there).

    Thank you.

    Hey,.

    You can do this for examlpe of this way:

    get plugin_id with AEGP_RegisterWithAEGP, if you probably already know how to

    then

    AEGP_GetNewEffectForEffect

    AEGP_GetNewEffectStreamByIndex, say for the parameter index 1

    AEGP_GetNewParentStreamRef

    AEGP_GetStreamName

    AEGP_LockMemHandle - This is your wchar_t instance name!

    welcome them

  • How do I get the name of the file that is read by the file adapter

    Hello

    I read the file using the file adapter that I also want to pass the name of the file with the contents of the file
    How can I do this, or how to get the name of the file that is read by the process.

    Please advice

    Thank you
    Yatan

    Hi Yatan,

    You can use the file in/out header WSDL to get the name of the file.
    http://download.Oracle.com/docs/CD/B31017_01/integrate.1013/b28994/adptr_file.htm#CIAFJCCE

    Kind regards
    Yohanna.

  • How can I get the name of the current page and the number?

    Hello world!

    Anyone know how to get the name of the current page and the number? What variable I should he request?

    Thanks in advance!

    The question of the application defined by the system: APP_PAGE_ID is the page number. For the name of the page, you will need to query the view of Apex with something like this:

    Select PAGE_NAME
    of APEX_APPLICATION_PAGES
    where PAGE_ID =: APP_PAGE_ID

    Good luck

    Stew

    PS Feel free to mark this reply as being correct, so it is.

  • How can I get the name of a symbol and move to a variable?

    Hello! Is posible to get the name of a symbol and move to a variable?

    Thank you

    Sonia

    sym.getSymbolTypeName () returns the name of the current symbol. I mean the name of the current symbol.

Maybe you are looking for