Public FUNCTION not a transformation...how?

Is it possible within OWB to create a database function that is used in a WHERE clause but not as a transformation?
For example:
I have a date conversion function that receives a custom formatted Julian date as a numeric and converts it to an Oracle DATE type. I use it in WHERE clauses to retrieve rows that have the Julian date >= <conversion_function>(SYSDATE -3) to get rows that are 3 days old. This method will use any indexes on the source side where no developer fingers shall trod ;-)>
I don't want it as a transformation, but I'd like OWB to be able to deploy it in whatever environment I select as a Runtime Target.
Many thanks.
Gary

Well, maybe I spoke too soon on this one.
I created a function in my Module to convert an Oracle DATE column to a quasi-Julian date column. When I paste that into a FILTER Operator it shows as "function"."date_to_julian"(sysdate -1).
It validates OK. When I try to deploy it from Deployment Manager it doesn't even show up in the right-side window to attempt a deployment.
How and why does it use the "function" as the apparent owner?
How do I deploy a function (I'd like to make it public to be shared both in OWB mappings and on the target database)?
I've tried it from both the Public Transformation area and inside my Module but to no avail.
A little guidance is greatly appreciated.
Gary

Similar Messages

  • Public function not found

    I have an app with some of the content broken up into
    separate components. Some components have Script blocks in them
    with public functions.
    In the main app, I try to call one of these functions, but
    Flex complains the function is undefined, so it's obviously not
    finding them.
    For example, I have step 2 of my multi-step app in a
    component "step2.mxml", referenced in the main app. This file
    contains a public function, "step2handler". In the main app,
    there's a button with a click event: click="step2handler()".
    The app does not compile, that it does not find this
    function.
    What am I missing here? Thanks.

    Give the component instance an id:
    <step2 id="s2" .../>
    then in AS:
    s2.step2Handler();
    Post Flex language questions in the Flex General Discussion
    Forum instead of the Flex Builder forum.

  • In Camera Raw 8.4.1 I can open dngs from 3 years ago, but it's using the old interface and functionality not the current - how do I change this. Have rebuilt cache.

    Running Creative Cloud on an HP with 18Gb Ram - I'm working on a project using 3 yr old dngs and when I open in my up to date Camera Raw it uses the old interface with 'contrast' towards the bottom and 'recovery' below 'exposure' - how do I get Camera Raw to open with the current interface?
    Thanks for any help.
    Craig

    If you're referring to the Process version, you set that in the Camera Calibration tab of ACR.
    Also keep in mind that any images with prior adjustments will show the Process used when they were adjusted.  That can also be changed in that tab.

  • How to pull in a 'Public Function' from the database.

    Hi,
    We're using OWB 11.1.0.7.
    I'm trying to import a public function into OWB from our database.
    When I go to the Global Explorer and right click on 'Functions' all I get are 'New' and 'Add/Remove Experts Here'.
    When I select 'Add/Remove Experts Here'. It just gives e an option to select the Public Project object.
    When I do, nothing happens.
    Selecting 'New' just wants me to create a function from scratch, which is not what I want.
    I just want to import a function into the 'Custom Functions' under 'Public Transformations' from my database.
    Anybody?

    Since function in your DB is specific to DB schema you need to import that function in OWB into module that is defined for that schema. After that you can copy/paste that function in Global Explorer custom functions.

  • How do I call create a public function to make something happen in another .swf

    Hi guys,
    I am trying to create a public function, i have a decument class with all of my variables in it, I have worked out how to bring in external .swf files, now  I need a way to have an even trigger something on a separate .swf
    So at the moment I have a flunction that works on the parent
    stage.addEventListener(MouseEvent.MOUSE_MOVE, mousePosition);
    function mousePosition(event:MouseEvent) {
    if(mouseX>=125)
    navigator.visible=false;
    trace(mouseX);
    So now how do I make this function public?
    When I try to put it into my document class I get errors because the navigator MC is only on the main timeline. (not in the other swf's that I am opening)
    I am trying to work out how to call the function using a string in my doc class
    public var nav1:String="navigator";
    Then the function
    public function resetnav() 
                         String(nav1+".visible=false;");
    Which seemed like a good idea, but it doesn't work..
    Can you guys help me out here?
    Cheers
    sub

    Hey sorry I spoke too soon, I thought my code was working but my mouse tracking code is actually working off the main timeline.  I sill wan to be able to use your examples though, what is the go with psuedo code? SWF1ToSWF2Connection what is the correct dot syntax for this?
    Cheers
    sub

  • How can I call a public function in one component from another component?

    I have two components: Form and Confirmation.  Form is a Canvas and Confirmation is a TitleWindow.
    Form contains several controls and a submit button.  Confirmation contains an OK button.  When the user clicks the submit button, the Confirmation appears over the Form (Form is blurred).  When the user clicks the OK button on the Confirmation, I want to run a function on Form to set some default values in the controls.
    How can I address the function in the Form component from the Confirmation component so I can fire the function?
    Thanks!

    Here is the source
    CustomForm.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Canvas xmlns:mx="http://www.adobe.com/2006/mxml" width="400" height="300">
    <mx:Script>
    <![CDATA[
    public function callBack(): void {
    lblStatus.text = "Success";
    ]]>
    </mx:Script>
    <mx:Label id="lblStatus"/>
    <mx:Form x="50" y="50" verticalGap="15">
            <mx:FormHeading label="Send us comments" />
            <mx:FormItem label="Full Name:">
                <mx:TextInput id="fullName" />
            </mx:FormItem>
            <mx:FormItem label="Email:">
                <mx:TextInput id="email" />
            </mx:FormItem>
            <mx:FormItem label="Comments:">
                <mx:TextArea id="comments" />
            </mx:FormItem>
            <mx:FormItem>
                <mx:Button id="submit"
                    label="Submit" />
            </mx:FormItem>
         </mx:Form>
    </mx:Canvas>
    CustomTitle.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:TitleWindow xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute" width="200" height="80"
    showCloseButton="true" close="closeMe(event)"
    backgroundAlpha="1"
    color="#173553" backgroundColor="#EEEEEE"
    headerColors="#FFFFFF, #CBCCCC"
    borderColor="#666666" borderStyle="solid">
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    public var callBack: Function = new Function();
    private function closeMe(event: Event): void {
    PopUpManager.removePopUp(this);
    callBack();
    ]]>
    </mx:Script>
    <mx:HBox width="100%" height="100%" horizontalAlign="center" verticalAlign="bottom">
    <mx:Button id="btnOK" label="OK" click="closeMe(event)" />
    </mx:HBox>
    </mx:TitleWindow>
    TitleWindowSample.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application
    xmlns:mx="http://www.adobe.com/2006/mxml"
    xmlns="*"
    layout="absolute"
    width="100%" height="100%"
    creationComplete="init()">
    <mx:Script>
    <![CDATA[
    import mx.managers.PopUpManager;
    private function init(): void {
    customForm.submit.addEventListener(MouseEvent.CLICK, onMouseClick);
    private function onMouseClick(event: MouseEvent): void {
    customForm.lblStatus.text = "";
    var customTitle: CustomTitle = new CustomTitle();
    customTitle.callBack = customForm.callBack;
    PopUpManager.addPopUp(customTitle, this);
    PopUpManager.centerPopUp(customTitle);
    ]]>
    </mx:Script>
    <mx:VBox
    width="100%" height="100%"
    verticalAlign="middle" horizontalAlign="center">
    <CustomForm id="customForm" width="500" height="300">
    </CustomForm>
    </mx:VBox>
    </mx:Application>

  • The message function on my Ipad just quit working.  I was using it while in Mexico and it just quit.  I have come home and synced my Ipad with Itunes and function still does not work.  How do I get this function to work again?

    The message function on my Ipad just quit working.  I was using it while in Mexico and it just quit.  I have come home and synced my Ipad with Itunes and function still does not work.  How do I get this function to work again?

    When I use find file http://www.macupdate.com/app/mac/30073/find-file (which does tend to find files that "Finder" can't), it's not coming up with any other itunes library files that have been modified in the past week, which I know it would have been - unfortunately, I don't have a very recent backup of the hard drive.  It would be a few months old so it wouldn't have the complete library on it....any ideas?  I'm wondering if restarting the computer might help but have been afraid to do so in case it would make it harder to recover anything...I was looking at this thread https://discussions.apple.com/thread/4211589?start=0&tstart=0 in the hopes that it might have a helpful suggestion but it's definitely a different scenario.

  • I am trying to synch my ipad to my computer and i have turn off my Find my iPad function.  I have put in my Apple password to do that.  i know my password is correct but it says it is not correct.  How do I fix that?

    i am trying to synch my ipad to my computer and i have turn off my Find my iPad function.  I have put in my Apple password to do that.  i know my password is correct but it says it is not correct.  How do I fix that?

    And I am incorrect...
    Have you ever changed your passcode?
    Try again.   Maybe a typo?

  • Report Builder Error: [BC30455] Argument not specified for parameter 'DateValue' of 'Public Function Day(DateValue As Date) As Integer'.

    Hi there!
    I'm trying to calculate the difference between two days using DATEDIFF (). I use following code for this:
    =DATEDIFF(DAY, CDate(Fields!Eingang_Kundenanfrage.Value),CDate(Fields!Ausgang_Angebot.Value))
    Every time I try to save the report, I get this error message:
    [BC30455] Argument not specified for parameter 'DateValue' of 'Public Function Day(DateValue As Date) As Integer'.
    The DataSource is a SharePoint List and the Date is given in the following format: 23.05.2014 00:00:00 (DD.MM.YYYY HH:MM:SS).
    I've googled for a working solution for a long time now, but I had no success.
    Is there someone who can help me?

    Hi Lucas,
    According to your description, you want to return the difference between two date. It seems that you want to get the days. Right?
    In Reporting Services, when we use DATEDIFF() function, we need to specify the data interval type, for days we can use "dd" or DateInterval.Day. So the expression should be like:
    =DATEDIFF(DateInterval.Day, CDate(Fields!Eingang_Kundenanfrage.Value),CDate(Fields!Ausgang_Angebot.Value))
    OR
    =DATEDIFF("dd", CDate(Fields!Eingang_Kundenanfrage.Value),CDate(Fields!Ausgang_Angebot.Value))
    Reference:
    Expression Examples (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • OCA-30002: ubofscr function not supported -- how to solve?

    Connecting to Oracle8i Lite using SQL*Plus 8 we get following
    message:
    OCA-30002: ubofscr function not supported
    Does anyone know how to solve this problem?
    Thank you in advance,
    Erik Martens
    null

    during the installation you have skip
    one of the step to install the require files
    for 8.0.5.
    what you can do is copy the file ub80w32.dll
    from your installation directory or
    download the latest patches 40016ol.exe from http://support.oracle.com/
    null

  • In "find my iPhone" i entered the functional "delete data". now i found my iPhone. it was not online. How can i modify it? nothing is deleted at this time

    in "find my iPhone" i entered the functional "delete data". now i found my iPhone. it was not online. How can i modify it? nothing is deleted at this time

    If you selected to erase the device using the find my iPhone erase feature, as soon as your iPhone reconnects with apple systems, it will erase.  This command cannot be cancelled.  However, you will be able to restore your device using the most recent icloud or itunes backup.
    Hope this helps.

  • Jabber login from public network not working

    Hello all,
    i am trying to register jabebr from public network with use of EXP-C and E.
    but facing below error:

    thanks fro your response to correct me with configuration.
    1) Configuration as it pertains to the design on the Expressways
     i applied as per design and still open all ports between firewall for jabber.
    2) Firewall blocking the UDP traffic.
    if no rule define, how can it block and what need to configure for jabber with audio?
    First question to you is are you using Single NIC or Dual NIC on the Expressway-E?
    i am using single NIC.
    If you are doing a Single NIC design and will have a private IP for the Expressway-E you must fulfill these 4 requirements
    1)    Static NAT Mode Enabled on the IP Configuration page of the Exp-E
    i will enable it on EXPE>.
    2)    Static NAT Address Configured on the IP page of the Exp-E
    what need to EXPE for this NAT option?
    3)    Expressway-C must resolve the Expressway-E FQDN to the Public IP, not the private
    if this is resolving private ip, would be any problem?
    4)    NAT Reflection (Hairpinning) must be configured on the firewall so that traffic from the Expressway-C can be sent to the Expressway-E public IP and that can be redirected to the Expressway-E private IP. Please note not all firewalls support this functionality
    please tell me how can enable NAT reflection on firewall to working it?
    thanks

  • Aggregation of analytic functions not allowed

    Hi all, I have a calculated field called Calculation1 with the following calculation:
    AVG(Resolution_time) KEEP(DENSE_RANK FIRST ORDER BY RANK ) OVER(PARTITION BY "User's Groups COMPL".Group Name,"Tickets Report #7 COMPL".Resource Name )
    The result of this calculation is correct, but is repeated for all the rows I have in the dataset.
    Group Name      Resourse name    Calculation1
    SH Group            Mr. A            10
    SH Group            Mr. A            10
    SH Group            Mr. A            10
    SH Group            Mr. A            10
    SH Group            Mr. A            10
    5112 rowsI tried to create another calculation in order to have only ONE value for the couple "Group Name, Resource Name) as AVG(Calculation1) but I have the error: Aggregation of analytic functions not allowed
    I saw also inside the "Edit worksheet" panel that the Calculation1 *is not represented* with the "Sigma" symbol I(as for example a simple AVG(field_1)) and inside the SQL code I don't have GROUP BY Group Name, Resource Name......
    I'd like to see ONLY one row as:
    Group Name      Resourse name    Calculation1
    SH Group            Mr. A            10....that it means I grouped by Group Name, Resource Name
    Anyone knows how can I achieve this result or any workarounds ??
    Thanks in advance
    Alex

    Hi Rod unfortunately I can't use the AVG(Resolution_time) because my dataset is quite strange...I explain to you better.
    Ι start from this situation:
    !http://www.freeimagehosting.net/uploads/6c7bba26bd.jpg!
    There are 3 calculated fields:
    RANK is the first calculated field:
    ROW_NUMBER() OVER(PARTITION BY "User's Groups COMPL".Group Name,"Tickets Report Assigned To & Created By COMPL".Resource Name,"Tickets Report Assigned To & Created By COMPL".Incident Id  ORDER BY  "Tickets Report Assigned To & Created By COMPL".Select Flag )
    RT Calc is the 2nd calculation:
    CASE WHEN RANK = 1 THEN Resolution_time END
    and Calculation2 is the 3rd calculation:
    AVG(Resolution_time) KEEP(DENSE_RANK FIRST ORDER BY  RANK ) OVER(PARTITION BY "User's Groups COMPL".Group Name,"Tickets Report Assigned To & Created By COMPL".Resource Name )
    As you can see, from the initial dataset, I have duplicated incident id and a simple AVG(Resolution Time) counts also all the duplication.
    I used the rank (based on the field "flag) to take, for each ticket, ONLY a "resolution time" value (in my case I need the resolution time when the rank =1)
    So, with the Calculation2 I calculated for each couple Group Name, Resource Name the right AVG(Resolution time), but how yuo can see....this result is duplicated for each incident_id....
    What I need instead is to see *once* for each couple 'Group Name, Resource Name' the AVG(Resolution time).
    In other words I need to calculate the AVG(Resolution time) considering only the values written inside the RT Calc fields (where they are NOT NULL, and so, the total of the tickets it's not 14, but 9).
    I tried to aggregate again using AVG(Calculation2)...but I had the error "Aggregation of analytic functions not allowed"...
    Do you know a way to fix this problem ?
    Thanks
    Alex

  • How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?, How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?

    How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?, How do I fix my iPod I updated it to iOS 6 and now iTunes and the App Store will not work?

    App Store Failure / Updates White Screen
    Tap Settings > General > Date and Time > Set Automatically > Off. Set the date one year ahead. Then try to access the App Store.
    It may be a connection issue. Try changing your DNS settings to Google’s open DNS by tapping Settings > Wi-Fi >, tap the blue arrow next to your current Wi-Fi network, and then tap the “DNS” field and enter the DNS servers; 8.8.8.8 (Google’s Public DNS, 8.8.4.4 also alternate).

  • HT5624 how do I change the security questions on my daughters itunes account. I do not remember adding the questions and they do not make sence to me. can not figure out how to get to her  email account that it is showing for her altern

    I cant seem to be able to change the secutity questions on my minor daughters itunes account. I set the account up but I do not remember adding the security questions and they do not make sense to me. It says that the alternate account it would be sent to is@ me.com but I can not figure our how to get to it to retreive the email to reset the questions. My daughters account may have recently been hacked so I am trying to change all passwords. I changed the itunes account and added another email but I still can not change security questions in case I ever need them.
    <Email Edited by Host>

    We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple - I've asked the hosts to remove your email address from your post (it's not a good idea to post personal info on any public forum).
    The reset link on an account will only show if there is a rescue email address on it, alternate email addresses are different and not used for resetting them. If she has a rescue email address on her account then steps 1 to 5 half-way down this page will give you a reset link on the account : http://support.apple.com/kb/HT5312
    Navigate to appleid.apple.com using your web browser.
    Click "Manage your account"
    When prompted, sign in using your Apple ID and password.
    Click Password & Security
    You'll be asked to answer 2 of your 3 security questions before you can make any modifications. If you are unable to remember your answers, you can choose to send an email to your rescue email to reset your security questions.
    If she doesn't have a rescue email address (you won't be able to add one until you can answer your questions) then you will need to contact Support in your country to get the questions reset.
    Contacting Apple about account security : http://support.apple.com/kb/HT5699
    When they've been reset (and if you don't already have a rescue email address) you can then use steps 1 to 7 half-way down the HT5312 link above to add a rescue email address for potential future use

Maybe you are looking for