[ONOFF]
CALCMSHEETNO=999
CALCM=1
CALCDSHEETNO=999
CALCD=0
NOINITSQCP=1

[DVQuery]
FM_ACPM=M002;M020;M014;M016

[FORM]
SHOWBDTP=1
SHOWEDTP=1

[PINGZHENG]
ISAPP=0
NOTCHECKPERIOD=1
BATCHGERPZ=0

[GERNOBYJZFM]
FIELDS=M011

M011NUM=3
MODE=0
M011SHEETNO=999
M011TBLNAME=FM_ZZPZM
M011TBLFBRNO=M001
999M011JZ=
;Y=YEAR,M=MONTH,D=DATE
M011MAXMODE=M
M011DJTYPE=M031

M011NOFRM=ffmZZPZ

[GOTOFORM]
FIELDS=D012;M002
FORM=ffmACP;ffmZZPZ
OPENTYPE=0;1
TABLE=FM_ACPM;FM_ZZPZM
FORMTYPE=01;01

D012WHERE=M002;M001 
D012VALUE=D012;D001

M002WHERE=D019;M001
M002VALUE=M002;M001

[CALCHZM]
;0=get from here, 1=get from db
CALCTYPE=0
;0=CALC ONE REC,1 CALC LOOP; 2 SET STRIGN VALUE
MODE=0
FIELDS=M024;M025;M026;M029;M031;M032

M024SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
M024TRIGGER=2
;0=without tax,1=with tax function
0M024=D019
M024EXITFIELD=
M024DATATYPE=I
;M IS cdsM Field
M024FIELDGRID=D
M024LOOP=D

M025SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
M025TRIGGER=2
;0=without tax,1=with tax function
0M025=D019
M025EXITFIELD=
M025DATATYPE=I
;M IS cdsM Field
M025FIELDGRID=D
M025LOOP=D

M026SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
M026TRIGGER=0;1
;0=without tax,1=with tax function
0M026=M024*M013
M026EXITFIELD=M024;M013
M026DATATYPE=I
;M IS cdsM Field
M026FIELDGRID=M;M
M026LOOP=

M029SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
M029TRIGGER=0;1
;0=without tax,1=with tax function
0M029=M025*M013
M029EXITFIELD=M025;M013
M029DATATYPE=I
;M IS cdsM Field
M029FIELDGRID=M;M
M029LOOP=

M031SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
M031TRIGGER=0;1
;0=without tax,1=with tax function
0M031=M029-M026
M031EXITFIELD=
M031DATATYPE=I
;M IS cdsM Field
M031FIELDGRID=M;M
M031LOOP=

M032SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
M032TRIGGER=0;1
;0=without tax,1=with tax function
0M032=M025-M024
M032EXITFIELD=
M032DATATYPE=I
;M IS cdsM Field
M032FIELDGRID=M;M
M032LOOP=

[CALCHZD]
;0=get from here, 1=get from db
CALCTYPE=0
;0=CALC ONE REC,1 CALC LOOP; 2 SET STRIGN VALUE
MODE=0
FIELDS=D214;D213;D019;D020;D021;D042;D043

D214SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
D214TRIGGER=3
;0=without tax,1=with tax function
0D214=M013
D214EXITFIELD=
M011DATATYPE=S
;M IS cdsM Field
D214FIELDGRID=M
D214LOOP=

D213SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
D213TRIGGER=3
;0=without tax,1=with tax function
0D213=M012
D213EXITFIELD=
M011DATATYPE=S
;M IS cdsM Field
D213FIELDGRID=M
D213LOOP=

D019SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
D019TRIGGER=1
;0=without tax,1=with tax function
0D019=D014
D019EXITFIELD=
D019DATATYPE=I
;M IS cdsM Field
D019FIELDGRID=D
D019LOOP=

D020SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
D020TRIGGER=0;1
;0=without tax,1=with tax function
0D020=D014*D214
D020EXITFIELD=D014;D214
D020DATATYPE=I
;M IS cdsM Field
D020FIELDGRID=D;D
D020LOOP=

D021SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
D021TRIGGER=0;1
;0=without tax,1=with tax function
0D021=D019*D214
D021EXITFIELD=D214
D021DATATYPE=I
;M IS cdsM Field
D021FIELDGRID=D;D
D021LOOP=

D042SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
D042TRIGGER=1
;0=without tax,1=with tax function
0D042=D019-D014
D042EXITFIELD=
D042DATATYPE=I
;M IS cdsM Field
D042FIELDGRID=D;D
D042LOOP=

D043SHEETNO=999  
;0=EXIT,1=POST,2=SAVE Data To DB,3=NEW Record
D043TRIGGER=1
;0=without tax,1=with tax function
0D043=D021-D020
D043EXITFIELD=
D043DATATYPE=I
;M IS cdsM Field
D043FIELDGRID=D;D
D043LOOP=

[APPAPPENDREC]
;sFBrNo,sFPeriod,sFStockID,sWh,sStandUnit

;append order detail as follow
PO_APMXSTOP=0
PO_APMXSHEETNO=005
PO_APMXFIELDS=M011;M001;M012;M013
PO_APMXFIELDSVALUE=sFPeriod;M001;M014;M016
PO_APMXFIELDGRID=M;M;M;M
PO_APMXNOEMPTY=
PO_APMXFILTERFIELDS=M011;M012
PO_APMXFILTERFIELDSVALUE=sFPeriod;M014

PO_APMXITM=
PO_APMXITMWHERE=
PO_APMXITMWHEREVALUE=
PO_APMXITMcorresponding=

[QOBJECTLOADTREEM]
FIELDS=M015;M042

M015tvfields=M014,M012,M016,M015,M011,M020
M015TreeLevelFName=M016
M015treetblname=(SELECT * FROM BS_F_KEMU WHERE M812=1 AND M813=0) BS_F_KEMU
M015FGName=M014
M015FParentNo=M015
M015SHOWPNO=1
M015ORDERBY=M011

M042tvfields=M014,M012,M016,M015,M011,M020
M042TreeLevelFName=M016
M042treetblname=(SELECT * FROM BS_F_KEMU WHERE M812=1 AND M813=0) BS_F_KEMU
M042FGName=M014
M042FParentNo=M015
M042SHOWPNO=1
M042ORDERBY=M011
