Hi Suda Sampath

Hi Suada Sampath,
                            Can u tell me how we get System Variable Number for a particular field. I know how to get System Variable Number for Title Data. But i don't know how to get the system variable for table data.
Thanks,
Suresh Yerra.

Hello Suda,
You can see the variable o most of the fields doing the following:
In the main menu go o View then system information:
When you will stand on the field at the bottom in the message bar you will have the following information:
Form (relevant for SDK and Additional Authorisation)
Item (which is the first number for the variable in the query
Column ( will give you the second number for the variable)
The other information will be row and variable.
hope that help.
Regards
Murielle
Hello Suda,
You can see the variable o most of the fields doing the following:
In the main menu go o View then system information:
When you will stand on the field at the bottom in the message bar you will have the following information:
Form (relevant for SDK and Additional Authorisation)
Item (which is the first number for the variable in the query
Column ( will give you the second number for the variable)
hope that help.
Regards
Murielle
Please disgard I did not realise you were about PLD.
Unfortunately you cannot use the variable (only in certain cases in 2007 A).
You can try to use the formula field to call the information you want from a repetitive area to another.

Similar Messages

  • Query Help Plz

    Hi experts:
    I have a problem with my query, I have 2 series of billing
    If I want to get a report of a single series that I only get the full amount without detail.
    I am not throwing well this amount. In fact is bigger
    It's just that simple add up the total of all invoices of that series, omitting the invoices canceled (with the targettype <> 14) who comes to me for being alive only bills that are not within any notes credit
    This is my query:
    SELECT TIPO = 'SELLOS', (SUM(T0.DOCTOTAL)) MONTO FROM OINV T0 INNER JOIN NNM1 T1 ON T0.SERIES = T1.SERIES INNER JOIN INV1 T2 ON T0.DocEntry = T2.DocEntry  WHERE T0.DocDate BETWEEN [%0] AND [%1] AND  T1.SeriesName  = 'SELLOS' AND T0.CANCELED = 'N' and  T2.TargetType <>'14'
    Best regards.

    Thanakz Suda Sampath  !
    I have to join The name of series for print in papers.
    Secondly a test in my query your sugestions (T2.Linetotal)and the result is lower compared with the correct report becuse my report is based in total of invoices(but thankz! )
    here other test, in this test i count the # of docnums in which      
    summarize my total, here is my error (i belive) because the query shows 37,  and in my other report (is correct) i have 32 rows (invoices)
    SELECT Distinct TIPO = 'LASER', (SUM(T0.DocTOTAL)) Total,count(T0.Docnum) 'No Invoices' FROM OINV T0 INNER JOIN NNM1 T1 ON T0.SERIES = T1.SERIES INNER JOIN INV1 T2 ON T0.DocEntry = T2.DocEntry WHERE T0.DocDate BETWEEN [%0] AND [%1] AND  T1.SeriesName  = 'LASER' AND T0.CANCELED = 'N' and  T2.TargetType <>'14'
    The result of my query:
    TIPO                    Total                               No. Invoices
    Laser                  32,186.94                              37  
    I think that my query is having some bug in the validation (and T2.TargetType '14
    Why? Simple, I have five bills that were canceled.
    37(invoices) - 5 (cancelled) =32 Invoices  But not work
    Best regards

  • Importing Legacy A/R and A/P Invoices using DTW

    Hi All,
    I have in interesteing situation which I need some help for.
    We started using SAP B1 begining of 2008. We used DTW to import the open A/P and A/R invoices from last year (legacy data). We didn't want the legacy data to have any impact on P&L, only to be able to receive and make payments for these invoices in B1. Therefore we used a service inovice without posting to the revenue and COS accounts. Since it is not possible to post directly to a control account I created a new G/L account for Accounts Payable and Accounts Receivable (I called them AP Migrated and AR Migrated), which is not a control account.
    When preparing the DTW files, In the lines file I specfied the AccountCode as this AR and AP Migrated G/L accounts.
    Since the BP to whom these invoices relate to, have the A/P and A/R control account defined in the BP master data, each of these migrated invoices posted to the AP Migrated account with the Offset Account being the original A/P Control Account.
    Now that I am recording payments, the AP and AR accounts are being updated but not the AP and AR Migrated accounts. To illustrate: Let's suppose I migrated an AP invoice for $100. It posted to the AP Migrated account and the Offset Account being the AP Control Account. Now the balance on the AP Migrated Account shows $100, and the balance on the AP Control Account shows -$100. Now after I record the payment for this invoice the AP Control Account balance is $0, but the AP Migrated account still shows $100.
    How can this be rectified, and  is this the correct way of doing this?
    Many thanks,
    Myran

    >
    Suda Sampath wrote:
    > For anything to balance the debits and the credits must be equal.  If your AR Migrated account total matches the AP Migrated account, then you can balance them through Internal reconciliation or JE.
    >
    > The best way to balance this opening balance account is only when you import all the balances not just AR & AP.  If the AR and AP account do not balance, then the Internal Recon balacing account would be one of the P&L Accounts which would show in your P&L statement.
    >
    > Suda
    Hi Suda,
    Once again, many thanks for your good and speedy replies.
    I am only importing the AR & AP transactions which I need to process payments in the new fiscal year. I am not importing all the other PL stuff.
    Am I better off using then a seperate GL account for the AP and a seperate one for AR?
    BR,
    Myran

  • A/R INVOICE COPIED WITH WRONG VALUES

    Hi all
    My client users had entered few correct delivery documents with discount at row level. As the items were excisable so outgoing excise invoice were also entered
    Now problem is that while copying delivery documents to A/R invoice, discount at row level wasn't copied. Delivery doc was copied to A/R inv doc (by using copy to functionality) but we wonder discount wasn't copied. No one noticed so in this way many invoices are wrongly copied and entered.
    Now we have to make payments but invoices are wrong. What to do?
    Please suggest what I can do now and also guide how discounts are not getting copied to target document.
    Edited by: Suda.Sampath on Feb 6, 2011 9:18 AM

    Hi
    Thanks for replying.
    Can you please elaborate the procedure for creating A/R credit memos and re creating  A/R Invoices as on creating Credit memos following things will happen:
    1. Automatic incoming excise invoice will be created at backend which will effect the registers, then do i need to create again outgoing excise invoice from delivery and the A/R invoice. But in that case delivery document is already closed.
    I am stuck here. Could you please again explain and suggest.

  • Auto-refresh formatted search is not working properly...

    I have created a User Defined Field in Item Master named: FLD1 (Alphanumeric 30)
    Then I have created a User Defined Field in Marketing Documents Row: FLD1 (Alphanumeric 30)
    Now I want as follows u2013
    In Marketing Documents if I select any Item, the value saved in FLD1 in the Item Master will come automatically in the Field FLD1 of the Marketing Document.
    I did as follows u2013
    I have created a formatted search for the above marketing document (in Sales Quotation) for the field FLD1 as follows u2013
    Option: Search in Existing User-Defined Values according to Saved Query
    Query: GetItemFLD1 (SELECT $[OITM.U_FLD1] )
    Option: Auto Refresh  -
    When Exiting Altered Column
    Field: Item Description
    Option: Display Saved User-Defined Values
    But the above is not working automatically --- after saving the document if I click on the Formatted Search Marker then the value comes otherwise not.
    Can any one please explain the reason behind?
    for SAP B1 2007 B SP0 PL7
    Edited by: Narottam Das on May 5, 2009 1:53 PM

    Check this thread for explanation of Syntax of FMS:
    [Refer to Sales Order From Payment Means;
    Refer Suda Sampath  reply that explains clearly

  • Price Revised

    Hi All,
    Can someone please advise on best method to solve the following scenario.
    After we raised an invoice to a customer (say for 1,000 pcs at $2 each), and the customer made a payment for this invoice, we realized that we overpriced, and instead of $2 each price should have only been $1.95 (customer payment matched $1.95 per pcs.).
    These units are stock items. If we do a A/R Credit then the goods go back to stock.
    Many thanks in advance.
    Myran

    >
    Suda Sampath wrote:
    > Create a Service Credit Memo for the difference and select the Revenue GL Account.
    >
    > Use this CM to reconcile the AR Invoice and Payment
    >
    > Example: 0.05 X 1000 pcs = 50.00  (CM Value)
    Can there be a link between the AR Invoice and the Service CM?

  • Open orders sud not come into effect..

    whenever 'm running MRP, system is showing all open orders (sales orders, STO's, Purchase orders)since from 2002 & 2003, & taking into account in MRP run also.
    but my requirement is that it sud only take into account the open orders which are april'07 onwords not before than that.
    how to do..

    No this is not possible to control..only option is we have to close all the orders which have been completed logically like the sales  order,STO,Purchase order etc..
    since they have not been completely closed due to business reasons..System will not be able to identify ..for SAP it is also treated as open orders..
    so we have to take care periodically ensuring that all the unwanted demand has to be properly closed...
    reg
    DsK

  • Can you change the color of a row in a SUD

    Is it possible to change the color in a selected row in a SUD? I have multiple tables in my SUD were the user can select multiple rows from each table. The problem is that when the user selects rows in another table the last one selected in the previous table is not hi-lighted. I thought that if I change the color of the row when selected the user can see all the selections once he/she goes to another table.
    Thanks,
    AJL

    Hi AJL,
    There is no way to color rows of the table control in a SUDialog. You could consider using the ActiveX container control and using the Microsoft ActiveX table control, which might have that functionality. Note though, that then you need to either ensure that control is always on all your client machines or make provisions for it to be installed/registered.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • Suda! Again to restriction of items from PO based on SO

    Hi Suda!
    Let me remind u abt the thread "Restriction for items from Purchase Order based on Sale Order" ( Restriction for items from Purchase Order based on Sale Order ), after tht
    I have Tried in bringing out the stored procedure for Serial Number block too similarly from Batch Block stored procedure. as the client has many serial numbered item, i did so. it is working well Suda. But the problem is i cud'nt bring the SONO in the error message. Here is the procedure.
    IF @Object_type = '15' AND @transaction_type = 'A'
    BEGIN
    If NOT Exists (SELECT DISTINCT T0.IntrSerial AS 'GR PO Serial', T10.ItemCode AS 'GRPO ItemNo.',
    T10.BaseEntry AS 'GRPO DocEntry', T3.BaseEntry AS 'Delivery DocEntry'
    FROM  [dbo].[OSRI] T0
    INNER JOIN [dbo].[SRI1] T10 ON T0.SysSerial = T10.SysSerial AND T0.ItemCode = T10.ItemCode
    INNER JOIN [dbo].[PDN1] T1 ON T1.DocEntry = T0.BaseEntry
    INNER JOIN [dbo].[POR1] T2  ON T2.DocEntry = T1.BaseEntry
    INNER JOIN  [dbo].[SRI1] T3 ON T3.SysSerial = T10.SysSerial
    INNER JOIN  [dbo].[DLN1] T4 ON T4.DocEntry = T3.BaseEntry
    Where T2.BaseEntry != -1 AND T2.BaseEntry = T4.BaseEntry AND T4.DocEntry = @list_of_cols_val_tab_del)
    BEGIN
    DECLARE @SONO1 VARCHAR(10) SELECT DISTINCT @SONO1 = T3.DocEntry FROM  [dbo].[OSRI] T0
    INNER JOIN [dbo].[SRI1] T10 ON T0.SysSerial = T10.SysSerial and T0.ItemCode = T10.ItemCode
    INNER JOIN [dbo].[PDN1] T1 ON T1.DocEntry = T10.BaseEntry
    INNER JOIN [dbo].[POR1] T2  ON T2.DocEntry = T1.BaseEntry
    INNER JOIN [dbo].[ORDR] T3 ON T3.DocEntry = T2.BaseEntry
    WHERE T0.IntrSerial = (SELECT T4.IntrSerial FROM OSRI T4 INNER JOIN SRI1 T5 ON T4.SysSerial = T5.SysSerial and
    T4.ItemCode = T5.ItemCode where T5.BaseType = 15 AND T4.BaseEntry = @list_of_cols_val_tab_del AND
    T5.ItemCode = T0.ItemCode)
    SELECT @Error = 1, @error_message = 'This SERIAL no. linked with another Sales Order ' + @SONO1
    END
    END
    I think some where i am going wrong in this above high lightened Procedure. Kindly help me to bring the Value of @SONO1.
    i tried a lot to bring tht but failed to bring tht SONO num alone. The error msg is thrown as 'ADOC' alone.
    thanking you in advance,
    Meera.

    You had everything correct but instead of T5.BaseEntry you had it as T4.BaseEntry.  Please change it to T5.BaseEntry as shown below and it should work.
    where T5.BaseType = 15 AND <Font Color="Brown" > T5.BaseEntry </Font> = @list_of_cols_val_tab_del
    It had nothing to do with DataType.
    Suda

  • Interaction, View with SUD

    Hello,
    my plan is to create a view sheet with integrated dialog (as you can see below). What i would like to have is, that when the user klicks on the Button "Goto", a Interaction starts (InteractionOn) so that the user can select a point in the diagramm. My problem is to combine InteractionOn with the Button klick event?! Interaction should not start until the user klicked on the Button.
    My second question: Is there a easy way to go somewhere backwards in a program, or e.g. go back to main-menu (dialog)  or "start"
    Thanks a lot

    Hi Brad_Turpin,
    i think in my case it's a bit more difficult. First i'm not quite shure if get right what you mean with "callback code of a SUDialog" ?!
    In my matter I'm starting a Script (main script), in this script at the beginning i call my "main" dialog with Suddlgshow(.....,oDlgVar), then the user makes some settings and after that klicks on a button to start one of some different "evaluation programms" -> transfer back to main script, where the evaluation codes are in subroutines (better performance than in Dialog) -> show results (view with SUD)
    Call Main
    Sub Main
    Call Suddlgshow("Dlg1",sPathDocuments & "MainSUD.SUD",oDlgVar)
    If DlgState="IDOk" then
    If oDlgVar.bstart1 then
    Call Program1
    Elseif oDlgVar.bstart2 then
    Call Program2
    End if
    End if
    End Sub
    Sub Program1
    End Sub
    Sub Program2
    End Sub
    What I'd like to have is the opportunity to "go back" to "main" Dialog preferably with a button in View with SUD, so that the user can start a different programm or change settings.
    I appreciate every idea or suggested solution for my issue
    Thanks a lot

  • How to select, with a SUD DIALOG, the range and the trace data to import from citadel

    Hello,
    I use DIAdem to generate reports from Citadel and I would like to create a script which asks the user to select data and it's corresponding range to import it from citadel. The script should display a dialog box (sud dialog), the user will choose the data and the range. 
    I would like to know if a function exists because up to now, I have not found anything suitable for this.
    In my search i found this (see answer from Brad Turpin) http://forums.ni.com/ni/board/message?board.id=60&message.id=985&requireLogin=False
    But I don't know how to automatize it with sud dialog
    I am looking for information and examples on the subject.
    Thanks

    Hello,
    I changed the data base path, when I run the script an error message appeared (see attached file). When I look the dataportal files, I see that the complet data is charge and not a window (see attached file). have you any idee?
    Attachments:
    error load citadel function.pdf ‏455 KB
    view.pdf ‏279 KB

  • Where should I save my SUD files?

    Hi All,
    I am trying to call a dialog box from a script with this code:
    Dim MyDlg Set MyDlg = SudDlgCreate("Input", "DlgProgress")
    DIAdem displays the error >>Cannot find "dlgProgress.SUD" file<<
    How can I "tell" DIAdem where to look for the file? (inserting the full path instead of "DlgProgress" didn't work)
    Regards,
        FraCh
    Solved!
    Go to Solution.

    Hi FraCh,
    you only need to mention the whole path like:
    Dim MyDlg
    Set MyDlg = SudDlgCreate("Input", "C:\DlgProgress") . But you'll have no permission to write this directory (C.
    If you don't mention any directory or  path DIAdem will use the path which is storage at Userpaths of the settings window. (%CSIDL_COMMON_DOCUMENTS%\National Instruments\DIAdem 2011\Data\)
    In larger applications it's not recommended to use the whole path. You usually use path variables.
    Have you already used the record mode(dt: Aufzeichnungsmodus)? When you start this mode you have to choose one of this three possibilities to go on(->Attachment)
    Try them to see the differences.
    Regards,
    Philipp K.
    AE | NI Germany
    Attachments:
    Record mode.png ‏21 KB

  • How can I define the position of a SUD dialog in Diadem-AUT​O?

    In the COD dialog-editor you can define the X- and Y-position of every dialog-window. In the SUD dialog-editor these options are not available. Is there any way to specify the position of a SUD dialog?

    Hi Johannes,
    There are two parameters in the dialog properties called "Top" and "Left" that seem to deterine the position of the upper left corner of the dialog on the screen.
    I have only used them in the "Preview" window of the SUD editor, but they seem to work fine.
    Let me know if this is what you were looking for.
    Otmar
    Otmar D. Foehner
    Business Development Manager
    DIAdem and Test Data Management
    National Instruments
    Austin, TX - USA
    "For an optimist the glass is half full, for a pessimist it's half empty, and for an engineer is twice bigger than necessary."

  • Control VIEW cursor with SUD Dialog

    Hello,
    I've developed a little SUD dialog and sticked into the bottom of VIEW. I the TopArea I've "CurveChart2D".
    With the dialog I want to change the cursor type and mode (see code below)
    If I try to change the cursor from this script (the script is inside the embedded VIEW dialog I get the message of DIAdem "error"
    If I try now to change the cursor with the VIEW buttons I get the message "Schwerwiegender Fehler".
    In fact this little script crash DIAdem. I've to restart.
    If I use the Dialog standalone (not as a part of VIEW), everything works fine.
    I believe the problem is, that you can't change something from an ActiveArea (Dialog in Area : 2) inside an InactiveArea (2D Graph in Area :1)
    But this works (graph change something inside the dialog)
    Sub ViewConnector_EventCursorPosChanged(ByRef This) 'Erzeugter Event-Handler
    'todo change the label and value controls for the different cursor and trim methods
     edtXPosVal.Text = View.ActiveSheet.Cursor.X1
     edtYPosVal.Text = View.ActiveSheet.Cursor.Y1
     edtChnPos.Text =  View.ActiveSheet.Cursor.P1
    End Sub
    So the point is,
    1. how is it possible to control VIEW with an embedded SUD dialog?
    2. The script engine shouldn't crash DIAdem. It should just abort or shouldn't be executable.
    Sub Button1_EventClick(ByRef This) 'Erzeugter Event-Handler
    iTrimMethod = rdbtnTrimMethods.Value
    Dim oSheets
    Dim oChart
    oSheets = View.Sheets
    sSheetName = View.ActiveSheet.Name
            Select Case iTrimMethod
                  Case 0
                   MsgBox View.ActiveSheet.Name & " Index= " & View.ActiveSheet.Index
                     Set oChart = View.Sheets(View.ActiveSheet.Name).Areas("Area : 1").DisplayObj
                      View.Sheets(View.ActiveSheet.Name).Cursor.Type = "Crosshair"
                      View.Sheets(View.ActiveSheet.Name).Cursor.Mode = "GraphPoints"
                      View.Refresh
                  Case 1
                  MsgBox View.ActiveSheet.Name & " Index= " & View.ActiveSheet.Index
                      View.ActiveSheet.Areas(1).Active = True
                      View.Sheets(View.ActiveSheet.Name).Cursor.Type = "Band"
                      View.Sheets(View.ActiveSheet.Name).Cursor.Mode = "GraphPoints"
                      View.Refresh
                  Case 2
                  MsgBox View.ActiveSheet.Name & " Index= " & View.ActiveSheet.Index
                      View.ActiveSheet.Areas(1).Active = True
                      View.Sheets(View.ActiveSheet.Name).Cursor.Type = "Crosshair"
                      View.Sheets(View.ActiveSheet.Name).Cursor.Mode = "GraphPoints"
                      View.Refresh
            End Select
    End Sub
    Best regards
    Thomas Plöger
    BASF Catalysts Germany GmbH

    Hallo Mr. Plöger,
    I've double-checked the described behavior. In general, the script code you've developed is OK. But there was a bug in DIAdem that causes the problem. It will be fixed with the DIAdem 2010 service pack that we can provide soon.
    Greetings
    WalterRick

  • Select more than one item in a SUD listbox?

    Is there a way to select more than one item in a listbox in a SUD? I can't find anything in the properties relating to that. I want to be able to select one or more items in a listbox just like I can in LabVIEW.
    George

    I tried to do this a while back but had no luck so I took another approach. I ended up using a table instead of a listbox. Here is a link to my posting a while back. Brad's example worked well for me.
    http://forums.ni.com/ni/board/message?board.id=60&message.id=1711&query.id=0#M1711
    Good luck,
    AJL

Maybe you are looking for

  • Extension not appearing in Photoshop CS5

    Hi, I'm not being able to get my simple extension to show up on the window\extensions menu in photoshop CS5. I'm using Flash Builder 4 CS5, with the CS SDK 1.5, without Extension Builder. I've tried everything. The extension runs ok inside Flash Buil

  • Safari crash after opening a PDF file

    For the past week or so, everytime a link leads to a PDF file, Safari loads the file and then immediately crashes. I have checked my disk, verified and fixed any permissions, etc. but the problem persists. Although I checked the "report" button when

  • Uploading rows more than 10 in Custom Web ADI

    Hi All, We are using Apps R12.1.3. I created one new Custom Web ADI Integrator and uploading rows into custom table. It is uploading only 10 rows, and message after uploading showing as 'Uploaded 10 rows successfully', even if the rows are more than

  • Incorrect sum function result in invoice

    I'm a Numbers noob, so apologies if this has been covered elsewhere, but I couldn't find it.This issue causes me no issues in Excel but doesn't work properly in Numbers, so I'm wondering what gives. I have an invoice for my clients where I have multi

  • Illustrator 2.0 scripts no longer work in 5.5

    I learned applescript to write this script in 2008, and have no memory of how I did it. Now we've upgraded, as Illustrator 2.0 is not supported by new macbooks, and the script doesn't work in 5.5 (my new version). If someone has any insight into how