End date the use of a certain subtemplate and call another in its place

Hi All,
How can we refer to multiple subtemplates so as to end date the use of certain subtemplate say on Dec 31 2007 and start referring to another subtemplate in its place from Jan 1 2008??
Any pointers to the same will be extremely helpful.
Thanks in advance.

This work, but its hardcoded and not really flexible. You can also change the date format to compare whatever you want I guess. Hope it can help!
<?import:file:///C:/sub_2007.rtf?>
<?import:file:///C:/sub_2008.rtf?>
<xsl:if test="xdoxslt:sysdate('YYYY')='2007'"><?call-template:sub_2007?></xsl:if>
<xsl:if test="xdoxslt:sysdate('YYYY')='2008'"><?call-template:sub_2008?></xsl:if>

Similar Messages

  • Getting error when trying to end date the element links

    When i am trying to end date the element link and i am getting a error message as ORA-01403: no data found if i click on the details button the following message is displayed:
    ORA-01403: no data found
    FRM-40735: ON-DELETE trigger raised unhandled exception ORA-01403.
    If i click on Ok button it bringgs another popup message that reads as follows:
    An Unexpected Error- 1403 has occured.An alert has been sent to the system administrator.
    ORA-01403: no data found
    I am really not getting why my link is not end dating.
    Could anyone advice me on how i can end date my element links.
    NB:the date track i am using is 01-DEC-2009 and no prayroll or quick pay has been processed as of this date

    Pl see if enabling an Forms Runtime Diagnostics (FRD) trace can help identify the cause
    MOS Doc 373548.1 - How To Collect And Use Forms Trace (FRD) in Oracle Applications Release 12
    MOS Doc 167635.1 - How To Perform Forms Runtime Diagnostics (FRD) Tracing in Applications 11i
    HTH
    Srini

  • Cannot end date the element

    There was an element defined wrongly in the system as follows:
    the element is defined as final close while it was suppose to have been defined as Last Standard process. I have managed to end date its links as of 01-JAN-2010 now when i am trying to end date the element as of 01-jan-2010 it is giving me the follwoing error"
    APP-PAY-06213: Formula result rule use this input value
    Check you formula result rules for indirect results that feed this input value.
    I have checked the formula result rule there is no formula attached to this element.
    Kindly help me!

    Please run this query to find out which elements are using the element you want to end date as indirect results.
    Remove the indirect results and try end dating the element.
    SELECT  ET.ELEMENT_NAME,psp.PROCESSING_RULE, ff.FORMULA_NAME, pfr.RESULT_NAME,
    pfr.RESULT_RULE_TYPE, et1.ELEMENT_NAME et_to_end_date,iv.NAME,iv.UOM, et.REPORTING_NAME
    FROM
    PAY_STATUS_PROCESSING_RULES_F psp,
    PAY_FORMULA_RESULT_RULES_F pfr,
    ff_formulas_f ff,
    PAY_ELEMENT_TYPES_F ET,
    PAY_ELEMENT_TYPES_F ET1,
    PAY_INPUT_VALUES_F IV
    WHERE
    psp.FORMULA_ID=ff.FORMULA_ID
    AND pfr.STATUS_PROCESSING_RULE_ID=psp.STATUS_PROCESSING_RULE_ID
    AND et.ELEMENT_TYPE_ID=psp.ELEMENT_TYPE_ID
    AND et1.ELEMENT_TYPE_ID=pfr.ELEMENT_TYPE_ID
    AND iv.INPUT_VALUE_ID=pfr.INPUT_VALUE_ID
    AND pfr.RESULT_RULE_TYPE = 'I'
    AND ET1.ELEMENT_NAME = :element_to_end_dateHTH

  • WHATS THE USE OF TABLE STRIP CONTROL AND TABLE VIEW CONTROL

    WHATS THE USE OF TABLE STRIP CONTROL AND TABLE VIEW CONTROL

    Subhash,
    You create and distribute a model in BD64. The details of that are stored in this tables.
    A model gives you the details of the sender / receiving systems and what are the message types that are getting transferred between these systems.
    Regarding the IDOC segments issue, can you explaing how are you triggering the IDOC and which message / idoc type you are dealing with.
    Regards,
    Ravi
    Note :Please mark the helpful answers
    Message was edited by: Ravikumar Allampallam

  • I have lost the use of my extension pannels, and need help recovering the use. I get a message that extensions failed to load. Why?

    I have lost the use of my extension pannels, and need help recovering the use. I get a message that extensions failed to load. Why?

    I've had that before when on a really slow Internet connection.

  • HT4818 I have installed bootcamp that worked properly.  Then I have partitioned the OS X 10.8.2 and installed another OS X 10.8.2 and I have got two MAC boot options and Bootcamp disappeared from the Option menu. How can I boot Windows again and keep both

    I have installed bootcamp by the bootcamp assistant and worked properly.
     Then I have partitioned the OS X 10.8.2 and installed another Mountain Lion System and I have got two MAC boot options and Bootcamp disappeared from the Option menu. However, Bootcamp still remained in the Startup Disk in the System Preferences. When I tried to boot Bootcamp using the Startup Disk it did not boot and received a message that there is no bootable device. I have not lost any data and can read Bootcamp partition from both OS X systems. Please advise how can I boot Windows / Bootcamp again? Thank you. 

    Recommendation 1: Use a VM for this. It's essentially a giant C.F. to do this with native booting, and is potentially fragile.
    But if you're going to ignore that and do this anyway, realizing that it can break anytime in particular with OS upgrades, and that it's very difficult to impossible to resize the three volumes once you've installed the systems:
    1. create three partitions, setting each to be the size for OS X copy 1, copy 2, and Windows respectively. The Windows partition needs to be set to MS-DOS format (actually FAT32) which later in the Windows installer you'll reformat as NTFS. Do not use Boot Camp Assistant to resize/partition the disk, it simply won't work for this use case.
    2. install OS X copy 1
    3. install OS X copy 3
    4. Use gdisk (available at sourceforge) which is a command line only application, to create a new hybrid MBR adding only the last partition (Windows) to the hybrid MBR and setting it to be bootable. As a concequence you will not be able to see/share either OS X volume from within Windows. The Windows NTFS volume will be visible from within OS X.
    5. Install Windows to the only partition its installer should see (confirm size), you'll need to format it NTFS first, and I suggest using the fast format option if available.

  • How can I remove the Apple ID authorization only on one computer and authorize another in his place?

    how can I remove the Apple ID authorization only on one computer and authorize another in his place?

    De-authorize the computer in question.
    Then authorize the new computer.
    Or de-authorize all computers and authorize only the ones that actually exist.

  • HT1766 Problems with iPad (3rd generation) i had a pop up on my screen saying i hadnt backed up in 4 weeks i hit ok and the pop up wont go away and now another with the same message has appeared and that wont go either, i cant unlock the ipad because of t

    i had a pop up on my screen saying i hadnt backed up in 4 weeks i hit ok and the pop up wont go away and now another with the same message has appeared and that wont go either, i cant unlock the ipad because of these and i dont think it's backing up properly either
    HELP!!

    Have you tried a reset ? Press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider if it appears), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot.

  • Start/End Date parameters that check day of week and using to set default values.

    Hi,
    I've got a report that presents data between a start and an end date.
    I want it to check if it's a monday and present data from the previous week, otherwise present data from this week.
    For the "Default" value of parameter @startdate, I've got the following expression:
    =iif(WeekdayName(DatePart("w", Today)) = "Monday",DateAdd("d",-8,Today()),DATEADD("d", 1 - DATEPART(DateInterval.WeekDay, Today(),FirstDayOfWeek.Sunday), Today()))
    for @enddate I've got default value:
    =iif(WeekdayName(DatePart("w", Today)) = "Monday",DateAdd("d",-1,Today()),DATEADD("d", 7 - DATEPART(DateInterval.WeekDay, Today(),FirstDayOfWeek.Sunday), Today()))
    but it doesn't appear to be working, I've checked 
    WeekdayName(DatePart("w", Today))
    as an expression in a text box and it evaluates to Monday but my IIF statement above always uses the DATEADD line therefore not returning "Monday" as the value (even though it is).
    Is it a problem that the parameters are of Data/Time data type and I'm trying to evaluate as type text?
    Any help would be appreciated.
    Thanks :)

    StartDate
    =IIf(DateDiff(DateInterval.Day,CDate("01/01/1900"),Today) Mod 7 =0,DateAdd(DateInterval.WeekOfYear,DateDiff(DateInterval.WeekOfYear,CDate("01/01/1900"),Today)-1,CDate("01/01/1900")),DateAdd(DateInterval.WeekOfYear,DateDiff(DateInterval.WeekOfYear,CDate("01/01/1900"),Today),CDate("01/01/1900")))
    EndDate
    =IIf(DateDiff(DateInterval.Day,CDate("01/01/1900"),Today) Mod 7 =0,DateAdd(DateInterval.Day,-1,DateAdd(DateInterval.WeekOfYear,DateDiff(DateInterval.WeekOfYear,CDate("01/01/1900"),Today),CDate("01/01/1900"))),DateAdd(DateInterval.Day,-1,DateAdd(DateInterval.WeekOfYear,DateDiff(DateInterval.WeekOfYear,CDate("01/01/1900"),Today)+1,CDate("01/01/1900"))))
    Please Mark This As Answer if it solved your issue
    Please Mark This As Helpful if it helps to solve your issue
    Visakh
    Hi, 
    This one works but it results to be between monday and saturday, how to make it between sunday and saturday?

  • Continuous data acquisition using NiDAQmx with a start and a stop trigger

    I'm sorry if this has been answered many times before, I can't quite seem to find the answer I'm looking for.
    I am using LabWindows CVI version 7 and NiDAQmx with a PCI6023E.
    I wish to acquire data continuously using an external clock as a timebase - I am happy with this.
    I wish the acquisition to start when an external signal (say on PFI7) goes high. I am also happy with this.
    What I also need is for the acquisition to stop when the signal on PFI7 goes low, or possibly when a signal on say PFI8 goes high. I'm not too concerned about which approach to use.
    How do I stop the acquisition with an external signal?
    Thanks in advance,
    Crispie

    I don't have CVI installed, but I've attached screen shots of a LabVIEW program that I believe accomplishes what you are trying to do. Translating it to the C API should be straight forward. I'll try to explain what the program is doing since it's using some of the more advanced features of the driver. Also, the DAQ device you are using doesn't support a true "stop" trigger so I'm using a reference trigger to get as close to the desired functionality as possible.
    First, the program configures a finite acquisition that uses both a start trigger and a reference trigger. The acquisition is using an external sample clock and will acquire 4 samples (2 pre-trigger samples and 2 post-trigger samples). Four may seem like an odd number here, but it allows us to emulate the functionality of a stop trigger as close as possible. Given this configuration, you must acquire at least 2 samples before the "stop" trigger is recognized, and you must acquire 2 more samples after the "stop" trigger is recognized. Hopefully this restriction is acceptable. You can always discard the last two data points after the stop trigger if they're not of interest, but you're stuck always acquiring at least two points between when the start and stop triggers are recognized.
    The program also overrides the default buffer size and read position. By default, the DAQmx driver will pick a buffer size exactly big enough to fit the pre-trigger and post-trigger data (4 samples in this case) and will begin reading data from the start of the pre-trigger data. Explicitly allocating a larger buffer will allow your acquisition to execute without receiving buffer overflow errors, and changing the default read position will allow you to read all of the data between the start and stop triggers as it is acquired and not just the pre-trigger and post-trigger data.
    Finally, the while loop takes care of reading the data. In this case, the loop continues to read data until the task is done and there are no longer samples available for reading from the buffer. The number of samples read per iteration is the lesser of the user specified amount or the number of samples available for reading from the buffer.
    I hope this helps. Good luck.
    Attachments:
    Stop_Trigger1.JPG ‏40 KB
    Stop_Trigger2.JPG ‏43 KB

  • Set use of only certain Apps and Menus

    I'm a teacher with new eMac's for my design class. I want to set the eMac so only certain Apps will open and run (I know I can set things in System Prefs), but what I'm looking for is a way for the user to ONLY view certain Apps. Right now they can view and click on the App but it won't open.
    I want to limit their "wandering" around the computer.
    Any help is GREATLY appreciated.

    David,
    Have a look at this page:
    http://www.apple.com/macosx/features/family/
    Under Tiger, you can set your computer to limit the programs, etc. that a user may see and access. I use this feature at home for my children, and it works quite well. Unfortunately, this feature is not native to Panter and would require that you upgrade your eMacs to Tiger. Perhaps your school would pay for this. There may be other comercially available programs out there that will do the same.
    Joe

  • When making a phone call, the other end of the line hears a strange dial up sounding noise. Its loud and quite annoying. What do i do?!

    Loud screechy noises are heard on the other end of the line when my iphone 4s is in a phone call. It has to be my phone because multiple people and myself have confirmed hearing it. Its sounds like dial-up. BUT REALLY LOUD!

    I just replied to a similar post and I'll copy and paste my response here. I was having the same exact issue. Here is my possible fix.
    Yesterday I updated the OS to the latest release. Then right after that I called AT&T and they reset my sim card. Or something like that. They did some sort of reset.
    I then got in my car and drove around to test the phone. Because that is when the problem is worse. FINALLY they claim to be able to hear me clearly!!!!
    I think it was the combination of both the OS update and the sim card reset that fixed it. Hopefully..... It has only been one day but so far so good. I'll update this post if things change.
    Try this and let us know if this works for you.

  • What is the use of table maintance generator and how it is used ddic

    hi dear friends
      i would like to know about how the table maintaience generator is used in ddic .i have the step by step processor of that but i would like to know importance and advantages of it .

    Nani,
      With the help of the table maintenance generator, you are able to maintain the ENTRIES of the table in SM30 transaction.
    It can be set in transaction SE11 - Tools - Table maintenance generator.
    Table maintanance Generator is used to manually input values using transaction sm30
    follow below steps
    1) go to se11 check table maintanance check box under attributes tab
    2) utilities-table maintanance Generator-> create function group and assign it under
    function group input box. Also assign authorization group default &NC& .
    3) select standard recording routine radio in table table mainitainence generator to move table
    contents to quality and production by assigning it to request.
    4) select maintaience type as single step.
    5) maintainence screen as system generated numbers this dialog box appears when you click on create button
    6) save and activate table
    One step, two step in Table Maintenance Generator
    Single step: Only overview screen is created i.e. the Table Maintenance Program will have only one screen where you can add, delete or edit records.
    Two step: Two screens namely the overview screen and Single screen are created. The user can see the key fields in the first screen and can further go on to edit further details.
    SM30 is used for table maintenance(addition or deletion of records),
    For all the tables in SE11 for which Table maintenance is selected , they can be maintained in SM30
    Sm30 is used to maintain the table ,i.e to delete ,insert or modify the field values and all..
    It creates the maintenance screen for u for the aprticular table as the maintenance is not allowed for the table..
    In the SE11 delivery and maintenance tab, keep the maintenance allowed..
    Then come to the SM30 and then enter the table name and press maintain..,
    Give the authorization group if necessary and give the function group and then select maintenance type as one step and give the screen numbers as system specified..
    Then create,,,
    Then u will able to see the maintenance view for the table in which u can able to insert and delete the table values...
    We use SM30 transaction for entering values into any DB table.
    First we create a table in SE11 and create the table maintenance generator for that Table using (utilities-> table maintenance generator) and create it.
    Then it will create a View.
    After that from SM30, enter the table name and Maintain, create new entries, change the existing entries for that table.
    For further help look into these links
    http://help.sap.com/saphelp_46c/helpdata/EN/cf/21eb6e446011d189700000e8322d00/frameset.htm
    http://help.sap.com/saphelp_bw30b/helpdata/en/69/c2516e4ba111d189750000e8322d00/content.htm
    Table
    Don't forget to reward if useful.....

  • Data Socket fails if built in DLL and called by Labview

    I've placed a Data Socket Connection Open in a SubVi and tested this by running the VI. -> No Problems.
    Then i've compiled a DLL from this Vi and started it from Visual C. -> No problems
    Now, i've included this DLL in another VI and started this.  Now i receive an Error.
    All Information is hardcoded in the DLL so there are no possiblities with parametrization.
    Does anyone have an Idea regarding this?
    Best regards
    Hacky

    Hello Carsten_S.....
    my collegue, who found this behaviour made a little package to
    show the environment. Since he uses a camera system there is no
    possibility to get it running. But it should be easy to create a LV based
    server.
    Our Environment is:
    LV 7.1
    Windows XPSR2
    Regards, Hacky
    Attachments:
    DLL.zip ‏76 KB

  • Using Attachment Interface in Module and Calling other module conditionaly

    Hi Experts,
    I am currently working with a module where I need to work with attachments coming with emails.
    Can any one please help me , how can I use the different methods of this interface?
    My requirement is to read only the content type of the attachment, taking only the content of the attachment.
    we have two methods in this interface-   getContentType() and getContent() , I think this will serve the purpose.  we have another method  toString() - will this method return the content of the attachment as a  String?
    in the below code fragment-
    Message msg = (Message)inputModuleData.getPrincipalData();
    Payload payload =msg.getDocument();
    will return the main document as XMLPayload.
    can I use this
    Attachment attachment= msg.getDocument();
    and use the method as -
    String str= attachcment.toString(); ---> will this return the attachment content as String ?
    any code fragment for these method in Attachment interface will be helpful.
    I need another help- is it possible to call the adapter module in the next sequence from the previous module code conditionally?
    e.g- I have written I custom module where I need to restrict the processing of the next module ( e,g- payloadswapbean) conditionally? like- the payloadswapbean will called only after certain verification of the attachment other wise it will not be called.
    Request your help
    Thanks to all
    Sugata B Majumder

    Hi All,
    I forgot to update one thing, I am using PI 7.0 SP15, and I am interested only dealing with the the Attachment contents, what I just found that Attachment interface is not possible to use in PI 7.0 as it requires the operational mapping level check - Read Attachment. 
    Is there any way so that the content of attachment can only  be get and the content type of the attachment?
    I want to use this custom module before the payloadswapbean.
    Request your help
    Thanks
    Sugata B Majumder

