Auto populate MSRP into Revenue Purchase Price

I am using Product Revenue related list on Opportunity. Each Product record has an MSRP value. When a new Product Revenue record is added, the user must select a product. Is there a way to copy the MSRP from the selected record into the Product Price field of the new, but unsaved, Product Revenue record? I have a post default expression on Product Price of JoinFieldValue('<Product>',[<ProductId>],'<MSRP>'). It doesn't populate until the Save. Turning off the post default checkbox didn't help - I didn't ANY MSRP value on the Save. The user now needs to add the Product Revenue record without entering a Quantity and then edit the record to set the Quantity.
I have set up workflow to set the Product Price when the product changes and that is working fine. Oh how I wish you could run Update Value workflow on a NEW record. Using Default for new records just isn't doing the job.
Regards,
Jeff

In the purchase order sample, there is code in the dropdown (txtPartNum) within the change event which calls the following
    partNoScript.getDesc(xfa.event.newText, txtDescription, numUnitPrice);
The first parameter is the new value selected by the user in the dropdown, so in your example it would be 27001. The next two parameters are actual objects of the fields to fill. Since the reside on the same level within the subform they are just called txtDescription and numUnitPrice
Once the partNoScript.getDesc is called in the (variables) section, it will loop through the arrays looking for the part number and extracting the description and unit price and assigning them into the passed in objects.
I'm sure there is some limitation to the number of lines you can have but I tried quite alot and didnt have any issues (10000x50 characters), except for the scroll bar. In large lists the scroll bar doesnt go to the very last entry, but if you click the down arrow again, they appear. Probably a bug with the scroll bar.

