Authorization of Order recommendation

Hi all,
          I am new in this forum, i want to know how i restrict user to add Purchase order and Production order from order recommendation, i just want requirement from order recommendation user manually add PO's from requirement.
Thanks
Nikhil

hi
     i add one udf in ORCM which capture create field value for which i apply this transaction notification.
if @object_type = '199' and  @transaction_type in ( 'A','U')
begin
if exists (SELECT    *
FROM         ORCM
                    Where Itemcode = @list_of_cols_val_tab_del
                     And ItemCode is not null )
begin
        select @error =15
  select @error_message = 'You cannot add Document from here '
end
end
it is not working
thanks
Nikhil

Similar Messages

  • Get a wrong price  when creating a Purchase Order in order recommendation

    Dear all
        I meet a strange problem .I have already set a gross price list for Item 'A' . When I create a purchase order in Purchase Order Window,It will calculate a unit price (net price) according to the  gross price list  automatically .But when I create a purchase order in Order Recommendation Window,It will get a unit price as same as the gross price in predefined gross price list.They should not be equal in fact.

    Dear Anna Shao 
    1 .Our SBO is version 2007B
    2. The Decimal of Amount is 2 and that of Price is 6
    3. Vat rate is 17%
    4. The gross price is not small,the problem is that the difference is not small either.Sometimes  it's bigger than 0.1 RMB.I can give you the example.
    LineNo     ItemCode  Quantity  UnitPrice       VatRate      GrossPrice     LineTotal     GrossTotal
    1            A     10         299.145299    J1(17%)      349.995299      2991.45      3499.95
    2            A     10         299.150000    J1(17%)      350.000000      2991.45      3500.00
    3            A     10         299.150000    J1(17%)      350.010000      2991.50      3500.10
    If you set the unit price list for ItemCode 'A', you will get the result like row 1 above.
    If you set the gross price list for ItemCode 'A' ,you will get the result like row 2 above.
    If you do not set any price list for ItemCode 'A'  and you just set the unit price 299.150000 in the purchase order,you will get the result like row 3 above.
    The perfect one is row 2.It is just what  our customer needs.So they set the gross price list for ItemCode 'A'.  But another problem occured when using MRP order recommendation. It is the one why I post a thread,just as I have descripted at first
    Edited by: Jianzhong Zhang on Feb 25, 2009 3:53 AM

  • Purchase orders from order recommendation report

    hai,
    Can purchase orders from the order recommendation report be saved as draft,because the purchase orders needs to be maually approved before being creadted.
                                                        Thanks in Advance
    Regards
    Vikash

    Try this query:
    IF      $(OPOR.Comments] ='Origin: MRP'
      SELECT 'TRUE'
    ELSE
      SELECT 'FALSE'
    (Replacing  ( with [  )
    It works for version 2007A, but the system does not executes the approval query for 2004C.  I do not know what is for 2005.

  • Order Recommendations not working until run MRP Wizard?

    Hi,
    I have created a scenario using the MRP wizard. However, I find that after a new sales order is created, the items do not appear in the "order recommendations" until I re-run the mrp wizard through the scenario that I had already saved.
    Is this normal?
    Also, in order recommendations screen to create the purchase orders, it shows me all the items with a "create" tick box next to them. Each day we order hundreds of products and the issue for us here is
    1. The items are not grouped by supplier
    2. There is no select all box
    Is it possible to get the items grouped? Ideally would be Supplier which would drill down to the items.
    Edited by: Ricky Thomas on Mar 14, 2011 5:00 PM

    Hello Ricky - yes, that is normal that you must re-run the MRP wizard if new sales orders are created since you first ran the MRP.  Usual system processing...
    Regards - Zal

  • Order Recommendation Report error

    Hi,
    I tried to create PO from Order Recommendation Report after running MRP wizard, however an error saying "Divide by zero error encountered" stop me from adding. I had define price and vendor before my attempt to add the PO.
    Please advice.
    Thanks.

    Hello Kait Chong
    If you have  Formatted search assigned to PO, please remove it then try to create the order again.
    Regards,
    Wilma Wang
    SAP Business One Forums Team

  • Order Recommendation with Quantity zero.

    Hi Experts,
    I have an issue and I would need to understand to avoid mayor problems. They use the MRP and in one of the scenarios there are a lot of lines of recommendations with Quantity equal to zero!!
    This should be impossible as far as I can see, because obviusly is not allowed to create them and an error is shown if tried.
    I know that if you update manually the quantity can be saved even with zero, but this have not been done manually. There were around 700 lines of recommendations and around 30 of them (purchase and production orders) with zero quantity.
    Do you have any idea about the reason why this is possible?
    Thanks in advance,
    Regards,
    David

    Hi,
    Thank you very much Gordon.
    Finally I found the problem. The issue is that when you try to create an order recommedation without a Price the system ask to continue without the price. If 'yes' is selected the order is created but at the same time if order recommendation data update is done (updating something or just marking on/off a flag) then all quantities are deleted if there is no price and supplier populated.
    regards,
    David

  • Display Employee Name linked in Item Master in Order Recommendation Report

    Dear Experts,
          My requirement is that the "Employee Name" linked in Item master have to be displayed next to the item in MRP Order Recommendation Report.
    I have created a header level UDF "Employee Name" in Item master and have selected an employee in this field. I have also created another UDF in Order Recommendation Report as "Internal Buyer" as a column. But the employee linked to the Item is not getting displayed in the Order Recommendation Report.
    FMS query used in "Internal Buyer" is
    SELECT T0.U_Employee FROM OITM T0 where T0.ItemCode=$[oitm.Itemcode]
    Regards,
    G.Shankar Ganesh

    Hi Shankar,
    Could you try with this query
    SELECT T1.[U_Employee ] FROM [dbo].[OITM]  T1 WHERE T1.[ItemCode] =$ ORCM.ItemCode
    Regards,
    Vijay kumar

  • How do we SPLIT Purchase Order in Order Recommendation Report

    Is there any way to SPLIT Purchase Order in Order Recommendation Report.

    Hi,
    You cannot SPLIT the Purchase Order from Order Recommendation Report. But by seeing the Order Recommendation Report you can manually create purchase orders.
    Raja.S
    Edited by: Shrirangaraaja Subramanian on May 13, 2008 1:34 PM

  • Purchase Quotation from Order Recommendation

    Hi
    Is there a way to directly generate purchase quotation's from the order recommendation's of MRP?
    Thanks
    Franz

    Hi Franz.......
    This enhancement still not done but SAP should take care of this feature of Creating Purchase Quotation form MRP Wizard.....
    Regards,
    Rahul

  • Userfield-Values in Order Recommendation Report lost after update

    Hi together,
    i've got a problem in the Order Recommendation Report. i've add 3 udf's in the matrix.
    The problem appears when I update the report. All the values in the userfields are cleared.
    Can anyone help me to find a solution? Do I have to customize the form with an addon or something?
    Best regards,
    Rafael

    Hi Rafael,
    in your screenshot I cannot identify any UDF. You can make them visible in Tools -> Form Settings... if that is the issue.
    When you check (and therefore add the purchase or production order) any report lines and click on update, they are not visible in the report anymore (independently of filling values in your UDFs or not).
    Otherwise, when you only view the report, enter values in your UDFs, click update without checking any checkbox, the values should remain in the report.
    Please use the SQL query generator and enter the query "SELECT * FROM ORCM" ... You should see your UDFs and the entered values for each recommendation line. If not, there is maybe a more severe problem and you should open a call on SAP support.
    Regards
    Sebastian

  • MRP Whse Value in Order Recommendations Screen

    Is there a setting that causes MRP to NOT select the default system warehouse value on the Order Recommendations screen?
    Example: 
    I have a sales order for an item with a BOM attached for Whse ABCD. 
    After I run MRP the order recommendations screen Whse value is 1234 for all recommendations.  1234 is my default item Whse. 
    I limited my Whse values to ABCD in the MRP Wizard.
    What am I doing wrong?
    Thank you for your help.
    J-

    MRP will only work at item level.  That means: you are not able to control which warehouse for your order but system shall look up item default warehouse only.
    Thanks,
    Gordon

  • Order Recommendation

    Dear Experts,
    In Order Recommendation form of Production Order can we add a Column in which i can fill Sales Order No. and this no. should appear in MRP generated Production Order form's UDF where i have a Sales Order No. Tab.
    can anyone suggest?
    Regards,
    Ravi Jha

    Hi Neetu,
    As Deepak said, I have allready a field In Production Order UDF with name Sales order No.
    But my concern is that can we add a column in Production Order Recommendation form where i can manually fill Sales order No.
    Regards,
    Ravi Jha

  • I can't erase my authorization in order to reauthorize it. It says "Unable to erase authorization. Please try in some time." However, I have tried on various different days and the same thing appears.

    I am not able to erase my authorization in order to reauthorize it.  I follow the steps in the dialog box and it says unable to erase authorization.  I've tried uninstalling the pplication and reinstalling it but that doesn't work.

    I have windows 7 so the other answers to this don't work for me.

  • MRP - Purchase Order recommended

    Hello,
    Is it possible for MRP to recommend Purchase Orders to be created per warehouse(based on minimum inventory levels per warehouse). Currently, MRP recommends one Purchase Order with a total of the qty's across all the warehouses.
    e.g. Warehouse A Min Qty = 5
           Warehouse B Min Qty = 5
           Warehouse C Min Qty = 5
    MRP recommends one Purchase order, Qty 15 and for Warehouse A.
    Thanks
    Janice

    Hi......
    The only alternative would be to record the scene of the initial MRP to generate then all orders for a store, changing the numbers in the window of recommendations. Thus, in a second step, MRP run the wizard again to record the new scene will consider the remaining balances to successively make the process as many times as purchase orders from different stores there
    I hope it will help
    Best regards,

  • Can order recommendation reports deal with gross price (2005B)

    I defined the  list price as gross price.When I post the recommendation reports(MRP) into purchase order,the gross price is doubled.what should  I do to crrect it?
    thanks!
    Wren
    Edited by: Lei Wren on Apr 15, 2008 5:45 AM
    Edited by: Darius Heydarian on Apr 29, 2008 10:56 AM
    Edited by: Philip Eller on May 13, 2008 8:55 AM
    Edited by: Philip Eller on May 27, 2008 11:38 AM*
    Edited by: Philip Eller on Jun 10, 2008 9:11 AM**

    Hi Wren,
    The price taken to the PO is from default price list for the vendor. Simply adjust the default price list for the vendor to "gross price" would resolve your problem
    Cheers,
    Dody

Maybe you are looking for

  • Apple Mail and GoogleMail via IMAP

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as

  • Mouse input lag

    My USB mouse and also other USB input devices like my wacom graphics tablet suffer from consistently reoccuring lags, during which they are unresponsive for about half a second. Somebody an idea, what could cause that?

  • What is Java good for?

    I need to develop a really serious solution for Win2K server, that will handle security data. Now I am thinking of a platform to do it. Can Java really secure the data I will trust to store it? I mean various mulfunctions, program bugs, errors, so on

  • Decision node description

    Hi! Could sb tell me, how I can add a comment in activity diagram, when I need describe a decision node? In UML such decision should be placed in [], but I haven't seen any edit options near the lines or decision node. I'll be grateful for any help.

  • I have IPHone 4 but y software update says iOS 5.1.1.  Doesn't this mean that I have an IPhone 4S?

    I have an Iphone 4, buy my software update says iOS 5.1.1.  Doesn't this mean that I have an Iphone 4S?