Patch level : 10.0 163
Files correlati : Ricompilazione Demo : [ ] Commento : Riportata la versione 3.2 patch 1262 git-svn-id: svn://10.65.10.50/trunk@17630 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
e00e0393f8
commit
bcda798e5d
@ -111,10 +111,16 @@ END
|
||||
|
||||
BOOLEAN F_NOHCLI
|
||||
BEGIN
|
||||
PROMPT 42 14 "Non trasferire il cod.cliente di testata"
|
||||
PROMPT 42 14 "Non trasferire il cod.cliente/forn.di testata"
|
||||
FIELD TSRNOHCLI
|
||||
END
|
||||
|
||||
BOOLEAN F_STOCLI
|
||||
BEGIN
|
||||
PROMPT 2 15 "Storicizza l'anagrafica cliente/fornitore"
|
||||
FIELD TSRSTOCLI
|
||||
END
|
||||
|
||||
BOOLEAN F_USECMTAB
|
||||
BEGIN
|
||||
PROMPT 2 16 "Utilizza le tabelle di Campo"
|
||||
|
@ -686,7 +686,8 @@ void TTS_sender::add_diversi(const TRecordset& mov, const bool moviva)
|
||||
char t = rmov.get(RMV_TIPOC).as_string()[0];
|
||||
bool one_clifor =(dont_send_clifo && t > ' ');
|
||||
const long contoricl = bill2ricl(t, gr, co, so, one_clifor);
|
||||
bool add_rec = (j >= 80) || (dont_send_clifo && t > ' ');
|
||||
// bool add_rec = (j >= 80) || (dont_send_clifo && t > ' ');
|
||||
bool add_rec = (j >= 80) || t > ' ';
|
||||
if (moviva)
|
||||
{
|
||||
if (as400)
|
||||
@ -774,7 +775,8 @@ void TTS_sender::add_diversi(const TRecordset& mov, const bool moviva)
|
||||
added_rec = true;
|
||||
valid_rec = false;
|
||||
}
|
||||
if (dont_send_clifo && get("TRF-RASO").as_string().blank() && t > ' ' && so > 0 )
|
||||
// if (dont_send_clifo && get("TRF-RASO").as_string().blank() && t > ' ' && so > 0 )
|
||||
if (get("TRF-RASO").as_string().blank() && t > ' ' && so > 0 )
|
||||
add_clifor(t, so);
|
||||
}
|
||||
if (!moviva && t > ' ' && first_cli)
|
||||
@ -1182,6 +1184,12 @@ void TTS_sender::add_clifor(char tipocf, long codcf)
|
||||
|
||||
set("TRF-CFBANCA", cli.get(CLI_CODABI));
|
||||
set("TRF-CFAGENZIA", cli.get(CLI_CODCAB));
|
||||
if (_riclassifica.is_key("TSSTOCLI"))
|
||||
{
|
||||
set("TRF-STORICO", "S");
|
||||
TDate datalim = get_mask().get_date(F_DATA_AL);
|
||||
set("TRF-STORICO-DATA", datalim.date2ansi());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user