Tolerance Days in Interest Program
We are having issues where interest is being calculated on items from prior months and years. We're not sure why interest was not picked up in the period it should have. I noticed that on 10/24/05 config was changed for tolerance days from 37 days to 30. We started experiencing these issues with the 10/31/05 interst run. Would changing the tolernace days make the interest program go back to prior periods and years? thanks
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;
import java.util.Set;
* @author RG59153
public class DayInYear {
/** Creates a new instance of DayInYear */
public DayInYear() {
public static void main(String args[])
int dat=0,year=0;
String mon=null;
BufferedReader br=null;
LinkedHashMap hm=new LinkedHashMap();
hm.put("january","31");
hm.put("february","29");
hm.put("march","31");
hm.put("april","30");
hm.put("may","31");
hm.put("june","30");
hm.put("july","31");
hm.put("august","31");
hm.put("september","30");
hm.put("october","31");
hm.put("november","30");
hm.put("december","31");
try {
br=new BufferedReader(new InputStreamReader(System.in));
System.out.println("Enter the Month in words:");
mon=br.readLine();
if(!hm.containsKey(mon.toLowerCase()))
System.out.println("Enter the Month Name Correctly");
return;
System.out.println("Enter the Date:");
dat=Integer.parseInt(br.readLine());
System.out.println("Enter the Year:");
year=Integer.parseInt(br.readLine());
if(year%4!=0)
hm.put("february","28");
Set s=hm.keySet();
Iterator iter=s.iterator();
int finaloutput=0;
while(iter.hasNext())
String mon_name=(String)iter.next();
if(mon_name.equalsIgnoreCase(mon))
int noofdays=Integer.parseInt((String)hm.get(mon_name));
if(noofdays<dat)
System.out.println("No Such Date Found in the month.");
return;
finaloutput+=dat;
break;
else
int noofdays=Integer.parseInt((String)hm.get(mon_name));
finaloutput+=noofdays;
System.out.println("The Day in the year is:"+finaloutput);
} catch (NumberFormatException ex) {
System.out.println("Invalid Input, Enter valid Number");
} catch (IOException ex) {
ex.printStackTrace();
finally
try {
if(br!=null)
br.close();
} catch (IOException ex) {
ex.printStackTrace();
Similar Messages
-
I have configured interest calculation for customers. the customers are given 30 days grace period in addition to the payment terms. e.g. payment terms are payable within 30 days and the grace days are 30 days. In total the customer has 60 days for which interest will not be charged if payment is done within the 60 days. If a payment is done after the grace period, interest should be calculated starting from the net due date. My problem is that after having configured the payment terms and the tolerance days, when I run FINT the tolerance days are not being considered. Interest is being charged during the grace period. Only the payment terms are bieng considered during interest calculation. Any help will be greatly appreciated.
Hello,
Could you please clarify (develop the idea) what is the business case (real life scenario) of this suggestion - tolerance days to discounts? We would like to understand why the user would need such feature.
Thank you.
Peter Dominik
B1 Solution Management -
Issue regarding discount and tolerance days
Frnds
i have below situatiion.
we have pmt term 1% 10 days, net 30 days, client wants to take discoutn even after the discount period expires.
let say, discount expires on 10/04, still they wan to take discoutn on 10/07 pmt run. as i know we can do it by putting 3 dasy in tolerance days field in FNZP config. and that would add 3 days in payables also.
i havenot issue in that but if i put 3 days in Tolerance days field, then it will add 3 days for all the vendor invoices.
thats wht i dont want to do for Non discounted payment term, like Net 30 days
adding 3 days in tolerance days in FBZP it iwill *** 3 days for above Net 30 days also.
wht so i need to do to not to add tolerance days in Non discounted payment term.
i know i can set up tolerance group for vendor and specify Grays days there but it is working for only Manual payments not for automatic payment.
can some one please suggest how can i exclude non discounted payment term from assing extra days?
any thoughts will be appreciated.
ThanksHi Matt,
Create a new payment terms and key in the this term only for this customer master data. the problem will get solved if you change the existing payment term it will affect all.
Remeber, the new term will work only on prospectve basis.
Regards
Bharat -
AP due date not including tolerance days is prior to the current date
Hi,
When I run the payment wizard and change the due date back a week as I don't want to see anything that is due after then I get the above message. the only way it runs is if I set the due date >= today.
Help please?Hi,
That is normal system behavior. If you have many overdue AP documents, you may need to increase the tolerance days to be the days you need.
Thanks,
Gordon -
Tolerance days related to discount
As to note 1033219, the number of tolerance days is subtracted from the document's due date.
It would be good to be able to have such functionality also for discounts which are not affected by the existing behaviour.Hello,
Could you please clarify (develop the idea) what is the business case (real life scenario) of this suggestion - tolerance days to discounts? We would like to understand why the user would need such feature.
Thank you.
Peter Dominik
B1 Solution Management -
Tolerance Days, Outstanding AR
Hi all.
How to get tolerance days based on risk category.. How to calculate Outstanding AR for customer when displaying details from tables KNVV,KNKK
Thank you..Hello,
Could you please clarify (develop the idea) what is the business case (real life scenario) of this suggestion - tolerance days to discounts? We would like to understand why the user would need such feature.
Thank you.
Peter Dominik
B1 Solution Management -
Help with making a interest program
hi i am trying to make a program that calculates simple and compound interest.... I KNOW I HAVENT done the compound part yeat but im having problems compiling the simple interest part.. please help.. here is the code :
import java.util.Scanner;
public class Financial_Maths
public static void main(String [] args)
Scanner kb = new Scanner(System.in);
System.out.println("This program can calculate either Compund or Simple Interest, depending on which you choose.");
System.out.println("Press '1' for Simple Interest or press '2' for Compound Interest");
double sc = kb.nextDouble();
if (sc = 1)
double p;
double interest;
double period;
double amount;
System.out.println("Enter the Principle Amount");
double p = kb.nextDouble();
System.out.println("Enter the Interest Rate (As a %)");
double interest = kb.nextDouble();
System.out.println("Enter the Time Period in Years");
double period = kb.nextDouble();
amount = p*(1+(interest/100)*period);
I am getting this problem when compiling:
----jGRASP exec: javac -g J:\IT\Financial_Maths.java
Financial_Maths.java:11: '.class' expected
double p;
^
Financial_Maths.java:11: not a statement
double p;
^
2 errors
----jGRASP wedge2: exit code for process is 1.
----jGRASP: operation complete.
THANKS PLEASE REPLY SOONuse this code ... public static void main(String [] args)
Scanner kb = new Scanner(System.in);
System.out.println("This program can calculate either Compund or Simple Interest, depending on which you choose.");
System.out.println("Press '1' for Simple Interest or press '2' for Compound Interest");
double sc = kb.nextDouble();
if (sc == 1){
System.out.println("Enter the Principle Amount");
double p = kb.nextDouble();
System.out.println("Enter the Interest Rate (As a %)");
double interest = kb.nextDouble();
System.out.println("Enter the Time Period in Years");
double period = kb.nextDouble();
double amount = p*(1+(interest/100)*period);
System.out.println(amount);
} -
Hello, I have a problem with premiere. When I save material that I´ve been working on and close Premiere it is gone when I open it up again. So it doesn´t save it seem but 24 hours later it all there. It is like Premiere has a syncproblem with saving and takes 24 hours to complete the task. Anyone knows what could be the problem?
uninstalled firefox ....deleted all files still remaining under mozilla firefox directory in program files ... to avoid having to reprogram all my settings, reisntall all addons as well .. I did not remove anything from mozilla firefox that is stored in either appdata or under the windows users directory (if any)
... the as suggested reinstalled the latest version of the firefox browser using the link you provided in the email ..; tested and several issues still remain present and unresolved ....
so please this is urgent or I will have to jump browsers and start using chrome .. because we work 14 hours a day 6 (sometimes 7) days a week, to get ready for the launch of our newest venture and we cannot lose that much days on browser related issues ... so please instead of putting me through week long step process .. of do this .. do that .. can you please actually look into the issue from your end .. I use firefox for so many, many years thta I deserve this kind of support .. thnx Robert -
Every Day A New Program Stops Working Properly...
Sorry, but don't know whether to post in 10.4.6 forum or the Intel Mac Forum, so I'm doing both.
I don't know what I've installed on my Mac that's making programs act buggy, but programs that worked flawlessly in recent memory are now quitting unexpectedly with the simple selection of a button in a dialogue window or selecting a Menu Item.
These programs (SO FAR) are Microsoft Office 2004, Azureus 2.4.0.2 (Universal) and Graphic Converter 5.8.2.
The only thing I can recall adding to my system recently (because of Office failure) is OpenOffice and X11. Other than that I'm at a loss as to why programs are one after the other, suddenly presenting problems.
Any insight from anyone...PLEASE!!! TIA.
(I'm Intel Core Duo, 1 Gig RAM, 10.4.6)Microsoft Office is an obvious suspect as it runs under Rosetta, and is known to have a lot of issues for that reason.
GraphicConverter has never crashed anything in its entire history! -
Algorithm (Interesting) Programming in Java
Hi,
I have a String concat = "ABC:DEF:GHIJ:KLMN". I need to parse this in such a way that I need to store the details in the hashtable as follows.
ht.put("ABC", DEF"); and ht.put("GHIJ", "KLMN"); I have written a code that works, but thats not efficient. I have another code that fails because of the last condition. I am enlosing the code that fails for the last condition. Could abybody provide me an efficient way to do this.
//Code that fails for last String.
String concat = "ABC:DEF:GHIJ:KLMN:OPQ:RST";
int length = concat.length();
int j;
for(; length > 0 ;)
j = concat.indexOf(':');
String key = concat.substring(0, j);
System.out.println("Key " + key);
concat = concat.substring(j + 1, length);
System.out.println("Concat " + concat);
length = concat.length();
System.out.println("length " + length);
j = concat.indexOf(':');
String value = concat.substring(0, j);
System.out.println("Value " + value);
concat = concat.substring(j + 1, length);
System.out.println("Concat " + concat);
length = concat.length();
System.out.println("length " + length);
//Code that works but not effiecient
String concat = "ABC:DEF:GHIJ:KLMN";
Hashtable ht = new Hashtable();
StringTokenizer str = new StringTokenizer(concat, ":");
int count = str.countTokens();
String v=new String();
String Key=new String();
String val=new String();
for(int i = 0; i < count; i++)
v=str.nextToken();;
if(i%2==0)
Key=v;
else
val=v;
if(i%2 != 0)
System.out.println("Keys " + Key + "Val " + val);
ht.put(Key, val);Sorry, the right way is: (note that countTokens() should be a method, not a member variable.
String tst "ABCD:DEF:GHIJ:KLM";
StringTokenizer stok = new StringTokenizer(tst, ":");
while(stok.countTokens() > 1) {
ht.put(stok.nextElement(), stok.nextElement()); -
Create a program for Automatic calculation of Interest on arrears for Custo
Hello Experts,
Please Check the below requirement and guide me according ly..
Upto now our client is preparing the interest manually in excel and later they issue the invoice in Finance module (DR document) and attach the paper with the calculation.
Now they would like to have an automatic process for all the customers with the exception of the Intercompany.
The keys indicator will be:
Interest term:
Capital * Days of delay/ 360 * interest rate(see table)
(Legend days of delay= new duedate agreed - original duedate of invoice)
-Calculate interest based on line items (open items and items cleared with a payment)
-Calendar: 360 days
-Transfer days: zero
-Tolerance days: zero
-Interest processing: amount limit 20u20AC
-Posting;
Terms of payment: blank (to be define case by case)
Tax code: VJ NS Art 15 I comma
The interest will be registered only if we have posted the invoice in the system.
I confirm that the account number will be 5401000 cost center C010100238
Please suggest me how we can develop a programme
Thanks in advance,
SatyaHi,
You need to configure INTEREST CALCULATION setup in system in order to automate the posting interest to customers / vendors.
[Interest Calculation |http://wiki.sdn.sap.com/wiki/display/ERPFI/Interest+Calculation]
Regards,
Srinu -
Calculation of Interest Charges to be monthly not every day via T code FINT
Hi There;
I made system configuration and the T code FINT is calculating Interest charges on customer account. There are two requirements from client.
1- The calculation could be made i through background job.
2- The program is calculating interest on dialy basis. While the requirement is it should calculate the interest on monthly basis.
Further, I also noticed that the program doesn't consider the partial payment received from customer, rather calculates interest on amount due not the remaining balance. I tried with both method i.e. "Arrears" and "Balance" but giving me the same result.
Your help is highly appreciated.
Thanks
ArshadHi Parag;
Thank you for reply.
I tried to maintain the values as you mentioned in your mail. But the system is not letting me to maintain Calendar Type "G" with a check mark on "Month -end Indicator" field. I tried with "J" Calendar type to see if it could calculate the interest for 30 days even the program is being executed after 45 days or 20 days. The requirement is in either case the program should calculate interest for whole month.
I am using T code FINT to calculate interest on customer over dues. Still the program is claculating the interest based on the date of execution. While if it is restricted to execute monthly in config the program should only do it on monthly basis. Which is not hapenning right now. I think I am still missing somthing.
Once again I appreciate your help and time. Please let me know if you have a solution to this issue.
Thanks
Arshad -
Interest calculated on items not yet due
Hi,
We have open item/document with posting date and baseline date of August 15, 2009. Payment terms attached is 30PD meaning open item is due on September 15, 2009. Interest Indicator attached to the is item interest with the following configuration:
Item Selection All cleared items
Interest determination - Ref date is 4 which is payment baseline date
Calender Type is G - 28, 31/365
Tolerance days 15 meaning even if the payment tems attached to the customer is 07FM and the customer paid on the 8th, interest will still not be computed. Computation of interest will happen in the customer paid beyond the 15th.
Calculation of interest is on debit items only
When i post the interest on August 31, interest was computed with the document i mentioned above. Taking into consideration our config for interest, interest should still not be computed since open items will be due on Sept. 15.
Or our configuration conflicting with the payment terms?
This only happen on our PD payment tems and not on FM.
Thank you.
RachelleTry updating the vault and see if Aperture keeps saying that.
Eduardo
Based on your advice, I created a vault, updated it, and the splash page message dissappeared on restart - just as you suggested it might. Thanks!
Am I right in believing the contents of the vault together with my separate backup of the referenced files themselves will enable me to recover my Aperture environment in the event I need to recover it following the loss of my 'live' system? That would be a very acceptable outcome. -
What are the custimization steps to run interest calculations for customers
Hi,
I need a full custimization steps to configure the interest calculations for customers. i created interest indicators, g/l accounts and account determinations also. but no interest is calculating for customers and customers are having no of days to calculate the interest. So please guide me on this regard.Hi,
Configuring the Interest Calculations Procedure
This configuration allows you to charge interest on overdue customer accounts. Interest can be calculated by using the line items or overall account balances. SAP keep tracks of the date of the last interest run and stores it in the customer master record.
First create an Interest Indicator.
OB46 - Interest Settlement Calculation Type
Int Calc. Type
P - calculate interest based on line items.
S - calculate interest based on account balances.
Secornd, make it avaliable to the interest run program.
OB82 - Interest Terms
Third, determine the interest rate that will be used by the calculation.
OBAC - Define Reference Interest Rates
OB83 - Enter the Reference Interest Rates Value
Fourth, assign the interest indicator to the reference interest rate.
OB81 - Define Time Dependent Terms
Finally, determine the how and to which accounts the interest program will post.
OBV1 - Prepare Interest on Arrears Calculation
Please check out the following link also:
http://help.sap.com/saphelp_erp2004/helpdata/en/41/37b8e7455b11d182b40000e829fbfe/frameset.htm
Hope this helps.
Please assign points as a way to say thanks.
Regards, -
First Day With Adobe SpeedGrade CC with Direct Link
I thought it would be interesting to share my first day using the new Adobe SpeedGrade CC with everyone. Most would be embarrassed to do this, not me.
This is NOT a tutorial, but more of a way to show you what I am struggling with and what I like. So if you are having your first day with this program you might run in to similar items.
Perhaps even a product manager from Adobe might watch this and help him what they should work on next.
Issues I had:
Where are the Curves adjustments?
How do I sharpen an image?
Can you use the tracker backwards?
Why didn’t my track work?
Playback at 10fps (not real time with my Monster Computer)
How do you blend layers?
How do you zoom into the timeline?
Things I love:
Doesn’t crash like Resolve
DIRECT LINK!!!! Love it!
2 up and 3 up for shot matching.
No more XML and EDL!!!!Dave,
I'm basically a noob here too ... only been working with this for what, 5 months?
Yea ... would LOVE the option to switch to a curves-based control, one each for luminosity/R-G-B at the least. I've put in a feature-request for that, as have apparently some others. Maybe next year in ... oh well.
Also ... you might have noted, there's no skin line in the vectorscope! Ridiculous, and that's ALSO been feature-requested by people ... again, maybe next year in ... oh well.
Still ... but dang this program does work fast in concert with P-Pro as your NLE. One bit of advice. In a P-Pro/Sg/Ae workflow, the link from/to P-Pro and Speedgrade works perfectly well both ways. HOWEVER ... your Sg grades do not come into Ae if you send the project from P-Pro to AfterEffects. Now ... if you save your P-Pro projects with it's Sg grades ... then open Ae and use its Dynamic Link feature to pull a P-Pro project into Ae, your grades from Sg come in just fine thank you.
And anything you do in Ae comes into Sg on a different layer that you aren't allowed to 'touch', so you can do fx work afore grading and see how the footage looks including the fx, but you can't touch the fx layer of the timeline (other than to turn on/off visibility in the monitor) to do anything to it.
Still ... easy workarounds, NO time to transcode/export/import ... glory hallelujah!
Neil
Maybe you are looking for
-
I have an adaptor for this, but when connecting my MBA to a new TV via HDMI, the TV screen shows my 'Mission Control' with relevant windows open, but not the content of those windows, such as a video playing in Safari. When I select the Safari window
-
my invoice got my company name and address..when i see in my macbook can see the title..but when i open file to edit lost my title.many customer ask me why.. i just know lost title.i did't change other setting in my number..hope can gv me answer..las
-
Can I create a non-flash web gallery
I have been creating web galleries using output in Bridge CS6 but I am looking to create galleries that will work on tablets (no flash). Is there a method for doing this? HTML5 possibly, or not? David
-
Reentrant lock with Orchestra conversation scoped bean on second AJax call
I'm just trying to set us a fairly straightforward JSF 2.0 / Spring / PrimeFaces application. Since backing bean expiry has been such a nuisance I thought I'd give Orchestra's conversation scope mechaniism a go. the problem I'm getting seems to occur
-
Message 'Connection error' plus white cross on red on startup of firefox
On starting FIrefox, it takes quite a long time - eventually fires up but with message 'Connection Error' in top right hand corner. IE fires up OK - connection stopped & restarted, same message in Firefox - can access Internet sites, etc, but seems s