Retrieve the package setting in BI Publisher

I'm trying to get the setting in BI PUblisher a package.
I don't know how this is done or if it is possible?
I know that I can use in a where clause clause e.g. & pmaxuser, but I want to use the value of the package to display in my word template.
How to retrieve the value in my data model to use in my model of word?
Please provide a sample of what must be defined in the model.
Thanks in advance for your help.

Data model

< parameter name = "docnum" dataType = "character" defaultValue = "doc123" / >
< parameter name = "pmaxuser" dataType = defaultValue = 'c' ' character' / >
< parameter name = "pmaxdate" dataType = "date" defaultValue = "December 31, 10" / >

Package specifications

CREATE or REPLACE package pkg_bi_payable as

DOCNUM varchar2 (8); - this parameter is sent by Bi PUblisher
PMAXUSER varchar2 (30); - I want that this return to PUbliser BI
Date of PMAXDATE; - I want that this return to PUbliser BI

MaxDate Function to return a Boolean value;

END;

Package body


CREATE or REPLACE package body pkg_bi_payable
as

MaxDate Function to return a Boolean value is

Start

pmaxuser: = 'CCCCC ';
pmaxdate: = sysdate;

return (TRUE);

end;
end;

There is a setting on the data model to insert parameter in all of XML data values. So you will not need the function to retrieve it. Check the configuration manager.
Tim

Tags: Business Intelligence

