Not available to make invoices with older dates

hello experts
i am interested in modifying the SBO_SP_TransactionNotification function by not allowing the store to make an invoice with older date.
for example, i dont want to give them the opportunity to make a new invoice by changing the date of the invoice
could you please help meon this way?
thanks in advance

HI
If you want this provision for all documents.
Goto administartion->system initilaisation->Document settings.
under general tab,you will find 'Block Documents with earlier posting date' just tick it and update.
Or
Try this SP:
if @object_type = 18 and @transaction_type in ('A','U')
begin
if exists(SELECT T1.[DocEntry] FROM OPCH T0  INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry WHERE DateDiff(DD, T0.[DocDate] ,GetDate()) < 0 AND T0.docentry = @list_of_cols_val_tab_del)
begin
set @error = 1
set @error_message = N'Dont Post Invoice with older data'
end
end
Edited by: kambadasan on Sep 29, 2011 12:41 PM
Edited by: kambadasan on Sep 29, 2011 12:45 PM

Similar Messages

  • Help - lost motherboard, auto save saved older script, newer script actually with older date.

    Adobe story team:
    I had a best script to date, on an older hard drive and the motherboard failed on my HP tower.  The sony laptop has a more recent dated script, but not the one I want.  How do I replace an "older" date script, one that I want for a newer script.  I don't want the newer script, I want the older one that is on a "pulled" hard drive again, from a tower that failed.
    Do I save the older file on an offline, using a new ID, new password, forever changed or what can I do?
    I need a fairly quick response, timing is critical.  HP tower is the problem.
    drgm
    thanks

    You have it half right.  the issue is the HP tower I had failed.  The mother board failed, I pulled the hard drive which is windows 7, I have a sony laptop which is in 32 bit vista, I am not sure if the different versions will be an issue.  can i take a file off the pulled hard drive and put it somewhere in a directory even with the different windows vista vs windows 7 if so which file should i copy on the pulled hard drive and where do i put it on the laptop, directory plus I will go back on online save it in the clouds and reformat the laptop and go to windows 7 then go back to adobe story  and go from there. thank you for your quick attention in this matter.
    Respectfully,
    drgm
    doug morrow
    Date: Tue, 24 May 2011 22:10:24 -0600
    From: [email protected]
    To: [email protected]
    Subject: Help - lost motherboard, auto save saved older script, newer script actually with older date.
    Hi
    I am not sure if I understand your problem correctly, but as far as I can make out you had been working on a script and then it got autosaved and now you wish to go back to the "older" script.
    In order to do so you may visit your document's history through the View->History option. There you will see older versions of your document (if you had not turned off autoversioning). You may then open an older version of the document from the panel by double clicking on it. Once on an older version you will get to see the "Make Latest" option. Clicking on that will make the "older" state of your document your "current" state and then you may proceed to edit the document as usual.
    I hope this is helpful to your situation. In case you face any issues in following the mentioned steps do let us know.
    Thanks
    Ali
    Adobe Story Team
    >

  • How can I fix my iphone's sound I plugged it in to my radio and the sound came out fine but when I took it out the volume bar dissapered and ever seince all it says volume not available, but it work with headphones in. What can I do to fix it?

    How can I fix my iphone's sound I plugged it in to my radio and the sound came out fine but when I took it out the volume bar dissapered and ever seince all it says volume not available, but it work with headphones in. What can I do to fix it?

    Try reset all settings.
    Settings > General > Reset > Reset all settings.  It won't delete any data.

  • System 'CE3' is not available. Make sure it is running properly.

    hi,
    im in CE 7.1 EHP 1. when im trayin to assig a Role to a new task in my process Model i get the error http 502. so i went to  Process Instance Tab where i got the error System 'CE3' is not available. Make sure it is running properly.
    whatever in windows-->preferences SAP AS Java i have the intance and in Server tab i can see is with status STARTED.
    any Idea?
    Thanks.

    Hi Rodrigo,
    The HTTP error code 502 is 'Bad gateway'. I also experienced this once or twice when I configured a certain proxy (or proxy script) that wasn't able to resolve that host. Try bypassing the proxy or using a special proxy for your host CE3 in the Proxy Settings of your NWDS.
    Cheers,
    Martin

  • MIGO-Capturing problem-Item is not available for Excise invoice,deselect th

    Hi Gurus
    while doing MIGO and part 1 posting am getting following error
    MIGO-Capturing problem-Item is not available for Excise invoice,deselect the item
    kindly help in this
    Maruthi

    hi
    check all settings in J1ID
    or
    in po did u got ur all values correctly for excise cess and hcess
    if yes then check ur vendor excise details in j1id
    if above setting are done properly then check ur CIN setting in spro>log gen>tax on goods movement >india>account determination >specify excise acct as per transaction/specify G/L acct as per transaction
    regards
    kunal

  • Make invoice with item level only not by batch level

    Hii
    i made a delivery doc say material 'A' having batch1,batch2,batch3 with different qty .
    exp:(VL03N)
    material a batch1 10ton
    material a batch2 20ton
    material a batch3 30ton
    Now i wanted to club all this qty and do invoice with single item for 'Material A' ,it shouldn't come with batch level wise material .
    so in vf01 it should look like this .
    material a 50 ton .
    Plss suggest what should i do for this cases ?? if poosible for changes in routine vbrk/vbrp in copy control then kindly suggest /
    sourav .

    Hi,
    Is your requirement for printing the invoice or while creating the invoice [VF01] Please confirm.
    regards,
    Chetan

  • Why is disk optimization not available on our Surface with 8.1?

    We have a Surface with Windows 8.1 RT.  When I go to the Tools and try to Optimize (trim) the SSD it says "Optimization not available" and the Analyze and Optimize buttons are greyed out.  I've seen posts where others are able to optimize
    their drives, so what am I missing in this case.  I checked the Services for Optimization and it was set to manual, but even when turning it on at startup automatically it makes no difference.  Any ideas on how to optimize on the Surface? 
    Why is the option available if you can't use it?

    This is normal for SSD.
    Do some reading here:
    Should You Defrag an SSD?
    How to Use "Optimize Drives" to Defrag HDD and TRIM SSD in Windows 8 and 8.1
    S.Sengupta, Windows Entertainment and Connected Home MVP
    S. Sengupta, I think you are missing the point of my original post.  Of course I know you don't defrag an SSD.  But you can optimize them using Trim.  I have two other notebooks running Windows 8.1 and both have the ability to optimize the
    SSDs as shown in the screenshot AnaBna posted.  This is not normal behavior for the options to be greyed out, and only our Surface with 8.1 RT exhibits this behavior.  Possibly this IS normal for a Surface, and if there is anyone else out there with
    a Surface (regular, not Pro) willing to look they can tell me if theirs is also un-optimizable.  The only thing that makes me think other's with a Surface can optimize is that when I searched for a solution to this others mention they can do this on their
    Surface. 
    I say this with all respect, but I think sometimes on this forum people just fire off answers very quickly without really reading the whole question or knowing the answer just to get credit for posts and points.

  • DVD will not play and states "supported disk not available" and makes a weird noise and then ejects the dvd

    My MacbookPro is only 5 months old and in really good condition. The only problem I am encountering is that when I insert any type of dvd disc, it starts to make this weird grinding noise that goes eeee-eeee, and then does that a couple of times and then the disc ejects on its own. When i try to play it with idvd, it does the same noise thing and then iDvd state "supported disk not available". The dvd does not even read on the computer.

    If only five months old it is still under warranty. Take it back.

  • Merant Driver is not available for Windows 7 to create data warehouse table

    Hi All,
    I had installed Database, OBIA, DAC and Informatica in windows 7 64 bit. Installation is successful.
    To create data warehouse tables through DAC, we need merant driver. But Merant driver is not available in windows 64bit.
    I followed the below procedue to create a merant driver.
    "C:\Windows\SysWOW64\odbcad32.exe"
    Executed odbcad32.exe, and I found the merant driver in the list, when i try to create DSN, I am getting the following error.
    Specified Driver could not be loaded due to system error 193: (Oracle Merant Driver in DAC 10g_Oracle-OH1635326477, c:\orahome\10gR3_1\bifoundation\dac\utilities\DataDirectODBC\seor820.dll).
    Can any one please provide me the solution.
    Regards,
    Kumar

    I know the docs say you must use the merant driver however did you try a normal oracle odbc connnection. I am sure i did this in the past.
    BTW I hope this is just your laptop and you are playing around. I do'nt think Windows 7 is a supported environment. You should consider a supported platform for production and maybe a virtual machine on your windows 7 machine in development so you can practice the install.
    See
    Oracle Fusion Middleware Supported System Configurations
    http://www.oracle.com/technetwork/middleware/ias/downloads/fusion-certification-100350.html
    System Requirements and Supported Platforms for Oracle Business Intelligence Applications 7.9.6.3 http://www.oracle.com/technetwork/middleware/bi/obia7963cert-matrix-395521.xls

  • Location based reminders option not available on iPhone 6plus with iOS 8.1

    Location based reminders option  (within Reminders app) is not available. I can open the app and create a reminder based off time, but there is no option present to specify location. I have location services enabled. The Reminders app is not listed in my apps eligible to use Location services, but it's never asked... because it's not an option in the app to select.
    iPhone 6plus with iOS 8.1

    Try using Siri to set the reminder, something like "remind me to call mom when I leave home". It should either know or ask what "home" is and that may initiate the location services. I did confirm that location services are available on the latest OS for the iPhone plus (just checked mine).

  • Problem to make invoice with reference URGENT!!! (reward points)

    Dear ABAP expert ,
    We need to enhance our program to post accounting document (simulate tcode MIRO). The existing logic is posting document via BAPI function BAPI_INCOMINGINVOICE_CREATE. The different between new requirement and current logicis that the current program will post MIRO with PO reference but the new logic will posting with Delivery Note.
    As check with SAP, there is no field for the Delivery Note in BAPI_INCOMINGINVOICE_CREATE but the Delivery Note is available in BAPI_INCOMINGINVOICE_SAVE which only create the invoice document not the accounting document.
    Could you help suggest if we have another option to fulfill the requirement ?
    Cheers!!!

    Hi,
    Have got any solution on this issue, I am also having the same problem I have to create invoice through BAPI reference of Delivery note, if you have done kindly share with me how you didi this.
    Regards,
    Sathish J

  • Color Highlights not working in bar chart with two data points

    Iu2019m using Crystal Reports 2011.  I have created a bar graph using two data fields in the Chart Expert.  I have set the colors for the bars in the Color Highlights tab, but the colors that I have defined have not been applied to the graph.  
    I have tried changing the colors numerous times and have done it in both design and preview modes.  It seems to be somethign with having two data points because I don't have this problem when using just one data point.  Please help!

    is the colour mode Color by group or color by series

  • I did have spotify premium on my phone, it then stopped working so I deleted it but can no longer re download it from app store, the 'open' symbol is not available only a cloud with a down arrow coming from it?

    I did have spotify premium on my phone, it stopped working so I deleted it from my iphone 5, when I tried reinstalling the app the 'open' tab is no longer available instead there is a picture of a cloud with an arrow coming down from it.  Can anyone suggest how I might reinstall the spotify app onto my iphone again?

    The 'open' button only show after you've installed it on your phone, the cloud symbol imdicates that the app is only in the cloud - if you tap on the cloud icon it should download onto your phone.

  • Invitees option not available in new events with Exchange activesync cal

    I have an Iphone running OS 3.1 and a Google apps calendar that supports Exchange Active Sync.
    I have setup a calendar account as Exchange Active Sync on my iphone and put in the google mobile sync server address (m.google.com).
    When I create a new event on the iphone I do not see the option for invitees to invite others to my meeting.
    I know this works because other people in my office have this same setup and can sync and send meetings via our corporate google calendar app.
    Any suggestions?

    Hi there!
        It sounds like you're having a more complicated problem than I was, but just in case anyone out there is in the same boat, here's the solution (which I wasn't able to find in any forums thus far) to a simple problem I was having.
    If you're using a single email account with iOS 7 on a device like an iPad 2, you've hit the cancel button on an email and selected "Save Drafts," but later realized that you're unable to find the draft folder anywhere, then the fix is actually pretty simple. All you have to do is open your email account,  hit the "Mailboxes" tab in the top left corner, tap the "Edit" button (to the right of the "Mailboxes" header), select "Add Mailbox" from the first section, and then just tap "Drafts" and "Done."
        Afterwards, just go to your Mailboxes tab and you should see the draft folder listed, in which will be whatever drafts you've saved so far.
    Hope that's helpful! :)

  • Create invoices with xml data

    I have a production systems that generates a XML file wih data for a complete Invoice. Can i design a acrobat form and import the xml file to fulfill the invoice?

    We don't support data injection in Formscentral but it is supported for Acrobat based forms. I would suggest you look at using Acrobat based forms for your solution. The injection of data via an xml file is supported there. In general this type of workflow is beyond the current scope of Formscentral.
    Andrew Yarborough

Maybe you are looking for

  • Standard Report for maint order, PR,PO,services

    Hi all, Is there any standard report in PM where i can find Maintenance order number,Purchase Requisition no., Purchase order no. and the services taken in the maint. order. If such a report is not there, pls tell me the logic to create it. Thanks Sa

  • JMS unable to connect MQ after idling for 10 min

    Hi, I have come up with a working Async/Sync interface which is MQ->XI->RFC->CRM and CRM->RFC->XI->MQ again. I sent several messages to create tickets in CRM and CRM created the tickets successfully and sent back reponses back to MQ. MQ received the

  • Lightroom not updating the originals

    I may be having a senior moment but I am running Lightroom 2.6 and have been using Lightroom since its inception, I have a PC running win7 Ultimate and use DeepMeta to upload to istockphoto and have been doing so for a long while without a problem. I

  • Migration strategy for oracle reports 6 to 10g or 1g

    Hello All, I would like to know what is the migration path for migrating reports from 6 (*note not 6i*) to 10g or 11g. Thanks Sulakshana

  • Fcpx 10.1.4 crashes when iPhone 4s is connected to iMac

    When I connect my iPhone 4S running the latest iOS 8.3 is connected to my 2014 iMac 27 running Yosemite 10.10.2 Final Cut Pro X 10.1.4 crashes. If I do successfully connect the phone, FCPX crashes when I attempt to import video from the iPhone. I hav