Patch level : 10.0 124
Files correlati : ca2.exe Ricompilazione Demo : [ ] Commento : Selezione pre movimenti normali / preventivo nella ripartizione batch git-svn-id: svn://10.65.10.50/trunk@17300 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
4141e5c176
commit
537f82e864
@ -285,7 +285,17 @@ void TRib_movanal_app::main_loop()
|
||||
arec.put(MOVANA_DATACOMP, al);
|
||||
_cache_rip.set_esercizio(mask.get_int(F_ANNO));
|
||||
|
||||
TCursor cur_movana(&rel_movana, "BLOCCATO!=\"X\"", 2, &darec, &arec);
|
||||
const TString & tipo = mask.get(F_CLASSEMOV);
|
||||
TString filter;
|
||||
|
||||
if (tipo.blank())
|
||||
filter = "BLOCCATO!=\"X\"";
|
||||
else
|
||||
if (tipo == "N")
|
||||
filter = "(BLOCCATO!=\"X\")&&(TIPOMOV==\"\")";
|
||||
else
|
||||
filter = "(BLOCCATO!=\"X\")&&(TIPOMOV!=\"\")";
|
||||
TCursor cur_movana(&rel_movana, filter, 2, &darec, &arec);
|
||||
const long items = cur_movana.items();
|
||||
if (items > 0)
|
||||
{
|
||||
|
@ -5,6 +5,7 @@
|
||||
#define F_DEFINITIVO 203
|
||||
#define F_ANNO 204
|
||||
#define F_COMPATTA 205
|
||||
#define F_CLASSEMOV 206
|
||||
//Devono valere un numero piu' alto di S_CDC12 (che attualmente e' 112) senno' non nascono in fila nello..
|
||||
//..sheet
|
||||
#define F_CODCAUS 113
|
||||
|
@ -56,6 +56,16 @@ BEGIN
|
||||
ADD NONE
|
||||
END
|
||||
|
||||
LIST F_CLASSEMOV 22
|
||||
BEGIN
|
||||
PROMPT 36 2 "Classe movimento "
|
||||
ITEM " |Tutti"
|
||||
ITEM "N|Normali"
|
||||
ITEM "P|Preventivo/Variazioni"
|
||||
END
|
||||
|
||||
|
||||
|
||||
DATA F_DATAINI
|
||||
BEGIN
|
||||
PROMPT 2 3 "Dalla data "
|
||||
|
Loading…
x
Reference in New Issue
Block a user