How do I lock the work order number on my form to not change

Thanks to everyone who helped on this form.  The work order number is setup to generate according to the date and time, only problem is that it changes everytime it gets opened, can it be setup somehow to lock it in automatically when I send it or the customer sends it back?   Form is attached
Thanks
Mike

Simply put a condition in to test if there is anything in the field .....if it is empty then go ahead and calculate your number if there is something in it then do not calculate the number. Also you shodul not use teh Calculate event for this script. I moved it to the docReady event. It will work on the calculate event but the calc event is fired many times in the normal operation of the form where as teh docReady event is only fired once (when the form loads). This is a much more efficient way to use your form.
See the modifed attachment.
Paul

Similar Messages

  • BAPI or FM to get the work order number

    Hi
    Kinldy let me know if there is any BAPI or FM to get the work order number (aufnr)  from to Purchase requisition number (banfn) & Item number of the purchase requisition in the order(bnfpo).
    Thanks ,
    Arun

    Table EBKN will help you.

  • The Work phone number which I deleted is not reflected in Lync Client.

    Hello All, 
    The Work phone number which I deleted is not reflected in Lync Client. It's been more than 48 hours since I deleted the work phone number in AD.  But still the same number listed in the lync contact card. Client policy has been set to 'File download
    only' and Lync client Galcontacts.db has the present date so no issues in downloading the address book file.
    I did the following but the issue is same. 
    >> Forced the address book by shell commands in Lync server to get the new full file generated but no luck after.
    >> Added 'GalDownloadInitialDelay' reg key but still issue persists. 
    >> Deleted all suggested contacts, frequent contacts from outlook contacts and also deleted the 'ContactStateCacheU' registry key but no luck.
    Please let me know if anyone has this issue fixed. 
    Much thanks. 

    Hi,
    So the user is EV enabled and has a LineURI.  Is that LineURI number the same number that you removed from AD? For example:
    1. I removed (555) 555-1212 from my Work Number AD field for John Doe
    2. John Doe has a LineURI of tel:+15555551212
    If so, that is expected.  LineURIs are also taken into consideration when building a user's contact card.   If you do not want this number to show up in the GAL, you will need to look at a
    private line for that user. 
    Please “Vote As Helpful” and/or “Mark As Answer” if this post helped you. Thanks!
    Adam Curry, UC Consultant, Unify Square Inc. (Blog,
    Twitter)
    Looking for Lync Users Groups in your area? Check out
    Lync Users Group

  • How to Find Out The Production Order Number For The Sales Order Line Items

    Hi All,
    I want to know the number of production orders for each sales order line item. I know the sales order number .Can anyone tell me how the tables can be linked to get all the production order numbers for each sales order line item.

    I think it depends on your configuration. But check fields KDAUF and KDPOS in table AUFK.  or in table AFPO.
    Regards,
    Rich HEilman

  • How i can see the Current Order documents

    Hi Gurus,
    can any body  tell me how can i see the current order number documents? in T.Code - KONK  i see that the number range status shows current order document number. but i cannt trace where it to see the document?
    also i check the Order Actual Line Item & Plan Line Item at the time message arrise that Order doesnot exit.
    but in KONK - the current number range status shows the order document number.
    pls help me to overcome the problem.
    Point will be rewarded
    Than'x
    Dhananjay

    Hi,
    you are mistaking KONK with KANK. KONK ist the number range for internal order master data (i.e. order numbers). Please check this via AUFK. Line items have nothing to do with KONK.
    Regards
    Karl

  • I need to get the service order number in the error message

    i need to display the error message with the service order number telling that
    "record does not exist for service order xxxxxxxxx"
    xxxxx-should be the service order number.

    you can define a error no. in message class se91.
    if the error is suppose 101.
       101 - Record does not exist for service &
    use & to concatenate ur variable with the message.
    if you want more than one just addon & to that
    like 4 varibles
       101 - Record does not exist for service & & & &
    in ur code, u can display the message like
    MESSAGE i(ZE)101 with variable
    ZE is ur message class

  • How do you get  the count of number of  checkbox selected?

    hi,
    plz tell me how do you get the count of number of checkbox selected?

    Not sure what you are doing so I will attempt to answer your question. If have one question which can have multiple answers you have will recieve an array so you have to do getParameterValues("name") and move it into an array.
    If you have multiple questions and only value will be selected do a getParameter("name") on each form element.
    HTH, if not provide more detail.
    J.Clancey

  • To get the contact fax number in my form

    Hi!
    I would like to get the fax number on the customer section of my smartform for BOL. How do i get the contact fax number in my form with following lines that i ahve for getting contact name.
    data: l_parnr like vbpa-parnr,
          l_name1 like knvk-name1,
          l_namev like knvk-namev. "first name
    select parnr into l_parnr from
           vbpa
           where
           vbeln = g_sale_ord and
    *      vbeln = is_nast-objky and
           parvw = 'AP'.
           exit.
    endselect.
    if l_parnr is not initial.
       select single name1 namev  into (l_name1, l_namev)
          from knvk
          where
           parnr = l_parnr.
       concatenate l_namev l_name1 into g_contact separated by ' '.
    endif.
    Thanks

    I added this and it shows up the fax number:
    data: l_parnr like vbpa-parnr,
          l_name1 like knvk-name1,
          l_namev like knvk-namev, "first name
          l_kunnr like vbpa-kunnr,
          l_persnumber like adcp-persnumber,
          l_fax_number like adcp-fax_number,
          l_vbelv like vbfa-vbelv.
    select parnr into l_parnr from
           vbpa
           where
           vbeln = g_sale_ord and
    *      vbeln = is_nast-objky and
           parvw = 'AP'.
           exit.
    endselect.
    if l_parnr is not initial.
       select single name1 namev  into (l_name1, l_namev)
          from knvk
          where
           parnr = l_parnr.
       concatenate l_namev l_name1 into g_contact separated by ' '.
    endif.
    select vbelv into l_vbelv from vbfa where
    vbeln = gs_hd_adr-deliv_numb and
    vbtyp_n = 'J' and
    vbtyp_v = 'C'.
      exit.
    endselect.
    select single parnr from vbpa into l_parnr
    where vbeln eq l_vbelv
    and parvw eq 'AP'.
    if sy-subrc eq 0.
      select single * from knvk into g_knvk where
      parnr = l_parnr.
      select single fax_number into g_contact_fax
      from adcp
      where persnumber = g_knvk-prsnr.
    else.
      select single kunnr from vbpa into l_kunnr
      where vbeln eq gs_hd_adr-deliv_numb
      and   parvw eq 'AG'.  "sold to
      if sy-subrc <> 0.
    *from ship to
        select single kunnr from vbpa into l_kunnr
        where vbeln eq gs_hd_adr-deliv_numb
        and   parvw eq 'WE'.  "ship to
      endif.
      check sy-subrc = 0.
      select single * from knvk into g_knvk where
      kunnr = l_kunnr and
      abtnr = 'Z007'.
      select single fax_number into g_contact_fax
      from adcp
      where
      persnumber = g_knvk-prsnr.
    endif.
    Thanks

  • How to pull the Sale order number(sales document) to Accounting document

    Hi Gurus,
    How to pull the sale order number to the accounting document.
    Is any configuration needed to this.
    When i run the FBL5N Repoprt ,Sale order number (Sales document) is not getting updated to accounting document.It is diplaying as blank field.
    Thanks you.

    Hi Shivaji,
    In order to display the Sales document in the customer line item report, you need to add it as a special field thorugh customizing settings.
    Path - SPRO - FA-GL Accounting - GL Accounts - Line Items - Define special fields for finding and sorting data and in that select the table BSEG-and field VBEL2 (Sales document) and save/
    This will work. hope this helsp
    regards,
    radhika

  • How do determine the work orders for a sales order?

    I'm forced to calculate our costs by sales order.  So for a given sales order number, how is this linked to the work order that created the items on the sales order?
    Thanks

    Hi,
    Check this:
    Re: Open Production Orders List with a Field from Sales Order
    Thanks,
    Gordon

  • How to refer the work order status value from a different transaction in the step handler?

    Hi All,
    I have a requirement to check the status of the work order from a different transaction before doing some logic in the current transaction. The following transactions are done to replicate the issue
    1)changing the status to ONSITE to edit the work order (transaction 1)
    2)Adding some information which will do some logic (transaction 2)
    3)Completing the work order (transaction 3)
    The transaction 2 will have some logic and will be executed only if the status is COMP but even though the status is COMP now (transaction 3) my condition check in the logic is showing as ONSITE status(transaction.status=ONSITE) and it fails. How can i get the latest status of the work order in the device? Please advice

    Hi Jason,
    The CompleteWorkOrderFinish sub action does have Apply action (screenshot 1) and the transaction definition (screenshot 2)of CompleteWorkOrderFix transaction with the only property Status which has the following settings (screenshot 3)
    Also I am trying to add a status property in EditMeterFitDetaisl transaction and update this value with the current status of the work order using object collections filtering with key value. Please let me know if that approach can be followed. Thanks

  • How Can i Block the Work Center Once is used in Maintainence Order

    Dear Experts,
    How Can i Block the Work Center Once is used in Maintainence Order in PM module.
    In standard its not blocking the Work Center automatically. How this can be achieved.
    Regards
    Raghu
    Edited by: raghu m on Apr 21, 2009 10:36 AM

    Hi Muthukumar,
    1. You can using the user exit or BADI to control this.
    CONFPP01            PP order conf.: Determine customer specific default values           
    CONFPP02            PP order conf.: Customer specific input checks 1                     
    CONFPP03            PP order conf.: Cust. specific check after op. selection             
    CONFPP04            PP order conf.: Customer specific input checks 2                     
    CONFPP05            PP order conf.: Customer specific enhancements when saving           
    CONFPP06            PP Order Confirmations: Actual Data Transfer                         
    CONFPP07            Single Screen Entry: Inclusion of User-Defined Subscreens            
    BADI
    WORKORDER_CONFIRM
    the above are the user exits that are available fro the CO11N tcode.
    2. we have to take a help of the abaper to write coding fort his.
    3. The user exit should be called for the
    Work Center : YYYYY
    then check the relevant Work Center Once is used in open Maintainence Order and if it has a entry if then give a error message else allow the CO11N to perform.
    Regards,
    Sankaran

  • How to get the IObject from the service order number

    Hi Experts,
    I am implementing the CRM_ORDER_STATUS Badi, in that I am getting the Service Order number but I want to get the IObject number, how to get it, which FM to use or any other table.
    Please let me know.
    Thanks in Advance for your help,
    Praveen

    Hi Praveen,
    In the interface of the badi methods there is import parameter IS_STATUS_WRK with the field GUID
    use that one to call FM CRM_ORDER_READ with that GUID (check if the GUID is for ORDER by using update saved trnsaction).
    in the export parameter ET_ORDERADM_H you will find the object id (only after save unless it was customizing different)
    Amit.

  • Purchase Order : function to determine the purchase order number

    Hi,
    I'm working on data migration to create purchase order. I must use the internally range number. Does anybody knows which function must i use to create the purchase order number before calling the bapi bapi_po_create ?
    with regards
    Jean-Luc Ledoux

    Hi,
    The BAPI is designed to generate the next free number that is defined by the company and allocate it in series.
    This is taken care internally.
    explain the scenario like as from what data ur creating the PO and wht exactly do u mean by having ur own internal number range.....
    No body will have 2 number ranges to define PO....
    if ur uploading data from legacy system then u can have 2 fields called as old purchase order number and purchase order number in new erp system.
    if this is ur scenario ask how the functional mapping is done in the company to accomadate legacy purchase order numbers.
    Regards,
    Jayaram Maganti

  • Cannot create work order number ranges

    Hi Gurus,
    I am working on ECC->XI->SNC systems. I want to maintain work order number ranges in SNC but I am encountering an error or "User is not assigned to a suitable business partner" and also there is no Append Row button to define work order number ranges. Can you please help me configure the user properly? Also, how will the Append Row button appear in SNC? I would appreaciate if you can also provide reference materials on this. Thanks.

    Hi,
    You are getting this error "User is not assigned to a suitable business partner" because the user through which you've logged in is not assigned to any Business Partner of type "Organisation".
    If it it is an internet user, you should assign it to your plant (if he is on the customer side) or Vendor.
    The relationship to be maintained it "Is SNC User of".
    Regards,
    Sandeep

