FTP STOR command with REST capability

Hi folk,
I have a cRIO on a remote field, and I need that the program running on that platform periodically uploaded, through the internet, the data files to an FTP server.
I have used the FTP VIs included in the Internet Toolkit to develop this functionality and I am experiencing some problems.
During the uploading of files of medium or large size, via FTP, can happen that the FTP server closes the connection.
The reasons can be different, network operation exceeded the user-specified or system time limit, bandwidth usage is restricted or the bandwidth is limited, etc..
To overcome this issue the correct strategy is to reopen the FTP connection and to restart the upload from the point where it was interrupted.
It is very important to finish to upload only the remaining part of the file, and not to restart from the beginning, otherwise you could not end the upload if the FTP server closes the connection again and again.
For implementing the resume, the FTP protocol supports a number of commands:
SIZE <remote file-name>  Returns the size of a file (Binary mode) .
REST <file-size>         Sets the following STOR command to restart transfer
                         from the specified point.
STOR <remote file-name>  If anticipated from a REST command, store (upload)
                         only the part of the file starting from the
                         specified point.
At the present, it seams to me that the LabVIEW Internet Toolkit does not support the capability of FTP resume.
Furthermore, if during a FTP upload the connection is closed by the FTP server, the FTP [STOR].vi exits sometime with ambiguous errors.
Exit with a correct error:
Error 56 occurred at TCP Read in NI_InternetTK_Common_VIs.lvlib:TCP Read xTP Reply.vi:2->NI_InternetTK_FTP_VIs.lvlib:FTP Get Command Reply.vi:1->NI_InternetTK_FTP_VIs.lvlib:FTP Data Send.vi->NI_InternetTK_FTP_VIs.lvlib:FTP [STOR].vi
Possible reason(s):
LabVIEW:  The network operation exceeded the user-specified or system time limit.
Exit with an ambiguous error:
Error 54 occurred at TCP Open Connection in NI_InternetTK_FTP_VIs.lvlib:FTP Open Data Connection.vi->NI_InternetTK_FTP_VIs.lvlib:FTP Data Send.vi->NI_InternetTK_FTP_VIs.lvlib:FTP [STOR].vi
Possible reason(s):
LabVIEW:  The network address is ill-formed. Make sure the address is in a valid format. For TCP/IP, the address can be either a machine name or an IP address in the form xxx.xxx.xxx.xxx. If this error occurs when specifying a machine name, make sure the machine name is valid. Try to ping the machine name. Check that you have a DNS server properly configured.
Do you have idea or suggestion of how  realize an FTP STOR command with REST capability?
Thanks,
Asper

