Cust Old balance - New Balance

GD
Member Posts: 49
hello,
i have a small problem..
i have on the invoice report 2 fields "Old Balance" and "New Balance", and are calculated with the following:
Cust.CALCFIELDS("Balance (LCY)");
"Old Balance" :=Cust."Balance (LCY)" - "Sales Invoice Line"."Amount Including VAT";
the problem occurs when in the invoice i have payment method "Cash."
because the old balance does not calculated right.
in cases with cash invoice the old balance=new balances
do you have any idea how to include the cash payment in the calculation of OldBalance?
BEST REGARDS
GD
i have a small problem..
i have on the invoice report 2 fields "Old Balance" and "New Balance", and are calculated with the following:
Cust.CALCFIELDS("Balance (LCY)");
"Old Balance" :=Cust."Balance (LCY)" - "Sales Invoice Line"."Amount Including VAT";
the problem occurs when in the invoice i have payment method "Cash."
because the old balance does not calculated right.
in cases with cash invoice the old balance=new balances
do you have any idea how to include the cash payment in the calculation of OldBalance?
BEST REGARDS
GD
0
Comments
-
Maybe I don't understand you right but if an invoice is cash the old balance is always equal to the new balance. :?
E.g. if my old balance was 100 euros and I buy for 50 euro's cash, my new balance is also 100 euros.
Or am I missing something? :?:0 -
yes you have right.
but the way i have it now
"Old Balance" :=Cust."Balance (LCY)" - "Sales Invoice Line"."Amount Including VAT";
goes like that
if i buy 50 euros cash and my old balance=100 (cust.balance)
100-50 =50 (the old balance)
and
=100 (the new balance)0 -
Ok, I thought it might be a trick question to see if we were paying attention on the friday afternoon 8)0
-
in someway i have to filter the payment line from the customer detail ledger enty?????0
-
i have this function in order to calculate the cust old balance and be printed in the invoice report
"Old Balance" :=Cust."Balance (LCY)" - "Sales Invoice Line"."Amount Including VAT";
when the invoice is cash payment, how i can change the function in order to calculate also the cash payment from the detail customer record?
gd0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions