[CC] Using a Temporary Table!!!

Shibby01Shibby01 Member Posts: 17
edited 2012-11-26 in NAV Three Tier
Hey,
i am working on a small application (see the picture Result).
The picture shows a price comparison list as a report in CC.
The picture dataitem is s screenshot of my report.

The red values are the smallest purchase prices of the article.
My problem is, I cannot only solve it with visual studio.
I want to determine the best price by using a temporary table in nav, but i have no experience with them and need help.
So I would be very grateful for a reference.

My idea is to check the following things:
1) to find the current article in my temporary table (TempItem), otherwise write a new data record in TempItem with No. and unit Price.

2) if a data record were found, check if the direct unit cost is smaller than the TempItem Price.
This Value is to write in an global variable....maybe BestPriceGlo, which i can use in VS.

Does anyone have an idea???
Sign In or Register to comment.