Setting system variable in the Detailed Aging PLD report

Does anyone know which variable I can use to get the FC value displayed on the Aged Debtors PLD detailed form?
The current aging layout (in SBO) either shows it all in LC or in the currency you choose, but if you have a Business Partner who trades in different currencies and you have invoices raised in those different currencies you cannot see the value for each currency seperately, which is causing some distress.
I was hoping that by some miraculous twist of fate I can include the FC value in the PLD report thereby saving the hassle of having to re-write the report. (I have checked the System Variable Excel spreadsheet but cannot find it in there.)
Many thanks
Hayden

Hi Julie
I wondered if you are able to help me get the foreign currency Code and Value into this query you did from a previous post.
I'm getting odd results and I cant work out where I'm going wrong
Many thanks
Hayden
/* SELECT FROM OINV T0 / declare @AgingDate DateTime / WHERE */ SELECT @AgingDate = GetDate()
/* SELECT FROM OCRD T1 / declare @CustomerFrom nvarchar(20) / WHERE */ set @CustomerFrom  = ''
/* SELECT FROM OCRD T2 / declare @CustomerTo nvarchar(20) / WHERE */ set @CustomerTo = ''
/* SELECT FROM OCRD T3 / declare @OnHold nvarchar(20) / WHERE */ set @OnHold = 'N'
/* SELECT FROM OSLP T4 / declare @SalesRep nvarchar(30) / WHERE */ set @SalesRep = ''
IF @AgingDate = CONVERT(datetime, '', 112) set @AgingDate = GetDate()
select
     JD.FCCurrency [Foreign Currency],
     ocrd.CardCode [BP Code],
     ocrd.CardName [BP Name],
     ocrd.FrozenFor [On Hold],
     @AgingDate [Aging Date],
     isnull(T7.[BalanceDue],0) [Balance],
     isnull(T7.[Current],0) [Current],
     isnull(T7.[30Days],0) [1 Month],
     isnull(T7.[60Days],0) [2 Months],
     isnull(T7.[90Days],0) [3+ Months],
     ocrd.CreateDate,
     T8.[Last Payment Date],
          (SELECT
               SUM(T1.DocTotal)
          FROM ORCT T1
          WHERE T1.CardCode = T8.CardCode AND
                    T1.DocDate = T8.[Last Payment Date]) [Total Last Payment],
     oslp.SlpName [Sales Rep],
     ocrd.CntctPrsn [Key Contact],
     ISNULL(ocpr.Tel1, ISNULL(ocpr.Cellolar, ocrd.Phone1)) [Contact Phone]
