Patch level : 10.0 332
Files correlati : pe0.exe Ricompilazione Demo : [ ] Commento Preventivazione gestione k git-svn-id: svn://10.65.10.50/trunk@19030 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
8fc1f6ece2
commit
c1b7ce0a4a
@ -185,6 +185,7 @@ bool TGestione_preventivo_msk::ss_notify(TSheet_field& ss, int r, KEY key)
|
|||||||
sh.disable_cell(father_sheet_row, sh.cid2index(FR_PREZZO));
|
sh.disable_cell(father_sheet_row, sh.cid2index(FR_PREZZO));
|
||||||
// sh.disable_cell(father_sheet_row, sh.cid2index(FR_JOLLY2) || !mask.get_bool(F_USEK));
|
// sh.disable_cell(father_sheet_row, sh.cid2index(FR_JOLLY2) || !mask.get_bool(F_USEK));
|
||||||
sh.disable_cell(father_sheet_row, sh.cid2index(FR_JOLLY3));
|
sh.disable_cell(father_sheet_row, sh.cid2index(FR_JOLLY3));
|
||||||
|
father_row.zero(RDOC_COSTO);
|
||||||
father_row.zero(RDOC_PREZZO);
|
father_row.zero(RDOC_PREZZO);
|
||||||
father_row.zero(RDOC_K);
|
father_row.zero(RDOC_K);
|
||||||
father_row.autoload(sh);
|
father_row.autoload(sh);
|
||||||
@ -486,12 +487,10 @@ bool TGestione_preventivo_msk::pe_codart_handler(TMask_field& f, KEY k)
|
|||||||
{
|
{
|
||||||
TGestione_preventivo_msk & mask = (TGestione_preventivo_msk &) sh->mask();
|
TGestione_preventivo_msk & mask = (TGestione_preventivo_msk &) sh->mask();
|
||||||
const bool has_k = mask.get_bool(F_USEK);
|
const bool has_k = mask.get_bool(F_USEK);
|
||||||
TDocumento & doc = mask.doc();
|
|
||||||
bool update = false;
|
bool update = false;
|
||||||
const int r = sh->selected();
|
const int r = sh->selected();
|
||||||
TRiga_documento & row = doc[r + 1];
|
|
||||||
|
|
||||||
const TString& codart = row.get(RDOC_CODARTMAG);
|
const TString& codart = row_mask.get(FR_CODART);
|
||||||
|
|
||||||
if (codart.full())
|
if (codart.full())
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user