Maybe you are looking for

  • How to manage more than one iTunes library?

    I want to transfer some media from my lap to an ext drive to create more space. I want one iTunes library on the ext drive for some media and keep the main library on my laptop. I created a new iTunes library on my external drive and added one artist

  • Adobe Reader Error Pop Up

    I get this error message saying to accept the end user licensing agreement of Adobe Reader but when I went to download it, a caption said that by downloading Adobe Reader you automatically accept the licensing agreement. If i automatically accept it

  • Need to change security email for iTunes account.

    Hello, I need to change the security email for my iTunes account because I forgot the answers to the security questions. However the only way for me to get ahold of iTunes is through calling, which I can not do. Is there any other way to contact them

  • Radius fallback on 2960

    Hi, I have ISE 1.2 and catalyst 2960 I have 2 ISE node, the 2 ISE is PSN Normaly user are authenticated on ISE1(192.168.1.1), if ISE1 is not available, user must be authenticated on ISE2( 192.168.5.1) Once ISE1 become available, the user must be auth

  • How to import large excel files which exceeds more then 65535 rows

    Hi there, I am using the latest Numbers version (v3.5.3) on the latest Yosemite (10.10.3) and wonder if and how it is possible to import an Excel file which exceeds the 65535 limit. I know MS Excel has change this limit to 156118 rows. But I don't ha