How to stop A/R Invoice from adding which is without Item Price entered in it.

I am a beginner to SAP B1.
A/R Invoice is getting added into the system without the item price.
I want to that " If item price is not entered in the document, then the A/R Invoice should not get added ".
I believe, it can be done through formatted search , But, can anybody help me regarding Query to be
used in formatted search
OR
Is there any other way of achieving this ?

Hi Nikhil D,
Follow this step..
1. In SQL Server, go to the SAP B1 Database you're using. 
2. then on the Object Explorer , go to Database Folder, explode the SAP DB->Programmability->Stored Procedures->SBO_SP_TransactionNotification * the only Stored Procedure that is allowed to be edited. Just right click and modify
3.  Try to paste this ->
If @object_type='13' AND (@transaction_type='A' or @transaction_type='U')
BEGIN
      IF Exists(Select * from INV1 Where DocEntry=@list_of_cols_val_tab_del and (Price='' or Price IS Null or price=0)) 
      BEGIN    
          select @error=3, @error_message='Enter Item Price'
      END
END
Regards..

Similar Messages

  • How to stop the tab bar from automatically hiding itself?

    ive only found how to stop the address bar from disappearing and everyone with the tab problem seems to have posted this over a week ago and still hasnt been fixed yet if noone has a fix im out and done with firefox they can suck a fat one
    why add this feature! i can understand the address bar but not the tabs all you have to do to hide it was push the tab button again and its gone was that so fucking hard that you had ruin a perfectly fine browser

    Hello,
    In Firefox 23, as part of an effort to simplify the Firefox options set and facilitate future improvements to Firefox, the option to hide the tab bar was removed.
    Fortunately, this can easily be resolved if you desire the keep tabs hidden. You can install "[https://addons.mozilla.org/firefox/addon/hide-tab-bar-with-one-tab/ Hide tab bar with one tab]", an extension hosted on Mozilla's add-ons site, which will restore the ability to hide the tab bar.
    Thank you and I hope this helps!

  • How to stop the option key from changing tools when trying to subtract from a selection?

    How to stop the option key from changing my tools when I am trying to subtract from a selection?
    I'm running CS3 on Mac OS Leopard, and the automatic tool switching slows me down, but even preferences doesn't show a way to turn this off.
    Thanks for your help.

    With any marquee tool, JUST holding down the option key should not switch tools. You need to explain the problem much more carefully, It's completely impossible to tell from your description whats going wrong.
    automatic tool switching
    The only preference related to this, is to do with the SHIFT KEY - "use Shift key for tool switch".

  • How to stop the gray wheel from spinning after logging out

    how to stop the gray wheel from spinning after logging out?

    Frank ...
    Make sure to quit all open applications before logging out.
    Your proflie indicates your Mac has v10.7.1 installed.
    If that is the case, updating your system software will help as far as functionaly as well as security.
    Install the OS X Lion Update 10.7.5 (Client Combo)
    Then restart your Mac.
    message edited by:  cs

  • How to create A/R Invoice from draft

    Hi,
              How to create A/R Invoice from documnet draft using DIAPI.
    Thanks,
    P.Suresh Kumar

    Hi Suresh Kumar,
    You may check this as a reference: Re: Problems while saving the tax values in a Draft Document to AP Invoice
    Thanks,
    Gordon

  • Anyone know how to stop the "activate" box from blocking usage of a perfectly legal copy of Ilisten? I want to help my dyslexic grandson and this box, including the activation code, keeps popping up, keeping me from using the software. I activated the pro

    Anyone know how to stop the "activate" box from blocking usage of a perfectly legal copy of Ilisten? I want to help my dyslexic grandson and this box, including the activation code, keeps popping up, keeping me from using the software. I activated the program and did a few profile building sessions, now it pops up each time I start the program, blocking me from using it. Help sure would be appreciated.
    Jay

    I looked at your post this morning and did not know enough to respond, other than to find out that links to iListen now go to newer, renamed software. Considering it's been nine hours with no response, I'm suspecting few people here have experience with that software. You could contact the current copmany that used to sell that package and see if they have any archived support info.
    BTW: please check you entry for "Mac OS" in your profile. It says iOS, which cannot run on an iMac. iOS is the system for phone and iPads but can't run on Mac computers. Do "About this Mac" from the Apple menu and see what it says about the OS version. Should look like this:
    If the "Processor" line says "Intel," you have a newer Mac than the old modles this forum covers; Intel iMac have their very own forum here:
    iMac (Intel)

  • How to stop Adobe Flash plugin from repeatedly crashing Firefox?

    How to stop Adobe Flash plugin from repeatedly crashing Firefox?

    yeah, having the same problem.
    Hulu is working on my internet explorer 8, tho... Interesting thing is that it detected I didn't have the 10.1 version of adobe flash player even though I just downloaded that on firefox. So MAYBE the problem is between firefox and adobe. Just a guess

  • Anyone any advice on how to stop my mail "activity" from continuously caching? is this a problem? I have had inbox issues recently that are not resolved yet but I am not sure if they are related.

    Anyone any advice on how to stop my mail "activity" from continuously caching? is this a problem? I have had inbox issues recently that are not resolved yet but I am not sure if they are related.

    Quit Mail. Force quit if necessary.
    Back up all data. That means you know you can restore the Mail database, no matter what happens.
    Triple-click the line below on this page to select it:
    ~/Library/Mail/V2/MailData/Envelope Index
    Copy the selected text to the Clipboard (command-C). In the Finder, select
    Go ▹ Go to Folder
    from the menu bar. Paste into the box that opens (command-V), then press return.
    A Finder window will open with a file selected. Move the selected file to the Desktop, leaving the window open. Other files in the folder may have names that begin with "Envelope Index". Move those files, if any, to the Trash.
    Log out and log back in. Relaunch Mail. It should prompt you to re-import your messages. You may get a warning that the index is corrupt and that Mail has to quit. Click OK.
    Test. If Mail now works as expected, you can delete the file you moved to the Desktop. Otherwise, post your results.

  • How can i request an invoice from a apple product?

    how can i request an invoice from a apple product?

    IF you bought it from an Apple Store in the US:
    View or Print Invoice
    Once an item is billed, Apple creates an invoice. You can view or print individual invoices for each item on your order.
    To view or print your invoice, log in to online Order Status and click the View Orders button. Click the Print Invoices link on the Your Orders page to get a printable image of your invoice(s).
    If you need assistance with viewing or printing your invoice, please contact an Apple Online Store representative 1-800-676-2775.
    from:
    http://store.apple.com/us/help/viewing_changing_orders#invoice

  • Hello. I have bought an iMac in Ft.Lauderdale but now i'm in Ukraine. I lost the receipt and in order to get my iMac fixed they told me to get an invoice from Apple. So how can i get an invoice from Apple?

    Hello. I have bought an iMac in Ft.Lauderdale but now i'm in Ukraine. I lost the receipt and in order to get my iMac fixed they told me to get an invoice from Apple. So how can i get an invoice from Apple? Thank you!

    If you bought it from an Apple Store you will need to contact the Apple Store to see if they can help you. This forum is a user to user forum and frankly I've never seen a question like yours come up. If you purchased it with a credit card then it should be pretty simple to get a copy of your statement and see if the "they" you are referring to will accept that as proof of purchase.
    Good luck!

  • How to stop safari on ios7 from remembering history?

    How to stop safari on ios7 from remembering history?
    I hate to continually delete my history. Is there a way to stop it or set it to delete it on its own every day?

    Hey Bigchins!
    I have an article here that can address your question for you. The feature you are looking for is called private browsing, and it is explained here:
    To enable or disable Private Browsing, turn Private Browsing on or off.
    Private Browsing in iOS 5 protects private information and blocks some websites from tracking your behavior. Safari doesn't remember the pages you visit, your search history, or your AutoFill information.
    Note: While Private Browsing is enabled, the Safari bars appear black or dark instead of blue or gray.
    iOS: Safari web settings
    http://support.apple.com/kb/HT1677
    Thanks for coming to the Apple Support Communities!
    Regards,
    Braden

  • How can I deactivate a device from Sync, which is not available already?

    How can I deactivate a device from Sync, which is not available already? It would be good to have a list of my synced devices.

    '''To deactivate synced devices:'''
    1. Open the Sync options window.
    2. Click on Deactivate This Device. A prompt will appear.
    3. Click Reset All Information to confirm. Your device's data will no longer be synced with the server's Sync data and you'll be logged out of your Sync account.
    For more Information on Adding, renaming and deactivating your devices
    please follow the link [https://support.mozilla.org/en-US/kb/how-do-i-manage-my-firefox-sync-account?esab=a&s=sync+devices&r=0&as=s#w_adding-renaming-and-deactivating-your-devices Managing Sync Devices]

  • How to pull only column names from a SELECT query without running it

    How to pull only column names from a SELECT statement without executing it? It seems there is getMetaData() in Java to pull the column names while sql is being prepared and before it gets executed. I need to get the columns whether we run the sql or not.

    Maybe something like this is what you are looking for or at least will give you some ideas.
            public static DataSet MaterializeDataSet(string _connectionString, string _sqlSelect, bool _returnProviderSpecificTypes, bool _includeSchema, bool _fillTable)
                DataSet ds = null;
                using (OracleConnection _oraconn = new OracleConnection(_connectionString))
                    try
                        _oraconn.Open();
                        using (OracleCommand cmd = new OracleCommand(_sqlSelect, _oraconn))
                            cmd.CommandType = CommandType.Text;
                            using (OracleDataAdapter da = new OracleDataAdapter(cmd))
                                da.ReturnProviderSpecificTypes = _returnProviderSpecificTypes;
                                //da.MissingSchemaAction = MissingSchemaAction.AddWithKey;
                                if (_includeSchema == true)
                                    ds = new DataSet("SCHEMASUPPLIED");
                                    da.FillSchema(ds, SchemaType.Source);
                                    if (_fillTable == true)
                                        da.Fill(ds.Tables[0]);
                                else
                                    ds = new DataSet("SCHEMANOTSUPPLIED");
                                    if (_fillTable == true)
                                        da.Fill(ds);
                                ds.Tables[0].TableName = "Table";
                            }//using da
                        } //using cmd
                    catch (OracleException _oraEx)
                        throw (_oraEx); // Actually rethrow
                    catch (System.Exception _sysEx)
                        throw (_sysEx); // Actually rethrow
                    finally
                        if (_oraconn.State == ConnectionState.Broken || _oraconn.State == ConnectionState.Open)
                            _oraconn.Close();
                }//using oraconn
                if (ds != null)
                    if (ds.Tables != null && ds.Tables[0] != null)
                        return ds;
                    else
                        return null;
                else
                    return null;
            }r,
    dennis

  • How Can I get my bookmarks From My Sync account without my sync key after a hard drive crash?

    My Computer Hard Drive crashed before I could back up my Sync Key or add another device. How can I get My bookmarks from my sync account without resetting the sync key and wiping my data?

    Not from Mozilla. Nobody knows your Sync Key except for you. <br />
    Is that hard drive usable at all? Like as an external disk in a USB hard drive enclosure?
    If so, you can recover your Firefox data from that drive. <br />
    http://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile
    Your old Profile is located here in Vista & Win7: <br />
    ''drive'':\Users\''Windows login user name''\AppData\Roaming\Mozilla\Firefox\Profiles\''profile_name'' <br />
    Make sure that you unhide "Hidden files and folder" in the Control Panel > Folder Options -> View

  • How do I transfer iTunes music from iPad to nano without a computer ? Can I lighting plug between the two?

    How can I transfer iTunes music from iPad to Nano without the use of a computer? Can it be done with Lightning plugs between the two?

    There is no way to do that.

Maybe you are looking for

  • How to get return value from java and read by other application?

    i want to read return value from java and the other application read it. for example: public class test_return {     test_return(){     public int check(){         return 1;     public static void main(String args[]){        new test_return().check()

  • Strange voice mail

     I have Prepaid Plus.  This evening I started to receive voice mails that were sent back in April. I remember receiving them back then, and deleting them.  Why would I start getting these voice mails now? And for some reason I can't find how to delet

  • Volumes/ folder trouble in iTunes

    I'm in the process of setting up my new Mac and having trouble with iTunes.  I keep my music on my external hard drive, which I've named KLB_Ext.  After selecting the right iTunes library, I found that I can't actually play any of the songs, because

  • CiscoWorks LMS 3.2 SMTP configuration giving error

    HI Friends, I have installed Ciscoworks 3.2 on Dell poweredge 2950 server, when i try to configure SMTP email notification settings, it's giving me error "Invalid IP address or server name please enter valid SMTP server name" Request you to all pleas

  • Extracting text from selected stories

    Platform : Windows Version: CS2 Language: VB Script I run a weekly newspaper and each week, I want to repurpose approx 60pp to put on the web. The stories are unstructured and each page is in a single ID document. I thought that a headline and story