How to filter for installment invoices in CLE?

Aravindh_Navision
Member Posts: 258
Hi Friends,
[Version: NAV 2009 Classic]
In Posted Sales Invoice there is an invoice no.12345. This invoice has multiple installments (say totally 10 installments) and in Customer Ledger Entry the transactions Document No. looks like..
INV12345-01
INV12345-02
INV12345-03
.
.
.
INV12345-10.
I need to sum-up the remaining amount in Customer Ledger Entry by filtering for Invoice No. 12345. Can anyone let me know how to do this?
Thanks in advance, Aarvi.
[Version: NAV 2009 Classic]
In Posted Sales Invoice there is an invoice no.12345. This invoice has multiple installments (say totally 10 installments) and in Customer Ledger Entry the transactions Document No. looks like..
INV12345-01
INV12345-02
INV12345-03
.
.
.
INV12345-10.
I need to sum-up the remaining amount in Customer Ledger Entry by filtering for Invoice No. 12345. Can anyone let me know how to do this?
Thanks in advance, Aarvi.
0
Comments
-
You can use asterisk (*) in setfilter to filter the entries. Ex: INV12345-*Microsoft Certified IT Professional for Microsoft Dynamics NAV
Just a happy frood who knows where his towel is0 -
Thanks for your reply dans.
Will it work if the main invoice no. is 12345 and the Installment No. (Document No. in Cust. Ledger Entry) is INV12345-1..INV12345-10? Also, there are multiple invoices there as in this pattern.0 -
should work. you just play around with the strings.Microsoft Certified IT Professional for Microsoft Dynamics NAV
Just a happy frood who knows where his towel is0 -
I need to use filter something like this.
CustLedgerEntry.SETFILTER(CustLedgerEntry."Document Type", 'Invoice');
CustLedgerEntry.SETFILTER(CustLedgerEntry."Document No.", InvoiceNo);
Values in table: CustLedgerEntry."Document No."
INV12345-01
INV12345-02
INV12345-03
.
.
.
INV12345-10.
Value: InvoiceNo
12345
How to filter CustLedgerEntry."Document No." and InvoiceNo?0 -
CustLedgerEntry.SETFILTER(CustLedgerEntry."Document No.", '%1-*',InvoiceNo);0
-
SETFILTER("Document No.",'%1-%2',InvoiceNo,'*')Microsoft Certified IT Professional for Microsoft Dynamics NAV
Just a happy frood who knows where his towel is0
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