Getting an error "Too_many_tokens" after created rule relating to Freight

Requirement - Client wants different GL Account for event created relating to Freight and different GL Account for event relating to normal invoice
Actions taken
1)We have created new event type "Freight"
2)We have used decode script in Unearned Revenue function of Revenue and Invoice Accounts in Autoaccounting
3)We have used PL/SQL function in decode script.
4) We created 3 events for a Project ( All events having event types as Freight)
5) We generated draft Invoice then Approved and Released the Invoice
6) When we transfer Invoice to Receivables we are getting following error message
Error : Too_many_tokns
We have created pl/sql function and called in sql script with decode
Please refer the decode script and PL/SQL function that we are using.
CREATE OR REPLACE FUNCTION get_aa_event_type_fnc (p_project_id NUMBER)
RETURN VARCHAR2
IS
lv_ret_value VARCHAR2 (150);
SELECT event_type
FROM pa_events p
WHERE --(p.completion_date, p.event_id) IN (
p.event_id IN (
SELECT --completion_date ,
event_id
FROM (
SELECT ROWNUM srno, pe.completion_date, pe.event_id
FROM pa_events pe,
-- pa_cust_event_rdl_all pdra,
pa_draft_invoices_all a,
pa_draft_invoice_items b
WHERE pe.project_id = p_project_id -- 16174 -- p_project_id
-- AND pdra.event_num = pe.event_num
-- AND pdra.task_id = pe.task_id
--AND pdra.project_id = pe.project_id
--AND pdra.project_id = b.project_id
--AND pdra.task_id = b.task_id
AND pe.task_id = b.event_task_id
AND pe.event_num = b.event_num
AND a.draft_invoice_num = b.draft_invoice_num
AND a.project_id = b.project_id
AND a.project_id = pe.project_id
AND NVL (pe.bill_trans_bill_amount, 0) <> 0
AND a.transfer_status_code = 'P'
ORDER BY 1, 2
WHERE srno = 1);
RETURN lv_ret_value;
EXCEPTION
WHEN OTHERS
THEN
RETURN 'OTHERS';
END;

Hi Peter
Just a wild guess
Can it be so that You included SlideShows - as I get it they can cont. 99 photos each and that this no. has some relation to Chapter handling.
May be there is some problem related to this
• max 99 Photos per SlideShow
• max 99 Chapters per DVD ?
• max 99 Menus per DVD
I would try - Rebuilding a new project and see when or what makes it to react with this Error message.
Yours just thinking - Bengt W

Similar Messages

  • I am getting this error message after upgrading to iOS5: "iTunes cannot sync apps to the iPad "ray's iPad" because the apps installed on the iPad could not be determined."

    I am getting this error message after upgrading to iOS5: "iTunes cannot sync apps to the iPad "ray's iPad" because the apps installed on the iPad could not be determined."
    I wiped it out and restored from backup but I am still getting the same message.

    I uninstalled and reinstalled iTunes and that fixed it. Here are the specific instructions that I was given.
    ~~~
    Try the following steps:
    1. Go to Microsoft website to fix install and Unistall problems. Click "Run now" from Fix it to remove all iTunes & related installer files:
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Be aware that Windows Installer CleanUp Utility will not remove the actual program from your computer. However, it will remove the installation files so that you can start the installation, upgrade, or uninstall over.
    2. You should remove all instances of iTunes and the rest of the components listed below:
    it may be necessary to remove all traces of iTunes, QuickTime, and related software components from your computer before reinstalling iTunes.
    Use the Control Panel to uninstall iTunes and related software components in the following order:
    iTunes
    QuickTime
    Apple Software Update
    Apple Mobile Device Support
    Bonjour
    Apple Application Support (iTunes 9 or later)
    Follow the instructions from Apple article listed here: http://support.apple.com/kb/HT1923 to remove all components
    3. Reboot your computer. Next, download iTunes from here:http://www.apple.com/itunes/download/ and install from scratch
    ~~~
    Good Luck!
    ~R

  • Keep getting an error can't create font then it quits

    When booting after effects CS 5 I get an error can't create font, then an error that says AE can't  complete start up.

    I bought a new 27" imac, which doesnt come with a superdrive, so I had made image files from the disks and when installing I stalled when installing fonts. but when I forced quit the image files everything ran fine, and I didn't think anything about it until I went to boot AE CS 5 last night. When It didn't open and gave me an error message of can not create font, I uninstalled the app and re-installed via the original disks (just bought the external superdrive) and I am still getting the message. I installed mic office 2011 2 days ago and I did wonder if it is a font error from that, but everything else is booting from the master collection, premier, flash catalyst, illust, indesign, and photoshop etc. I have been running the main three for the last 3 weeks on the machine with no issues. I am running Mavericks  0S 10.9.5.

  • I have no trouble viewing apps in the iTunes Store on my iPad. However, every time I try to install a new app, I get an error message after a while - cannot connect to iTunes Store. This issues cropped up two days ago on my new iPad. Please help...

    I have no trouble viewing apps in the iTunes Store on my iPad. However, every time I try to install a new app, I get an error message after a while - cannot connect to iTunes Store. This issues cropped up two days ago on my new iPad. Please help...

    JUst experienced the exact  same problem after changing password.Getting same message. Hope someone has an answer for this.

  • I'm trying to backup a my harddrive with disk utility but I'm getting an error  Unable to create Backup.dmg" (input/output error). Is there any other way to save my data? I believe my hard drive is failing or corrupt file. I can't boot up. Grey screen

    I'm trying to backup a my hard drive with disk utility but I'm getting an error  Unable to create Backup.dmg" (input/output error). Is there any other way to save my data? I believe my hard drive is failing or corrupt file. I can't boot up. Grey screen and spinning wheel. I've tried everything https://discussions.apple.com/message/20580424#20580424
    any help will be greatly appreciated.

    Check here. Also have you done a TimeMachine back up?
    http://support.apple.com/kb/TS2570

  • I get an error message after downloading the latest update. It says to download only and then to install manually. How do I fix this?

    I get an error message after downloading the latest itunes update.  It says to download only and then to manually install. How do I do this?  Or, is there some way to make the download work?  Thank you.

    The message is 'errors have occurred, go to tools>download only and try installing manually'.  BTW, I am using Google Chrome.

  • I'm getting an error -42110 after the download of the rental movie, anyone ??

    Hi there, i'm getting an error (-42110) after i finish the download of the rental movie on itunes.
    it won't let me play the movie.
    anyone would know?
    cheers

    i learned that if i buy the same movie again,after repairing that issue, then the movie plays just fine.
    pay pay pay...
    Ack. Check to see if you can get a refund for the first rental. Under "Video purchases" click "Rental" and click the "Email us" button:
    http://www.apple.com/support/itunes/

  • I get an error message after downloading ios5

    I get an error message after downloading ios5 and updating that says "the iphone could not be restored.  This device isn't eligible for the requested build."
    Any ideas???

    Temporarily disable your firewall and security software and see if that helps.

  • I have never been able to upgrade my phone I always get an error message after it goes 2 hours on the computer someone told me I could do it wifi but I don't know where to go to start the download

    I have never been able to upgrade my phone I always get an error message after it goes 2 hours on the computer someone told me I could do it wifi but I don't know where to go to start the download

    Make sure you have the right system requirements before you start to update the iOS, you will need:
    Apple ID (required for some features)
    Internet access
    Syncing with iTunes on a Mac or PC requires:
    Mac: OS X v10.5.8 or later
    PC: Windows 7; Windows Vista; or Windows XP Home or Professional with Service Pack 3 or later
    iTunes 10.5 or later (free download from www.itunes.com/download)

  • Getting error message after creating project ess~org from ESS track

    Hi All,
    Our basis team just now implemented the track for ESS and MSS.So we need to sync all application from DTR.
    We are facing problem with one Dc essOrg.I have created project essOrg from ESS track in inactive DC of development configuration.Build of DC is successful,where as in the Task tab its showing below error message:
    " Tree TreeCont [dataSource]: Context element and property are not compatible Orgchart.wdview     NWI_HR1_Dessorg~sap.com/src/packages/com/sap/xss/hr/org/chart  "
    I have done the follwing steps :
    1.I have close the project.Then remove it from client.Then close the NWDs and reopen it.Still the same error we are getting after creatig project from the track.
    2.Even we tried to repair the DC.Its asking for check out.Then after creating activity its showing an error pop up message "org.eclipse.jdt.core.JavaModelException: Classpath contains duplicate entry: D:Documents and settings/susmita.panigrahi/.dtc/2/DCs/sap.com/pcui_gp/xssfpm/_comp/gen/default/public/FloorplanManager/lib/java/sap.compcui_gpxssfpm~FloorplanManager.jar "
    3.I have open the OrgChart view of VcOrgChart Component in NWDs.I have found that the data source property of Tree node is showing red cross mark with name OrgTab(name of context node).I have tried to select another node also other than the context node OrgTab , getting message "Select an attribute of Type"
    Can any body tell me how to solve the error"Context element and property are not compatible " coming for DC ess~Org?
    Thanks
    Susmita

    If you have created other projects and they are working fine? Standard application should work without any modifications, so you may like to revert all the changes(before they cause further problem).
    Well you may like to clean up your directory , unless you have loads of application checked out.. Remove all applications from this particular Track, ensure that everytime you delete project from Studio , select to remove code from directory.
    This is likely that you are working on applications from two tracks, where version of FPM component is not the same. I always prefer to work one at a time, and i remove other track if i am done with application(This is lame way of handling it, but i prefer this.. saves loads of time to clean/repair)
    Also hope you are using compatible version of Studio.
    Rgds

  • Confounded by error sound after creating new adjustment layer

    after creating a new adjustment layer I (often) find that despite having clicked on the new mask I cannot either change the background colour, or zoom the brush etc I just get an error sound 'plonk'
    If I click on another layer then back it will work - this keeps hapening -what am I doing wrong? I also can create adjustment layers at other times with no problems, not chaninging anything AFAICS
    thanks for your help

    Hello, could you post a screen capture? http://forums.adobe.com/message/4209263#4209263
    And please post Photoshop's help>System info...
    Is there any content in the image? the levels histogram will look empty if the image is all black or white.

  • Getting print error messages after 8.1.3 update

    Adobe Acrobat 8 - Since the 8.1.3 update a couple days ago, I am now getting print error messages in the Adobe PDF printer status box when I send any document to the Adobe PDF printer. The actual printing of the document in Adobe works correctly, but these error messages occur as well - even though the document printed just fine.
    I am running Windows Vista Ultimate and did not have the issue prior to the 8.1.3 update.

    I have removed PDFMaker from Office, to try to simplify the troubleshooting. All attempts to print end up the same, whether from PDFMaker (before I removed it from Office), from print to Adobe PDF from within an Office app, or using Create a PDF in AP 8.1.3 from an Office file ... the last hourglass comes up in "reading Adobe PDF" and stays up. I can see the "target file" created in WinExpl but greyed out, and the hourglass (busy) never goes away in AP 8.1.3.
    In contrast, if I want to create a pdf from a "save as" text file, AP 8.1.3 creates the pdf instantly. Create a pdf from scanner also works fine. This problem is definitely related to updates, since AP 8.1 worked perfectly the last time I used it from Office, which was perhaps 2 months ago.
    AP 8.1 suddenly stopped working this week with a "can't create PDF" error message, I updated AP all the way to 8.1.3, and have the problem described above. I don't get an error message now, the create PDF or print to PDF simply never completes.
    BTW, both my desktop and notebook run Vista Ultimate 64-bit, both have registered and activated copies of AP 8.1.3, and Office 2007, and both have the exact same problem.
    I uninstalled AP 8.1.3 on the desktop, installed the trial version of AP 9.0, and experienced the exact same problem as with AP 8.1.3, the create pdf never completes, but produces no error message.
    I print to XPS as a workaround since print to Adobe PDF never completes.

  • Getting a error while running creating a sample page on sharepoint 2013 and visual studio 2013

    hi,
       When i trying to create a sample web service for create page dynamically to sharepoint 2013 using visualstudio 2013 getting a error message while consume  the web service browser itself. so i have tried to change the target platform but
    to 32 but its not possible but only "Any CPu" available on the list
    Visual Studio :2013
    Sharepoint 2013 
    Error msg :
    Microsoft SharePoint is not supported in 32-bit process. Please verify that you are running in a 64-bit executable.
    at Microsoft.SharePoint.Utilities.SPUtility.CheckFrameworkAndProcess()
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_RegistryConnectionString()
    at Microsoft.SharePoint.Administration.SPConfigurationDatabase.get_Local()
    at Microsoft.SharePoint.Administration.SPFarm.FindLocal(SPFarm& farm, Boolean& isJoined)
    at Microsoft.SharePoint.Administration.SPFarm.get_Local()
    at Microsoft.SharePoint.SPSite..ctor(String requestUrl)
    code :  
    <%@ WebService Language="C#" Class="sharepoint_cust_service" %>
    using System;
    using System.Web;
    using System.Web.Services;
    using System.Web.Services.Protocols;
    using Microsoft.SharePoint;
    using Microsoft.SharePoint.Publishing;
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line. 
    // [System.Web.Script.Services.ScriptService]
    public class sharepoint_cust_service  : System.Web.Services.WebService {
        [WebMethod]
        public string HelloWorld() {
            return "Hello World";
        [WebMethod]
        public void Export_To_Sharepoint()
            SPSite site = null;
            SPWeb web = null;
            site = new SPSite("http://sites/pages/");
            web = site.OpenWeb();
            PublishingWeb publishingWeb = PublishingWeb.GetPublishingWeb(web);
            SPContentTypeId contentType = new SPContentTypeId("NewContentTypeID");
            PageLayout[] layouts = publishingWeb.GetAvailablePageLayouts(contentType);
            PageLayout pageLayout = layouts[0];
            string pageName = Server.MapPath("/newpage.aspx");
            PublishingPage newPage = publishingWeb.GetPublishingPages().Add(pageName, pageLayout);
            newPage.Update();
            newPage.ListItem.File.CheckIn("created");
            newPage.ListItem.File.Publish("created");
            web.Dispose();
            site.RootWeb.Dispose();
            site.Dispose();
    Software developer

    goto propeties of your project and click on build tab and select 64X or any cpu platformtarget as it should work .

  • When re-installing JRE 1.2.2 I get an error "can't create JAR file"

    When I uninstalled Java Runtime 1.2.2 and reinstalling, at the end of the installation I get an error:
    "Error while creating JAR file.
    Check you have enough disk space.
    See c:\winnt\temp\uncrunch.log for details"
    Only trouble is I've got 14 GB open and the uncrunch.log file isn't even created.
    Any suggestions or help would be greatly appreciated!
    Johan

    I am also getting a similar error with JRE 1.3.1
    I actually get an uncrunch.log:
    Running uncrunch
    lpCmdLine = "C:\Program Files\JavaSoft\JRE\1.3.1\tmp\rt.out" "D:\\rt.jar"
    Crunching from C:\Program Files\JavaSoft\JRE\1.3.1\tmp\rt.out to D:\\rt.jar
    Temporary file = D:\\rt.tmp
    Couldn't open output file "D:\\rt.tmp"
    The only problem is that D: is a CD ROM drive. Don't know why it is trying to use D:
    Any one have any ideas?

  • Error message after creating new responsibitiy on new Operating Unit

    Hi All,
    Steps to Reproduce:
    1- Add new Legal entity
    2- Adding new operating unit from (define organization) with the organization classifications :
    a. HR Organization
    b. Operating Unit
    c. Company Cost Center
    3- Run the request “Replicate Seed Data”
    4- Adding the new Operating Unit in company all Operating units security profile
    5- Adding the security profile for the new Operating unit
    6- run the request "Security List Maintenance” for “, ALL_PROFILES, , , ALL, , ,”
    7- Create new responsibility
    8- In profile option at the responsibility level add the operating unit and the security profile for the new responsibility
    9- Add the new responsibility to an existing user
    10- the Error "AP_FINAP_NOT_DEFINED" appearing when try to open any form
    thanks in advance,

    From Oracle Support:
    *R12: APXINWKB : Unable to Create New Invoices due to AP_FINAP_NOT_DEFINED for Security Group [ID 1092873.1]*
    Run the HR concurrent program Security List Maintenance after creating a new Security Profile.
    Be sure that the parameter "Generate List For" is set to "All security profiles".

Maybe you are looking for

  • ITunes Downloads Same Episode Simulataneously?

    iTunes 6.0.1, 12" PowerBook G4 867 MHz, 256 MB RAM, Mac OS X 10.4.3 iTunes 6.0.1, 15" eMac 1.0 GHz, 256 MB RAM, Mac OS X 10.3.9 I am downloading 5 episodes of "Monk" and we thought that I I used Advanced>Check for Purchases on our eMac that maybe we

  • [Solved] Can't login with current keyboard layout and `@` in password

    Hi, I'm a new arch user. I followed archwiki to install Enlightenment17. All went fine but I have a problem to login since during setup I inserted '@' in root/regular user passwords. During setup I selected the Italian layout and all seems ok, except

  • I am new to Labview and was wondering if it is possib

    le to control Labview via an external script? I am trying to automate my testing and want to use a script to send commands that will call my equipment.vi models and have it configure the equipment via GPIB to the test instruments. Thanks in advance -

  • System Disk or External Drive for FCS Extra Content? Does it matter?

    Does it matter if you put the Apple Loops, DVD templates, LiveType data, etc etc on the system disk? Is it better to have it on a second drive--like a Scratch drive for extra data? thanks PowerMac G5 Dual 2.0   Mac OS X (10.4.5)   Final Cut Studio

  • Refurbished iMac

    Hi guys, are refurbished iMac available only at Apple Store ? Is there any reseller that sells them on INternet ? Here in Italy the Apple Store offers only few refurbished products. Thanks.