How to Restrict adding AR-Delivery connecting to Sales Order

Good Day Experts,
I am newbie in SAP Business One, Please me help on this scenario:
I have created an Series Numbering in Sales Order (SO-BOM) No.17 and a User Define Field (ORDR_DwnPayment) with option w/DP and w/out DP (DP means DownPayment).
Now i need to restrict adding AR-Delivery that is copied from Sales Order with Series#17 (SO-BOM)  if the UDF is "w/out DP".
I hope you can understand my english.
Thank You.
Richard

Hi Richard........
Welcome to SAP Business One Forum.......
@your Query......
Please try....
If @object_type='15' and @transaction_type IN ('A','U')
BEGIN
If Exists (Select T0.DocNum from ODLN T0
Where T0.U_ORDR_DwnPayment = 'w/out DP'
And T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
Select @error = -1,
@error_message = 'You can not add Delivery with 'w/out DP' '
End
End
Above is the Validation which you need to run in PostTransnotification......
This will restrict users to add the delievry if UDF value is equal to  'w/out DP'
Regards,
Rahul
Edited by: RAHUL MOUNDEKAR on Mar 28, 2011 12:21 PM

Similar Messages

  • !!!How to restrict user for making  changes in Sales order , partner level

    Hi all,
    Can anybody tell me how to restrict user for making  changes in Sales order  at partner level, is it through user exit?

    Hi Ruchi
    I hope u had gone to the screen fields which u want them not to be editable. So there u select all the fields contents which u do not want to to be changed and check the boxes with W.content and Display and save it. Once evrything is done u have to activate the particular transcation going in to the standard variants and put the name and click the activate button.
    Hope its clear
    Reward if help ful
    Sri

  • How to restrict BOM explosion in Quotation and Sales  Order

    Dear all,
    How can we restrict BOM main item explosion in Sales Order.
    this BOM main item is having special order items which have to generate purchase requisition (item category - BANC),
    with out exploding bom main item, can we generate a  purchase requisition for BOM subitems, can any body explain me that how can we do that.
    your suggestions will be highly appreciated.
    thank you
    Raghu Ram

    Hi Raghu Ram,
    The BOM explosion is controlled by item category.
    In the item category configuration screen, under "Bills of Material/ Configuration", you can see "Structure Scope" field.
    Select the one which is applicable to your case:-
    "blank" - Do not explode material structure
    A - Explode single-level BOM
    B - Explode multi-level BOM
    C - Configuration, no BOM explosion
    D - Configuration, poss. with BOM explosion
    E - Structure from Customer_Function (product selection)
    Hope this helps
    Regards,
    Nicole

  • How to create a single delivery for two sales orders?

    Hi Experts,
    I need to create one delivery for two sales orders. But it fails.
    The route, shipping point, ship to party are same for both orders but INCOTERMS are different.
    Delivery date, Good issue date, loading date,material availability date, transportation planning date for 1st order is 12/07/11 and for second order is 14/07/11.
    I have created delivery on 14/07/2011 but the delivery is created for 1st order only, the second order is missing in the delivery.
    It not happened because of incoterms.? different dates
    Kindly help regarding this.
    Thanks
    Raghu

    Prerequisite for Grouped delivery
    1. Header data should be same like Inco terms,Payment terms
    Go to VL10A
    Enter the sales order Numbers and execute
    Select the sales order Nos  for the group delivery and select "Background"  Tab in Tool Menu Bar
    If delivery is created coloured line items will get generated
    Check the log for delivery docuements
    Check and confirm
    Senthils

  • How system determine delivery date in sales order

    Hi, sap gurus
    I am new to sdn forum please help me regarding my question
    1) how the system will determine delivery date in sales order
    2) what are factors effects to conform sales order stock
    3) what is different between static check and damanic check in credit mgt
    Thanks and regards
    nishad

    hi,
    Reg question:1 - System determines the Requested Delivery Date based on the Scheduline assigned to the item category of the item in sales order.the schedule line in the order transfers the requirements trhu MRP (can be individual or collective) . If its ruch order , you configure the order type "Deliver Immediately".
    In Detail:
    The TOR depends on the Requirement Type (MMR), Requirement Class(MMR), Checking group(MMR) and the Sc line category (Line Item). For the TOR to happen u need Plant at line item, scheduline category markd for TOR, Requirement Class marked for TOR and Checking group in MMR (Availability check)
    What all stocks need to be checked during Availability check is controlled by using the checking rule.. for example for AV -02 Ind Requirements a checking rule will be assigned and this checking rule- and then what all stocks need to be considered to determine the delivery can be maintained here.
    Rgds
    Sai

  • How to restrict number of concurrent connections etc.

    Hi,
    I'm able to use wi-fi thru WRT54GC.
    I want to know:
    1. How to restrict number of users connecting to the wireless network that is setup thru my router?
    2. I also want to know about any monitoring software which can tell me about connected PCs, user names, bandwidth available, bandwidth utilized etc.
    Thanks in advance
    Rajeev

    1. logon to router's setup page, open I.E. and in the address bar type 192.168.1.1, it would ask for username and password, put "admin" default password without any username... click on the wireless tab >> wireless security >> try setting up wireless security as per the requirements, also you can setup wireless MAC filter and you can setup MAC address of wireless computers which you want to allow to coonect to the network...
    2. not quiet sure about monitoring software which would show you detail log about bandwidth, bandwidth utilized by each computer...however you should view router's logs from linksys "logviewer" utility...go to ftp.linksys.com/pub/network and download the "logviewer" utility.
    let me know if you have any issues.

  • How to restrict more than one delivery from one sales order.

    Hi Guys,
    We have a requirement that is, system should not allow more than one delivery from one sales order no even if when there is some line item still to be delivered.
    We want only one delivery for one sales order and rest of line items should be treated as rejected.
    Kindly help
    Thanks in advance,
    Balu

    Hi MP,
    Its also not working as we have the requirement is that once sales order is saved and one delivery is created then again if we are adding some more item inthe same sales order then system should not allow to create delivery document as one delivery already created.
    Thanks,
    Balu.
    Edited by: Balu Sajja on Aug 30, 2010 1:29 PM

  • How to syatem determine delivery date in sales order

    hi sap gurus
    how to syatem determine delivery date in sales order
    Thanks and regards
    ram

    Hi Friend,
    There are many things which determines the delivery dates.
    01. PICK TIME+ PACK TIME +LOADING TIME
    02. LEAD TIME in days (VOV8)
    03. Shipping point
    04. Scheduling line
    05. Kind of availblity check
    06. If the above things are maintained as blank then the current date will be the delivery date
    However whether it must be proposed by the system or not is determined by one check box there find in VOV8 in requesteed delivery date determination tab.

  • How  to create one delivery for two sales orders?

    Hi Experts,
    I need to create one delivery for two sales orders. But it fails.
    The route, shipping point, ship to party are same for both orders but INCOTERMS are different.
    Delivery date, Good issue date, loading date,material availability date, transportation planning date for 1st order is 12/07/11 and for second order is 14/07/11.
    I have created delivery on 14/07/2011 but the delivery is created for 1st order only, the second order is missing in the delivery.
    It not happened because of incorterms.? different dates
    Kindly help regarding this.
    Thanks
    Raghu

    Hi
    To understand splitting behavior, see SAP Note 546668 - FAQ: Delivery split when creating deliveries. And yes, incoterms happens.
    I think that with the help of question 6 you can try to force the merging of SO. Then, see SAP Note 166397 - Delivery split according to customer field ZUKRL, and handling the field ZUKRL in a VOFM in the copy rule I think that you can try to do it.
    Finally See  Note 4505 - Duprec when adding delivery (VL04, VL01, VL10*) to avoid problems while you are merging.
    Regards
    Eduardo

  • How to clear the delivery group in sales order?

    Dear All: 
          My sales order is auto created from CRM by BAPI, but in vbap table, the GRKOR field is 001, only one order ,  how to clear the delivery group in the sales order ?
    Regards
    Peter.

    Thread Locked - Reason Duplicate Post
    How to clear the delivery group in sales order?
    Please dont post the same query twice.  Continue all your queries in one thread
    G. Lakshmipathi

  • How to create delivery from a sales order?

    Hi friends,
    Can you tell me how to crete a delivery from a sales order?
    First, I would like to know which transaction we use to create and how?
    Appreciate your input.
    Thanks,
    Krishen
    P.S. Points assured for helpful answers and thanks in advance for your time.

    VL01 is the transaction for the creation of Delivery
    VL01   SAPMV50A       Create Delivery
    VL01N  SAPMV50A       Create Outbound Dlv. with Order Ref
    VL01NO SAPMV50A       Create Outbound Dlv. w/o Order Ref.
    Message was edited by: Gopi Narendra

  • How to get the pricing hierarchy based on the delivery date for sales order

    Hi,
    How to get the pricing hierarchy based on the delivery date for sales order other than system date.
    My requirement is to get the Pricing hierarchy based on the delivery date other than system date.
    Waiting for kind response.
    Best Regards,
    BDP

    HI Sai,
    please refer teh document already how to write FM based extration on generic extractors.
    and here  the logic to find the latest records values:-
    -> get the data in an internal table
    ->Sort the internal table data based from date descending
    -> Using READ statement , we can read the first record of the table which is nothign but your latest record.
    Regards.
    Sakthi

  • How to restrict reversal of Goods issue against production order.

    Dear All,
    How to restrict reversal of Goods issue against production order if production order status is CNF or DLV.
    i want that user can not reverse the goods issued against production order, if they want to do so, then user has to reverse the GRN and reverse the GI then only.
    Please suggest the solution.
    Regards,
    Sandeep Dhruve

    Hy Sandeep,
    You have to use User Exit for this.
    The following enhancement is available for production orders:
    o   CCOWB001    User exit for modifying menu entries
    You can use this function module to deactivate menu entries or
    functions. The locked functions can then no longer be executed by the
    user.
    The enhancement CCOWB001 contains the following components:
    Function exit
    o   EXIT_SAPLCOWB_001   Good movement: Deaktivate functions
          Display documentation
    Regards,
    Dhaval
    Edited by: Dhaval Choksi on Aug 22, 2008 3:01 PM

  • How to display delivery status on sales order line

    Hi,
    We're on R12.1.3
    We have a requirement to display delivery status on sales order lines in quick sales order form. Is there a standard configuration available to achieve this? if not available, what would be the best way of achieving this?
    I mean using, Forms personalization or Event based Alert etc?
    Thanks,
    Ram

    This is already available in the additional line information..though..
    If you still want that at line level to be displayed..maybe you need to customize the form...not sure how u can handle that logic
    Mahendra

  • How to create one delivery for multiple sales order

    Hi!! Friends,
    Can some one explain the steps to be followed in creating one delivery for multiple sales order in SAP SD.
    Regards
    AKASH
    Message was edited by:
            AKASH TAMBI

    Hi.,
                  You can combine different orders in to one delivery ,But for the customer Order combination should be checked in  the sales area data of the shipping tab,we can combine orders but the ship to party,Route,Inco terms,Shipping date,shipping point should be same,you can do in T.code VL04 & VL10
    REWARD if helpfull
    Thanks & Regards
    Narayana

Maybe you are looking for

  • How to connect new iMac to TV???

    I'm not very computer savvy... is there an easy way to connect my new iMac to my tv directly with one cable, like and HDMI cable or something? Or is it much more complicated than this?

  • Error while installing the OIM

    hai sir, i installed OID in fresh base vm now an trying to install OIM . by default database also installed through OID . now the issue is i want to know how to prepare xl file before starting OIM installation. what the command we use to prepare xl f

  • List - Navigation Outline - how to open link in new window/tab?

    I have created Navigation Outline but would like to open links in the new window or tab. We are using single sign-on within our intranet therefore the links looks like that: f?p=105:1:&SESSION.. Does anybody have any ideas how to open new window, I h

  • Display and Edit Patterns in XML Tags

    Using LiveCycle E2 V9. The display and or Edit Patterns are not reflected in the XML of a submitted form. While these display properly on the Adobe form on-screen, e.g. $150,000.00 when the fields are are submitted the XML tag as reflects 150000.0000

  • After System Restore windows programs not loading, and other issues!

    To preface this I have no interest in keeping vista on here I have a CD with windows7 setup on it that I would like to install either on a new partition or over the exsisting one but no clue how to do this right, and when I tried booting up from the