Unfortunately the best advice I could give you would be to make a copy of the FTP toolkit and add this functionality yourself. You should have most of the building blocks available to you so it should be fairly starightforward. You could reference the RFC (RFC 959 and RFC 3659 for extensions) for any specifics you need on the packet format. You will need to save some state information so you can resume your download from the correct point.
Would it be possible to use TFTP? This is much leaner and more likely to succeed if the other ends supports it. I recently wrote a very basic TFTP Write. I'm sure I could do the TFTP Read in short order. I'm still working on packaging it up in a distributable form but I could provide you with a basic VI if needed.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • FTP Sub Command: Local Error with EasyDMS

    We have been using DMS for several years.  We have a vault setup and are able the checkin files with FTP via SAPGUI with no problems.  Recently we have been looking at EasyDMS.  We have it installed and can login ok.  When we try to drag a file into the windows explorer the popup appears and we can enter the META data.  When the file is checkin via FTP we get FTP Sub Command: Local Error.
    Any suggestions would be appreciated.

    Tom,
    We have encountered the exact same siituation with EasyDMS, we currently have had an OSS call to SAP for 2 weeks that ended up with the developers in Germany and bouncing the issue back to technical support and stating that they have no idea!
    We are also interested in an answer, sorry I can't help you, but you are not alone.

  • Mac "expect" function cannot work properly with ftp "!" command

    Lastly I have written a Expect-TCL script on Linux to automatically download log files from my company network device I have ever made used of ftp command “!” to go back to linux local to create directory with appropriate name for storing downloaded files.
    However, I found that when I use the same Expect-TCL script on my Mac, I found that the Expect script will stuck at ftp “!” command without proceeding onward. Here below is the command output with my sample experiment.
    BMBP:_Practise boyce$ expect sample-ftp.exp
    spawn ftp 127.0.0.1 21
    Connected to 127.0.0.1.
    220-Welcome to Boyce BMP FTP
    220 CrushFTP Server Ready!
    Name (127.0.0.1:boyce): boyce
    331 Username OK. Need password.
    Password:
    230 Password OK. Connected.
    Remote system type is UNIX.
    Using binary mode to transfer files.
    ftp> binary
    200 Command ok : Binary type selected.
    ftp> verbose
    Verbose mode off.
    ftp> !
    bash-3.2$
    quit
    exit
    ^CBMBP:_Practise boyce$
    Here below is my sample script to test ftp “!” command:
    BMBP:_Practise boyce$ cat sample-ftp.exp
    #! /usr/bin/expect
    Default Settings
    set site "127.0.0.1"
    set port "21"
    set dirListFile "dir_list.txt"
    set sdUserName "boyce"
    set sdUserPwd "boyce"
    Launch a FTP session to SD
    set timeout 60
    log_user 0
    spawn ftp $site $port
    expect "Name" {send "$sdUserName\r"}
    expect "Password:" {send "$sdUserPwd\r"}
    expect "ftp>" {send "binary\r"}
    expect "ftp>" {send "verbose\r"}
    expect "ftp>" {send "!\r"}
    expect "(.*)" {send "ls\r"}
    exit
    Have you ever tried “!” command from expect script? Should it be classified as a bug on Mac Expect and do you know is there any patch available to fix such problem?

    Try posting this in the Unix Forums.

  • "show in itunes store" command missing from video library

    updated to itunes 11.1, and ios7.
    This isn't a pro or con diatribe, just a list of the minorish bugs that i have noticed:
    First (probable?) bug:
    With the latest update, the (control click) "show in itunes store" command is missing from all video layouts (unwatched, shows, genres) except "list".
    I assume this is just a temporary bug, as it limits easy access to purchasable store content.
    This is especially important since "check for available downloads", while still around, has been, as far as i can tell, completely nonfunctional for months.
    I now have all my email notifications for passes turned on, and just manually click on the emails to download new content.
    However, especially for shows with extra content, sometimes the email doesn't download the actual show, just the extra content.
    for this reason, and for non pass shows, and just for general shopping and impulse buys, I liked to use the "show in itunes store" to easily check shows that i am currently interested in.
    except that now it is gone.
    Another (probable) bug:
    I have a lot of purchased content, so i have the cloud turned off to control the flow of menu information.  i don't need to see everything i have purchased all the time, only the newest shows that i actually have loaded onto the ipad.  I still just load in the shows i want to watch from my main computer after i have downloaded them from apple to the hard drive, which i guess is now a bit old fashioned.  ios7 doesn't seem to like this very much, as it initially displays the cloud content when opening the "video" app, before blanking and replacing it with the edited down version. But the real bug is this:
    Now when i delete a video on the ipad, it crashes the "video" app.
    And, instead of recognizing the delete when i sync to the computer, it ignores it and reloads the video onto the ipad.
    ......And finally:
    There is still a tendency for the ipad and itunes to throw up the "sign in" pop up, often multiple times in a row, anywhere and for no reason, even when i am already signed in. Sometimes i can just hit "cancel" and it disappears, other times it forces me to retype my password.  It's gotten a lot better and less frequent than when it first started earlier this year, but it's still around. 
    Having said this, I'm still, of course, a huge fan of the change earlier this year that keeps track of purchases and allows me redownload, instead of the old "lose it and its gone, tough luck" policy. 

    Ha.  Maybe it's just me then.  When i control click on a show, i'm getting:
    In Library/TV Shows:  Unwatched, Shows, and Genres:
    play "[show]"
    mark as watched
    mark as unwatched
    [depending on blue dot]
    get info
    rating
    show description
    show in finder
    reset plays
    show in playlist
    copy
    as opposed to, in List (and everywhere else):
    play "[show]"
    mark as watched
    mark as unwatched
    [depending on blue dot]
    get info
    rating
    show description
    show in finder
    show in itunes store
    get album artwork
    reset plays
    consolidate files
    new playlist from selection
    add to playlist
    show in playlist
    copy
    delete
    uncheck selection
    apply sort field
    I have my sidebar turned on, but it doesn't seem to make a difference if it is showing or not.
    I looked around in settings, view, and window for a way to modify the control click menu, but couldn't find anything.
    It's a very minor issue.
    If your menu is working, maybe I just need to delete my copy of itunes and reinstall.  Or change a setting somewhere.

  • Calling ORACLE Store Procedure with parameters in user define function

    Hi everybody,
    We have a scenario connecting Oracle DB thru JDBC adapter.
    We have to call store procedure with input parameter and output parameter to retrieve data from DB. The implementation was made using JDBC adapter by building the correct XML message with EXECUTE action, and it works fine.
    Now we need to use DB lookup within mapping. I wrote users define function with SELECT statement (using the JDBC adapter) and it works fine but I need to call store procedure in ORACLE instead of SELECT statement.
    I found lot of examples concerning DB lookup but none of them explained how to write UDF calling store procedure in ORACLE with input and output parameters.
    I am looking for an example.
    Thanks in advance,
    Gigi

    I agree with you, but issue is we have lots of existing store procedure, which we need to call where damn required. I am sure those will be few but still i need to find out.
    If you think you are going to get existing MS Stored Procedures  or Oracle Packages that had nothing to do with the ORM previously to work that are not geared to do simple CRUD operations with the ORM and the database tables, you have a rude awakening
    coming that's for sure. You had better look into using ADO.NET and Oracle Command objects and call those Oracle Packages by those means and use a datareader.
    You could use the EF backdoor, call Oracle Command object and use the Packages,  if that's even possible, just like you can use MS SQL Server Stored Procedures or in-line T-SQL via the EF backdoor.
    That's about your best shot.
    http://blogs.msdn.com/b/alexj/archive/2009/11/07/tip-41-how-to-execute-t-sql-directly-against-the-database.aspx

  • 703: Subdaemon connect to data store failed with error TT9999

    All,
    I'm getting the following error whilst trying to connect to a TimesTen DB:
    connect "DSN=my_cachedb";
    703: Subdaemon connect to data store failed with error TT9999
    In the tterrors.log:
    16:39:24.71 Warn: : 2568: 3596 ------------------: subdaemon process exited
    16:39:24.71 Warn: : 2568: 3596 exited while connected to data store '/u01/ttdata/datastores/my_cachedb' shm 33554529 count=1
    16:39:24.71 Warn: : 2568: daRecovery: subdaemon 3596, managing data store, failed: invalidate (failcode=202)
    16:39:24.71 Warn: : 2568: Invalidating the data store (failcode 202, recovery for 3596)
    16:39:24.72 Err : : 2568: TT14000: TimesTen daemon internal error: Could not send 'manage' request to subdaemon rc -2 err1 703 err2 9999
    16:39:24.72 Warn: : 2568: 3619 Subdaemon reports creation failure
    16:39:24.72 Err : : 2568: TT14000: TimesTen daemon internal error: Deleting 3619/0x1558650/'/u01/ttdata/datastores/my_cachedb' - from association table - not found
    16:39:24.72 Err : : 2568: TT14004: TimesTen daemon creation failed: Could not del from dbByPid internal table
    16:39:24.81 Warn: : 2568: child process 3596 terminated with signal 11
    16:39:25.09 Err : : 2568: TT14000: TimesTen daemon internal error: daRecovery for 3619: No such data store '/u01/ttdata/datastores/my_cachedb'
    I've checked and the datastore does exist and is owned by the timesten UNIX user.
    ttversion:
    TimesTen Release 11.2.2.2.0 (64 bit Linux/x86_64) (tt1122:53396) 2011-12-23T09:26:28Z
    Instance admin: timesten
    Instance home directory: /home/timesten/TimesTen/tt1122
    Group owner: timesten
    Daemon home directory: /home/timesten/TimesTen/tt1122/info
    PL/SQL enabled.
    Datastore definition from sys.odbc.ini:
    [my_cachedb]
    Driver=/home/timesten/TimesTen/tt1122/lib/libtten.so
    DataStore=/u01/ttdata/datastores/my_cachedb
    LogDir=/u01/ttdata/logs
    PermSize=40
    TempSize=32
    DatabaseCharacterSet=AL32UTF8
    OracleNetServiceName=testdb
    Kernel parameters from sysctl -a:
    kernel.shmmax = 68719476736
    kernel.shmall = 4294967296
    Memory / SWAP:
    MemTotal: 2050784 kB
    SWAP: /dev/mapper/VolGroup00-LogVol01 partition 4095992
    I'm new to TimesTen and I'm planning on evaluationg it to see if it could solve an issue we're having. Any suggestions would be much appreciated.
    Thanks,
    Ian.

    Hi Ian,
    Can you please answer the following / provide the following information:
    1. What are your kernel parameters relating to semaphores set to? Is anything else on the mahcine using significant numbers of semaphores?
    2. Please provide the output of the following shell commands:
    ls -ld /u01
    ls -ld /u01/ttdata
    ls -ld /u01/ttdata/datastores
    ls -ld /u01/ttdata/logs
    3. Please provide an excerpt of the detailed message log (ttmesg.log) between around 16:38 and 16:40 (i.e. from a little while before the problem until after the problem).
    Thanks,
    Chris

  • How to call a Store Procedure with IN PARAMETER

    Hi, im new using Oracle 10G with Oracle SQL Developer, my cuestion is how to call a Store Procedure with IN PARAMETER, I tried the following without results
    SELECT * FROM procedure_name(parameter);
    PROCEDURE procedure_name(parameter);
    EXEC procedure_name(parameter);
    CALL procedure_name(parameter);
    Please help me....

    Hi,
    As Beijing said,
    EXEC procedure_name(parameter);
    CALL procedure_name(parameter);work for me.
    So does
    BEGIN
        procedure_name(parameter);
    END;Can you be more specific about what you're doing? That is, are you testing it in SQL Developer? Where are you entering the commands? Where are you looking for output? Do you get error messages? Does anything else (like "SELECT SYSDATE FROM dual;") work?

  • SP2-0042: unknown command "UNION" - rest of line ignored.

    I used sql script for creating DB structure on Oracle 8 with no errors.
    I got "SP2-0042: unknown command "UNION" - rest of line ignored" error on Oracle 9i.
    Do you anybody tell me whats wrong ?

    Sorry, I had technical problems to access this formu to response.
    My script (part):
    CREATE VIEW ARVALUE
    AS
    SELECT IDVALUE FROM DBVALUE;
    CREATE VIEW AWVALUE
    AS
    SELECT DBVALUE.IDVALUE FROM DBVALUE, AWOBJECT
    WHERE DBVALUE.IDOBJECT = AWOBJECT.IDOBJECT;
    CREATE VIEW BSOBJECTUSAGE
    AS
    SELECT IDOBJECT_CHILD AS IDOBJECT, IDOBJECT_PARENT AS REFERRER
    FROM OBJECTREF
    WHERE OBJECTREF.ACTIVE <> 0
    UNION
    SELECT IDOBJECT_TEMPLATE AS IDOBJECT, IDOBJECT AS REFERRER
    FROM DBVALUE
    WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 2)
    UNION
    SELECT IDOBJECT_DIAGEXT AS IDOBJECT, IDOBJECT AS REFERRER
    FROM DBVALUE
    WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 5);
    Log file (part)
    View created.
    View created.
    SP2-0042: unknown command "UNION" - rest of line ignored.
    SP2-0042: unknown command "UNION" - rest of line ignored.
    no rows selected
    View created.
    if I understand, better
    is:
    CREATE VIEW BSOBJECTUSAGE
    AS
    SELECT IDOBJECT_CHILD AS IDOBJECT, IDOBJECT_PARENT AS REFERRER
    FROM OBJECTREF
    WHERE OBJECTREF.ACTIVE <> 0
    UNION SELECT IDOBJECT_TEMPLATE AS IDOBJECT, IDOBJECT AS REFERRER
    FROM DBVALUE
    WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 2)
    UNION SELECT IDOBJECT_DIAGEXT AS IDOBJECT, IDOBJECT AS REFERRER
    FROM DBVALUE
    WHERE (DBVALUE.ACTIVE <> 0) AND (STORAGETYPE = 5);

  • Is it possible to upload large files through FTP to server with iWeb?

    Is it possible to upload large files through FTP to server with iWeb like for example with Cyberduck?
    I don't need to publish website with files, I just need to upload files on server. Can it be done somehow with iWeb?

    Here's some info about FTP...
    http://www.iwebformusicians.com/Search-Engine-Optimization/Upload.html
    Make sure you are allowed to store files on your server. Most hosting services don't allow anything to be stored that can't be accessed via the internet. Check the fine print!

  • Job submission failed : error occurred while scheduling the job. org.quartz.objectalreadyexistsexception: unable to store job with name

    Experts,
    Please help me out here,Am facing this issue while scheduling a job in BIPublisher.
    job submission failed : error occurred while scheduling the job. org.quartz.objectalreadyexistsexception: unable to store job with name
    Thanks,

    You are probably installing on a hardened machine.
    The "installation guide" says that if you are doing so, you need to create a file named libx11.so.4 and update your LD_LIBRARY_PATH (see http://docs.iplanet.com/docs/manuals/messaging/ims52/ig/unix/overview.htm)but:
    1- the library name is libX11.so.4 and
    2- for jre a common file is not enough, you need to install SUNWxwplt at least. This will install the library on /usr/openwin/lib.
    You can check the results running <server-root>/bin/base/jre/bin/jre
    Hope that helps and sorry about my poor english.

  • App will not download to iPad when purchased from App Store - stuck with Cloud icon

    Device : iPad Air 32gb wi-fi model (not cellular data)
    OS version : 7.1.1 (up to date)
    Location : UK
    Problem : App will not download to iPad when purchased from App Store - stuck with Cloud icon
    Last night I tried to download an app over wi-fi onto my iPad Air, but the app did not install.
    I have plenty of space (the app is 24.1mb, I have 3.4gb free space) and there are no restrictions whatsoever on my iPad - no blocks on App store purchases, no age-related restrictions, no country restrictions etc.
    Normally from the App Store page you would tap the price (in this case the app was free), enter your iTunes password, and the app would download.
    Also a new icon appears on the home screen and a circle shows the progress of the download.
    However this did not happen.
    Instead I have the Cloud icon (the one that shows when you have bought an app but it is not currently installed on your device) and a message that says "You've already purchased this, so it will be downloaded now at no additional cost".
    If I press OK I am then prompted to enter my iTunes password, the Cloud symbol briefly changes to a circle (and I mean for a split-second, like the blink of an eye) and then the Cloud symbol appears again.
    The app does not download - in fact it does not even *attempt* to download.
    I have tried this >20 times now and it always occurs excatly like this.
    After Googling this problem (which seems common) and reading over a dozen threads on this forum plus Apple's own official support pages, this is what I've tried:
    I can re-download other apps that I have previously purchased on this iPad, with no problems.
    I purchased another app on my iPhone 5 and was then able to download onto my iPad with no problems.
    I have reset my iPad >5 times - both by pressing/holding the home/power buttons, and also a full switch off and restart.
    I have logged out of my iTunes account on the iPad, and logged back in.
    The wi-fi is Virgin Media fibre optic broadband with a verified speed of 20 meg (confirmed by Speedtest) plus an 802.11-n Belkin router and my iPad will happily load web pages, stream videos on YouTube, download other apps etc.
    I have reset/rebooted my internet connection
    In an attempt to eliminate by broadband connection from the possible causes, I have switched off my router, linked my iPad to the hotspot feature on my iPhone and tried to download the app over cellular data, but still cannot download the app.
    I have tried on 2 other wi-fi networks but still cannot download this one app.
    My iTunes account has a cerdit balance from an iTunes card, but the app was free anyway
    Nothing I try will download the app in question.
    The app is iPad only, so I cannot install on my iPhone to try and kick-start the process.
    I guess I could install the app on my computer and then sync the iPad, but that's *working around* the problem - it's not *fixing* the problem.
    (Since getting the iPad I use almost never use my computer. And anyway what if I did not have a computer? Didn't iOS go "PC-free" with version 5?)
    I would like to call Apple but my 90-day telephone support has expired (the iPad is around 6 months old) and I don't want to buy Apple Care for this one problem.
    I can't make it to an Apple Store to speak to a Genius.
    Bearing in mind the list of things I've already tried, what do I do next?
    Thanks in advance for any support.

    Hi there.
    Thank you very much for your quick reply, it's really appreciated.
    No need to apologize, I actually found the phrase "If your iPad ever craps the bed" amusing under the circumstances
    I checked the list of installed apps like you suggested (Settings>General>Usage>Storage>Show all apps) but this problem app is not in the list. I have also swiped down on the home screen to search for it, but again it does not show.
    While it has not let me download the app (and I just tried it again) it has helped me to eliminate a few things from the list of what to try, and I can definitely conclude that it has not downloaded.
    I guess I need to fire up my PC and download it / sync my iPad.
    Thanks again for your help

  • We have multiple users, each with multiple devices, on 1 apple id - as we want to share music and ibooks etc.  We want the children to have access to the store, but with a financial limit. How do we do this?

    We have multiple users, each with multiple devices, on 1 apple id - as we want to share music and ibooks etc.  We want the children to have access to the store, but with a financial limit. How do we do this?

    Welcome to the Apple Community.
    That's simply not possible I'm afraid. You'd need to give them their own account and allowance or make it so you are required to be there to input the password when they wish to make a purchase.

  • Can I use my iTunes Store account with more than one PC ?

    Hi all,
    Am I able to use my iTunes Store account with more than one PC ?
    I use my account on my PC - but I would like to download the latest version of iTunes onto my Mum's laptop, log in to my own iTunes Store account and rent a movie for her to download onto the laptop.
    Is this possible and would I still be able to use my account on my PC at the same time?
    Many thanks,
    Steve.

    Good question.
    I don't think you can--if I'm incorrect, someone will tell me--but it seems to me to be easier to simply open an iTunes account for your mom. Then get her a gift card, load it into iTunes for her, and rent a movie that way. Not elegant at all...but workable.
    Doc

  • How can i pay on the apple store online with two credit cards, with two different billing addresses

    I will be greatful if you could answer me this question...
    How can i pay on the apple store online with two credit cards, with two different billing addresses?
    I know that you can use two credit cards to pay an item but the problem is that i can only put the billing address of just one of the credit cards, and since the two cards are from different people (my parents) i can't do it. They live in the same place so i don't know if i should just put one of the billing address.
    Thank you.
    PS. I don't know if this is the right community to ask this, sorry if i'm wrong.

    On the Apple Store "Payment & Pricing" page it states:
    Using more than one payment card
    You can also combine payment methods to pay for your purchase. Choose from the following combinations of credit cards and Apple Gift Cards:
    Credit card(s) - up to two
    Apple Gift Card(s) - up to eight
    Apple Gift Card(s) + one credit card
    During checkout, if you are paying with a gift card issued by a credit card company, you can combine it with one credit card.

  • HT3702 can i pay my app store debt with a debit card?

    can i pay my app store debt with a debit card?

    Yes, as long as it is from your bank and has a Visa/MC logo on the front of it.

Maybe you are looking for

  • Time Capsule as external hard drive

    Hi -- Hope I'm not duplicating a thread here, but I couldn't find anything precisely addressing this question. I recently upgraded to Leopard and bought a Time Capsule to serve as wi-fi base station and backup drive. As I understand it, Time Machine'

  • Can SiteMinder and OAM co-exist (SMSession and ObSSOCookie)?

    Hi folks, We currently have SiteMinder in place, but we're migrating to OAM 10.1.4.3.0. At some point, we'll need to have SiteMinder and OAM to co-exist and stand in parallel, so that we can gradually phase out Siteminder, and start protecting all of

  • Unable to read SEARCH response from backend server

    Currently we have problem when searching huge amounts of users against new SunOne Directory Server v6.3 in production and acceptance. [17:12:43] root@ecdiala03-2[!]# /opt/app/sun/ds6/bin/dsadm -V [dsadm] dsadm : 6.3 B2008.0311.0058 NAT [slapd 64-bit]

  • Exporting Email Signature

    I am trying to export an email signature that I designed in InDesign to a JPEG format. What's the best options to use to avoid the email signature going fuzzy when I put it into the signatures section in Microsoft Outlook?

  • Vendor Rebate Accruals

    Hi there, I am busy implementing Vendor Rebates and am sitting with a little problem. I have a rebate agreement which reads as follows: 0 - 2000000 - 0% (accrual 0%) 2000001 - 2% (accrual 2%) In my customising I set up my condition to Accrue (i.e. I