Block invoices of clients that have more than 60 days of debt

Hello everyone!
I Hope someone here could help me with something.
Is there any way to configure SAP BO to block the invoice of those clients that have one or more invoices with more than 60 days of debt (Invoices over 60 days past due balance)??
I have SAP Business One 9.0 PL5.
Is someone can help me please let me know!!
Sorry for my bad english :s and sorry for posting this here, it is my first quetion and I really don't know where to post it (a little kind of confusing).
Best regards to everyone!

The tricky part with this is that Move-Item won't create missing folders, which you need if you want to maintain the folder structure, so you'll need to create those manually. This should do what you need.
# Change the value $oldTime in order to set a limit for files to be copy.
$oldTime = [int]60 # 60 days
foreach ($path in Get-Content "G:\Scripts\MoveDownloadDireFiles\pathListTest.txt")
# Write information of what it is about to do
Write-Host "Trying to copy files older than $oldTime days, in the folder $path" -ForegroundColor Green
# copy old files to another folder
$MoveFiles=Get-ChildItem $path -Recurse -Include *.* | WHERE {($_.CreationTime -le $(Get-Date).AddDays(-$oldTime))}
foreach ($movefile in $MoveFiles)
# Find the folder path of the file and remove the drive letter
$SourceSubFolder=$movefile.DirectoryName.substring(3)
# Set destination as base path + the folder path of the file
$DestinationPath="G:\BackupDownloadFolders\" + $SourceSubFolder
# Test for the destination existance and create if missing, as Move-Item doesn't create folders
if(!(Test-Path $DestinationPath))
New-Item -Path $DestinationPath -ItemType Directory
Move-Item -path $movefile -Destination $destinationpath