Similar Questions

  • Failed to retrieve the 2 sets of LOB data

    With the help of dbms_lob.substr for the first 90 characters I am able to retrieve data for one of the 2 columns, but when I want to recover data at the same time the first column came out.

    The recovered data is 90 characters, but the width of the column continued for the rest of the width of the page. How do I format the column so that it corresponds to data? Or something else is the problem here?

    Following are excerpts from the code:

    set linesize 500
    set pagesize 9999
    NewPage Set 1
    wrap off Set
    break off Set
    Set of feedback on

    Noprint today new_value DATEVAR COLUMN
    COLUMN question_text format a90 titled "Error Description".
    Header COLUMN note_text format a90 "Note".

    , dbms_lob.substr (a.question_text, 90, 1) 'Description of the fault.
    , dbms_lob.substr (h.note_text, 90, 1) "Note".

    using oracle 9.2.0.4.0

    Thank you
    John

    It's Fine. I think I know whats going on.

    In your query, use the column like this:

    dbms_lob.substr(a.question_text,90,1) question_text
    dbms_lob.substr(h.note_text,90,1) note_text

    Since you applied the formatting on the columns question_text and note_text, but your application does not produce the same heads of column if the formatting is not applied to all.

  • The result set of BI Publisher question

    11g, Apex 3.1.2.00.02

    I am struggling to debug a problem Bi Publisher I have...

    I have a RTF model that I built using Bi Publisher Desktop.
    I have successfully he filled with data that returns simple lines every time.
    I managed that downloaded in my Apex layout report ( RL1 ) applications.
    I have successfully created a report ( RQ1 ) with 5 separate in queries query (the downloaded XML has been used to create the RTF) which refers to the presentation of the report RL1 .

    All this went well now.

    The problem came when I try to set up a data table in the output. I add my SQL that returns multiple rows to the report RQ1 query, bind a value, then download the product XML (which is filled properly)
    I load XML in Word, create a simple table in the RTF using the Bi Publisher Table Wizard, save the RTF and test technology within Word by using the option "Preview" Bi Publisher.
    I then download this RTF as RL2.

    I change the report RQ1 query to reference the report RL2 .

    When I run it, I get the new table in the document, but no data in the table.

    How to debug this?

    Where can I find that a (journal file, or something else) account of what xml is sent Bi Publisher to my server when I try to print a report?

    Gus...

    All,

    There was a bug in the APEX that caused the sets of results from a query in report to be returned in a sequence different when creating and editing a report query, only the sequence during export / printing a report query. This has been fixed in APEX 3.2.

    Kind regards
    Marc

  • Retrieve the Package of database object

    Hi, I accidentally replace my package in my schema last Friday, how do I get back? my company runs a full backup of the database and do not open flashback function in this database. How do I just get a single object without causing data recovery all the?

    Help, please... urgent.


    Vincent.

    kiddoo_81 wrote:
    I tried your method, it can only show today's changes. Thank you... I think I'll proceed with disaster recovery, get the backup of another fake base... then from there... Copy ddl package...

    Have you tried to show the time only three days before? If you get no results, then it means that the CANCELLATION information has been rewritten
    If you have backups RMAN, you can follow my video tutorial to perform a recovery after disaster
    http://kamranagayev.WordPress.com/2010/03/29/RMAN-video-tutorial-series-performing-disaster-recovery-with-RMAN/

  • How to retrieve the default setting of my browser?

    When I download all the files in the firefox browser, there is a small box that asks if you want your browser, the same operation for files as the file is downloaded automatically,
    I did and I used to pick up the old man sitting, I tried to reinstall the browser, but it is not worked! so any suggestion?

    Have you noticed this problem with no particular type of file?

    Firefox uses a header sent by the web server to assign actions to the various types of downloads. For example, the server can send application/pdf to download a PDF document or text/csv to a comma separated values file that usually open in a spreadsheet. Actually, Firefox ignores the extension of the file itself, which could be .pdf, .php, .aspx, or whatever.

    You often can review and confirm or change these settings here:

    Orange Firefox button or classic menu Tools > Options > Applications

    Edit: If the corresponding file type is not listed on this tab, you may need to do the full reset in the answer above, or you might be able to simply remove the specific settings for the MIME types file.

  • Retrieve the package dropped

    Hello

    I have a deleopment database is not backed up.
    We have accidentally dropped a package, is it possible to get it back.

    Thank you

    Please, take a look at this topic, it may help (flashback query):
    Re: Find PL/SQL Code
    However, an external version management tool is a better way.

    Nicolas.

  • pipeline function and type inside the package

    Hi all

    I'm sorry for the inconvenience, I tried to google my question before asking here...

    The question is:
    I can't compile type in the same package as my function in the pipeline?

    I have an example of a function in the package, everything works fine.
    CREATE OR REPLACE PACKAGE ZOO.pkg_cl_risk_eval  AS
    
    FUNCTION sample (p_date date, p_indicatorid number, p_ismodel number) return cl_risk_act pipelined;
    
    END;
    /
    
    CREATE OR REPLACE PACKAGE BODY pkg_cl_risk_eval is
    
    FUNCTION sample (p_date date, p_indicatorid number, p_ismodel number) return cl_risk_act pipelined IS
    v_obj cl_risk_type := cl_risk_type(NULL,NULL,NULL,NULL);
    BEGIN
    FOR e IN (
    select trunc(sysdate) as adate, 0 as cid, 0 as indicatorid, case when p_ismodel = 0 then 0 else 1 end as value from dual
                  )
    LOOP
    v_obj.adate        := e.adate;
    v_obj.cid            := e.cid;
    v_obj.indicatorid := e.indicatorid;
    v_obj.value        := e.value;
    PIPE ROW (v_obj);
    END LOOP;
    RETURN;
    end;
    
    end;
    /
    SELECT using function statement:
    select * from table(zoo.pkg_cl_risk_eval.sample(date '2011-09-30',4, 0))
    I can't compile type in the same package as my function in the pipeline?
    Currently, it is outside the package:
    DROP TYPE cl_risk_type FORCE;
    CREATE OR REPLACE TYPE cl_risk_type AS OBJECT
    ( adate date,
      cid   number(10), 
      indicatorid number(5), 
      value number(5)
    )
    / 
    
    CREATE OR REPLACE TYPE cl_risk_act AS TABLE OF cl_risk_type
    / 
    As far as I can read from this source, it is impossible, but this information can be updated.
    http://asktom.Oracle.com/pls/Apex/f?p=100:11:0:P11_QUESTION_ID:4447489221109

    Oracle version: 11g

    UPD:
    I'm sorry, I'm not paying attention... It is possible as noted in the response to my similar question:
    function in pipeline work in the package? (Oracle 11g)

    Published by: marco on December 15, 2011 07:40

    As the following State messages, my post was wrong. I withdraw without reservation.

    Published by: APC on December 15, 2011 15:30

  • Recycle the OCR in LabVIEW (retrieve the index of characters found in the set of characters file)

    Hi all

    I'm trying to recycle my set OCR file in LabVIEW. Basically, I show the reading string to the user and in case something goes not the respective character must be corrected in the charatcer set file, according to the text entered by the user. It sounds pretty simple, but I haven´t find a way retrieve the character index in the file must be recycled. For this I would be needs to know what character in the set file has been found to resemble one give read character. Do you know how I can get this info? I intend to use the OCR rename character VI.

    Best regards

    Esteban

    Hello Arroyo,

    You can retrieve the total number of characters formed using IMAQ OCR VI property and looking for property "size of char set.

    http://zone.NI.com/reference/en-XX/help/370281W-01/imaqvision/imaq_ocr_property/

    Kind regards

    Elli

  • Who remembers the name of a set of Japanese tile that came with windows 98, or came with the windows over the package?

    Who remembers the name of a set of Japanese tile that came with windows 98, or came with the windows over the package?

    Hello

    The set of tiles you speak: Desktop Taipei. This game is built with Windows 98.

  • Unable to set the name of the package

    Hello world!

    A few weeks ago, I wore my application of enyo webOS, ReadOnTouch PRO, for the BlackBerry Playbook via APK Android converter. But I had some problems with this version and approval when denied. So I decided it's better to go with native WebWorks rather than convert good APK walked, because I do not plan to publish my app for Android. So, I changed my code to make it work with WebWorks and everything works fine in the Playbook Simulator. So far so good.

    After the signature of my app and uploading it to the provider portal, I have the following message:

    File bundle (rot.bar) was rejected. Package ID is required for all .bar file. If this is an upgrade, ID of Package must match ID of Package in the bundle of original file.

    I already googled and searched on this forum, so I've read (and I thought if I understand) this link: http://devblog.blackberry.com/2012/03/package-id-rejected-by-app-world/

    I always use the same keys, as with the old version of android, but when I look at the two generated MANIFEST. MF files, they differ in the package name (and package-id). Is it possible to change my current name of package to the former? The old name of the package is com.svenziegler.readontouch.android, but when I try to name my zip file (I work with the WebWorks SDK on the command-line, mac os) for that name then bbwp fails to sign the application due to an invalid application name. I also read that the name of the zip file should not exceed 10 characters... So, I don't really have a clue what can or should I do?

    Another question: the version number in my new config.xml (no not just with the android version) are the same, as the old version of the Android manifest?

    Can someone help me please? It would be great!

    See you soon,.

    Sven

    Hello Sven,

    In your config.xml file WebWorks file must be a element. If you plug your old application name it and repackage the application (and sign with the same keys), then this may be enough to build the same Package ID. However, this will make your application name (as shown on devices) long enough.

    My recommendation, if you do not have the attachments to the application of App World you already have (i.e. it was did not for sale yet) then it would be probably easier just to create a presentation that is completely new to build your WebWorks. If you want to reuse the same name, you can change the name of the existing product to something else.

    The version number should not affect the overall Package ID. It only should be based on the Application name and the keys to sign the application for code signing.

    Let me know how it goes.

    Erik Oros

    BlackBerry Development Advisor

  • With the new cartridge is already installed, I can't retrieve the set to the top of page to complete the installation.

    Hello, I have Norton antivirus and apparently everything is installed correctly but when I click the icon on the desktop after a very short time, the message appears.  I have an Acer Aspire V3 windows 8.1 - 64 bit

    I am trying to solve this problem since last week.  No change at all.  (I uninstalled all the components of the front range of HP printers)  The printer I have is HP C6250 all-in-one.

    I followed all the steps in the HP website and a couple of nights, it seemed that everything was working, when I prayed me to turn on the printer, one of the color ink cartridges more than ink and I could not finish the job.  With the new cartridge is already installed, I can't retrieve the set to the top of page to complete the installation.

    I thank very you much.

    Unless you have installed the full software from HP support features, none of the options on the cartridges of ink or HP Diagnostics will work

    http://h10025.www1.HP.com/ewfrf/wc/softwareCategory?cc=us&LC=en&product=3308554

    And if you bought "compatible" ink cartridges and not genuine HP that you receive msgs error cartridge like the habit of these cartridges compatible function with the HP software

  • Hello. Accidentally, I bought the Adobe Lightroom 6 box set (CD ROM) support when I need to download the application. I opened the package and now can not return it. Is there a way I can be provided with a license so that I can download the software and t

    Hello. Accidentally, I bought the Adobe Lightroom 6 box set (CD ROM) support when I need to download the application. I opened the package and now can not return it. Is there a way I can be provided with a license so that I can download the software and avoid paying twice for the product? I can return the package open, if necessary. He was ordered on Amazon.ca. Thank you

    Use the serial number located inside the retail box to save the download version

    Download & install instructions https://forums.adobe.com/thread/2003339 can help

    -includes a way to go to a page to download the Adobe programs if you do not have a disk or drive

  • Could not publish the package of transfer - unknown error (failed the nfc connection)

    Hello

    I finally installed see almost all packages, only the transfer option is left.

    I have configured the server, installed a certificate, and now I want to publish the main image in the repository of transfer for the linked clone desktops.

    The beginning of the publishing process, it initializes, progress to 0% and he breaks up with an error message "could not publish the package to transfer."

    Everything is setuped very well, the repository is shared correctly, inside the folder "Processing" a new folder with the ID of the publication process is created, inside this folder is created a new folder named "work", but there is nothing inside.

    OK, I looked in the file transfer server debug log:


    2011-04-26 13:54:50, 776 < Thread-6 > [RepoMessageHelper] DEBUG message filter received: Type = RepoLifeCycle, RepoOperationName = COURSE, GUID = 6f84bcab-8f85-47f0-8fd7-8ced7dd9e90a
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] unable to connect to the server esx1.atb - potsdam.de:902: unknown error 10060 (0x274c)
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] CnxAuthdConnect: returning false because CnxAuthdConnectTCP has failed
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] CnxConnectAuthd: returning false because CnxAuthdConnect has failed
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] Cnx_Connect: returning false because CnxConnectAuthd has failed
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] Cnx_Connect: error message: unable to connect to server esx1.atb - potsdam.de:902
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] TicketNFCOperations::TicketNFCOperations: could not establish NFC connection: unable to connect to server esx1.atb - potsdam.de:902.
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] MVDIServer_CreateTransferFilesForPublish: error opening of session of the NFC.
    2011-04-26 13:54:54, 011 DEBUG < MessageFrameWorkDispatch > [ws_mvdi] MVDIServer_CreateTransferFilesForPublish: completed.
    2011-04-26 13:54:54, ERROR < MessageFrameWorkDispatch > 011 [ws_mvdi] failed to make the NFC connection to host ' esx1.atb - potsdam.de' while trying to generate files for transfer to desktop PC "serverDn.
    2011-04-26 13:54:54, ERROR 011 < PublishWorker-6f84bcab-8f85-47f0-8fd7-8ced7dd9e90a > [PublishWorker] package transfer error editing: 6f84bcab-8f85-47f0-8fd7-8ced7dd9e90a com.vmware.vdi.transfer.imagerepository.PublishWorker.run(SourceFile:123)
    com.vmware.vdi.transfer.commoncontrol.TransferServerException: Mvdi error occurred during queue: mvdi, Tip: createTransferFilesForPublish. Mvdi error code: 1
    at com.vmware.vdi.transfer.commoncontrol.TransferServerException.fromFrameworkError(SourceFile:68)
    at com.vmware.vdi.transfer.imagerepository.DiskBasedPublishWorker.a(SourceFile:402)
    at com.vmware.vdi.transfer.imagerepository.PublishWorker.run(SourceFile:85)
    at java.lang.Thread.run(Thread.java:619)

    2011-04-26 13:55, 776 < Thread-8 > [RepoMessageHelper] DEBUG message filter received: Type = RepoLifeCycle, RepoOperationName = COURSE, GUID = 6f84bcab-8f85-47f0-8fd7-8ced7dd9e90a
    2011-04-26 13:55:12, 261 DEBUG < MessageFrameWorkDispatch > [ws_vmx] Rpci: send request = 'machine.id.get'
    2011-04-26 13:55:12, 261 DEBUG < MessageFrameWorkDispatch > [ws_vmx] Rpci: Envoy request = 'machine.id.get', reply ='vdi.broker.useSvi = 0;

    I searched on Google, the VMware KBs, this forum, I have no solutions for this problem.

    You have the forwarding server in the same ESX/Cluster as desktop computers to be transffered?

    Also check if the forwarding server can contact esx on port 902

    ----------------

    > [ws_mvdi] unable to connect to the server esx1.atb - potsdam.de:902: unknown error 10060 (0x274c)
    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] CnxAuthdConnect: returning false because CnxAuthdConnectTCP has failed
    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] CnxConnectAuthd: returning false because CnxAuthdConnect failed

    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] Cnx_Connect: returning false because CnxConnectAuthd has failed
    2011-04-26 13:54:54, DEBUG 011 [ws_mvdi] Cnx_Connect: error message: unable to connect to server esx1.atb - potsdam.de:902

    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] TicketNFCOperations::TicketNFCOperations: could not establish NFC connection: unable to connect to server esx1.atb - potsdam.de:902.
    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] MVDIServer_CreateTransferFilesForPublish: error opening of session of the NFC.
    2011-04-26 13:54:54, 011 DEBUG [ws_mvdi] MVDIServer_CreateTransferFilesForPublish: completed.
    2011-04-26 13:54:54, ERROR 011 [ws_mvdi] failed to make the NFC connection to host ' esx1.atb - potsdam.de' while trying to generate files for transfer to desktop PC "serverDn.

    ----------------------

    -noble

  • Popup lov (retrieves the filters and the first set of rows) returns the id

    Hello

    I have a problem when using a popup lov (retrieves the filters and the first set of rows). My LOV is a list of people posting their names, and it works very well when the popup opens. But in the "textfield" showing that you have chosen the corresponding id is displayed. This is not what I want. I want the name to be displayed.

    Any help would be greatly appreciated,

    Bram.

    Bram

    The text field is filled in with the return value.

    If you have

    SELECT name, id
    FROM table
    

    ID will be returned to the text field. If you want the name displayed, then it should be...

    SELECT name a, name b
    FROM table
    

    If you want to use the ID later, behind the scenes, then you could calculate it according to the name.

    See you soon

    Ben

  • Header of the package failed verification during the download of the package sfr

    Hello

    I am trying to download the package asasfr -5500 x-boot - 5.3.1 - 152.pkg. But every time, it comes with an error "package header failed verification - object of type 'NoneType' has no len() Please check that the package is not damaged. Abandoned update. "I tried with ftp and http. But every case the same thing happens. My question is whether this is the right package. The doc of Cisco, I read asasfr-sys - 5.3.1 - 44.pkg. But this version I have not found the site of download of cisco software.

    QW-SFR-boot > system install http://www.XXXXX.com/asasfr-sys-531-152.pkg
    Check

    Package header verification - object of type 'NoneType' no has no no len()

    Please check that the package is not damaged.
    Abandoned update.

    Thanks in advance.

    Sari

    Are you following the Quick Start Guide?

    As he ordered, first copy us the boot image module of firepower to the ASA, set it as the recovery for the module image, retrieve the module using this boot image and complete the installation complete by using the image of the system (step 7 in the Quick Start Guide). Until the first 6 steps are completed successfully, #7 will not work.

    Please show us the output of the show version and present the ASA cli module.

Maybe you are looking for