from ocrd left outer join
     ocpr on ocpr.Name = ocrd.CntctPrsn and
     ocpr.CardCode = ocrd.CardCode left outer join
     oslp on oslp.SlpCode = ocrd.SlpCode left outer join
          SELECT
               T0.CardCode,
               SUM(T1.Original-T1.Cleared) [BalanceDue],
               SUM(CASE
                         WHEN T1.AgeDays < 0 THEN T1.Original+T1.Cleared
                         ELSE 0
                    END) [Current],
               SUM(CASE
                         WHEN T1.AgeDays BETWEEN 0 AND 30 THEN T1.Original+T1.Cleared
                         ELSE 0
                    END) [30Days],
               SUM(CASE
                         WHEN T1.AgeDays BETWEEN 31 AND 60 THEN T1.Original+T1.Cleared
                         ELSE 0
                    END) [60Days],
               SUM(CASE
                         WHEN T1.AgeDays > 60 THEN T1.Original+T1.Cleared
                         ELSE 0
                    END) [90Days],
               SUM(CASE
                         WHEN T1.AgeDays > 30 THEN T1.Original+T1.Cleared
                         ELSE 0
                    END) [Overdue]
          FROM ocrd T0 LEFT OUTER JOIN
               (SELECT
                    T1.CardCode,
                    T0.TransId,
                    T0.Line_ID,
                    DateDiff(m, T0.DueDate, @AgingDate) [AgeMonths],
                    DateDiff(d, T0.DueDate, @AgingDate) [AgeDays],
                    --Get standar Debit/Credit Col OR FCCredit/FCDebit columns for
                    --caluculations in outer query
                    ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Debit Else T0.FCDebit END )
                    ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Credit Else T0.FCCredit END ) [Original],
                    --T0.Debit-T0.Credit [Original],
                    SUM(ISNULL(T2.ReconSum,0)*     CASE T2.IsCredit WHEN N'C' THEN 1 ELSE -1 END) [Cleared],
                         ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Debit Else T0.FCDebit END )
                         ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Credit Else T0.FCCredit END )
                    + SUM(ISNULL(T2.ReconSum,0)* CASE T2.IsCredit WHEN N'C' THEN 1 ELSE -1 END) [Balance]
                    --(T0.Debit-T0.Credit) + SUM(ISNULL(T2.ReconSum,0)* CASE T2.IsCredit WHEN N'C' THEN 1 ELSE -1 END) [Balance]
               FROM jdt1 T0 inner join
                    ocrd T1 on T1.CardCode = T0.ShortName left outer join
                    itr1 T2 on T2.TransId = T0.TransId and
                    T2.TransRowId = T0.Line_ID and
                    T2.ReconNum = (     select
                                             T3.ReconNum
                                        from oitr T3
                                        where     T3.ReconNum = T2.ReconNum and
                                                  T3.Canceled = N'N' and
                                                  T3.ReconType = 7 and
                                                  T3.ReconDate <= @AgingDate)
               WHERE     T0.RefDate <= @AgingDate and
                         T1.CardType = 'C' and
                         (T1.CardCode >= @CustomerFrom OR @CustomerFrom = '') and
                         (T1.CardCode <= @CustomerTo OR @CustomerTo = '')
               GROUP BY T1.CardCode, T0.TransId, T0.Line_ID, T0.DueDate, T0.Debit, T0.FCDebit, T0.Credit, T0.FCCredit, T0.FCCurrency
--                    ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Debit Else T0.FCDebit END )
--                    ( CASE WHEN T0.FCCurrency IS NULL THEN T0.Credit Else T0.FCCredit END ), T0.FCCurrency
                    --T0.Debit-T0.Credit
               ) T1 on T1.CardCode = T0.CardCode
          WHERE T0.CardType = N'C'
          GROUP BY T0.CardCode ) T7 on T7.CardCode = ocrd.CardCode left outer join
               (SELECT
                    T1.CardCode,
                    Max(T1.DocDate) [Last Payment Date]
               FROM ORCT T1
               WHERE     (T1.CardCode >= @CustomerFrom OR @CustomerFrom = '') and
                         (T1.CardCode <= @CustomerTo OR @CustomerTo = '')
               GROUP BY T1.CardCode ) T8 on T8.CardCode = ocrd.CardCode
--put this join to get the
--currency symbol from Journal Row table
Left Outer join JDT1 JD On OCRD.CardCode = JD.ShortName
where ocrd.CardType = 'C' and
     --(oslp.SlpName = @SalesRep OR @SalesRep = '') and
     (ocrd.CardCode >= @CustomerFrom OR @CustomerFrom = '') and
     (ocrd.CardCode <= @CustomerTo OR @CustomerTo = '') and
     (ocrd.ValidFor <>'Y') and
     ( (ocrd.FrozenFor = @OnHold and (GetDate() Between isnull(ocrd.FrozenFrom, DateAdd(d,-1,GetDate())) and isnull(ocrd.FrozenTo, DateAdd(d,1,GetDate())))))
order by ocrd.CardCode

