Patch level : 10.0
Files correlati : Ricompilazione Demo : [ ] Commento : Correzioni errori sulla visualizzazione dei campi negli sheet git-svn-id: svn://10.65.10.50/trunk@17178 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
fc80b842c8
commit
a5d8bb2944
@ -1,9 +1,6 @@
|
|||||||
#include <automask.h>
|
#include <automask.h>
|
||||||
#include <relapp.h>
|
#include <relapp.h>
|
||||||
//#include <nditte.h>
|
|
||||||
#include <progind.h>
|
#include <progind.h>
|
||||||
#include <recarray.h>
|
|
||||||
#include <reprint.h>
|
|
||||||
#include <reputils.h>
|
#include <reputils.h>
|
||||||
|
|
||||||
#include "lvlib.h"
|
#include "lvlib.h"
|
||||||
@ -35,7 +32,6 @@ void TPass_plan_contr_mask::proponi_orario()
|
|||||||
TSheet_field& sheet = sfield(F_PASPLAN);
|
TSheet_field& sheet = sfield(F_PASPLAN);
|
||||||
TToken_string& rigamodificata = sheet.row(sheet.items()-1);
|
TToken_string& rigamodificata = sheet.row(sheet.items()-1);
|
||||||
rigamodificata.add("00:00",sheet.cid2index(F_S_ORA));
|
rigamodificata.add("00:00",sheet.cid2index(F_S_ORA));
|
||||||
//sheet.force_update();
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#include <applicat.h>
|
#include <applicat.h>
|
||||||
#include <automask.h>
|
#include <automask.h>
|
||||||
|
#include <isam.h>
|
||||||
#include <progind.h>
|
#include <progind.h>
|
||||||
#include <real.h>
|
#include <real.h>
|
||||||
#include <recarray.h>
|
#include <recarray.h>
|
||||||
@ -268,11 +269,12 @@ void TGenera_planning_app::elabora_passaggio(const TDate& dadata, const TDate& a
|
|||||||
if (dadatacont > adata || (adatacont.ok() && adatacont < dadata))
|
if (dadatacont > adata || (adatacont.ok() && adatacont < dadata))
|
||||||
return; // Inutile proseguire
|
return; // Inutile proseguire
|
||||||
|
|
||||||
//cache sulla tabella frequenze consegne
|
//cache sulla tabella itinerari
|
||||||
TString8 keycoditi;
|
TString4 keycoditi;
|
||||||
keycoditi << coditi;
|
keycoditi.format("%03d", coditi);
|
||||||
const TRectype& iti = cache().get("&ITI",keycoditi);
|
const TRectype& iti = cache().get("&ITI",keycoditi);
|
||||||
//dati recuperati dalla tabella frequenze consegne:
|
|
||||||
|
//dati recuperati dalla tabella itinerari:
|
||||||
const TString8 codaut = iti.get("S1"); //codice autista
|
const TString8 codaut = iti.get("S1"); //codice autista
|
||||||
const TString8 codmez = iti.get("S2"); //codice mezzo
|
const TString8 codmez = iti.get("S2"); //codice mezzo
|
||||||
|
|
||||||
|
@ -82,7 +82,10 @@ void TGestione_planning_mask::fill_sheet()
|
|||||||
{
|
{
|
||||||
const TFieldref* fr = f->field(); //leggo il valore dalla relation
|
const TFieldref* fr = f->field(); //leggo il valore dalla relation
|
||||||
if (fr != NULL)
|
if (fr != NULL)
|
||||||
row.add(fr->read(rel),sheet.cid2index(f->dlg())); //metto il valore letto nella posizione corretta nella TToken_string
|
{
|
||||||
|
const int pos = sheet.cid2index(f->dlg());
|
||||||
|
row.add(fr->read(rel),pos); //metto il valore letto nella posizione corretta nella TToken_string
|
||||||
|
}
|
||||||
}
|
}
|
||||||
sheet.check_row(sheet.items()-1); //fa fare alla maschera la decodifica dei codici e aggiorna la TToken_string
|
sheet.check_row(sheet.items()-1); //fa fare alla maschera la decodifica dei codici e aggiorna la TToken_string
|
||||||
}
|
}
|
||||||
|
@ -86,6 +86,7 @@ BEGIN
|
|||||||
ITEM "Ragione sociale@50"
|
ITEM "Ragione sociale@50"
|
||||||
ITEM "Autista"
|
ITEM "Autista"
|
||||||
ITEM "Mezzo"
|
ITEM "Mezzo"
|
||||||
|
ITEM "Anno\ndoc."
|
||||||
ITEM "Tipo\ndoc."
|
ITEM "Tipo\ndoc."
|
||||||
ITEM "Numero\ndoc."
|
ITEM "Numero\ndoc."
|
||||||
ITEM "Consegna\nstandard"
|
ITEM "Consegna\nstandard"
|
||||||
@ -137,6 +138,7 @@ BEGIN
|
|||||||
MESSAGE EMPTY ENABLE,F_S_CODCONT
|
MESSAGE EMPTY ENABLE,F_S_CODCONT
|
||||||
MESSAGE DISABLE,F_S_CODCONT
|
MESSAGE DISABLE,F_S_CODCONT
|
||||||
FIELD CODRIGA
|
FIELD CODRIGA
|
||||||
|
CHECKTYPE REQUIRED
|
||||||
END
|
END
|
||||||
|
|
||||||
NUMBER F_S_ORDFER 3
|
NUMBER F_S_ORDFER 3
|
||||||
|
Loading…
x
Reference in New Issue
Block a user