Needed help in FMS

Dear Experts,
I have made an FMS to get Sales Opportunity no in Sales Quotation row level. Actually there is no direct link between Sales Opportunity & Sales Quotation in B1, after the Quotation get saved in the system which is been created from the Opportunity it stores the information of link doc type & doc no in Opportunity table - OPR1.
But i need a Opportunity no before the Quotation is saved for that i have an FMS which has an error of  date/time out of range
for the first query:
FMS-1:
select a.OpprId from OOPR a
                    left join OPR1 b on a.OpprId=b.OpprId
                    left join OQUT c on b.OpenDate=c.DocDate
                    where a.CardCode=$[OQUT.CardCode] and b.OpenDate= $[OQUT.DocDate]
Then i created the second Query:
FMS-2:
select a.OpprId from OOPR a
                    left join OPR1 b on a.OpprId=b.OpprId
                    left join OQUT c on b.OpenDate=c.DocDate
                    where a.CardCode=$[OQUT.CardCode] and b.OpenDate= convert(datetime, $[oqut.docdate], 103)
it has started giving an error of Internal error (-1003)
Kindly suggest what are possible change can be done to over come from this issue.
Thanks in Advance...
Regards
Krishna

Hi Krishna,
you do not have to type http.
The syntax is dollar sign,opening square bracket,table name.column name.datatype,closing square bracket
In SAP B1 2007 it was
The syntax is dollar sign,opening square bracket,dollar sign,table name.column name.datatype,closing square bracket
Thanks
malhaar