Similar Messages

  • Detailed Aged Customer Report

    Hi Experts,
    I would like to report in excel the same information which shows in the print preview of the Detailed Aged Debtors report...is there a way to do this at all please?
    Many thanks
    Caroline

    Hi Caroline,
    You may create a query report to match Detailed Aged Customer Report first.  If this has been done, you may include this query to Excel directly by New Database query.
    Thanks,
    Gordon

  • How do I set a variable on the main timeline from within a symbol?

    Just getting started with Animate and coming to it from Flash, as may be apparent from my question. How do you set a variable to the main timeline from within a symbol?
    I have 24 pairs of clickable elements, each in their own symbols, and all 24 of those symbols sit inside another symbol. I want all 24 to be able to set the same global variable when clicked. I can't find that this question is addressed anywhere, which makes me think I may be stuck in a Flash mindset and approaching the task in the wrong way. (There are however MANY discussions of how to address objects at different levels in the hierarchy. That's well covered.)
    Relatedly, how do you access a function on the main timeline from within a symbol?
    Adobe should consider putting together a support page (or pages) just for folks migrating form Flash. In the materials I've encountered so far there seems to be a studied effort to refrain from mentioning Flash in any way. I imagine there are a lot of people out there like me who have a deep background in Flash coding, but are just getting started with Animate. We don't need help with most of the basic concepts, but we may still have some pretty basic questions about how to accomplish some things in Animate because our Flash knowledge is getting in the way.

    Hi Bill,
    There are plenty of threads on here about scope, but here's one way to create a global variable:
    // code on Stage.compositionReady
    sym.myGlobalVar = 1;
    Then, anywhere in your project, you can check/set that var like so:
    sym.getComposition().getStage().myGlobalVar = 2;
    And here's one way to create a global function:
    // code on Stage.compositionReady
    sym.myGlobalFunction = function(){
              console.log('myGlobalFunction');
    Then, anywhere in your project, you can call that function like so:
    sym.getComposition().getStage().myGlobalFunction();

  • Hi, I have quick question about use of USEBEAN tag in SP2. When I specify a scope of SESSION for the java bean, it does not keep the values that I set for variable in the bean persistent.Thanks,Sonny

     

    Make sure that your bean is implementing the serializable interface and that
    you are accessing the bean from the session with the same name.
    Bryan
    "Sandeep Suri" <[email protected]> wrote in message
    news:[email protected]..
    Hi, I have quick question about use of USEBEAN tag in SP2. When I
    specify a scope of SESSION for the java bean, it does not keep the
    values that I set for variable in the bean persistent.Thanks,Sonny
    Try our New Web Based Forum at http://softwareforum.sun.com
    Includes Access to our Product Knowledge Base!

  • Whick system variable means the current user id?

    I want to transfer the current user id from portal to BW system ,Whick system variable means the current user id?
    Thanks !

    Hi,
    You can get the name of the person who created it using the text element AUTHOR. The person who executes will be the SYUSER
    Hope this helps...
    Regards
    Kunal

  • How to include variable in the text column in report painter?

    Dear Expert,
    Would like to seek for your help to include How to include variable in the text column in report painter?Please advice.
    Thank you.
    Regards,
    Karen
    Edited by: Karen Swee Ping Ho on Jun 17, 2011 2:48 AM

    Hi,
    Thank you for the promt reply.
    1) How I include the variable in the column header to display fiscal year which I have selected from the selection screen?
    which variable should i use?
    2) Where can i find more information about the characteristic and which variable to be use base on the characteristic?
    For example: I would like to display the fiscal year from the selection screen/input screen when execute the report which also will reflected to the element definition and will display the fiscal year also in the column text?
    3) Kindly advise base on question 2, the variable that i use in element definition it will also display  in selection screen?
    4) When execute the report the first selection screen input parameter it obtain from where it is from element definition?
    5) Please advice how to be done when report execute with first screen input selection will also reflect the element definition of column and rom with the selection of the fiscal year?
    Please help.
    many thanks
    Edited by: KH on Jun 18, 2011 7:18 AM

  • How to set Bind variable on the action of command link

    I have two tables. One is the list of processes and other one is the details of processes with process name as primary key.
    I want to first display the first table which has the list of processes on one page. When I click on perticular process name this process will pass to the bind variable of another table and corresponding details will be shown on other page. can anyone help how I can do this. My code is as follows:
    package model;
    import model.common.BpelDetailsView;
    import oracle.jbo.server.ViewObjectImpl;
    public class BpelDetailsViewImpl extends ViewObjectImpl implements BpelDetailsView {
    * This is the default constructor (do not remove).
    public BpelDetailsViewImpl() {
    * Returns the variable value for bpelnameVar.
    * @return variable value for bpelnameVar
    public String getbpelnameVar() {
    return (String)ensureVariableManager().getVariableValue("bpelnameVar");
    * Sets <code>value</code> for variable bpelnameVar.
    * @param value value to bind as bpelnameVar
    public void setbpelnameVar(String value) {
    ensureVariableManager().setVariableValue("bpelnameVar", value);
    this.executeQuery();
    <af:commandLink id="ot3" text="#{row.BpelName}"
    action="#{DasboardBean.ot3_action}"/>
    public String ot3_action() {
    BpelDetailsViewImpl bdv=new BpelDetailsViewImpl();
    bdv.setbpelnameVar("#{row.BpelName}");
    return "success";
    but its not working at all.
    Its displaying the errors on click of command link.
    javax.servlet.ServletException: java.lang.NullPointerException
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:277)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:191)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:85)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:54)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:420)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:247)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:157)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.wls.JpsWlsFilter$1.run(JpsWlsFilter.java:96)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
         at oracle.security.jps.wls.util.JpsWlsUtil.runJaasMode(JpsWlsUtil.java:146)
         at oracle.security.jps.wls.JpsWlsFilter.doFilter(JpsWlsFilter.java:140)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.wls.DMSServletFilter.doFilter(DMSServletFilter.java:202)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3588)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2200)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2106)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1428)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:51)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:102)
         at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:190)
         at org.apache.myfaces.trinidad.component.UIXCollection.broadcast(UIXCollection.java:147)
         at org.apache.myfaces.trinidad.component.UIXTable.broadcast(UIXTable.java:271)
         at oracle.adf.view.rich.component.UIXTable.broadcast(UIXTable.java:140)
         at oracle.adf.view.rich.component.rich.data.RichTable.broadcast(RichTable.java:364)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:87)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:298)
         at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:91)
         at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:81)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:475)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:756)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._invokeApplication(LifecycleImpl.java:673)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:273)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:165)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
         ... 34 more
    Caused by: java.lang.NullPointerException
         at oracle.jbo.server.ComponentObjectImpl.ensureVariableManager(ComponentObjectImpl.java:472)
         at model.BpelDetailsViewImpl.setbpelnameVar(BpelDetailsViewImpl.java:32)
         at portal.view.bean.DasboardBean.ot3_action(DasboardBean.java:24)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at com.sun.el.parser.AstValue.invoke(AstValue.java:157)
         at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:283)
         at org.apache.myfaces.trinidad.component.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:46)
         ... 54 more

    Hi Shay..
    Thanx for your help...
    I stuck in one more problem. When I run directly the first list page it works fine. I craeted one more page home.jspx where I added a golink with <af:golink id="gl1" text ="List" destination="list.jspx". When I click on link it opens the list page. Now when I clicking on first column its redirecting to list.jspx not to details.jspx.
    What can be the solution for this.

  • Setting system variables for Oracle Forms at runtime

    Hi,
    I've read somewhere that a user can set some Oracle Forms system variables
    like SYSTEM.MESSAGE_LEVEL, SYSTEM.DATE_THRESHOLD, SYSTEM.EFFECTIVE_DATE, SYSTEM.SUPPRESS_WORKING
    at runtime.
    Does anyone know how?
    I want to use the same fmx file with various settings, so do not want to
    hard code any values for these variables.
    TIA,
    Sam

    Frequently I modidied
    :system.message_level := 0 let's say.
    For other system variables I cannot help you.
    Ovidiu

  • Write to a file using a system variable in the path

    I got an error when I used the following command to write a file
    OdiOutFile "-FILE=<%=System.getProperty("LOG")%>\test.log" -APPEND "-CHARSET_ENCODING=ISO8859_1" "-XROW_SEP=0D0A"
    The "LOG' is an environment variable.
    The error is
    java.lang.Exception: Oracle Data Integrator Function does not exist
    It looks like ODI treat System.getProperty as ODI function instead of java method. I use SUNOPSIS API as technology in the command

    At this moment I can't give a source code example because I'm writing it :) and I'm trying to see the cases where I may have some problems.
    But my idea is to access the file at any time and to write into it with differenent threads in a differenet places in this file. In fact the problem I'm trying to solve is :
    I have a objects called Data that are generated by some other thread independent of my application. This thread puts the Data objects in some kind if buffer. When the buffer is full, I'm creating a few threads fo every object Data in this buffer (the data objects in its own is some collection of floats and doubles) So I'm trying to position the new created threads over the file but in different places and then make them write the data collected in the object Data.
    To position de threads over the file, I'm accessing it by some synchronous method to undestand where it can write in this file and the writing is not synchronous because I'm trying to calculate the exact place and number of bytes of writing and in this way to avoid (may be) the eventuality of errors.
    Regards,
    Anton

  • How do I set a variable via the web serviices?

    (I am new to Business Objects.)
    I would like to know how, using web services, I can set a variable in a parameterized ad hoc query.
    Let's say I have obtained a Session from a Connection - what class/method must I call to do this?
    Not sure of the difference between prompt/variable in this regard.
    A code snippet would be much appreciated. I have looked at the Javadocs but they're rather minimal.
    Thanks in advance.

    You are problably looking at using the query web service which is meant for developers, NOT the Query as a Web Service.
    http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/WS_SDK/wssdk_consumer/doc/wssdk_dg/DevelopingConsumerWebApps76.html#1120164
    Francois Imberton

  • Is a system variable at the root of this problem?

    Hi, there,
    Please refer to the attached fm file to help solve the puzzle. When you open this small file (a stripped down copy of a chapter file in a book file), you'll see a chapter number to the left of the chapter title. I have tried several ways of deleting that chapter number but cannot grasp it on either the master page or the body page. It appears to be a system variable that was inserted inside a text frame on the master page by someone long ago but I cannot figure out how someone got the number in there.
    I cannot remove it by altering either the column layout or playing with the text frame.
    The chapter number does not appear in the TOC, but does appear to be linked to chapter numbering properties because the number resets itself when I update the book if I've added or removed another chapter file.
    I really want to locate and get rid of that number to the left of my chapter title without having to create a brand new master page. Does anyone out there know how to get rid of it?
    Immensely kind thanks,
    Elizabeth

    Thank you, Sheila -- that was very helpful and I am almost there! I could delete the number  reference (yes, the number 4) from the para designer but am unable to get rid of the t for tab, even when I delete and/or deselect the Autonumber Format box above the field for number building blocks. Whenever I deselect and click Apply, the Autonumber Format box simply reselects itself.
    This means when I go back to the doc, the t still appears. This actually became a problem when the number associated with the chapter title did not appear in the TOC. Basically, I want the Chapter Number to appear before the Chapter Title in the TOC. But I don't seem to be able to include that in the chaptertitleTOC para tag.
    So, your answer seems to be on exactly the right track, Sheila -- thank you. But I still can't get rid of the t for tab in my chapter title tag (I'm using Frame 9) so the problem is not yet completely solved. If anyone can do this on my frame file, I'd be much obliged and give you 100 points (all imaginary as well as hearty thanks, not imaginary).
    Very kind thanks,
    Elizabeth

  • How can I assgin a master feild value in combobox bind variable in the detail

    Hi All,
    I'm working on a MD-Form in portal.
    I want to pass a master block value in the dynamic combobox where clause.
    Combo box is in the detail Block. Can anyone please give a solution for this?
    This a very urgent Requirement for me. I really appreciate.
    Thanks
    Murali

    Does this help?
    Dreamweaver Dynamic Master List with link to Detail - YouTube

  • How to set a bind variable across the pages in a report

    I want to create a portal report where data will come from a table for a date range for a week.
    For e.g select event_date,last_name, event_name
    from RESOURCES
    where event_date between trunc(to_date(:curr_date,'DD-MON-RRRR'))
    and trunc(to_date(:curr_date,'DD-MON-RRRR')+ 7)
    The :curr_date is defined as a bind variable whose default value is sysdate.
    Now, when we run the report for the first time, it takes the :curr_date as
    sysdate and prints the report.
    I have two buttons in the report output like "previous week" and "next week".
    If someone presses previous week, the same report should run with curr_date
    as sysdate-7 and if someone presses next week, the report should run with
    curr_date as sysdate +7 and also the :curr_date sets to sysdate - 7 or sysdate + 7
    depending on the button pressed.
    Problem:
    How do I set the value of curr_date if someone presses any of
    previous week/next week.
    null

    Best to state your JDev version, and technology stack (eg. ADF BC) when posting.
    I can think of 2 approaches.
    1) Create a parent VO based on SELECT :bindVar FROM dual, then create links between your other VOs and the parent
    2) Create a AM client interface method that programatically sets the bind variable in each VO.
    Can you specify your use case? This one tends to come up when discussing effective from/to dated queries.
    CM.

  • Setting a variable from the output of a shell script

    I would like to use the output of the shell script "pwd" to populate a variable that I will then use to concatenate the argument to another shell script.
    Below is what I tried, but that didn't work.
    Any help is greatly appreciated.
    set currentDir to do shell script "pwd"
    do shell script "open " & currentDir & "/somedir/somefile"

    Does an applescript always run from "/" or from the directory in which the applescript file is run?
    From: http://developer.apple.com/technotes/tn2002/tn2065.html :
    Q: What’s the default working directory for do shell script commands?
    A: do shell script inherits the working directory of its parent process. For most applications, such as Script Editor, this is /. For osascript, it’s the working directory of the shell when you launched osascript. You should not rely on the default working directory being anything in particular. If you need the working directory to be someplace specific, set it to that yourself.

  • Setting System Date for the Deadline branch of a block

    Hi,
    We have a IDocs->XI->File scenario. We need to collect the idocs coming from ISU system and do a N:1 mapping into a single file. We need to end the collection process everyday at a particular time...
    In ABAP workflows if we are using a block for its deadline condition we can give %DATUM%. This will provide the system date in that place.
    In BPM in XI in place of %DATUM% what we'll have to provide so that we can do the same so that the system date comes into that place.
    Thanks & regards,
    Jayakrishnan

    One more way is to send a "stop collection" message from a proxy, chk this link
    /people/siva.maranani/blog/2005/05/22/schedule-your-bpm
    you ve to customize what Maranani describes so that the message is a "stop" rather than a "start" , hope it helps

