Fomatted Search Error on AR Invoice

I'm having trouble with the following Formatted search:
SELECT T0.[SLPCODE], T0.[SLPNAME] FROM OSLP T0 WHERE $[$20.0.0] = -1 ORDER BY T0.[SLPNAME]
Any time I use the reference $[20.0.0] tot he Sales Person field instead of $[OINV.Slscode.0] it errors out. the formatted search is assigned to a UDF that allows the user to add a second sales person to the screen but I only want to let them do so if the Sales person assinged to the Invoice is  "-No Sales Employee-", for which the Slscode is -1.  In order to use the same formatted search on the Quote/Order/Invoice i need to referece the Sales person field by it's index.
Also, in my udf I would like to Store the code but display the name.  Is there a way to do that?
Thanks,
Don Shields

Don Shields
Where is the UDF defined? is it on the marketing documents header ...
Storing the Code and displaying the name would not be possible unless the table is a User Table.  The Sales Person (OSLP) table is a system table
You do not need to reference the $\[$20.x.x, you can simply have it as
SELECT T0.SlpName, T0.SlpCode FROM [dbo].[OSLP] T0
ORDER BY T0.SlpName

Similar Messages

  • Error while generating Invoice

    Hi All,
    We are getting an error while generating Invoice from VF03. The error is Form of address key is not defined
    What I had done is, I had assigned a new PRINT program in output type ZD00 by removing the old one & in quality we were getting the output but when it went to production, its giving the error "Form of address key is not defined.
    Please help as this help is coming in Production.
    Regards
    Abhii

    Hi,
    Check the address window in the form. Mostly the key combination used to fetch the address may not be  available in the production thats why it is rasie such error.
    Please close the thread,if solved
    Regards,
    Aditya

  • Sharepoint Foundation Search errors SBS 2011

    I have a SBS 2011 Server that is having SharePoint Foundation Search Errors and my backup is not working because of it.  The service will not start.  Any ideas as to how to fix this would be much appreciated.
    Error 1
    The gatherer is unable to read the registry ContentSourceID missing..
    Context: Application 'Search_index_file_on_the_search_server', Catalog 'Search'
    Details:
    The operation completed successfully.
    (0x00000000)
    Error 2
    Component: add2c3f0-cc4c-41ae-aa1e-ce8ac2088d23
    An index corruption of type WidSetFormat was detected in catalog Search. Stack trace is
         tquery offset=0x0000000000034F68 (0x000007FEBE804F68)
         tquery offset=0x000000000001E39D (0x000007FEBE7EE39D)
         tquery offset=0x00000000000EDF54 (0x000007FEBE8BDF54)
         tquery offset=0x000000000012C5B4 (0x000007FEBE8FC5B4)
         tquery offset=0x000000000012CD77 (0x000007FEBE8FCD77)
         tquery offset=0x0000000000124AF6 (0x000007FEBE8F4AF6)
         tquery offset=0x0000000000125373 (0x000007FEBE8F5373)
         tquery offset=0x0000000000126F9D (0x000007FEBE8F6F9D)
    Error 3
    The plug-in in SPSearch4.Indexer.1 cannot be initialized.
    Context: Application 'add2c3f0-cc4c-41ae-aa1e-ce8ac2088d23', Catalog 'Search'
    Details:
    (0xc0041800)
    Error 4
    Content index on Component: add2c3f0-cc4c-41ae-aa1e-ce8ac2088d23
    could not be initialized. Error Search.The content index is corrupt.   0xc0041800
    Error 5
    The application cannot be initialized.
    Context: Application 'Search_index_file_on_the_search_server'
    Details:
    Unspecified error
    (0x80004005)
    Error 6
    The gatherer object cannot be initialized.
    Context: Application 'Search_index_file_on_the_search_server', Catalog 'Search'
    Details:
    Unspecified error
    (0x80004005)
    Critical Error
    The Execute method of job definition Microsoft.SharePoint.Search.Administration.SPSearchJobDefinition (ID 776e67a1-4b09-4da4-8544-25d0b287f49e) threw an exception. More information is included below.
    The device is not ready. 

    Larry,
    I have an online backup that is backing up the data, the  SBS backup worked the day before, but failed last night.
    The forum said I couldn't post a link, so I modified it below. Spaces are slashes.
    www dot altaro dot com hyper-v sbs-2011-backups-failing-vss-error-0x800423f3-event-id-8230-spfarm-spsearch
    Below are two of the errors that I'm getting.  Maybe if I fix sharepoint search, then that would fix my problem??
    Volume Shadow Copy Service error: Failed resolving account spsearch with status 1376. Check connection to domain controller and VssAccessControl registry key.
    Operation:
       Gather writers' status
       Executing Asynchronous Operation
    Context:
       Current State: GatherWriterStatus
    Error-specific details:
       Error: NetLocalGroupGetMemebers(spsearch), 0x80070560, The specified local group does not exist.
    The backup operation that started at '‎2013‎-‎08‎-‎24T03:00:33.076000000Z' has failed because the Volume Shadow Copy Service operation to create a shadow copy of the volumes being backed up failed with following error code '2155348129'. Please review the
    event details for a solution, and then rerun the backup operation once the issue is resolved.
    Thanks,
    John

  • SharePoint 2010 Search Error: "Internal server error exception"

    Hi,
    We have a SharePoint 2010 Farm with 5 servers:
    1 SQL Server Cluster
    2 WFE
    1 Index Server
    1 Search Server
    Please see bellow a more detailed specification.Our DNS is using a Load Balancer
    It turns out that when it uses one WFE (SERVWFE05) it throws this error:
    SharePoint 2010 Search Error: "Internal server error exception"
    when it uses the other one (SERVWFE06) it works.
    What can be wrong?
    SERVERS IN FARM
    Server
    SharePoint Products Installed
    Services Running
    Status
    SERVAPI07
    Language Pack for SharePoint Foundation 2010 - Portuguese/Português 
     Central Administration 
     Upgrade Available  Remove Server  
    Language Pack for SharePoint Foundation 2010 - Russian/русский 
    Claims to Windows Token Service 
    Language Pack for SharePoint Foundation 2010 - Spanish/Español 
    Microsoft SharePoint Foundation Incoming E-Mail 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
    Microsoft SharePoint Foundation Web Application 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский 
    Microsoft SharePoint Foundation Workflow Timer Service 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español 
    Secure Store Service 
    Microsoft SharePoint Server 2010 
    SharePoint Server Search 
    Web Analytics Data Processing Service 
    Web Analytics Web Service 
    SERVAPI08
    Language Pack for SharePoint Foundation 2010 - Portuguese/Português
     Central Administration 
     Upgrade Available
    Language Pack for SharePoint Foundation 2010 - Russian/русский 
    Claims to Windows Token Service 
    Language Pack for SharePoint Foundation 2010 - Spanish/Español 
    Microsoft SharePoint Foundation Incoming E-Mail 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
    Microsoft SharePoint Foundation Web Application 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский 
    Microsoft SharePoint Foundation Workflow Timer Service 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español 
    Search Query and Site Settings Service 
    Microsoft SharePoint Server 2010 
    SharePoint Server Search 
    SERVSQL13
    Microsoft SharePoint Foundation Database 
     No Action Required 
    SERVWFE05
    Language Pack for SharePoint Foundation 2010 - Portuguese/Português 
     Microsoft SharePoint Foundation Incoming E-Mail 
    Language Pack for SharePoint Foundation 2010 - Russian/русский 
    Microsoft SharePoint Foundation Web Application 
    Language Pack for SharePoint Foundation 2010 - Spanish/Español 
    Microsoft SharePoint Foundation Workflow Timer Service 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
     Upgrade Available  Remove Server  
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español 
    Microsoft SharePoint Server 2010 
    SERVWFE06
    EMBWFEPRD06  Language Pack for SharePoint Foundation 2010 - Portuguese/Português
     Microsoft SharePoint Foundation Incoming E-Mail 
     Upgrade Available
    Language Pack for SharePoint Foundation 2010 - Russian/русский 
    Microsoft SharePoint Foundation Web Application 
    Language Pack for SharePoint Foundation 2010 - Spanish/Español 
    Microsoft SharePoint Foundation Workflow Timer Service 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Portuguese/Português
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Russian/русский 
    Language Pack for SharePoint, Project Server and Office Web Apps 2010 - Spanish/Español 
    Microsoft SharePoint Server 2010 
    MODIFY TOPOLOGY
    Server Name
     Category 
    SERVAPI07   
    Admin 
     Administration Component
    SERVAPI07   
    Crawl
     Crawl Component 1
    SERVSQL13   
    Databases 
     Administration Database : Search_Service_Application_DB1
    SERVSQL13   
     Crawl Database : Search_Service_Application_CrawlStore_DB2
    SERVSQL13   
     Property Database : Search_Service_Application_PropertyStore_DB3
    SERVAPI08   
    Index Partition - 0
     Query Component 1
    Many thanks
    J.CLUA

    HI,
    1.  
    Ensure that the IIS Admin service is running
    2.  
    Ensure that the ApppPool related to the service is running
    3.  
    Ensure that the DB server that application is located is running and have enough space.
    4.  
    Ensure that the Apppool is set with the correct credentials and password.
    Do you see any correllation ID while search or any error.If its a correlation ID,please check the below site to get the exact error from where its generating.
    http://expertsharepoint.blogspot.de/2014/07/how-to-find-correlation-id-error.html
    - See more at: http://expertsharepoint.blogspot.de/search?q=internal#sthash.rS79y0Nd.dpuf
    Anil Avula[Partner,MCP,MCSE,MCSA,MCTS,MCITP,MCSM] See Me At: http://expertsharepoint.blogspot.de/

  • Account determination error while positng invoice

    Hello SAP Gurus,
    I am getting following error while posting Invoice.
    The Revenue account determination is : "access KOFI not carried out(initialise fields)" for Invoice xxxxxxxx ( invoice number)
    Thanks for your support and your help will be acknowledged by points.
    thanks you very much
    Jignesh

    check tranz
    VKOA
    V/10

  • Ultra Search Error Messages

    Is there any list with all possible Ultra Search Error Messages?

    Hi,
    I was using dbca to create a database after installing R12. Errored out with "ORA-20000: Oracle Ultra Search error" after running 71%. It prompts me "Ignore" or "Abort". Why you run DBCA to create a database after installing R12? Rapid Install 11i/R12 will install the database for you and you do not have to do so manually.
    I checked one of the log files "cloneDBCreation", there is an error ORA-01109: database not open. What should I do?If the above is not valid, please check the database log file for details why the database was not created successfully.
    Regards,
    Hussein

  • Can we write query for fomatted search without from clause

    can we write query for fomatted search without from clause as below.
    SELECT (($(u_amt)*14)/100)
    here U_amt is a UDF .I want to assign this to another field .
    Rgds,
    Rajeev

    Hi Rajeev,
    You can write query for FMS without from.  That is because you can omit it when you get value from active form by default.  The grammar of it is:
    Select $[$38.u_amt.0\] * 14/100 in your case if you have item type marketing document @line level.
    From View-System Information, you can get the info you need for your FMS query at the left bottom of your screen.
    Thanks,
    Gordon

  • File Search Error

    Every time I do a file search (on the working set or the workspace) for a string, I get some results,
    but the search seems to terminate early when it hits certain files it thinks are "out of sync."
    I have checked such files and they have not been modified. The error I get is a mostly empty dialog
    that says "File Search (Error: problems encountered during text search.) If I click on the message
    (in the "example" application in this case), I get:
    Problems encountered during text search.
         Resource is out of sync with the file system: /example/WEB-INF/database.xml
         Resource is out of sync with the file system: /example/WEB-INF/.nitrox.hotdeploy
    All I want is the assurance that when I do a search, the results will be complete. How do I
    fix this? I am running the standalone preview-329 under Windows XP with no additional plugins
    to the eclipse 3.0.0 that ships with the release.
    Ben

    Thanks Omar Alonso
    I will go through it.
    vikas
    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Omar Alonso:
    Your db listener is not running or not configured. Please read the documentation or the information at http://technet.oracle.com/products/text/content.html <HR></BLOCKQUOTE>
    null

  • CONTAINS search error while using wildcard character

    HI,
    Please help to me,
    CONTAINS search error while using wild-card characters
    SELECT * FROM CUSTOMER WHERE CONTAINS(EMAIL,'test@%',1) > 0;
    ORA-29902: error in executing ODCIIndexStart() routine
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    Thanks

    I am not sure about the error. But This posting may give you some ideas
    How to limit the number of search results returned by oracle text
    Please have a look.

  • Brazil Notafiscal error at Display Invoice MIR6

    Hi Guys
    We have one problem with Brazil invoice
    MIRA  we are saving invoice ( We are entering NF type E1 in details tab)
    Later on MIR6 post the invoice documnet
    Once MIR4 dispaly invoice if you click notafiscal button
    Error saying that notafiscal document not created
    But If you are doing with MIRO  it will dispaly Notafiscal documnet
    Can any body help this
    Edited by: SAP MM on Nov 27, 2009 11:53 AM

    Hi,
    if you do a "Where used" search of the message you will see that the message appears in
    program LJ1BIF01
    include LJ1BIF01
    and the message is raised here:
      CALL FUNCTION 'J_1B_NF_DOCUMENT_SELECT'
        EXPORTING
          ref_type           = 'LI'
          ref_key            = nf_ref
        IMPORTING
          doc_number         = nf_nmbr
        EXCEPTIONS
          document_not_found = 01.
      CASE sy-subrc.
        WHEN '01'. MESSAGE e211 WITH p_belnr.
      ENDCASE.
    within the above fm tables J_1BNFLIN and J_1BNFDOC are checked.
    Have a look at the entries in these tables for your document.
    Best regards.

  • Error in SD Invoice release to accounting

    While trying to release an SD invoice to accounting, we are getting an error like this:
    Diagnosis
        No account was specified for account type "S" in item
        "0000001012" of the FI/CO document.
    System Response
        The Financial Accounting program cannot process the
        document.
    Procedure
        A system error has probably occurred in the application you
        called up. Check the data transferred to item "0000001012"
        of the FI/CO document.
    I dont understand, what does this mean ?

    I dont understand, what does this mean ?
    Please search the sales forum so that you will come to understand due to the fact that this topic was quite frequently discussed in sales forum and various inputs are there.
    thanks
    G. Lakshmipathi

  • Error in cancel invoice - Message 8B462

    Hi Gurus,
    I need your help for find the solution about one error in MR8M - delivery cost.
    When we try to cancel invoice document (MR8M) - NF type - C1 - Conhecimento incoming, the system shows for us the message:
    An error occured while reading table M1
    Message no. 8B462
    We search this message in SAP, and we found some relevantes notes (639709, 683239 and others), but all notes are for other version. The version of my client is ECC 6.0.
    Someone already see this problem ?
    Thanks very much.
    Cristina

    Hi Cristina,
    Please, review note 1422287 - MR8M: 8B 109 Type of partner not found with doc type 4 or 7
    the symptom seems different, but should help you...
    Regards,
    Mauro

  • "Local event error" with AP invoice workflow

    Dear All,
    I work in AP module Oracle Apps. 11.5.9 version. I have problems with the AP invoice approval workflow (production instance). This problem occurs very ocassionally but is really problematic.
    I couldn't find any proper solution in metalink.
    We have customised the seeded workflow and works fine with all scenarios everyday. But strangely it happens that some functionality doesn't work fine.
    Because of the above problem System Admin. receives thousands of automatic emails.
    Description:
    Event Error Name: WFENG_EVENT_NOTFOUND
    Event Error Message: 3142: Process 'APINV/16880017_1' has no activities waiting to receive event 'oracle.apps.ap.event.invoice.approval'.
    Event Error Stack:
    Wf_Engine.Event(APINV, 16880017_1, JCP_APINV_M, oracle.apps.ap.event.invoice.approval)
    Wf_Rule.Default_Rule(oracle.apps.ap.event.invoice.approval, EDD209EC55E662EFE0340003BA2CC156).
    Has anyone encountered this situation before. If so please reply to me at the earliest.
    Thanks a lot for your valuable time
    Anand.

    Anand,
    See either Metalink Note # 277613.1 (11.5.9) or 330194.1 (11.5.10) - both describe the error and each offers a slightly different workaround. Note that they were easy to find by searching for oracle.apps.ap.event.invoice.approval :).

  • Error during Excise invoice capture

    Dear All,
    I am getting an error during capture of excise invoice.The error message is "Excise invoice no xxx date xxxxof plant xxxx
    does not exist.The message number is 4F175.i have searched forum google but have not got any solution for the error.
    Can any one please help me in this matter
    Regards
    Manash Das

    Hi,
    From your question, I understood that you are referring an Excise Invoice number, so
    Check
    1. Whether the excise number and date is correct
    2. Whether the excise number is available in Excise tables or not
    Thanks
    VJ

  • Formatted Search on A/R Invoice Row level

    Hi All,
    I need your help to do some arithmetical functions on UDFs.
    I have three UDFs at row level of A/R Invoices.
    U_MRP, U_AssValue (Unit & Totals -> Amount)
    U_abtment (Unit & Totals -> Rate)
    I want to do below process, but it gives me error.
    Select ($($38.U_MRP) - ($($38.U_MRP)* $($38.u_abtment))/100) * $($38.11.0)
    but it gives me error. Can any body help me to correct this query to set on U_AssValue as formatted search.
    Its very urgent & Important for me.
    Best Regards,
    Chintesh Soni

    Hi,
    I tried by creating UDF as u mentioned. For me its working perfectly.
    i will tell u how i created UDF created.
    MRP --> Units & Total --> Amounts
    AssValue --> Units & Total --> Amounts
    abtment --> Units & Total --> Rate.
    Save the query as A/r in query generated.
    Select ($[$38.U_MRP.number] - ($[$38.U_MRP.number] * $[$38.U_abtment.number]) / 100) * $[$38.11.number]
    Called this query in the AssValue, Qty --> 2, MRP --> 123, abtment --> 123 final output --> -58.
    Please remove http:// and add set bracket over there.
    Above query is working fine.
    Sagar

Maybe you are looking for

  • Update Qty and Value in Quantity Contract

    Hi, With reference to Quantity Contract when we i create release order the status of quantity Contract should l be changed. Example Order Qty in Quantity Contract    100 pc             Value 10000 One Release order is created  with Order qty 20   Val

  • Is it possible to see next due date in the table.

    Hi everybody, I would like to know one information regarding next due date.  We are having one requirement we want to know the next due date in the table.  Actually we are able to get the same in FBL1N.  But it is generating at the time report genera

  • Indicator stops updating

    Hello, I'm a beginner to labview and have a request. My VI seems to run fine and then partially hangs. I am asking if someone experienced could look at my VI and provide advice. Let me know if I'm breaking any "best principles" etc. I'm trying to rea

  • How do u find out your security questions

    Its really getting on my nerves why now because I forgot the answers because you never asked me to answer them for years........

  • Finished material scrap transfer into scap material code

    Dear Experts, I want to transfer my scarp qnty stock of finished  materia code ABC base unit EA stock into selling scarp material code XYZ base unit KG by mb1b 309 movemnt type but i get error Stok Differnce unit EA and KG .Then in this case which sc