Hi,
My main perpose is to add two Fields in the report InventValue.
What I dit is to add the two fields into the Table "InventValueReportTmpLine" and then override the insert method like this:
////// This is My Code //////
public void insert()
{
InventTable inventTable;
EcoResProduct ecoresproduct;
EcoResProductCategory ecoresProductCategory;
EcoResCategory ecoresCategory;
EcoResCategory ecoresCategoryFamille;
select * from inventTable where this.ResourceId==inventTable.ItemId;
select * from ecoresProduct where inventTable.Product==EcoResProduct.RecId;
select * from ecoresProductCategory where ecoresproduct.recId==ecoresProductCategory.Product && ecoresProductCategory.CategoryHierarchy == 5637146826;
select * from ecoresCategory where ecoresProductCategory.Category==ecoresCategory.RecId;
this.SousFamille = ecoresCategory.Name;
select * from ecoresCategoryFamille where ecoresCategory.ParentCategory==ecoresCategoryFamille.RecId;
This.Famille= ecoresCategoryFamille.Name;
super();
}
Actually, I'm facing a problem is that my Table "InventValueReportTmpLine" is not empty when I close my report and it has data permanently.
Help Please.