Report customerTop10(111)sorted datastore in Buffertable?

suraj92291suraj92291 Member Posts: 49
edited 2014-02-14 in NAV Three Tier
Hi all experts,
(NAV 2013)
I am going through this report customer top 10(111) in that sales (LCY) and balance (LCY) stored in table "customer amount" using code in customer's onafter getrecord event.But i dont understand how data stored in sorted form(Sales(LCY) or balance(LCY) is in ascending order ) in "Customer Amount" table.
and i also dont understand
2) What is the role of Integer's onaftergetrecord event in this report.it's calculate bartext that all i understand in that code.

please help me.

Thank you.
Suraj
“Any fool can know. The point is to understand.”
― Albert Einstein

Answers

  • geordiegeordie Member Posts: 655
    The report basically fetch the customer with first dataitem and insert a record for every one in the buffer table which is sorted by primary key (Amount (LCY),Amount 2 (LCY),Customer No.) and looped in the Integer dataitem, which stops when there are no more records in Customer Amount table to show.
  • suraj92291suraj92291 Member Posts: 49
    Daniele,
    Thanks for the answer.
    “Any fool can know. The point is to understand.”
    ― Albert Einstein
Sign In or Register to comment.