Patch level :

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :


git-svn-id: svn://10.65.10.50/trunk@19485 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2009-10-21 13:41:27 +00:00
parent 5d1297ef53
commit 95f212f109

View File

@ -696,9 +696,9 @@ bool TGestione_preventivo_msk::pe_codart_handler(TMask_field& f, KEY k)
if (k.blank())
{
const TString catmer = art.get(ANAMAG_GRMERC);
k = cache().get("GMC", catmer, "S2");
k = cache().get("GMC", catmer, "S5");
if (k.blank())
k = cache().get("GMC", catmer.left(3), "S2");
k = cache().get("GMC", catmer.left(3), "S5");
}
if (k.full())
row_mask.set(FR_JOLLY2, k);
@ -763,9 +763,9 @@ bool TGestione_preventivo_msk::pe_codart_handler(TMask_field& f, KEY k)
if (k.blank())
{
const TString catmer = art.get(ANAMAG_GRMERC);
k = cache().get("GMC", catmer, "S2");
k = cache().get("GMC", catmer, "S5");
if (k.blank())
k = cache().get("GMC", catmer.left(3), "S2");
k = cache().get("GMC", catmer.left(3), "S5");
}
if (k.full())
row.put(RDOC_K, k);