Patch level :10.0 300
Files correlati : Ricompilazione Demo : [ ] Commento : sistemato problema della perdita dei campi ori sulle rmovana in caso di registrazione di movimento ripartito git-svn-id: svn://10.65.10.50/trunk@18854 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
ae6f813700
commit
224b55a941
@ -622,21 +622,18 @@ bool TMovanal_msk::row2rec(int r, TRectype& rec) const
|
|||||||
}
|
}
|
||||||
|
|
||||||
TMask& sm = sheet.sheet_mask();
|
TMask& sm = sheet.sheet_mask();
|
||||||
for (int i = sm.fields()-1; i >= 2; i--)
|
for (int i = sm.fields()-1; i >= 0; i--)
|
||||||
{
|
{
|
||||||
const TMask_field& mf = sm.fld(i);
|
const TMask_field& mf = sm.fld(i);
|
||||||
const TFieldref* fr = mf.field();
|
const TFieldref* fr = mf.field();
|
||||||
if (fr != NULL)
|
if (fr != NULL)
|
||||||
{
|
{
|
||||||
const int idx = sheet.cid2index(mf.dlg());
|
const int idx = sheet.cid2index(mf.dlg());
|
||||||
if (idx < 17)
|
|
||||||
{
|
|
||||||
const char* s = row.get(idx);
|
const char* s = row.get(idx);
|
||||||
if (s != NULL)
|
if (s != NULL)
|
||||||
fr->write(s, rec);
|
fr->write(s, rec);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -666,7 +663,6 @@ TToken_string& TMovanal_msk::rec2row(const TRectype& rec, int r) const
|
|||||||
if (fr != NULL)
|
if (fr != NULL)
|
||||||
{
|
{
|
||||||
const int idx = sheet.cid2index(mf.dlg());
|
const int idx = sheet.cid2index(mf.dlg());
|
||||||
if (idx < 17)
|
|
||||||
row.add(fr->read(rec), idx);
|
row.add(fr->read(rec), idx);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -47,4 +47,7 @@
|
|||||||
#define S_CON2 117
|
#define S_CON2 117
|
||||||
#define S_CON3 118
|
#define S_CON3 118
|
||||||
#define S_CON4 119
|
#define S_CON4 119
|
||||||
|
#define S_CDC_ORI 120
|
||||||
|
#define S_CMS_ORI 121
|
||||||
|
#define S_FAS_ORI 122
|
||||||
|
#define S_CON_ORI 123
|
||||||
|
@ -281,6 +281,10 @@ BEGIN
|
|||||||
ITEM "Con 2"
|
ITEM "Con 2"
|
||||||
ITEM "Con 3"
|
ITEM "Con 3"
|
||||||
ITEM "Con 4"
|
ITEM "Con 4"
|
||||||
|
ITEM "Cdc.Orig."
|
||||||
|
ITEM "Cms.Orig."
|
||||||
|
ITEM "Fase Orig."
|
||||||
|
ITEM "Conto Orig."
|
||||||
END
|
END
|
||||||
|
|
||||||
BUTTON F_RESET 78 2
|
BUTTON F_RESET 78 2
|
||||||
@ -458,6 +462,34 @@ BEGIN
|
|||||||
GROUP 1
|
GROUP 1
|
||||||
END
|
END
|
||||||
|
|
||||||
|
STRING S_CDC_ORI 20
|
||||||
|
BEGIN
|
||||||
|
PROMPT 1 20 "Cdc.Ori"
|
||||||
|
FLAGS "D"
|
||||||
|
FIELD CODCCORI
|
||||||
|
END
|
||||||
|
|
||||||
|
STRING S_CMS_ORI 20
|
||||||
|
BEGIN
|
||||||
|
PROMPT 21 20 "Cms.Ori"
|
||||||
|
FLAGS "D"
|
||||||
|
FIELD CODCMSORI
|
||||||
|
END
|
||||||
|
|
||||||
|
STRING S_FAS_ORI 20
|
||||||
|
BEGIN
|
||||||
|
PROMPT 41 20 "Fase Ori"
|
||||||
|
FLAGS "D"
|
||||||
|
FIELD CODFASEORI
|
||||||
|
END
|
||||||
|
|
||||||
|
STRING S_CON_ORI 20
|
||||||
|
BEGIN
|
||||||
|
PROMPT 61 20 "Conto Ori."
|
||||||
|
FLAGS "D"
|
||||||
|
FIELD CODCONTORI
|
||||||
|
END
|
||||||
|
|
||||||
ENDPAGE
|
ENDPAGE
|
||||||
|
|
||||||
ENDMASK
|
ENDMASK
|
||||||
|
Loading…
x
Reference in New Issue
Block a user