Sort the Customer Ledget Entries on Document Type,Customer No.,Posting Date
Put filter on Cust. Ledger Entry with Customer No. and Document Type as Invoice and find the Last Entry
ya mohana thanks for giving reply
from my table customer ledger entry
i am getting document type =invoice and customer number and posting date
but with customer number and posting date
customer number posting date
10000 1/1/12
10000 2/1/12
10000 3/1/12
with same customer number i am having three differant dates ,how can we get last posting date
i kept filter like this
WHERE(Document Type=FILTER(Invoice))
ya mohana thanks for giving reply
i have written this code
postingdate :="Cust. Ledger Entry".GETRANGEMAX("Cust. Ledger Entry"."Posting Date");
i have assigned this postingdate variable to the text box source expression
but it was throwing an error regarding set filter for customer ledger entry table
Comments
Put filter on Cust. Ledger Entry with Customer No. and Document Type as Invoice and find the Last Entry
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
from my table customer ledger entry
i am getting document type =invoice and customer number and posting date
but with customer number and posting date
customer number posting date
10000 1/1/12
10000 2/1/12
10000 3/1/12
with same customer number i am having three differant dates ,how can we get last posting date
i kept filter like this
WHERE(Document Type=FILTER(Invoice))
i have to write the code?
Yes, you have to use FINDLAST
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
i have written this code
postingdate :="Cust. Ledger Entry".GETRANGEMAX("Cust. Ledger Entry"."Posting Date");
i have assigned this postingdate variable to the text box source expression
but it was throwing an error regarding set filter for customer ledger entry table
To get the last invoice for the customer use FINDLAST as mohana has advised