Maybe you are looking for

  • Why are my .avi files extracted using PE3 only playing audio when using Windows Media Player?

    I extracted a lot of my old movies using PE3 that came from my 8MM camera. They played fine on XP. I now have Windows7 64 bit and when I play them in Windows Media Player, they only play the sound. I'm guessing that this is a codec issue. Should I re

  • GetCurrentRow() giving a null when trying to save poplist value

    Hi I have a requirement to develop a custom page with a field XX - which is a poplist. The functionality should be as follows: 1. When the page renders the poplist should highlight the latest value from the person's uses_tobacco_flag from per_all_peo

  • Issue with shared folders in oracle linux 6.4

    Hi. After installing oracle linux 6.4 in vmware (9 and 10) shared folders still not visible in guest os. i see such issue first time. before this i have installed red hat 6.3 and centOS 6.5. via vmware and everything was ok with shared folders. but i

  • Make new window inactive/open in background in 5.1.7

    Hi, I have an MBA 2011 with 10.7.4 and Safari 5.1.7. I am very shortsighted and have struggled with the poor contrast levels between tabs and the rest of the Safari UI. My solution has been to switch off tabs, use windows instead. and configure my ri

  • POS inbound G/L account aurgent..

    Hi guys, I am going to SPRO --> sales and distribution --> POS interface -->Transaction Type-Dependent Control Of Financial Transactions and changing the G/L account from 160000 to 1610000 for chartof accts 1000 for the ZPOS inbound profile which we