|
-
Aug 15th, 2020, 04:01 AM
#1
Thread Starter
New Member
Calculate due amount over available balance against customer ID in Vb .net
I have created web application which will add the values into database As customer id, available balance, due Amount and have to calculate the due amount against available Amount from client using vb .net.
For Ex. - I have three Bills in the Database as,
customer id | Due Amount
APP1 | 5|
APP1 | 5|
APP2 | 10|
Now from client APP1 , i have received 7 Total, so i have to clear the due amount according to Total Amount Received. That means, i have to update the due Amount, So APP1 will clear, have to update due amount to 3, For APP2, 10 deduct so due amount will be zero .
So Please help me to write this logic in vb .net.
-
Aug 15th, 2020, 04:39 AM
#2
Re: Calculate due amount over available balance against customer ID in Vb .net
did you try it out first on a piece of Paper
or in a Excel sheet ?
what fields would you need?
I could think of...
CustomerID
DateDue
StartBalance
AmountIn
PaidDate
PaidAmount
Balance
DateBalance
OverFee
OverFeeAmount
to hunt a species to extinction is not logical !
since 2010 the number of Tigers are rising again in 2016 - 3900 were counted. with Baby Callas it's 3901, my wife and I had 2-3 months the privilege of raising a Baby Tiger.
-
Aug 15th, 2020, 04:45 AM
#3
Thread Starter
New Member
Re: Calculate due amount over available balance against customer ID in Vb .net
Exactly the calculation of paid and overdue amount will be based on customer ID , so if the customer has available balance it should be calculated and deducted , the issue here that the same customer may have more than one record that related to previous months so i need this be calculated separately based on month
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|