Similar Messages

  • Price List Auto Update based on Last Purchase Price

    Dear Expert
                         I have a problem in updating the PriceList at one of my client site . They are making CST purchase
    Eg.    We are entering purchase through Goods Receipt PO item cost 100RS and CST tax 20 RS
             Then Copy to AP invoice . so the item cost is coming to 120 as CST is non deductible tax .
             If we goto Price list , it will clearly show last purchase Price is 120 every thing is fine till now
           Now the issue comes :- company is incurring frieght charges 10 Rs or any amount this also has to be included to cost that we are entering through Landed Cost . This 10Rs is automatically adding to cost . if we look the item cost it will be 130 this is also correct . But the Problem is that when we go to Pricelist we find that Last Purchase price as 110 that is 100 Rs base doc price +10 Rs Frieght (Landed Cost) . .
    Actually the Last Purchase Price should come as 130 (1002010) . We are dealing with 4000+ items it is difficult to mannually update the Price List .
    Regards
    Shihabuddin CC
    Jr . Consultant SAP B1
    CCS Technologies P Lrd

    Dear Shihabuddin,
    In most localization, price is for before tax price. If you want tax included in the price, you can create your own price list to calculate.
    Thanks,
    Gordon

  • Inconsistent Purchase Prices in Retail Promotions (transaction WAK1)

    Hi guys
    I have an issue on my current project whereby purchase prices are not being pulled into the Purchase Price fields in the Retail Promotion correctly. Currently the system pulls Purchase prices as follows
    When the user creates Retail Promotions SAP pulls purchase prices as follows.
    If a List Price exists and no Deal Price then it doesnu2019t pull anything into the Purchase Price Fields
    If a Deal Price exists which has discounts maintained against it SAP pulls the gross Deal price, i.e. it doesnu2019t take off the discounts
    If a Deal Price exists without discounts, it pulls this correctly.
    If anyone has encountered this before your advise would be warmly received.
    Thanks
    Brett

    Hi
    This will work for POS but the actual purchase price pulled into the promotion is still not consistent with the condition record price. What the system does is it looks in the price schema, picks the first condition type (in this case the deal price condition) and just pulls the price from this ignoring any discounts maintained as supplements. If no deal price exists it pulls nothing rather than looking further down the schema and pulling the list price. Anyone know if I can make this work so it acts like pruchasing document pricing, i.e. includes supplements and keeps looking until it finds a condition record

  • Auto populate text fields with a trigger such as entering text into input fields in ADF

    Hello all,
    I am not able to auto populate text fields with a trigger such as entering text into input fields in ADF.
    I tried AdfFacesContext.getCurrentInstance().addPartialTarget(val); in the back end using setter method of input text field.
    its not working ..
    is there any way to achieve it
    Regards,
    Shakir

    Hi,
    Always mention your JDev version.
    The valueChangeListener would fire only when you set the autoSubmit property of the field to true. Can you elaborate your requirement? What do you mean by related data? Are you performing some sort of search?
    If you want to get the value you entered on the field, just set autoSubmit to true and get the new value from the valueChangeListener. If your requirement is something like as and when you type, do something, you need to check out this approach :https://blogs.oracle.com/groundside/entry/auto_reduce_search_sample
    -Arun

  • How do I auto populate the date into text fields when form is first opened?

    Hello,
    I read all about the changing the scripts but its not really working for me. I was hoping someone could help me with directions on how to auto populate the date into designated text fields when my adobe document is first opened?
    I am working in Adobe Acrobat 9.
    Thank you,
    Sheri

    When you add a new document JavaScript (Advanced > Document Processing > Document JavaScripts > Script Name (enter something) > Add), you will be given a function skeleton by default. Just delete it and enter the line of code I showed above. Now, whenever the document is opened, the code will get triggered and the field will be updated with the current date. There is no "Document Open" action (at least that's accessible via Acrobat's UI), but this is effectively the same thing since any document-level JavaScripts are executed when the document is opened.

  • CST and VAT amount (non deductible taxe) is debiting in the purchase price

    Hi
    I am facing some problem in migo FI documents
    MY client is maintaining standard price for raw materials
    While doing GR in MIGO CST and VAT ,both are non deductible taxes, is debiting in purchase price variance and crediting in GR/IR
    The above said taxes are not debiting in raw material account now
    I had already done all the settings in OBCN like tick mark, posting indicator and 3 Distribute to relevant expense/revenue items etc.,
    but still the taxes are debiting in variance account. We are maintaining pricing procedure as TAXINJ
    plz give your suggestions how to solve the problem.

    Hi
    If you have maintained a Standard proce control in the material master, the non deductible taxes will not post into the material account, you need to maintain a moving average price control for the material to get the non deductible taxes posted.
    Price variance account is trigerred due the reason as sytem is trying to post it on to the material and you maintained it as standard price, so sytem cannot add to the material, so it posts the amount in PP account.
    Change price control from S to V, you r issue will be solved
    Thanks & Regards
    Kishore

  • Auto Populate

    I'm designing a form in livecycle, the form connects to an access database and works fine. My db table lists parts, the table consists of 3 fields Part Number, Description, and cost. I'm using a drop down list for the Part Number, and text Fields for description and cost. I would like the Description and cost fields to auto populate after I select a Part Number from the drop down list. Is this possible? Also I don't want the form to update or change my db table. I'd be grateful for any help.
    Thank-You
    Joe Reid

    Srini,
    This file opened in ver8. Thanks for that !
    However, when I looked into the code, I saw that the dependant drop-down (Country->States) and the PartNo->Description to->Price, etc has been done using Arrays! This works with relatively small amounts of data. Can you tell me how to handle this with large amounts of data that lie in an access db ?
    I have Unique DropDown Item Codes which are bound to my db, and the corresponding ItemDescription is in the table in the DB. Although I am dynamically connected through a DataConnection, I cant seem to figure out how to pull the description for the corresponding item-code selected.
    Can you please help ?
    Regards,

  • Is there a way to auto-populate text based on a selection?

    I honestly don't even know how to word my question haha... so the title may be misleading...
    For my job I need to fill out indesign files, and at one part of the file based on the state a person is from I need to paste a specific e-mail in several places.
    Is there a way where maybe I create a dropdown menu of the several state e-mails I can choose from, and upon choosing it auto-populates that choice into the several other places?
    I guess, is there a way where if I make a select or input text into one area it will generate in the other areas as well?

    Maybe you need some kind of clipboard manager to choose several texts to paste
    http://lifehacker.com/5298615/five-best-clipboard-managers

  • Auto-populate fields in Custom Object Based on Another Record

    Hello,
    I am hoping to auto-populate a few default values in a new Custom Object record based on an associated Lead record. The layout is this:
    I use the Lead record to take care of most of the information in the sales stages until the product is sold. The Lead record has fields to record information for a one product sale. The sales person can then use the Custom Object (called 'GX Additional Product') (which shows up in the Related Information section of the Lead record) to add additional items to a sales order request. Many of the fields in the GX Additional Product (custom object) record are identical to fields already filled out in the Lead record.
    What I would like to do, is when a new GX Additional Product (custom object) is added to the Lead record, those identical fields already filled out in the Lead record, by default, populate the corresponding fields in the new GX Additional Product (custom object) record.
    Is this possible? Is this something that can be done with JoinFieldValues? If so, I've had a bit of confusion trying to set up a JoinFieldValues expression.
    If you have any information to share that would be helpful, that would be greatly appreciated! THANKS!

    Hi,
    You can use JoinFieldValue to Custom Objects from other entities, cause you will have other objects' ID recorded inside the CO's, when you open a new detail record associated with the parent. Make sure your custom object is showing as a detail section (N:1) into lead´s main page. Try with one field first, using the exact syntax provided at samples listed at product documentation.
    regards,
    Flavio Amorim
    Brazil
    www.triscal.com.br

  • How do I stop Mac App Store apps listing as "Accept" rather than the purchase price?

    Hi there,
    I'm attempting to buy iPhoto '11 from the Mac App Store but it lists as "Accept" rather than the purchase price.
    When I click on Accept a message pops up saying "These apps cannot be accepted by your Apple ID: These apps were already assigned to another Apple ID, and they will be available in that Apple ID's Purchases list. If you don't have access to that Apple ID and want to receive future updates, you will need to purchase the applications."
    The pop-up gives the option to hit OK and there are no other buttons.
    iPhoto '11 is not in my purchases list. I have never bought it before. I am using a second hand Mac and I suspect the previous owner may have downloaded iPhoto but it is no longer installed anywhere on the system and I am the sole user of it. There are no other accounts on this Mac and it looks like it was reformatted back to scratch before I bought it.
    The problem is I cannot find any way to reset the "Accept" option so I can actually purchase the App.
    Does anyone know how to fix this issue?

    i also am having this EXACT same problem and alot of others seem to be too? i wonder what is going on here! if anyone from apple reads this, maybe it is something you can look into? My mac did not come with a start up disk and i accidently deleted the iphoto app... i have 2 apple I.Ds but i dont use the one originally registered. i am aware i will have to buy the app again in this case so please let me buy iPhoto please! and thanks!

  • Auto populate for fields in ZTable

    Hi
    I created a Z Table with 10 Fields,Out of those 2 fields are timestamp and Created by.
    Timestamp and Created by are made Output only fields in Table Maintenance Generator
    SE11> ZTable>Table Maintenance Generator>Environment>Modifications-->Events
    Type -5  concatenate sy-datum sy-uzeit into ZTable-Timestamp.
    With which when user performs a manual posting in the table and save a record in SM30 the Timestamp is populated automatically.
    Similar to these how can i Auto Populate the Created By with the user id (logon id) of the user who made the posting.
    I tried to create a new event of type-5   - System is not allowing me to create a event another event of same time
    How can i enhance the exisisting event so that i can get Auto Populate of Created By
    Thanks in advance

    Hi friend,
    Put your code which populate user name inside form of event 5 (maybe below your existence code).
    regards,

  • How to auto-populate dates in a calendar based on radio buttons?

    Hi,
    I'm trying to create an availability form that is submitted on a monthly basis. What I'd like is to have a radio button the user could click to indicate what day the first of the month falls on (Monday through Sunday), and have fields auto-populate with the remainder of the dates on the calendar. As it stands right now, I've got the radio buttons and the text fields, but I'm running into serious issues getting the text fields to auto-fill based on the selected radio button.
    I've labelled the radio button group "First Day of Month" and the individual values are "Monday" "Tuesday" "Wednesday" "Thursday" "Friday" "Saturday" "Sunday" and "Start". The "Start" button is hidden but is checked by default.
    My text fields are even simpler: "Monday 1" "Monday 2" "Monday 3" "Monday 4" and "Monday 5" (and then, obviously, repeated for each day of the week.
    I am horrible at scripting, so I think that might be where I'm running into issues. What I'd like to put is something like this (only, you know, functional, and for each days' text value):
    For "Monday 1"
    if "First Day of Month.value" = "Monday", "Monday 1.value" ="1"
    else "Monday 1.value" = ""
    For "Wednesday 3"
    if "First Day of Month.value" = "Sunday", "Wednesday 3.value" = "11"
    if "First Day of Month.value" = "Monday", "Wednesday 3.value" = "17"
    if "First Day of Month.value" = "Tuesday", "Wednesday 3.value" = "16"
    if "First Day of Month.value" = "Wednesday", "Wednesday 3.value" = "15"
    if "First Day of Month.value" = "Thursday", "Wednesday 3" = "14"
    if "First Day of Month.value" = "Friday", "Wednesday 3.value" = "13"
    if "First Day of Month.value" = "Saturday", "Wednesday 3.value" = "12"
    else "Wednesday 3.value" = ""
    For "Sunday 5"
    if "First Day of Month.value" = "Sunday", "Sunday 5.value" = "29"
    if "First Day of Month.value" = "Friday", "Sunday 5.value" = "31"
    if "First Day of Month.value" = "Saturday", "Sunday 5.value" = "30"
    else "Sunday 5.value" = ""
    Is this possible? I have no doubt there's a better way to do it (with proper coding and everything), so any help would definitely be appreciated!

    Hello,
    Which sharepoint edition you are using? I would prefer to customize your list form in infopath form then add new connection which will connect to your SQL. Later you can filter data based on cust ID. Here is the link to add connection in infopath:
    http://office.microsoft.com/en-in/infopath-help/add-a-data-connection-to-a-microsoft-sql-server-database-HP010092823.aspx
    If you want to do it via code then simple ADO.NET connector will help.
    http://www.codeproject.com/Articles/33862/Connecting-to-Database-Using-Custom-Webpart-in-Sha
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see<br/> Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • Purchase price variance in subcontracting order

    Our customer has the following scenario:
         Purchase account is posted with the value of stock subsequently purchase price variance is a legal account
         Material ledger is active
         Inventories are managed with standard price for each material code
         Latin method management of inventories post stock values on managerial account
    In good receipt with a subcontracting order, in case of purchase price variance, legal account of purchase price variance is posted generating a wrong reconciliation between managerial and legal posting.
    Example
    The subcontractor is a co packer that assembles material A to produce material B
    Material  A has a standard price of   3
    Material B has a standard price of     5
    If Co packer fees have a value     of     2 no purchase price variance occurs during good receipt, as a matter of fact :
    (Co packing fees) 2 + (Material A)  3 = (Material B) 5
    Else if co packer fees have a value of 3 a purchase price variance of 1 occurs and itu2019s posted using transaction key u201CPRDu201D. On FI the following document is posted:
    Legenda  : L stands for legal account , M stands for managerial account
    (L) Co packing Fees                                         3
    (L) Invoice to receive                                     3
    (L)Purchase price variance                            1
    (M) Consumption Material A                           3
    (M) Stock  Material              A                            3
    (M) Stock Material               B                            5
    (M) Production Confirmation  Material B       6
    In this scenario Purchase price variance should be a managerial account, but  transaction key is PRD  and  changing the account would affect every posting.

    This is the answer from OSS
    Dear Customer,
    the system works as designed.
    When Material Ledger is activated, price differences are always
    generated under the circumstances you have described. The reason is
    that when material ledger is activated, price differences must not be
    included into the stock changes value, otherwise the system would
    not be able to calculate an actual price.
    When Material Ledger is activated, the customizing setting
    for handling price differences in the subcontracting process has no
    effect.
    Best regards,
    Santiago Lorite
    AGS Primary Support, Business Suite & Technology u2013 Logistics

  • Material purchase price variance and different cuurrency in IR

    we have a requirement to split  price variance and freight purchase price variance in goods receipt stage, but the problem is condition type can not be assigned COPC original group. so what are the tables I can use to split the two ppvariance using customized report?
    also in GR, accrued freight now is using month end rate, but we want it to be planned rate(another exchange rate type), is it possible to configure?
    during invoice recept, standard can't maintain different currency from PO currency, is it possible to reconfigure the system to use another currency for invoice recept?

    This is the answer from OSS
    Dear Customer,
    the system works as designed.
    When Material Ledger is activated, price differences are always
    generated under the circumstances you have described. The reason is
    that when material ledger is activated, price differences must not be
    included into the stock changes value, otherwise the system would
    not be able to calculate an actual price.
    When Material Ledger is activated, the customizing setting
    for handling price differences in the subcontracting process has no
    effect.
    Best regards,
    Santiago Lorite
    AGS Primary Support, Business Suite & Technology u2013 Logistics

  • How to auto-populate form fields between documents?

    I'd like to create an interactive form where the user inputs data into different fields and then the data gets auto-populated into other fields in forms linked to the original form. Is this possible with Acrobat XI? If not, then which Adobe product is best suited for this? If it's possible, how difficult is this to do? I don't need exact "how to" tips at this point. I am not a developer and I don't have any experience with Action Script. I'm just researching what products I can use, as a non-techie, to do the job. Thanks.

    Thanks for your reply. I'm having a hard time understanding the functionality on the end-users's side with the different Adobe forms products. I did a little more reading up on this, but it's still not 100% clear. Perhaps you can help clarify.
    Scenario 1: The user does NOT have a copy of Acrobat XI on their end, and  I do NOT have a subscriptiont to FormsCentral, and I do NOT enable import/export features in the form using Adobe LiveCycle Reader Extensions. In this scenario, the user can fill out my form, but they can't save a copy of the completed form on their local drive. I, however, get a copy of the completed form where I can then extract and analyze the data.
    Scenario 2: The user does NOT have a copy of Acrobat XI on their end, but I have have a subscriptiont to FormsCentral. The user can complete the form and save it on their local drive, but I can't have data auto-populate from one to another. (Note: I went to the FormsCentral website and it says "Allow respondents to download the PDF form, print out, save, EDIT and submit later." I interperet that as meaning they can add text to a fillable form and save it on their end.)
    Scenario 3: The user does NOT have a copy of Acrobat XI on their end, but I have enabled the form with LiveCycle Reader Extensions so that I can have data auto-populate from one form to another. However, I have to pay for an Extension license fee. I managed to find the pricing, and it's too expensive for my needs right now. I'm looking to share the forms with students, so this is not an option.
    Scenario 4: The use HAS Acrobat XI. I can get data to auto-populate from one form to another and the user can complete and save on their local drive. This scenarios is not an option for me / Can't get students or schools to pay for a full license of Acrobat XI is not an option at this point.
    Is my understanding correct? If so, I feel like I've hit a dead-end. The only cost-effective solution is to have a simple fillable form without the ability to auto-populate data between forms. Sigh.
    Thanks.

Maybe you are looking for