Sales Order Form Personalization based on Blanket Sales Aggrement

Hi,
I want to display client requirement messages based on some conditions after giving customer number,ship to and Bill to locations using FORM PERSONALIZATION.
1. If customer has sales agreement and agreement in ACTIVE status and in that agreement SHIP TO and BILL TO locations are null then
(select hp.party_name
from oe_blanket_headers_all obh,
oe_blanket_headers_ext obhe,
hz_cust_accounts hca,
hz_parties hp
where obh.sold_to_org_id=hca.cust_account_id
and hp.party_id=hca.party_id
and obhe.order_number=obh.order_number
and obh.order_number is not null
and obh.ship_to_org_id is not null
and obh.invoice_to_org_id IS NOT NULL
and sysdate between obhe.START_DATE_ACTIVE and obhe.END_DATE_ACTIVE)
---------------------one message like This customer has agreement---------
2. If customer has sales agreement and agreement in ACTIVE status and in that agreement SHIP TO Location is NOT NULL and BILL TO location is null then
(select hca.account_name
from oe_blanket_headers_all obh,
oe_blanket_headers_ext obhe,
hz_cust_accounts hca,
hz_parties hp
where obh.sold_to_org_id=hca.cust_account_id
and hp.party_id=hca.party_id
and obhe.order_number=obh.order_number
and obh.order_number is not null
AND OBH.ship_to_org_id IS NOT NULL
and sysdate between obhe.START_DATE_ACTIVE and obhe.END_DATE_ACTIVE)
---------------------one message like This customer has agreement at this SHIP TO site---------
3. If customer has sales agreement and agreement in ACTIVE status and in that agreement SHIP TO Location is NOT NULL and BILL TO location is null then
(select hca.account_name
from oe_blanket_headers_all obh,
oe_blanket_headers_ext obhe,
hz_cust_accounts hca,
hz_parties hp
where obh.sold_to_org_id=hca.cust_account_id
and hp.party_id=hca.party_id
and obhe.order_number=obh.order_number
and obh.order_number is not null
AND OBH.invoice_to_org_id IS NOT NULL
and sysdate between obhe.START_DATE_ACTIVE and obhe.END_DATE_ACTIVE)
---------------------one message like This customer has agreement at this BILL TO site---------
only one message should display
Could you Please help me...........

Hello,
This is the standalone Forms forum. For personalization, post your questions on the E-Business Suite forum.
Francois

