Patch level : 10.0 patch 520
Files correlati : lv3 Ricompilazione Demo : [ ] Commento : ) stato buoni di prelievo I buoni creati sono in stato 1 e stampati in stato 2 Il programma di evasione dei buoni di prelievo manuale o a barcode selezionano i buoni con stato 1 Il programma da termina lino seleziona quelli con stato 2 Se evado un buono di prelievo diventa in stato 2 Gli stati dovrebbero essere 1 creato 2 stampato 3 evaso Dimmi come devo mettere i dati tabellari in maniera che funzioni in questo modo. git-svn-id: svn://10.65.10.50/trunk@19639 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
3be485524e
commit
69a74a7e58
@ -230,7 +230,7 @@ void TEvasione_msk::carica_righe()
|
||||
enable(DLG_SELECT);
|
||||
enable(DLG_PREVIEW);
|
||||
|
||||
if(stato == "1")
|
||||
if(stato == "2")
|
||||
enable(DLG_ELABORA);
|
||||
|
||||
enable(DLG_SAVEREC);
|
||||
@ -467,7 +467,7 @@ void TEvasione_msk::genera_documento()
|
||||
if (doc.rows() > 0)
|
||||
{
|
||||
err = doc.write();
|
||||
const TString4 stato = cache().get("%TIP", ini_get_string(CONFIG_DITTA, "lv", "TIPODOC_PRE", NULL, 0), "S2").mid(1,1);
|
||||
const TString4 stato = cache().get("%TIP", ini_get_string(CONFIG_DITTA, "lv", "TIPODOC_PRE", NULL, 0), "S2").mid(2,1);
|
||||
bpre.put(DOC_STATO, stato);
|
||||
bpre.rewrite();
|
||||
set(F_STATO, stato);
|
||||
|
@ -64,7 +64,7 @@ END
|
||||
NUMBER F_NDOC 6
|
||||
BEGIN
|
||||
PROMPT 54 2 "Num."
|
||||
USE LF_DOC SELECT (STATO==1)
|
||||
USE LF_DOC SELECT (STATO==2)
|
||||
JOIN LF_CLIFO TO LF_DOC INTO TIPOCF==TIPOCF CODCF==CODCF
|
||||
INPUT PROVV "D"
|
||||
INPUT ANNO F_ANNO SELECT
|
||||
|
Loading…
x
Reference in New Issue
Block a user