How to autopopulate UDF based on calculation

hi,
I am very new to SAP B1 2007B. I have created a UDF named - BAGS in row details of sales order. As I insert a Item in sales order, I want the UDF : BAGS to get auto populated with - ITEM QUANTITY * 20 as soon as I enter the Quantity. Pls give me a step by step solution. Quantity & BAGS are in table RDR1.

Dear Rohit_Dewangan,
I am afraid that what you are asking is not possible.
In theory you simply create a formatted search based on a query such as:
select sum(quantity * 20) from rdr1 where itemcode = '...' and docentry = '...'
However, you stated that you require the UDF to be filled in in the Sales Order with this value as soon as the quantity field is filled.
In order to create a formatted search that populates the UDF you would need the quantity value and the document number in the table, but until the user clicks ok the document is not added into the table and you will not the quantity value to use.
I will update the thread if an alternative comes in my mind.
I have been testing the possibility to update the value after the document is added in the system, but it is not working so far.
Regards,
Marcella Rivi
SAP Business One Forums Team

Similar Messages

  • How to Implement Condition-Based Tax Calculation in R/3 for Mexico

    Is there a manual, or some type of guide to implementing condition-based tax calculation in R/3 for Mexico?
    Kind regards,
    Mark Walker

    Hey Mark,
    Check the following link for mexico taxes, may be helpful to you..
    http://help.sap.com/printdocu/core/Print46c/EN/data/pdf/CAINTMX/CAINTMX.pdf
    Thanks
    Prasada

  • How to update UDF based upon the row level dimensions.

    Hello Experts,
    I have made 4 new udf at Sales Order.  Its displaying at Righthand side under General Category.
    Now at row level im entering item detail, and other things with 4 profit center vaues.
    So i want that if i enter value in those 4 proft center in row level then it should automatically update those 4 udf with that value.
    It always happen in Add mode of SO, if SO open in update mode then i can update those udf with other values also, which can be differ then row level profit center values.
    If we need to create any trigger or any query for that, then guide me for that.
    Regards,

    Hi Chintesh,
    You can use the option of changing value when the exising column value changes. (also check the option refersh only option)
    pls revert in case more help.
    Regards,
    Datta Kharat

  • Need to understand how the PGI date is being calculated

    Hi,
    Need to understand how the PGI date is being calculated.
    Does the PGI date get recalculated if the cusotme delivery date is changed.
    Thanks,
    Raki

    Hi,
    Thanks for the information and please let us know is there any calculation logic exist for that?
    I have changed delivery date in the sales order and based on that-
    - Transportation planning/material availability/loading/schedule line and confirmed quantity date was chaged.
    Is this the - GI date - Transist time= PGI?
    Thanks,

  • How SAP standard run the interest calculation in AR module

    Dear expert,
    would like to seek for your advise, how SAP standard run the interest calculation in AR module ?
    Also advise,does the interest calculation generate the interest base on the dunning run?What are relationship between interest calculation generate ?
    What are the T-code for running the interest so that able to generate the interest posting according to baseline due date?
    On top of that, does SAP have standard AR interest calculation report and what are the T-code ?
    Between, do you have any ideal the Interest Indicator ZB stand and reminder date it is the last reminder date,waive,KIV and charge Interest and also noted item amount mean for in the AR Interest Calculation report?
    Please help.
    Regards,
    Karen

    Hi,
    Thank you for the promtp reply.
    I still have query would like to seek for your advise.
    1.Does the interest calculation generate the interest base on the dunning run?For example, the interest is only can be post/generated when there is dunning run and vise versa.
    2.What are relationship between interest calculation generate ?Does interest generation depand on the dunning run?
    On top of that, does SAP have standard AR interest calculation report and what are the T-code ?
    3.Between, do you have any ideal the reminder date it is the last reminder date,waive,KIV and charge Interest and also noted item amount mean for in the AR Interest Calculation report?
    4.For posting use F.2B and that will calculate interest on open items of customers. Does this posting is post as noted item or posting document? Beside, do we every day need to run this posting  F.2B in order to update the AR interest calculation report and post the interest for the overdue invoice?
    5.Do you have any reference link/document /SAP notes on calculate interest on arres F.2B?
    a)How the program calculate those overdue invoice for example: does sap calculate the interest  base on interest + due amount until the customer made the payment?
    b) If customer made payment on the due amount and not the interest and vise versa? How theF.2B program logic work on the calculation ?
    Please help.
    Regards,
    KH

  • How to block calls based ANI for individual user?

    I want to know how to block calls based on ANI for individual user in CUCM?  Lets say if the individual wants to block calls from certain number.
    Malicious call id - softkey will not work for our purpose.
    calls come to cucm via mgcp gateway.  cucm 9.x
    thanks,

    How to block calls has been asked hundreds, and hundreds of times at CSC, a simple search would have provided you with all the necesarry information. Please search before you ask
    https://supportforums.cisco.com/docs/DOC-19628
    HTH
    java
    if this helps, please rate
    www.cisco.com/go/pdihelpdesk

  • How Redirect browser(client) based on non-negotiable SSL/TLS protocol or cipher

    Hi guys,
    we have a security requirement wherein we have to  force the browsers accessing our asp.net application hosted on windows server 2012 to have atleast tsl 1.1 , but we don't want to simply block the request, instead we would like to redirect the request
    to a unsecured static html page with the instructions on how to get them onto tsl.
    can any one help me here?>? actually i found a similar and exactly same thread on stackoverflow but i think that is probably directed towards linux family.   http://serverfault.com/questions/591188/redirect-browser-based-on-non-negotiable-ssl-tls-protocol-or-cipher
    please help me guys..
    ps: i have posted the same question on IIS forum (http://forums.iis.net/t/1223352.aspx?How+Redirect+browser+client+based+on+non+negotiable+SSL+TLS+protocol+or+cipher+from+IIS)
    and got a reply saying that it can be done at windows kernel level(possibly).

    Hi,
    As far as I know, once SSL handshake fails, no subsequent communication would occur between the server and client.
    Therefore, as the way I see it, the goal cannot be achieved.
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • CFM /TR - how system calculate amount based on rate FX 60A

    Hi all,
    i need to know how system calculates amount based on rate entered upon creating a contract (t-code TX01).
    steps input:-
    1. header - comp code, product type, trans type
    2. partner
    3. purchase curr & amount (eg. IDR 8,345,545,500)
    4. sale currency only (amount system will auto calculate) USD
    5. rate field = 11.553
    6. spot rate will auto pick up from rate
    7. value date
    8. contract date
    upon TBB1 no error. posting log as follows:-
    FX1000+ : 40 8,345,545,500 IDR bank GL acc
                    50 8,345,545,500 IDR clearing acc
    FX2000- : 40 722370.42 USD clearing acc
                   50 722370.42 USD bank GL acc
    but upon TPM18 error occurred as follows:
    DBT_C009 - GL not maintain in acc symbol 5.3.4
    DBT_E039 - no posting spec assigned to update type
    DBT_B018 : 40 0 USD, 431,977,511 IDR gain/loss
                       50 0 USD, 431,977,511 IDR clearing acc
    so, after maintained DBT_C009 as follows still error for DBT_E039:
    40  0 USD, 38 IDR clearing acc
    50  0 USD, 38 IDR P&L gl acc
    what i don't understand is how system calculate and get DBT_C009 & DBTE039.
    what is the function of TPM18?
    thanks.

    Hello Prarnod,
    I have done the first node only for actuals that come from the integration to the internal order.
    I have tried setting up 2 and 3 even though the 3rd one does not make any sense to me
    Thanks,
    Paul

  • How to create Formula based value field in COPA

    Hi,
    I want to know how to create formula based  value field in COPA
    My Requirement is i want to collect some value in formula based value field and want to use in copa allocation cycle as a tracing
    factor.
    anybody give some light on the same topic or requirement ?
    Thanks
    Nilesh R

    The key figure you are creating in KE2K is not a value field, i.e. you can't post to it and you can't use it in a report. It is a caluculated value that can be used only in assessment and top-down-distribution.
    In Ke2K, enter a name for your key figure, then click on the the white sheet button to create it. Now the formular area is open for input. Input your formular (e.g. VV001 + VV002 - VV003 .... where VVXXX are the technical names of value fields).
    Now click the "check formuar"-button. Then save.
    Before you can use the key figure in assessment, execute TC KEUG.
    Now the key figure is available as any value field in the tracing factor selection of your assessment cycle.
    I hope this made it clearer.
    Regards
    Nikolas

  • How do I download a Tip Calculator for Samsung Reality U820 mobile?

    Hello,
    I'm new to this so bare with me.  I just got this phone and I've been trying to download a tip calculator. No success! lol Does anyone know how I can download a tip calculator from my mobile phone? Help! lol

    Why download one? There's one already on the phone:
    Menu>>Settings and Tools >> Tools >> Calculator >> Tip

  • How to create Profile Based Rule in Endeca Studio Developer

    Hi,
    Can anybody tell me how to create Profile based rule in the Endeca Studio Developer. and how to fecth the data in the JSP. what are the parameter required to pass in the ENEQuery
    Thanks
    Shailesh

    I use visual studio 2012.
    I dont see rule set editor which can help me create busineesss rule.
    Where can I find it?
    Hi Rajesh,
    If you want to learn more information about RuleSet Editor in .net framework 4.5, check out https://msdn.microsoft.com/en-us/library/ee960221(v=vs.110).aspx
    for more information. 
    Best regards,
    Angie
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to use ICC based colorspace

    hello,
    The question is how to define a color in ICC based colorspace ?
    I tried with gState.strokeColorSpec.value.color array and it work fine when my CIE based colorspace is CMYK but how to do it when colorspace can be CMYKOG or RGB ... ?
    Regards,
    William

    You can certainly use Cos to create the ICC colorspace (or the alternate) just as you did for the DeviceN.
    Cos is just a wrapper over direct PDF objects – so read the PDF standard for what the objects you need are, then make the relevant calls.
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Thu, 20 Oct 2011 03:03:46 -0700
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: how to use ICC based colorspace
    Re: how to use ICC based colorspace
    created by yokuju<http://forums.adobe.com/people/yokuju> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/3981410#3981410

  • How to get PERNR based on user ID

    Hi All,
    How to get PERNR based on userid.
    please help me in resolving this.
    Thanks for the support.
    Regards,
    Dhananjaya R E

    hope this will help u
    DATA:   t_pernr LIKE pa0105-pernr,
              t_email LIKE pa0105-usrid_long.
    STEP 1 - Find personnel number for UNAME
       SELECT SINGLE pernr
                 INTO t_pernr
                 FROM pa0105
               WHERE subty = '0001'
              AND endda >= sy-datum
             AND begda <= sy-datum
             AND usrid = p_uname.
    Employee record found*
    IF sy-subrc = 0.
    STEP 2 - Find email address for personnel number*
    SELECT SINGLE usrid_long
             INTO t_email
             FROM pa0105
            WHERE pernr = t_pernr
              AND subty = '0022'
              AND endda >= sy-datum
              AND begda <= sy-datum.

  • How Redirect browser(client) based on non-negotiable SSL/TLS protocol

    Hi guys,
    we have a security requirement wherein we required to force the browsers accessing our application to have atleast tsl 1.1 , but we don't want to simply block the request, instead we would like to redirect the request to a unsecured static html page with the
    instructions on how to get them onto tsl.
    can any one help me here?>? actually i found a similar and exactly same thread on stackoverflow but i think that is probably directed towards linux family.   http://serverfault.com/questions/591188/redirect-browser-based-on-non-negotiable-ssl-tls-protocol-or-cipher
    ps: i have posted the same question on IIS forum (http://forums.iis.net/t/1223352.aspx?How+Redirect+browser+client+based+on+non+negotiable+SSL+TLS+protocol+or+cipher+from+IIS) and got a reply saying
    that it can be done at windows kernel level(possibly by making use of
    http.sys, ksecdd.sys and schannel).
    can any one help me here guys.
    Thanks,
    Haroon 

    Hi,
    As far as I know, once SSL handshake fails, no subsequent communication would occur between the server and client.
    Therefore, as the way I see it, the goal cannot be achieved.
    Best Regards,
    Amy
    Please remember to mark the replies as answers if they help and un-mark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • How can I filter based on the IPTC core information?

    How can I filter based on the IPTC core information? (CS6)

    "Substitution Variables" can do what you are asking for.

Maybe you are looking for