Similar Messages

  • On Sales Order form Validation for selection tax category as Form C

    Hi All Experts,
    Please help me out for the Validation on Sales Order Form that if CST (Central Sale Tax) Sales Tax code Selected in the transaction form should not get added (Posted into the system) till the Tax Category in the Tax Tab is not selected with Form C.
    Thanks in advance...
    Arinjay Shah

    hi,
    In sales order,you can manually update transaction category even after adding document,
    Why there is need for validaion,If u requires validation use approval procedure,since it
    can be activated only at header level.
    Use this query to trigger approval procedure
    Select DISTINCT 'True' Where $[RDR12.TransCat] IS NULL OR $[RDR12.TransCat] = ' '
    Jeyakanthan

  • 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

  • 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?

  • In Sales Order form populate charges field after saving the Sales Order

    Can we populate Charges field in Sales Order form after saving the sales Order automatically.
    The charges to be calculated based on the amount entered and the item selected in Sales Order.
    In the Manual process it is done by hitting the Actions Button and then select the Charges.
    The charge type would be "Freight Costs"

    by using process_order API, I am able to update the charges field.

  • 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

  • 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

  • Personalizing Sales Order form OEXOEORD

    Hello there
    I am trying to Personalize to Restrict Values in Customer Number LOV in Sales Order Form.
    Condition
    Trigger Event = WHEN-NEW-ITEM-INSTANCE
    Trigger Object = ORDER.CUSTOMER_NUMBER
    Action
    Seq 10, Type = Builtin
    Builtin Type = Create Record Group from Query
    Argument = (SQL Query for record group creation which is later be assigned to LOV)
    I am trying to restrict the Customer Number LOV to only show one specific account_number.
    The thing i am not able to understand there is Builtin Type = Create Record Group from Query. I am not finding anything like Create Record Group from Query. I could see Do_key or go_item or go_block from builtin type dropdown. How do i approach here.
    Can anyone help me in this regard.
    Thank you

    If you're not seeing the Builtin Type 'Create Record Group from Query' then are you on an earlier version of the apps as I'm sure this feature was not available when forms personalisation was first released?
    If memory serves, I think this functionality became available with 11.5.10 CU2 but don't quote me.
    Given your stated requirement of restricting the LOV to one value, and if you don't have the means to use a custom record group for the reason above, have you considered using a different personaliztion to just assign the value you want to the customer number field and then prevent access to the field? This approach has a couple of drawbacks (assigning a value will give you a 'Do you want to save' message whether or not you've entered any other info) but will give the same end result.
    Regards,
    Jon

  • Display a Source Type field at Quick Sales Order Form

    Hi Friends
    i'm trying to display the Source type field (Internal Or External) at Quick sales order form
    the field is not appears at LOV of folder
    at Personalize at new form instance change the property of displayed for source type to TRUE and adjust the X andY coordinates but after all that also the field is bot displayed
    Any one can help
    Regards
    Amr Hussien

    Hi Friends
    I got it :)
    at the folder you have to add the Shipping tab , place the cursor at any field of it and click at show field the source type will appear
    Regards
    Amr Hussien

  • 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/

  • 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.

  • Unable to Query item number in Sales order form

    Hi Gurus,
    After selecting customer name in the sales order form, i am trying query the part number but application is hangs.
    Can you please let me know is it problem with DBA or technical?
    Recently we uploaded (migrated ) part numbers to oracle..
    Please advise.
    thanks
    AK

    Hi AK,
    check this link
    *PERFORMANCE: ITEM LOV TAKING TOO MUCH TIME ON SALES ORDER FORM IN 12.1.1 [ID 1066964.1]*
    Thanks
    -Arif.

  • 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

  • Field value disappeared when saved in Quick Sales Order form

    HI,
    We have developed a custom form which is similar to the Find Customer Search form in Quick Sales Order form (Navigate to Tools --> Find Customer).
    The custom form searches Customer and populates the selected customer details in Quick Sales Order form (populating the values in Quick Sales Order form is handled in Custom.pll).
    When we select Bill to or Ship to Contact in the Quick Sales Order form and save the Order, the Bill to and Ship to Contacts are disappeared (If the Bill to and Ship to Sites are not Primary).
    Can anyone please help me on this...
    Thanks.

    Check if 'Audit Trail' is setup in OM Parameters for the OU.
    Also check if "Processing Constraints" are setup correctly.
    For Qty reduction we need to add a new row called "delete".
    Thanks
    -Arif.

Maybe you are looking for

  • CS4 crashes on snow leopard

    Hi, I recently formatted my iMac (2.66GHz Intel Core 2 Duo / 4GB memory) and installed Snow leopard. I then installed CS5 and all my programs started to crash, then I realized bridge didn't open at all. SO i uninstalled CS5, used the adobe cleaner to

  • Create an order without using WSAPI

    Hi, How can I create an order from an Automator osm without using the web service WSAPI?, There is a native to do? Thank

  • Problem in archiving change document

    Hi Experts, While doing function ' check in archive ' (CV02N) I am getting error that "problem in archive path" Can anybody tell me what may be the problem for this and how to overcome the same? Please do the needful. Thanks and best regards, Pravee

  • Finding out the active user in last 10 min

    Hi frends, i have the requirement where i have to find out the the following.... 1. who r the user accssing the portal for last 10 min.... 2. what r the pages they r viewing....... 3. do they got any time out ...... 4. in what page they got the time

  • Real-Time Audio Spectrum in FCPro?

    Is it possible to do a real-time audio spectrum analysis (i.e., some sort of audio frequency histogram) in Final Cut Pro 4.5? I have some interview audio that has some high-frequency noise, and I'd like to easily be able to tell where in the spectrum