Similar Messages

  • Grouping on fields that have more than one value entered.  Please need help fast!!!

    Post Author: DennisC
    CA Forum: General
    I am creating a report that is to be grouped on a particular field that can have more than one entry.  My user said they did not care how I did it but to only count the record one time.  The field that is selected is a dropdown on an form that is in Alpha order.  So the entries always appear in the the field in alpha order.  This is for use as an example:  Record 1 has a value of CAT in the field,  Record 2 has a value of CAT, DOG in the field and Record 3 has a value of CAT, DOG, HORSE in the field.  I get 3 separate groupings for the 3 records.
    Group = CAT                      
          Then the detail information appears here
    Group = CAT, DOG
          Then the detail information appears here
    Group = CAT,DOG,HORSE
          Then the detail information appears here
    What is would like to see using this example is one group for CAT with all 3 records appearing under it and ignore the other two.  This way there would all be getting counted but the report would look a little more streamlined.
    Group = CAT
          record 1 detail information
          record 2 detail information
          record 3 detail information
    thanks in advanced for any help!!!!

    Post Author: shawks
    CA Forum: General
    I am trying resolve the same/similar issue in Crystal Reports 10.  For example, on a table there is a column called X with values Xsub1, Xsub2, Xsub3, etc.  The user can select a parameter that includes Xsub2 and Xsub4.  If this is selected 2 reports are generated (one for Xsub2 and Xsub4).  What we really want is one report with the combined information for Xsub2 and Xsub4.  How is (or is it) possible to do this in Crystal Reports 10?  FYI - When the report was initially created the main body of the report was placed in the Group Footer so if the Group Footer is suppressed the content of the report is suppressed, too.
    Thanks

  • What is the best way to deal with iTunes libraries that have more than 25,000 songs and iTunes match?

    Hello,
    My library approaches the 25,000 songs limit from iTunes match mainly because I have a lot of custom mixes with loads of different tracks.
    On those songs there are some that I would like iTunes match to ignore. But I still want to keep them in my iTunes library so i can sync them with my ipod and i can keep my metadata tracking. What would be a sensible way to do that?
    Duplicate the current iTunes library, and create 2 iTunes libraries children on the same PC, one sync-ed with match and the other not? Would that work with the same apple id // ipod? I just have no clue and apple support is not helping.
    thanks in advance for your thoughts

    Hi,
    Read this discussion about managing large libraries https://discussions.apple.com/thread/496687
    Jim

  • If I import a CD onto iTunes with tracks that have more than one person on (eg Rihanna ft Drake), it puts these tracks in a separate album. How do I get them all back into the same album?

    It's done it with a load of cds, so then I can't even get the album artwork to work. Please help! It's starting to bug me haha

    In iTunes select all songs you want in the same album, right click the selection, choose "get info", type the album name in the album field, click OK.

  • In Music, sometimes an album that has more than one artist, only one shows up, how do I get them all that are all on the album to play in sequence when I select that album?

    I can't figure out why, on my ipod touch in Music, when I select some albums that have more than one artist, the whole album doesn't come up to play all together.  This happens in some compilations, and only ne song shows up from each artist on the album.  Or like on an artist's album that has someone else singing with her.  I get that they are on the same line as an artist, but the album is an album, and when you play an album, the whole thing should play - right?  Thanks for your help!

    Generally all you need do is give tracks from the same album a common Album Artist. See Grouping tracks into albums. The images need an update but the basic info. still holds.
    tt2

  • Issue in FF v 3.6.10: I have a page which have more than 20 link, clicking on these link opens up a popup using window.showModalDialog, for the first 20 popup opens up without any prob but for the 21st n more click it block the popup and do not open.

    Issue in FF v 3.6.10: I have a web page which have more than 20 link, clicking on each of these link opens up a pop-up using window.showModalDialog, for the first consecutive 20 popup opens up without any prob but for the 21st n more click it block the popup and do not open. This is m problem, the real user on the web page can click on more than 20 link in such a scenario it may create problem, please help

    Your above posted system details show outdated plugin(s) with known security and stability risks.
    *Shockwave Flash 9.0 r999
    Update the [[Managing the Flash plugin|Flash]] plugin to the latest version.
    *http://www.adobe.com/software/flash/about/
    In Firefox 3.6 and later versions you need the Next-Generation Java™ Plug-In present in Java 6 U10 and later (Linux: libnpjp2.so; Windows: npjp2.dll).
    http://java.com/en/download/faq/firefox_newplugin.xml
    See also http://java.sun.com/javase/6/webnotes/install/jre/manual-plugin-install-linux.html

  • Can't I get my old iTunes that I have purchased downloaded from Apple?  I don't have the old computer anymore.  Also, is there a number to call if I think I have more than one account and would like them to consolidate my accounts?

    I have two problems:
    1.  I no longer have my old computer and want to download the iTunes I have purchased in previous years.  Aren't they all in "the cloud?"
    2.  I think I have more than one account and would like to get them combined.  Is there a good number or email to Apple that I could get that done?
    THanks!
          SHawn

    It has always been very basic to always maintain a backup copy of your computer.  Have you failed to do this?
    You can redownload some iTunes purchases in some countries:
    Download past purchases - Apple Support
    As provided, you cannot merge accounts
    Sorry

  • Can I have more than one home page so that both would open upon connecting to the internet?

    On my desktop I can have more than one home page so that they all load when I connect to the internet.
    On my laptop, I cannot figure out if or how I can add a second home page. Is it possible to have more than one home page on my laptop?

    Firefox can have more than one homepage. Multiple homepages are separated by the keyboard character "|".
    *See: http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You may need to update some plug-ins. Check your plug-ins and update as necessary:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe Shockwave for Director Netscape plug-in: [https://support.mozilla.com/en-US/kb/Using%20the%20Shockwave%20plugin%20with%20Firefox#w_installing-shockwave Installing ('''''or Updating''''') the Shockwave plugin with Firefox]
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]
    *Shockwave Flash (Adobe Flash or Flash): [https://support.mozilla.com/en-US/kb/Managing%20the%20Flash%20plugin#w_updating-flash Updating Flash in Firefox]
    *Next Generation Java Plug-in for Mozilla browsers: [https://support.mozilla.com/en-US/kb/Using%20the%20Java%20plugin%20with%20Firefox#w_installing-or-updating-java Installing or Updating Java in Firefox]

  • HT204053 I want to be able to setup a generic corporate Apple ID to use with icloud and Find my Iphone, that will allow me to have more than 10 devices assigned to the ID. What do I do?

    I want to be able to setup a generic corporate Apple ID to use with iCloud and Find my iPhone, that will allow me to have more than 10 devices assigned to the ID. How do I go about creating this account?

    I'm not sure if I understand your question, but if you create a new iCloud account with a different ID your existing ID isn't effected by this.  It will continue to work as it does now, you will just have an additional Apple ID.  If you have an earthlink email address you can continue to use it as a separate account, and it can continue to be your default account if you set it to be (in Settings>Mail,Contacts,Calendars>Default Account).  If I'm misunderstanding your question, please explain further.

  • Hi, can anyone tell me if I can have more than one iTunes account on the same PC. I've just bought my wife an iPad2 and want to create a separate account for her. Can I do that on the same PC as mine?

    Hi, can anyone tell me if I can have more than one iTunes account on the same PC. I've just bought my wife an iPad2 and want to create a separate account for her. Can I do that on the same PC as mine? Thanks.

    I would advise that you not set up a second Apple ID. It's really not necessary - having two Apple IDs won't affect how iTunes works with your iPads - and will just complicate matters. Each iPad will be treated independently and can be set to sync only the items you want on that particular iPad. If you really want to keep the two iPads separate, set up different iTunes libraries and have only those items you want on the related iPad in that library, rather than a different Apple ID. If you plan not to use a computer and just download directly to the iPads, you can again choose what apps and content each iPad gets.
    But answering your specific question, you can have content from up to five iTunes Store accounts on any one computer or iPad. To create a new iTunes Store account, you'll need a different email address, and from there you just create the account the same way you did the first one.
    Regards.

  • TS1702 Does any one know how to solve this iPod touch error: I am tryin to pay for an app but I can because it says that I don't have enough space when I actually have more than enough space to download it so please help me

    Does anyone know how to solve this problem: I a trying to download a paid app but I cannot because the AppStore says that info not have enough space to download it even though I have more than enough space so if any of you know what can solve this problem then please let me know

    The app is compressed and needs swap space to install. As a rule of thumb you need 3 times the listed size of the app available, or in your case 4.6GB. You only have 1.7GB.

  • I would like to know how can I delete emails from my email block have more than 8000? Thank you.

    I would like to know how can I delete emails from my email block have more than 8000? Thank you.

    I want to say, delete the 8000 not one by one, or 50 in 50... Minimum of 200 by
    200

  • I have a 16GB san disc that when more than half full and trying to download to my Mac gives a "communication error" message.  How can I seamlessly upgrade the computers software to handle SDHC cards of this size?

    I have a 16GB San Disc that when more than half full and trying to transfer the images to the iPhoto library I get the message "communication error".  How can I update my computers software to be SDHC compatable?  I can buy a card reader but thought an update to the software would fix this problem.
    Thank you for any solutions or advice.

    KRDHarris-
    I am not familiar with Flickr, but found their support page at <Flickr Support>. You may get better help there than here.  I get the impression that the App is somewhat buggy.
    The iTunes preview page indicates the App is for iPad as well as the iPhone.  <Flickr App Preview>
    Fred

  • I want to run a streaming quotes program on Scottrade. They tell me that their product does not work if I have more than one Java application on my Mac. How do I delete the older versions? Thanks

    I want to run a streaming quotes program on Scottrade. They tell me that their product does not work if I have more than one Java application on my Mac. How do I delete the older versions? Thanks

    I have the same problem, they never told me that, just that the newest version of Java "locks" up streaming quotes.

  • HT4623 I can't download iOS 7 I just get a message saying I need at least 3.4gb space, I have more than that.

    I can't download ios7 I have a message under the software update saying I need at least 3.4gb of space, I have more than that!

    Hey there,
    Thank you for using Apple Support Communities.
    If the usage confirms that you have more than 3.4 GB available:
    From: iPhone, iPad, and iPod: Understanding capacity
              http://support.apple.com/kb/ht1867
    Then I would restart the phone:
    iOS: Turning off and on (restarting) and resetting
    http://support.apple.com/kb/ht1430
    If the issue persists, I would try updating through iTunes instead:
    iOS: How to update your iPhone, iPad, or iPod touch
    http://support.apple.com/kb/HT4623
    Update your device using iTunes
    Ensure that you're using the latest version of iTunes.
    Connect your device to your computer using the included USB cable.
    After iTunes opens, select your device when it appears in iTunes under Devices.
    Click "Check for Update" in the Summary pane to check for available updates.
    If an update is available, iTunes prompts you to download and install the update. Do not disconnect your device until the update has finished.
    Regards,
    Sterling

Maybe you are looking for

  • MaxOccurs="unbounded" is not working for NXSD files.

    Hi, I am using the below XSD structure to read fixed length files. The fixed length files can have mutliple occurrences of a bunch of lines. For e.g., 1 A 0010CTCTL 09834 1 A 0020A1TH1 09089 1 A 0030A2TH2 98765 1 A 0010CTCTL 1233 1 A 0020A1TH1 0908 1

  • My bb doesn't connect to browser or app world pls help.

    i have a bb 9300 and my browser does not load, also app world doesn't work, it tells me i have to upgrade but since i cannoct connect to the browser i cant do it. i cannot connect my emails either although apps such as fb work.. whats the problem and

  • Computation based on the drilling of a time hierarchy

    Hi, I have a cube with two dimensions A, B and two measures C, D. B is a date and I have values for each day of year. I have a classic time hierarchy Year->Quarter->Month->Day for B and A has also some other hierarchy. The report shows A, B where the

  • Creative Volume panel missing somethi

    On the volume panel for my new XFI Extreme gamer control panel I do not see two things that are actually shown on the beack of the box. There is a decoder for DTS and Dolby Digital shown on the panel in the pic, but they don't exist on my version. Wh

  • Calling form in 9i

    I have just migrated to 9i. I was calling form using following command. CALL_FORM(:GLOBAL.PATH||'mainmenu.fmx', HIDE, NO_REPLACE, NO_QUERY_ONLY, pl_id); What is the new procecure for calling form in 9i?