Form personalization : sales order form (line) to make subinventory field mandatory

I have requirement to make sub inventory field mandatory in Sales Order Line, I tried using Form Personalization on 'When Validate Record' and making the fields required. But even though the field is showing as yellow but system allowing me to save the order line without this fields? Any input?
thanks
challa

Forms Personalization is a feature of the Oracle Enterprise Business Suite (EBS) not a feature of Oracle Forms.  Please post your question in the EBS General Discussion forum.  If you have a general Forms question, by all means, ask it here!
Craig...

Similar Messages

  • Update Production Order Form if Sales Order Form has been updated

    Hi Experts, how can you update the "Due Date" in the Production Order form if the "Delivery Date" in the Sales Order form has been updated?  I am having problem catching the actual event if the Date was modified.  I'm not sure if I'm coding this correctly, but this is what I have so far:
                If ((pVal.EventType = SAPbouiCOM.BoEventTypes.et_FORM_DATA_UPDATE) And (pVal.Before_Action = True)) Then
                    strSQL = "SELECT DueDate FROM OWOR WHERE DueDate = '" & strDueDate & "'"
                    orecordset = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                    orecordset.DoQuery(strSQL)
                End If
    Please share your examples.

    All, thank you for your help.  I understand why it is not working now.  I was able to accomplish what I was lookin for with the following code (for anyone who was having the same problem as me:
                If pVal.FormTypeEx = "139" And pVal.EventType = SAPbouiCOM.BoEventTypes.et_VALIDATE Then                     
                    If pVal.ItemUID = "12" And pVal.BeforeAction = False And pVal.ActionSuccess = True Then  
                        oEditText = oForm.Items.Item("12").Specific
                        myNewDate = ConvertDateString(oEditText.Value, "test")                              
                        SODocEntry = oForm.Items.Item("8").Specific.Value                                     
                        oPdo = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oProductionOrders)          '
                        oRecordSet = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
                        oRecordSet.DoQuery("SELECT DocEntry from OWOR where OriginABS = '" & SODocEntry & "'")
                        If Not oRecordSet.EoF Then
                            oPdo.GetByKey(oRecordSet.Fields.Item(0).Value)
                            oPdo.DueDate = myNewDate
                            intResult = oPdo.Update                                    
                            If intResult <> 0 Then                                                                               
    oCompany.GetLastError(errInt, errString)
                                oApplication.MessageBox("oApplication_ItemEvent: " & errString)
                            End If
                            oRecordSet.MoveNext()                                                                               
    End If
                    End If
                End If

  • Form personalization - Sales Order Lines

    Hi All,
    My requirement is to make an unused column as barcode field, while entering sales order lines, so that user enters the barcode. The corresponding system item code, description has to be defaulted.
    The link between barcode and item is available & captured in DFF - attribute1 of Item master.
    I have used Customer Po Number columns as barcode and populated the Item value using form personalization. But In normal sales order line the while choosing the item UOM is populated automatically and while entering the Qty the price will be populated. This is not happening in my case.
    Property:
    Object Type : Item
    Target Object : LINE.ORDERED_ITEM_DSP
    Property Name: VALUE
    Value: =     select segment1
                        from mtl_system_items_b
                   where attribute1 =''||${item.LINE.CUSTOMER_LINE_NUMBER.value}||''
                        AND organization_id = ''||${item.LINE.SHIP_FROM_ORG_ID.value}||''
    Thanks & Regards,
    Max

    In an OM responsibility, go to Items-> Cross Reference, create a new Cross Reference Type of Barcode.
    Click the Assign button.  Add an item and in the value column, put your barcode.  For barcodes, leave the "Applicable to all orgs" checked.
    Now go to the order screen, and in the ordered item field, type the barcode value you set up.
    Using folder tools on the order line,  you can expose "Internal Item" and "Item Identifier Type" to see that the type is "Barcode" and it maps correctly to your internal inventory item.
    Most documents will show the ordered the item - so all your docs will also show the Barcode value for this order.
    Here's an article with some screenshots:  Johan Louwers Personal Blog "my view on the IT world".: Oracle EBS cross references

  • Form Personalization Sales Order Line Promise Date Mandatory

    Hi,
    I am trying to make the Promise Date mandatory on the Sales Order line through form personalization and it's working fine for the new orders. But its not working for the Copy Order's, it shows mandatory. but still allows to proceed to next line or save or allow to book the order..
    Any helps on this please.
    I am on 11.5.10.2
    Thanks.

    Add 2 Form Personalizations -  we need one for new instance and one for new block
    FP#1 at Function Level
    Triggering Event: WHEN-NEW-ITEM-INSTANCE
    Triggering Object:  LINE.PROMISE_DATE_MIR
    Seq 10
    Property
    Object Type: item
    target object: LINE.PROMISE_DATE_MIR
    property name:  REQUIRED (APPLICATIONS COVER)
    value:TRUE
    FP#2 at Function Level
    Triggering Event: WHEN-NEW-BLOCK-INSTANCE
    Triggering Object: LINE
    Seq 10
    Property
    Object Type: item
    target object: LINE.PROMISE_DATE_MIR
    property name:  REQUIRED (APPLICATIONS COVER)
    value:TRUE

  • Order type Personalization Problem in Standard Sales Order Form

    Hi All,
    We have a problem in personalization of Sales order form.Here we are trying to personalize three field based on order type
    Scenario 1:_
    _Nav-->Oredr Management Super User-->Orders,returns-->Sales Orders-->order type-->standard_
    In this type if we are navigating to lines it should ask the following fields as mandatory
    (Nav-->Oredr Management Super User-->Orders,returns-->Sales Orders-->others form)
    1.Shipping Method
    2.Freight Terms
    3.Shipment priority
    Scenario 2:_
    _Nav-->Oredr Management Super User-->Orders,returns-->Sales Orders-->order type-->Bill only & Internal & RMA_
    then it should navigate to line items without asking those three mandatory fields.
    For that we did the following Personalization through Help-->Diagnostics-->Custom Code-->Personalize
    Level--> Form level
    Enabled-->Yes
    Condition_
    Trigger Event: When-Validate-Record
    Trigger Object: Order
    Condition : +(:ORDER.ORDER_TYPE not like '%INTERNAL') and (:ORDER.ORDER_TYPE not like '%BILL%') and (:ORDER.ORDER_TYPE not like '%RMA')+
    Processing mode : both
    level:site
    Actions_
    seq:10
    type:property
    description:Make field mandatory
    language:all
    enabled:yes
    object type:item
    target object :ORDER.SHIPPING_METHOD
    property name:REQUIRED
    value:TRUE
    Problem+_
    The problem we are facing is when we first select the ordar type as Bill only or Internal or RMA it is working as expected. But first if we are select the order type as standard then we navigiting to lines it is not allowing us without entering those three mandatory fields as expected. Hence the problem is without closing the form we changed the order type as Bill only now also those fields remains as mandatory this is issue .
    So hope the problem is clear to you all and we have to move this in production on tomorrow.
    If somone helps to resolve this ASAP we would thankful to you.
    Thanks in advance
    Regards,
    CSK

    Hi Sandeep,
    Thanks for your quick response.
    you might not have getting the our problem sorry. let me explain you clearly
    If the ordre type is standard the following fields should be mandatory without those fields it should not navigate to line items_
    1.Shipping Method
    2.Freight Terms
    3.Shipment priority
    If the ordar type as Bill only or Internal or RMA_
    1.Shipping Method
    2.Freight Terms
    3.Shipment priority
    non mandatory should navigate to line items
    for that we did three personalization for those three fields as in the previous post
    but the problem is
    when we first select the ordar type as Bill only or Internal or RMA it is working as expected the fiel sare non mandatory the without closing the form if we select order type as standard then if i try to navigate lines it is not allowing me without entering the three fields. But incase first we are select the order type as standard then we navigiting to lines it is not allowing us without entering those three mandatory fields as expected. Hence the problem is without closing the form now we changed the order type as Bill only or internal or RMA now also those fields remains as mandatory this is issue .
    hope now the problem is clear to you .
    Thanks in advance
    Regards,
    CSK

  • Item should not duplicate in sales order form in line tab ..

    Hi All,
    Not very sure this is the right forum for this if not please tell me the correct forum to post this.
    We have a requirement(11.5.9) which we have to achieve it using custom.pll, as I am very much new to use it need help on this.
    In Sales Order form once we enter in Lines Information TAB,
    For example we will enter Item 'ABCD' at Line 1.1 then again at Line 2.1 if I try to enter the same item 'ABCD' it should pop up a message saying "Item Already Entered" once we press Tab on Ordered Item Field.
    If we enter a different Item it should take as usual.
    I will appreciate if some body posts the code for the same which we can do it using CUSTOM.pll
    Thanks in Advance
    Devender

    If you are in the WHEN-VALIDATE-ITEM trigger, you cannot navigate back through the list of already entered records (especially if record you are in is not complete). It does delay the validation, but duplicate checks are typically done by querying the database on both WHEN-VALIDATE-ITEM and PRE-INSERT/PRE-UPDATE triggers. This means when entering a new Sales Order, you won't be warned that Line 2 has the same item as Line 1 until you save, but there are no navigation required to avoid issues such as trying to leave the current record before it is valid.

  • Issue while updating(Changing) quantity on line at quick sales order form

    Hi,
    I am facing a issue while changing quantity ordered on the order line in quick sales order form. (R12.1.3)
    Although the same logic works exactly as required in 11.5.9.
    There is a custom logic, post booking line status is Awaiting Shipping.
    Now when quantity is changed +(Saved), the status changes to a custom state but at the same time a new row is created with the same line id but different reservation id in the MTL_RESERVATIONS.
    The quantity here is the difference between the original quantity and the new entered quantity.
    And post completion of the custom logic the original row is updated, but being there a additional row the quantity reserved at the shipping tab comes wrong.
    Our requirement is of update which is happening but not the additional insert which is going into MTL_RESERVATIONS.
    The logic is perfect in 11.5.9 and no additional insert is being made.
    Kindly help and give some ideas for the possible reason the issue.
    Please ask for more information if required.
    Thanks,
    Vishal

    Hi Mahendra,
    I have gone through the note id that you have given. sorry to say that, that is refering to diffrent issue.
    Actually what i did is, At form header level, I have hide the fileds using the folder options. once after changes I have closed the form and re-opened it. by that time I can see that Button names got changed in bottom of the "Quick sales order form". Not sure how it become changed. there five buttons over the form, only two button names got changed.
    Kindly suggest any other options.

  • Sales Order Form - Order line entering very slow

    When Sales Order form is opened and order lines are being entered; right after entering a partial item number, LOV appears and then when item number is selected from the LOV, the cursor takes about 25 to 80 seconds to reach the next field. Has anyone else come across this issue? Have a TAR/SR opened with Oracle but not much help yet.
    Desperate for help on this one.
    Regards,

    If you are in the WHEN-VALIDATE-ITEM trigger, you cannot navigate back through the list of already entered records (especially if record you are in is not complete). It does delay the validation, but duplicate checks are typically done by querying the database on both WHEN-VALIDATE-ITEM and PRE-INSERT/PRE-UPDATE triggers. This means when entering a new Sales Order, you won't be warned that Line 2 has the same item as Line 1 until you save, but there are no navigation required to avoid issues such as trying to leave the current record before it is valid.

  • Using PDF form as a sales order form on Android device

    Hi,
    I'm working on a digital sales order form solution, and found Adobe Reader for Android looking to be usefull. However I'm stuck with some questions and hoping to find answers here on the forums.
    I don't have a lot of experience with creating PDF's, but I do have sufficient experience with Javascript, so I managed to create form that does some calculations. Everything looks and works alright, but for it to work in the field there are some showstoppers.
    The form I've created has 2 signature fields
    Here are my issues. Please keep in mind that the user (sales representive) is filling in the form on an Samsung Galaxy Note.
    After the form is signed, the user can still make changes to the form. Is there a way to disable this?
    The signature default uses very thick lines. How can I force this to 1px default?
    The last used signature is stored. How can I disable this? (Customers don't want their signature to be stored, as the sales rep could use that to sign other forms as wel..)
    Adobe reader overwrite the original file upon closing. Is there a way to force a 'save as' screen?
    Adobe reader allows a user to make comments and write free hand. I'd like to disable this.
    (I've tried Document Restrictions, but this ruins the document by removing every form field.. )
    I've read something about Adobe LiveCycle server. Could that help me achieve wat I'm looking for?
    I hope someone can help me out and explain some of this

    Check out http://www.pdfemail.net/
    With PDFEmail.net, you can submit XML, FDF, XFDF, XDP data formats or PDF format.
    PDFEmail.net can merge the Data (XML) submission with a blank form using ASP.net, and attaches it to an e-mail message and sends it through SMTP, without client side e-mail software such as OUTLOOK.
    PDFEmail.net is installed on a workstation, and generates scripts and libraries you "UPLOAD" to your ASP.net webserver. There is no server-side installation, and zero programming knowledge is required. PDFEmail.net creates the scripts for you, and you just point your submit button action to the URL of the script.
    PDFEmail.net uses iTextSharp technologies, and includes 1 year of free technical support.
    For more information visit http://www.pdfemail.net/

  • OM: Disable auto refresh check box in Quick Sales Order Form

    hi,everyone
    In screen [Quick Sales Order Form],
    we want to let the auto refresh check box always be checked and can not be updated with Form personalize.
    I didn't find the item in this form,
    and i konw that there is a value which defined in the Profile : [OM: Quick Sales Order Form: Auto Refresh](ONT_QUICK_OE_AUTO_REFRESH).
    Can anyone give me some suggestions?
    thx for ur help.

    hi,Pradeep
    Thanks for your reply.
    Actualy,the profile "OM: Quick Sales Order Form: Auto Refresh" has been setted into 'Line' firstly as we want to auto-refresh order lines.
    So the 'auto refesh' checkbox is checked with default value in the screen,
    but the order line would not be auto-refreshed when user uncheck the checkbox manually.
    So we want to disable or invisible the 'auto refesh' item in the screen with form personalize,
    the problem is i can not find the item or the block in the form.
    Or is there any suggestions to archive this?
    Can you please help me?
    Thanks,
    Leno
    Edited by: Leno Sun on 2013/05/07 19:35

  • Adding Quantity in Sales Order form in 11i

    I am trying to use forms personalization (under 11i) to add-up order quantity of multiple item lines to check against certain value. if it is less then let the order be booked, if it isn't then give error and stop processing. Will appreciate if someone can help, urgently.
    I am able to check the quantity and preform the check at each line level but not able to figure out how to add up the quantity if there are multiple lines.
    This is to be done in Sales Order form under Order Management.
    Thnx
    Suhail

    Hi;
    For your issue i suggest close your thread here as changing thread status to answered and move it to Forum Home » Application Development in PL/SQL » Forms which you can get more quick response
    Regard
    Helios

  • Getting FRM-40105 in the sales order form when applying sales credits

    Hi,
    i'm trying to apply sales credits at the line level.
    1.I get FRM-40105 unable to resolve reference to item SALES_CREDITS while trying to save the data in the sales credits window of the sales order form-OEXOEORD(this happens only if i say save and proceed).
    2.If i simply say 'ok' in the sales credits window the data entered in the salesrep field and quota and percentage gets saved but the data i entered in the 'ADDITIONAL SALES CREDIT INFORMATION' flexfield
    doesn't get saved.If i query the order number and if i go back to the sales credits window i'm not able to see the data i entered in the flexfield popup.
    Any idea of why this is happening so? we are in vision 11.5.5.
    Regards,
    Nithya

    Hi All,
    Does any1 have any suggestion for my question...
    Thanks,
    Lp

  • Sales Order Form

    So, I have basically tried to take a paper form we have and convert into a fillable form, but I have a few questions.
    1.) Someone on here had a marvelous, MARVEOUS form that had a button that just basically added a new row for each item, rather than limiting it to a specific number (7 on my sheet) is there an adobe script way of going about that -- or was that just a propietary thing to that form? (I've attached the file)
    2.) I have a password activate lock/unlock button that is used to lock the form prior to sending it as an un-editable attachment in e-mail, so the order processor can't accidently open it and change the values. The mousedown command hides the buttons. I was wondering if there was a way to just have the form lock/unlock without a password prompt -- just actually do it upon clicking?
    3.) Is there a way to put a space between values that pop up in a js box? For instance, when a user tries to print a form without filling out required fields, there is a box that will get the number of required fields and the list them -- but they are kinda jumbled. I'd like to space them out
    4.) Is there a way to actively change the name of the file based upon the data in a particular field? For instance, the name of the form is "Rhode Island Showroom - Sales Order Form", but when a value is placed in the name field -- the form is changed to whatever is in that field.
    5.) Is there a way to render some fields non-taxable or taxable. For instance, if we are shipping an item to a zipcode where we have a store, we have to charge sales tax for that zipcode. If we are shipping to zipcode without a store, we don't charge tax. If they buy something from our store to take out with them, we charge state sales tax, but the rest of their items will be exempt if they are shipped to a non-store location zipcode...etc. Basically, a checkbox or a radiobutton that will prevent/allow taxability of a field.
    I think that's everything! I would definitely appreciate feedback, criticism, suggestions or ways to trim-down on script!
    Thanks!
    I have attached a link to the super-awesome sales form and my form as well.
    http://dl.dropbox.com/u/37155721/TCB%20Sales%20Sheet%20Final%20Beta.pdf
    http://dl.dropbox.com/u/37155721/Lock%20All%20Fields_Purchase%20Order.pdf

    For #1, that's a form created in LiveCycle Designer, which comes with the Windows version of Acrobat Pro. XFA forms can be set up to be dynamic, which allows additional lines to be added.
    For #2, if you don't want to bother with the password, the code can be reduced to just:
    var f = getField("secure.Date");
    var readonly = !f.readonly;
    getField("secure").readonly = readonly;
    For #3, you could change the line of code to:
    //tool tip is the field's 'userName' property;
    var tt = "  " + f.userName;
    Although it would be better to rewrite the routine that you're using to provide a better output. If I were doing this, I'd put each field on a different line.
    For #4, no, unless you create a folder-level JavaScript routine that saves the document with a file name based on data in the form. You would have to create a button on the form that when clicked executes the code to save the file. This means that each user would have to manually install the JavaScript file in the correct locationon their machine.
    For #5, yes, but to you want to control individual items or the total order?

  • Doubt in the sales order form - Technical

    Hi Frenz,
    i have a small doubt in custom.pll.
    we have a requirement to give a pop up message, wenever we do scheduling action in the sales order form (Oracle 11i).
    i have written the code like below
    if
    ((block_name = 'LINE') AND ( event_name = 'SPECIAL14'))
    then the pop up message.
    the problem im facing is, the pop up is working fine, when we schedule action is done by(Tools--> scheduling)
    but it is not working whenever i right click on the sales order line and do scheduling.
    what code do i need to include for the right click scheduling?
    please advice.
    thanks,
    Lp

    Hi All,
    Does any1 have any suggestion for my question...
    Thanks,
    Lp

  • Value Set  error msg when opening sales order Form

    Hi
    I created a value Set(where the values are populated at run time based on a view) which is attached to DFF (column eg Attribute13),The Value set would get value populated only if any sales order lines are cancelled, as the value of Attribute13 on cancelled line would be inserted to new Order Line.
    The Problem is when ever the Sales order Form is opened it throws the error message
    "Value XX For the FlexField Segment dosent not exists in the valueset (Valueset name)" as the oe_order_lines_all.attribute13 has value and the value set has null, it matches it and throw the above error.
    Could you guys give any suggestion how to avoid it, or is there any workarould , Thanks
    Thanks

    This tells me that the same attribute is used for something else and there is a value in that the column that is not your table which you are validating against. Or the value you are setting is not in that table.
    About the context: If the same attribute is used under a different context AND if that context gets set when you open the sales order AND if the validation type is different under that context for attribute13, you will get this error.
    Thanks
    Nagamohan

Maybe you are looking for

  • Organizer - how do I fix missing thumbnails?

    After processing RAW files in PE9 and saving as JPEG's, there seems to be a random number of resulting files which fail to show as thumbnails in Organizer. Instead there's the grey flower/exclamation mark thumbnail. The file clearly exists - Properti

  • Ls shows ??.html after creating file with arabic name using java applicatio

    Hi, I have a java application which is taking attachments and saving to the file system. when somebody attaches any file with the file name in arabic, the ls command shows ??.html , ????.html etc. The application is also not able to find the file lat

  • LOV in Query mode

    Hi, I have a form which when the user enters query mode, the user should be able to access the LOV attached to the 3 fields that are on the header level. On selection the values should be populated in the fields. The 3 fields are in a query only bloc

  • Facebook apps won't open

    Also, if there is text that is continued, the SEE MORE links do not work now. If I go to Internet Explorer there is no problem at all.

  • Problem with duplicate forms print

    Hi, I am using vf03 to print some invoice forms. I need to print two pages(1 original & 1 duplicate) However, when I issue the output to printer & go on to the print spooler to preview the forms, both pages are listed as duplicate. Can anyone tell me