Patch level :2.2 200
Files correlati :ca3.exe ca3700a.rep Ricompilazione Demo : [ ] Commento :sistemate richieste adolfiche sulle descrizioni di testata della stampa rendiconto git-svn-id: svn://10.65.10.50/trunk@13437 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
f7f5809319
commit
4c75f61fe0
@ -425,7 +425,7 @@ const TVariant& TPrint_rendiconto_ca_recordset::get(const char* column_name) con
|
||||
return TISAM_recordset::get(column_name);
|
||||
}
|
||||
|
||||
//compila i campi da stampare
|
||||
//compila i campi del file temporaneo che sra' poi stampato
|
||||
void TPrint_rendiconto_ca_recordset::scrive_riga(const TRectype& rmovana, const TRectype& movana, const TDocumento* doc)
|
||||
{
|
||||
|
||||
@ -503,7 +503,7 @@ void TPrint_rendiconto_ca_recordset::scrive_riga(const TRectype& rmovana, const
|
||||
//in ogni caso riempio il campo conto_cg
|
||||
tmpcurr.put("CONTOCG", rmovana.get(RMOVANA_CODCONTO)); //conto_cg
|
||||
|
||||
//tipo movimento CONSUNTIVO
|
||||
//tipo movimento CONSUNTIVO (o TEMPORANEO)
|
||||
const char tipomov = movana.get_char(MOVANA_TIPOMOV);
|
||||
if (tipomov <= ' ' || tipomov == 'T')
|
||||
{
|
||||
@ -879,12 +879,21 @@ void TPrint_rendiconto_ca_recordset::crea_righe_da_rdoc(const TPrint_rendiconto_
|
||||
TDocumento doc(curr_doc);
|
||||
TAnal_mov mov;
|
||||
cont_anal.elabora(doc, 0, NULL, false, mov);
|
||||
|
||||
//estrae il tipo ed il codice clifo dal documento per metterlo nel movana che ha generato
|
||||
//con la elabora (richiesta puramente adolfica!)
|
||||
TString16 key;
|
||||
key << doc.get(DOC_TIPOCF) << '|' << doc.get(DOC_CODCF);
|
||||
const TString clifo = cache().get(LF_CLIFO, key, CLI_RAGSOC);
|
||||
mov.put(MOVANA_DESCR, clifo);
|
||||
|
||||
for (int j = 1; j <= mov.rows(); j++)
|
||||
{
|
||||
//controlla che la riga in esame abbia realmente la cms/cdc/fas indicata nel filtro;
|
||||
//procedimento necessario per evitare la stampa di righe appartenenti a docs elaborati
|
||||
//perchè contenenti 1 riga con cms corretta ed altre righe con cms sbagliate
|
||||
const TRectype& rmov = mov.body()[j];
|
||||
|
||||
if (_codcms.not_empty() && rmov.get(RMOVANA_CODCMS) != _codcms)
|
||||
continue;
|
||||
if (_codcosto.not_empty() && rmov.get(RMOVANA_CODCCOSTO) != _codcosto)
|
||||
|
@ -202,12 +202,14 @@ MESSAGE RESET,F2.103</prescript>
|
||||
<source>DATADOCRIF</source>
|
||||
</field>
|
||||
<field x="59" type="Stringa" dynamic_height="1" width="25" height="2" pattern="1">
|
||||
<font face="Arial Narrow" size="8" />
|
||||
<source>DESC</source>
|
||||
</field>
|
||||
<field x="86" type="Numero" align="right" width="3" pattern="1">
|
||||
<source>NRIGA</source>
|
||||
</field>
|
||||
<field x="90" type="Stringa" dynamic_height="1" width="25" height="2" pattern="1">
|
||||
<font face="Arial Narrow" size="8" />
|
||||
<source>DESCRIGA</source>
|
||||
</field>
|
||||
<field x="116" type="Stringa" align="right" width="15" pattern="1">
|
||||
|
Loading…
x
Reference in New Issue
Block a user