Maybe you are looking for

  • Can I back up to icloud without using wi-fi as the wi-fi option on my iphone is greyed out and won't turn on

    I have an appointment with Apple store later this week and want to be able to back up my phone to icloud before I go. Can this be done without using wi-fi. If it can, how do I do it?

  • I can't open pdf from webpages

    I have Adobe Acobat 6 Professional with upgrade and have updated. I also have installed Adobe Reader 9. The problem is that when I click on a pdf file from a web page the error is that I get reads; The Adobe Acrobat/reader that is running ca not be u

  • Home Sharing-Copying Album in new iTunes

    My husband and I each have our own PC running windows 7. We have the latest version of iTunes installed on each one. In previous versions it was easy to copy an album or song from each other as we have Home Sharing set up. I can remember dragging and

  • Rebuild a Windows 8 Profile?

    Hello, I recently came across an issue with Windows 8 that required rebuilding the user's profile.  I rebuilt the profile just like you would with Windows 7. (Renamed the user's profile folder in C:\users and then deleted the SID registry key from "H

  • Billing issue. Hold Charges

    Every time I try to purchase any app I am asked to update my billing info. On doing that a hold charge of Rs 60 gets deducted from my debit card and still not able to purchas the app. already lost Rs 300 in October 2013 and Rs 180 today. Very bad exp