1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
| var resultGrandLivre = from item0 in List1
join item in List2 on item0.CptMvt_CompteClientNominatif equals item.CptMvt_CompteClientNominatif into res
from item in res.DefaultIfEmpty()
select new
{
CptMvt_CompteClientNominatif = item0.CptMvt_CompteClientNominatif,
CptEcr_DateComptable = item0.CptEcr_DateComptable,
datedeb = item0.datedeb,
CptMvt_Libelle = (item0.CptMvt_Libelle == null) ? "" : item0.CptMvt_Libelle,
total = (item.total == null) ? 0 : item.total / 100,
CptEcr_Cle = (item0.CptEcr_Cle == null) ? 0 : item0.CptEcr_Cle,
CptEcr_NumeroPiece = item0.CptEcr_NumeroPiece,
CptMvt_Lettrage = item0.CptMvt_Lettrage,
CptMvt_MontantDebit = (item0.CptMvt_MontantDebit == null) ? 0 : item0.CptMvt_MontantDebit / 100,
CptMvt_MontantCredit = (item0.CptMvt_MontantCredit == null) ? 0 : item0.CptMvt_MontantCredit / 100,
Solde = item0.SoldeS
};
return resultGrandLivre; |
Partager