Similar Messages

  • Need help in FMS

    Hi
    I my website I want to upload videos or recors videos. through webcam. I am new in this field. I have some doubts regarding video uploading to FMS. I think to use Fms for storing videos. Can I able to convert uploadded video by the user using FFMPEG to flv format and upload it to FMS.

    I'm also new to FMS, but have experience with uploading files and using ffmpeg via PHP.  You can certainly save video to the server via a simple client-side actionscript.  You can write a server side script to execute ffmpeg to convert that file to any format you want (in your case .flv format).  In the case of PHP, you can use the exec() command to call an OS level command to convert the file.  You would need to call the exec() command after the user finished recording (it would be easiest to have a "stop-recording" button on your client movie that closes the publish command).   The issue you need to be careful about is that you must place the converted file within the appropriate streaming directory of your FMS application in order to have the FMS server stream the file to a client.  As far as I know, FMS will not stream files that are outside of an application directory.
    Hope that helps!

  • Need Help with FMS 3.5 - No Idea What I'm Doing!

    Hi guys,
    I am dying for some guidance here.  I've been tasked with setting up a media server so that we can stream video.  Problem is, I have no idea what I'm doing here and am confused by the documentation.  Can somebody please walk me through how I would set up this server so that I can stream a video?  The only thing I've been able to do so far is locate the "sample video player" and type in the address http://localhost/vod/test.flv in the STREAM URL: box.  This works, but the video/sound is very choppy.  Also, how does this relate to the Administration Console?
    Thank you so much for your expertise!  I truly appreciate it.

    Start with http://www.apple.com/macosx/upgrade/,
    http://www.apple.com/support/tiger/install/, and
    http://www.apple.com/support/mac101/cheatsheet/
    Thank you! That's definitely helpful to start with, but I'm still nervous... I realize that this is a hefty upgrade that I'm attempting. What is going to be affected? I'm not terribly concerned about documents, but will I have to re-install programs and such?
    I appreciate your help, thank you.
    -sweetpea
    PowerPC G4 Mac OS X (10.1.x)

  • Need a query FMS

    Hi Experts,
    I need a query FMS to display all sales order numbers in a udf of sales invoice (a/r invoice). The udf is in the header.
    Current SAP B1 8.81 SP00 PL09, in the comments field of a/r invoice, it only shows all deliveries numbers but sales order numbers are missing especially one invoice is created based on multiple delivery orders.
    Please help.
    Kind Rgds,
    Steve

    I managed to solve this problem using the following query FMS:
    declare @sonum as nvarchar(30)
    declare @docnum as nvarchar(30)
    declare @sonumb as nvarchar(30)
    declare @remarks as nvarchar(30)
    declare @series as nvarchar(30)
    set @series = $[oinv.series]
    set @docnum = $[oinv.docnum]
    select distinct @sonum =  (SUBSTRING(t0.comments, PATINDEX('Based On Sales Orders', t0.Comments) + 22, 150))  FROM oinv t0 inner join nnm1 t1 on t1.series = t0.series and t0.objtype = t1.objectcode
    where t0.DocNum = @docnum and t0.series = @series
    select distinct @sonumb = LEFT(@sonum,CASE WHEN CHARINDEX('. Based on Deliveries',@sonum)>0 THEN LEN(@sonum)-24 ELSE LEN(@sonum) END)
    select @sonumb
    but it is not perfect because when the user adds another word before the words ; "Based On Sales Orders" in the comments field  of oinv, the SO no. in the UDF will not appear.
    How to remove all characters either based on sales orders or based on deliveries in the comment field ?
    Steve

  • Need help to develop Pythagoras theorem-

    Hi i need help to develop proofs 2,3,4
    of pythagoras theorems in java as demonstrations
    These are applets can anyone help me with it or give me an idea of how to go about developing it -
    the site is the following
    http://www.uni-koeln.de/ew-fak/Mathe/Projekte/VisuPro/pythagoras/pythagoras.html
    then double click on the screen to make it start

    Pardon my ASCII art, but I've always liked the following, simple, geometric proof:
         a                   b
    ---------------------------------------+
    |       |                                |
    a|   I   |              II                |
    |       |                                |
    ---------------------------------------+
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    b|  IV   |              III               |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    |       |                                |
    ---------------------------------------+It almost goes without saying that I+II+III+IV == (a+b)^2, and II == IV == a*b,
    I == a*a and III == b*b, showing that (a+b)^2 == a^2+a*b+a*b+b^2.
    I hope the following sketch makes sense, stand back, ASCII art alert again:     a                   b
    ---------------------------------------+
    |               .             VI         |
    |     .                 .                |a
    | V                               .      |
    |                                        +
    |                                        |
    |   .                                    |
    b|                                     .  |
    |                                        |
    |                  IX                    |
    | .                                      |
    |                                    .   |b
    |                                        |
    +                                        |
    |      .                                 |
    a|               .                  . VII |
    |  VIII                   .              |
    ---------------------------------------+
                     a                    bThe total area equals (a+b)^2 again and equals the sum of the smaller areas:
    (a+b)^2 == V+VI+VII+VIII+IX. Let area IX be c^2 for whatever c may be.
    V+VII == VI+VIII == a*b, so a^2+b^2+2*ab= c^2+2*a*b; IOW a^2+b^2 == c^2
    Given this fundamental result, the others can easily be derived from this one,
    or did I answer a question you didn't ask?
    kind regards,
    Jos

  • I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    I need help to find and open a job app that I exported, was able to fill out and sign and saved and now can't open it? What did I do wrong?

    What file format did you export it to?

  • Need help to open audios attached in a PDF file

    Hello
    I just need help. I have ordered a reviewer online that has audios and texts in a pdf file. I was told to download the latest adobe reader on my computer. I have done the same thing on my ipad mini. I am not so technical with regards to these things. Therefore I need help. I can access the audios on my computer but not on my ipad.
    I want to listen to audios with scripts or texts on them so i can listen to them when i am on the go. I was also informed that these files should work in any device. How come the audios doesnt work on my ipad.
    Please help me on what to do.
    Thanks

    Audio and video are not currently support on Adobe Reader. :-<
    You need to buy a PDF reader that supports them. My suggestion is PDF Expert from Readdle ($US 9.99)

  • Need help to open and look for file by name

    Hi,
            Im needing help to open a folder and look for a file (.txt) on this directory by his name ... The user ll type the partial name of file , and i need look for this file on the folder , and delete it ....
    How can i look for the file by his name ?
    Thx =)

    Hi ,
        Sry ,, let me explain again ... I ll set the name of the files in the follow order ... Name_Serial_date_chanel.sxc ..
    The user ll type the serial that he wants delete ...
    I already figured out what i need guys .. thx for the help ^^
    I used List Directory on advanced IO , to list all .. the Name is the same for all ... then i used Name_ concateneted with Serial(typed)* .. this command serial* ll list all serials equal the typed , in my case , ll exist only one , cuz its a count this serial .Then i pass the path to the delete , and its done !
    Thx ^^

  • I need help, my ipod touch is not recognized by windows as a harddisk

    i need help, my ipod touch is not recognized by windows like a memory card or a harddisk.
    i would like to transfer the files from pc to my ipod touch without useing itunes.
    as i see theres some people here that theires ipod touch are recongnzed as a digitl camra, mine is reconzied as nothing, some help plz.
    Message was edited by: B0Om

    B0Om wrote:
    ok but i still dont understed, only my itnes recongnize my ipod, when i go to " my cumputer, it dosent show up there, not even as a digital camra
    Your Touch is working correctly. Currently, without unsupported third party hacks, the Touch has NO disc mode. It will only show up in iTunes.
    how do i put programes and games in my ipod touch
    Right now, you don't. The SDK is scheduled to be released in Feburary. Then developers will be able to write programs that will be loadable.

  • Weird error message need help..

    SO.. i havent updated my itunes in a while because i keep getting this weird message.. it comes up when im almost done installing the newest/newer versions of itunes. it says
    "the feature you are trying to use is on a network resource that is unavailable" "click ok to try again or enter an alternate path to a folder containing the installation package 'iTunes.msi' in the box below"
    now when ever i choose a file from the browse box it replies with this message "the file 'xxx' is not a valid installation package for the product iTunes. try to find the installation package iTunes.msi in a folder from which you can install iTunes."
    no idea need help thanks
    ~~~lake
    Message was edited by: DarkxFlamexCaster
    Message was edited by: DarkxFlamexCaster

    +it comes up when im almost done installing the newest/newer versions of itunes. it says+ +"the feature you are trying to use is on a network resource that is unavailable" "click ok to try again or enter an alternate path to a folder containing the installation package 'iTunes.msi' in the box below"+
    With that one, let's try the following procedure.
    First, head into your Add/Remove programs and uninstall your QuickTime. If it goes, good. If it doesn't, we'll just attend to it when we attend to iTunes.
    Next, download and install the Windows Installer CleanUp utility:
    Description of the Windows Installer CleanUp Utility
    Now launch Windows Installer CleanUp ("Start > All Programs > Windows Install Clean Up"), find any iTunes and/or QuickTime entries in the list of programs in CleanUp, select those entries, and click “remove”.
    Next, we'll manually remove any leftover iTunes or QuickTime program files:
    (1) Open Local Disk (C:) in Computer or whichever disk programs are installed on.
    (2) Open the Program Files folder.
    (3) Right-click the iTunes folder and select Delete and choose Yes when asked to confirm the deletion.
    (4) Right-click the QuickTime folder and select Delete and choose Yes when asked to confirm the deletion. (Note: This folder may have already been deleted if QuickTime was successfully removed using Add/Remove Programs earlier.)
    (5) Delete the QuickTime and QuicktimeVR files located in the C:\Windows\system32\ folder. Click Continue if Windows needs confirmation or permission to continue. (Note: These files may have already been deleted if QuickTime was successfully removed using Add/Remove Programs earlier.)
    (6) Right-click on the Recycle Bin and on the shortcut menu, click Empty Recycle Bin.
    (7) Restart your computer.
    Now try another iTunes install. Does it go through properly now?

  • I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    I got new hard driver for my MacBook I don't have the cd but I do have flash drive that has the software I need help because when I turn on my laptop it shows me a file with question mark how can I install the software from the flash driver?

    Hold down the Option key while you boot your Mac. Then, it should show you a selection of devices. Click your flash drive and it will boot from that.

  • Need help adobe bridge cc output module

    I need help. I have an assignment I'm held up on completing because the adobe cc bridge does not have the output modue I need. I followed the adobe instructions page to the letter. I copied and pasted the output module folder to the adobe bridge cc extensions folder in programs/commonfiles/adobe. The only thing is the instructions then say to paste the workspace file into the workspace folder located below the bridge extensions folder. I don't have a workspaces folder there or anywhere. I even tried must making one and adding the file to it, but no go. can someone PLEASE help me with this?    I have an assignment due like now that requires the use of the output modue.thanks!

    oh,my system is windows 8.1. sorry, lol.

  • Trying to create a Invoice based on Order need help Error -5002

    the dreaded -5002 error is haunting me too! and I could not find a matching solution for this in the forum....
    I need help quickly on this. I am trying to create invoices for some orders so the Base - Target relationship is retained. The orders I pick are all Open (DocStatus   = O and the lines are all Open LineStatus = O)
    here is my code
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 0
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00001"
    oInvoice.Lines.ItemDescription = "IBM Infoprint 1312"
    'adding Line
    oInvoice.Lines.Add
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 1
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00002"
    oInvoice.Lines.ItemDescription = "IBM Inforprint 1222"
    'adding Line
    oInvoice.Lines.Add
    lRetCode = oInvoice.Add
    If lRetCode <> 0 Then
        gObjCompany.GetLastError lErrCode, sErrMsg
        MsgBox (lErrCode & " " & sErrMsg)
    End If

    Indika,
    Only set your base types...
    (not items & description)
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 0
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00001"
    oInvoice.Lines.ItemDescription = "IBM Infoprint 1312"
    'adding Line (to fill the second item line)
    ' the 1st line item is there by default
    oInvoice.Lines.Add
    oInvoice.Lines.BaseEntry = 48
    oInvoice.Lines.BaseLine = 1
    oInvoice.Lines.BaseType = SAPbobsCOM.BoObjectTypes.oOrders
    oInvoice.Lines.ItemCode = "A00002"
    oInvoice.Lines.ItemDescription = "IBM Inforprint 1222"
    'DO NOT Add THIS line
    ' (only if you want to add a 3rd line item)
    '''oInvoice.Lines.Add -> Don't add this
    lRetCode = oInvoice.Add
    If lRetCode <> 0 Then
        gObjCompany.GetLastError lErrCode, sErrMsg
        MsgBox (lErrCode & " " & sErrMsg)
    End If
    remember to add :
    oInvoice.CardCode = "your BP"
    oInvoice.DocDueDate = Now
    oInvoiceDoc.CardCode = txtDOCBPCode.Text

  • Installation of Photoshop update 13.1.2 for creative cloud fails with error code U44M1P7 I need help

    I need help installing update 13.1.2 for Photoshop creative cloud, installation fails with error code: U44M1P7. Could someone please help?

    Sorry to bother you.
    I could find the answer after searching previous posts about this language problem.
    Had to change my language in AAM profile and then download PS CS6 again ( english version ).
    Then open the actual Photoshop and in preferences > interface you can besides the Dutch also option for English.
    restart application and Voila.
    Greetz, Jeroen

  • Stored DB Procedure - Need help

    Hi. I have a stored database package containing 2 functions. I need help with the function named ret_columns.
    If you look at the code below you will see this function has two different FOR loops. The Select statement in FOR loop that is commented out works just fine, but when I try to use the uncommented select statement in it's place the Function returns NULL (or no records). However, if I run the Select statement in plain old SQL Plus it returns the rows I need. I don't get it.
    Can anyone help me? I'm really stuck on this one.
    -- PACKAGE BODY
    CREATE OR REPLACE package body audit_table_info
    as
    function ret_tables return table_type is
    t_t table_type;
    i integer;
    begin
    i := 1;
    for rec in (select distinct table_name
    from all_triggers
                   where substr(trigger_name,1,9) = upper('tr_audit#')) loop
    t_t(i).tableA := rec.table_name;
    i := i+1;
    end loop;
    return t_t;
    end;
    function ret_columns return column_type is
    c_t column_type;
    i integer;
    begin
    i := 1;
    -- for rec in (select distinct table_name column_name
    -- from all_triggers
    --               where substr(trigger_name,1,9) = upper('tr_audit#')) loop
    for rec in (select distinct b.column_name column_name
    from all_triggers a, all_tab_columns b
                   where a.table_owner = b.owner
                        and a.table_name = b.table_name
                             and substr(a.trigger_name,1,9) = upper('tr_audit#') and rownum < 5) loop                    
    c_t(i).tableB := rec.column_name;
    i := i+1;
    end loop;
    return c_t;
    end;
    end audit_table_info;
    -- PACKAGE DEFINITION
    CREATE OR REPLACE package Audit_Table_Info as
    type table_rec is record( tableA all_tab_columns.TABLE_NAME%type);
    type table_type is table of table_rec index by binary_integer;
    function ret_tables return table_type;
    type column_rec is record( tableB all_tables.TABLE_NAME%type);
    type column_type is table of column_rec index by binary_integer;
    function ret_columns return column_type;
    end Audit_Table_Info;
    /

    It works when I do this!!! I'm so confused.
    Ok...so I did this:
    1 create table test_columns as
    2 (select b.column_name
    3 from all_triggers a,
    4 all_tab_columns b
    5 where a.table_owner = b.owner
    6 and a.table_name = b.table_name
    7 and substr(a.trigger_name,1,9) = upper('tr_audit#')
    8* and rownum < 5)
    SQL> /
    Table created.
    Then altered the Function so the Select statement refers to this table:
    function ret_columns return column_type is
    c_t column_type;
    i integer;
    begin
    i := 1;
    for rec in (select distinct column_name
    from test_columns) loop
    c_t(i).tableB := rec.column_name;
    i := i+1;
    end loop;
    return c_t;
    end;
    Again, any help would be greatly greatly appreciated!

Maybe you are looking for

  • Cut parts of a PDF file to paste in other document

    I am using Adobe Reader 8.1.1. In an earlier version it was possible to cut parts of a PDF file and paste it into an other document. This feature does not seem to work in V8.1.1. Any solution to this problem. Best regards Peter

  • The check box for syncing apps not showing in iTunes Apps page

    My new iPad is syncing Books, iTunes U, Movies and Music but not Apps. When I look in iTunes on my iMac the option box to sync apps is not there. It just says Apps all the other pages, Music, TV Show, Podcasts etc. have a check box for syncing. Any i

  • Cisco ISE posture problem

    Hi all, I've been playing around with ISE demo and I am very impressed!!! After trying different scenarios with my co-workers I came to a point where we find it kind of buggy. I have rules to redirect unknown users to pasturing through web where they

  • Huhh....! struck in syncing of apps.. ???

    recently i changed my pc os to windows8.1. when i try to sync apps to my ipod touch it asks to authorize the computer for syncing apps as usual. when i authorize it it pop up a message you cannot authorize more than 5 . i tried even by resetting the

  • Find AND return element of a TreeSet Object

    How can i find and return (a reference) to an element/object, that is contained inside a TreeSet? An existing method doesn't exist. I'll try to use the existing methods however to construct a new one. Is this possible? Is there anything else that i c