Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tdcode
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangguangchao
tdcode
Commits
742bd806
Commit
742bd806
authored
Nov 15, 2021
by
wangguangchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Then全局替换修改
parent
3a4ee998
Hide whitespace changes
Inline
Side-by-side
Showing
37 changed files
with
75 additions
and
75 deletions
+75
-75
BOTAME.TR2
frame/BOTAME.TR2
+2
-2
BOTDAV.TR2
frame/BOTDAV.TR2
+1
-1
BOTRAD.TR2
frame/BOTRAD.TR2
+1
-1
DITAME.TR2
frame/DITAME.TR2
+1
-1
DITDLA.TR2
frame/DITDLA.TR2
+1
-1
DITREJ.TR2
frame/DITREJ.TR2
+1
-1
FILTSK.FR2
frame/FILTSK.FR2
+1
-1
GITCRJ.TR5
frame/GITCRJ.TR5
+1
-1
LETAME.TR2
frame/LETAME.TR2
+1
-1
LETNOT.TR2
frame/LETNOT.TR2
+2
-2
LETP.FR2
frame/LETP.FR2
+1
-1
LITAME.TR2
frame/LITAME.TR2
+1
-1
LITDLA.TR2
frame/LITDLA.TR2
+1
-1
LTTOPN.TR2
frame/LTTOPN.TR2
+2
-2
SYSTBL.TR0
frame/SYSTBL.TR0
+8
-8
bctrog.tr2
frame/bctrog.tr2
+1
-1
cbap.fr2
frame/cbap.fr2
+2
-2
cbcp.fr2
frame/cbcp.fr2
+4
-4
cbcpg.fr2
frame/cbcpg.fr2
+2
-2
cbip.fr2
frame/cbip.fr2
+2
-2
cbop.fr2
frame/cbop.fr2
+4
-4
cbopg.fr2
frame/cbopg.fr2
+2
-2
cbtp.fr2
frame/cbtp.fr2
+4
-4
cbtpg.fr2
frame/cbtpg.fr2
+2
-2
chkfld.fr2
frame/chkfld.fr2
+1
-1
dbiact.tr2
frame/dbiact.tr2
+1
-1
dbicbsb.fr2
frame/dbicbsb.fr2
+5
-5
dbiswm.tr2
frame/dbiswm.tr2
+1
-1
detp.fr2
frame/detp.fr2
+1
-1
evtp.fr2
frame/evtp.fr2
+4
-4
letp1.fr2
frame/letp1.fr2
+1
-1
litchg.tr2
frame/litchg.tr2
+1
-1
litpop.tr2
frame/litpop.tr2
+2
-2
lsep.fr2
frame/lsep.fr2
+4
-4
rmtp.fr2
frame/rmtp.fr2
+1
-1
srop.fr2
frame/srop.fr2
+1
-1
syssyn.tr0
frame/syssyn.tr0
+4
-4
No files found.
frame/BOTAME.TR2
View file @
742bd806
...
...
@@ -32,13 +32,13 @@ Version 50 TradeDesign®
20070315123952 MV SourceLine endif
Rule -1
20060830 MV SourceLine Check BODGRP\CBS\MAX\AMT
20060830 MV SourceLine If IsEmpty(BODGRP\CBS\MAX\AMT)
T
hen
20060830 MV SourceLine If IsEmpty(BODGRP\CBS\MAX\AMT)
t
hen
SourceLine ErrorMandatory
SourceLine Exit
SourceLine endif
Rule -1
20060830 MV SourceLine Check BODGRP\CBS\MAX\CUR
20060830 MV SourceLine If IsEmpty(BODGRP\CBS\MAX\CUR)
T
hen
20060830 MV SourceLine If IsEmpty(BODGRP\CBS\MAX\CUR)
t
hen
SourceLine ErrorMandatory
SourceLine Exit
SourceLine endif
...
...
frame/BOTDAV.TR2
View file @
742bd806
...
...
@@ -24,7 +24,7 @@ Version 50 TradeDesign®
20060830 MV SourceLine ErrorPositiveAmtOnly( BODGRP\CBS\MAX\AMT )
Rule -1
20060830 MV SourceLine Check BODGRP\CBS\MAX\CUR
20060830 MV SourceLine If IsEmpty(BODGRP\CBS\MAX\CUR)
T
hen
20060830 MV SourceLine If IsEmpty(BODGRP\CBS\MAX\CUR)
t
hen
SourceLine ErrorMandatory
SourceLine Exit
SourceLine endif
...
...
frame/BOTRAD.TR2
View file @
742bd806
...
...
@@ -12,7 +12,7 @@ Version 50 TradeDesign®
20060830 MV SourceLine ErrorPositiveAmtOnly( BODGRP\CBS\MAX\AMT )
Rule -1
20060830 MV SourceLine Check BODGRP\CBS\MAX\CUR
20060830 MV SourceLine If IsEmpty(BODGRP\CBS\MAX\CUR)
T
hen
20060830 MV SourceLine If IsEmpty(BODGRP\CBS\MAX\CUR)
t
hen
SourceLine ErrorMandatory
SourceLine Exit
SourceLine endif
...
...
frame/DITAME.TR2
View file @
742bd806
...
...
@@ -89,7 +89,7 @@ Version 50 TradeDesign®
19981112 DOS SourceLine endif
Rule -1
SourceLine Check DIDGRP\REC\AVBBY
SourceLine If IsEmpty ( DIDGRP\REC\AVBBY )
T
hen
SourceLine If IsEmpty ( DIDGRP\REC\AVBBY )
t
hen
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
frame/DITDLA.TR2
View file @
742bd806
...
...
@@ -20,7 +20,7 @@ Version 50 TradeDesign®
19981112 DOS SourceLine endif
Rule -1
SourceLine Check DIDGRP\REC\AVBBY
SourceLine If IsEmpty ( DIDGRP\REC\AVBBY )
T
hen
SourceLine If IsEmpty ( DIDGRP\REC\AVBBY )
t
hen
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
frame/DITREJ.TR2
View file @
742bd806
...
...
@@ -90,7 +90,7 @@ Version 50 TradeDesign®
19981112 DOS SourceLine endif
Rule -1
SourceLine Check DIDGRP\REC\AVBBY
SourceLine If IsEmpty ( DIDGRP\REC\AVBBY )
T
hen
SourceLine If IsEmpty ( DIDGRP\REC\AVBBY )
t
hen
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
frame/FILTSK.FR2
View file @
742bd806
...
...
@@ -157,7 +157,7 @@ Version 50 TradeDesign®
SourceLine # returns false if no such entry exists
SourceLine
SourceLine \Filtsk\nxtidx = \Filtsk\nxtidx + 1
SourceLine IF \Filtsk\nxtidx <= GridCount ( \FILtsk\FILshw )
T
hen
SourceLine IF \Filtsk\nxtidx <= GridCount ( \FILtsk\FILshw )
t
hen
SourceLine \filename = \FILtsk\FILshw( \Filtsk\nxtidx )\filename
SourceLine \SRCFLG = \FILtsk\FILshw( \Filtsk\nxtidx )\SRCFLG
SourceLine return true
...
...
frame/GITCRJ.TR5
View file @
742bd806
...
...
@@ -15,7 +15,7 @@ Version 50 TradeDesign®
20070227 MS SourceLine # 2. Build Transaction from GCDGRP
20070227 MS SourceLine TRNMOD.TrnSetFromContract ( GCDGRP\REC )
20080910102628 ZT SourceLine #如果是pending instruction 则不处理
20080910102803 ZT SourceLine if rejtypsel <> "I"
T
hen
20080910102803 ZT SourceLine if rejtypsel <> "I"
t
hen
20050809 MM SourceLine Cbssav
20080910102807 ZT SourceLine endif
20010529 VO SourceLine
...
...
frame/LETAME.TR2
View file @
742bd806
...
...
@@ -10,7 +10,7 @@ Version 50 TradeDesign®
20070319163359 RM SourceLine LETAMEP.initnartxt
Rule -1
SourceLine DEFAULT LETAMEP\AMEDAT
SourceLine If IsEmpty ( LETAMEP\AMEDAT)
T
hen
SourceLine If IsEmpty ( LETAMEP\AMEDAT)
t
hen
SourceLine = Today
SourceLine endif
Rule -1
...
...
frame/LETNOT.TR2
View file @
742bd806
...
...
@@ -61,12 +61,12 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT SHPDEF (LEDGRP\REC\SHPDAT , LEDGRP\BLK\SHPPER )
SourceLine If not IsEmpty( LEDGRP\REC\SHPDAT )
T
hen
SourceLine If not IsEmpty( LEDGRP\REC\SHPDAT )
t
hen
SourceLine Disable ( LEDGRP\BLK\SHPPER )
SourceLine else
SourceLine Enable ( LEDGRP\BLK\SHPPER )
SourceLine endif
SourceLine If not IsEmpty( LEDGRP\BLK\SHPPER )
T
hen
SourceLine If not IsEmpty( LEDGRP\BLK\SHPPER )
t
hen
SourceLine Disable ( LEDGRP\REC\SHPDAT )
SourceLine else
SourceLine Enable ( LEDGRP\REC\SHPDAT )
...
...
frame/LETP.FR2
View file @
742bd806
...
...
@@ -41,7 +41,7 @@ Version 50 TradeDesign®
20050830 AN SourceLine
Rule -1
SourceLine Default OVWP
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Enable ( OVWP )
SourceLine else
SourceLine Disable ( OVWP )
...
...
frame/LITAME.TR2
View file @
742bd806
...
...
@@ -105,7 +105,7 @@ Version 50 TradeDesign®
19981112 DOS SourceLine endif
Rule -1
SourceLine Check LIDGRP\REC\AVBBY
SourceLine If IsEmpty ( LIDGRP\REC\AVBBY )
T
hen
SourceLine If IsEmpty ( LIDGRP\REC\AVBBY )
t
hen
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
frame/LITDLA.TR2
View file @
742bd806
...
...
@@ -21,7 +21,7 @@ Version 50 TradeDesign®
19981112 DOS SourceLine endif
Rule -1
SourceLine Check LIDGRP\REC\AVBBY
SourceLine If IsEmpty ( LIDGRP\REC\AVBBY )
T
hen
SourceLine If IsEmpty ( LIDGRP\REC\AVBBY )
t
hen
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
frame/LTTOPN.TR2
View file @
742bd806
...
...
@@ -203,12 +203,12 @@ Version 50 TradeDesign®
19991202 RAL SourceLine print SWTPrtEndTag( "SWT" ) ;
Rule -1
SourceLine CHECK LTDGRP\REC\EXPPLC
SourceLine If IsEmpty( LTDGRP\REC\EXPPLC)
T
hen
SourceLine If IsEmpty( LTDGRP\REC\EXPPLC)
t
hen
SourceLine ErrorMandatory
SourceLine endif
Rule -1
SourceLine CHECK LTDGRP\CBS\NOM1\CUR
SourceLine If IsEmpty( LTDGRP\CBS\NOM1\CUR)
T
hen
SourceLine If IsEmpty( LTDGRP\CBS\NOM1\CUR)
t
hen
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
frame/SYSTBL.TR0
View file @
742bd806
...
...
@@ -148,7 +148,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT SAV
SourceLine If STA = "A"
T
hen
SourceLine If STA = "A"
t
hen
SourceLine Enable
SourceLine Visible
SourceLine else
...
...
@@ -423,7 +423,7 @@ Version 50 TradeDesign®
20020917 HB SourceLine ResetCache
Rule -1
SourceLine DEFAULT UPD
SourceLine If STA = "E"
T
hen
SourceLine If STA = "E"
t
hen
SourceLine Enable
SourceLine Visible
SourceLine else
...
...
@@ -571,10 +571,10 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT EXP
SourceLine If STA = "I"
T
hen
SourceLine If STA = "I"
t
hen
SourceLine Visible
SourceLine If Isdesigner
T
hen
SourceLine If IsEmpty( TBL )
T
hen
SourceLine If Isdesigner
t
hen
SourceLine If IsEmpty( TBL )
t
hen
SourceLine Disable
SourceLine else
SourceLine Enable
...
...
@@ -636,14 +636,14 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT STH\CODLEN
SourceLine If STA = "I" Or STA = "D"
T
hen
SourceLine If STA = "I" Or STA = "D"
t
hen
SourceLine Disable
SourceLine else
SourceLine Enable
SourceLine endif
Rule -1
SourceLine DEFAULT STH\TXTLEN
SourceLine If STA = "I" Or STA = "D"
T
hen
SourceLine If STA = "I" Or STA = "D"
t
hen
SourceLine Disable
SourceLine else
SourceLine Enable
...
...
@@ -711,7 +711,7 @@ Version 50 TradeDesign®
20040130 JO SourceLine endif
Rule -1
SourceLine DEFAULT STH\SRT
SourceLine If STA = "I" Or STA = "D"
T
hen
SourceLine If STA = "I" Or STA = "D"
t
hen
SourceLine Disable
SourceLine else
SourceLine Enable
...
...
frame/bctrog.tr2
View file @
742bd806
...
...
@@ -26,7 +26,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
20060830 MV SourceLine Check BCDGRP\CBS\MAX\CUR
20060830 MV SourceLine If IsEmpty(BCDGRP\CBS\MAX\CUR)
T
hen
20060830 MV SourceLine If IsEmpty(BCDGRP\CBS\MAX\CUR)
t
hen
SourceLine ErrorMandatory
SourceLine Exit
SourceLine endif
...
...
frame/cbap.fr2
View file @
742bd806
...
...
@@ -137,14 +137,14 @@ Version 50 TradeDesign®
SourceLine SetSelectedRow( CBAPG, $CBTRow )
Rule -1
SourceLine DEFAULT CBSA\CBO
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Disable
SourceLine else
SourceLine Enable
SourceLine endif
Rule -1
SourceLine DEFAULT CBSA\CBC
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Disable
SourceLine else
SourceLine Enable
...
...
frame/cbcp.fr2
View file @
742bd806
...
...
@@ -13,7 +13,7 @@ Version 50 TradeDesign®
Datafield CLS C 10 1 6 1 0 {} {&Close}
Rule -1
SourceLine Default CBCPG
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Enable
SourceLine else
SourceLine Disable
...
...
@@ -36,14 +36,14 @@ Version 50 TradeDesign®
SourceLine $CBCRow = 1
SourceLine Label IniLoop
SourceLine $Lin = GetLine( $Ini, $IniIdx )
SourceLine If not IsEmpty( $Lin )
T
hen
SourceLine If $GridRow > $Max
T
hen
SourceLine If not IsEmpty( $Lin )
t
hen
SourceLine If $GridRow > $Max
t
hen
SourceLine GridInsertRow( CBCPG, 0 )
SourceLine endif
SourceLine CBCPG( $GridRow )\CBCCOD = $Lin
SourceLine CBCPG( $GridRow )\CBCTXT = GetTblText( $Lin, "CBCTXT", GetUil )
SourceLine CBCPG( $GridRow )\CBXFLG = GetIniStr( "CBSCONF.INI", "CBCXBL", $Lin )
SourceLine If $Lin = CBSA\CBC
T
hen
SourceLine If $Lin = CBSA\CBC
t
hen
SourceLine $CBCRow = $GridRow
SourceLine endif
SourceLine $IniIdx = $IniIdx + 1
...
...
frame/cbcpg.fr2
View file @
742bd806
...
...
@@ -9,12 +9,12 @@ Version 50 TradeDesign®
Datafield CBXFLG T 1 1 2 1 0 {CBXTXT} {Balance per external id (' '=No, 'Y'es)} 1
Rule -1
SourceLine CHECK CBCCOD
SourceLine If IsEmpty( CBCCOD )
T
hen
SourceLine If IsEmpty( CBCCOD )
t
hen
SourceLine Error( 'L0000000' )
SourceLine endif
Rule -1
SourceLine CHECK CBCTXT
SourceLine If IsEmpty( CBCTXT )
T
hen
SourceLine If IsEmpty( CBCTXT )
t
hen
SourceLine Error( 'L0000001' )
SourceLine endif
PanelCount 0
...
...
frame/cbip.fr2
View file @
742bd806
...
...
@@ -76,14 +76,14 @@ Version 50 TradeDesign®
SourceLine SetSelectedRow( CBIPG, $CBCRow )
Rule -1
SourceLine DEFAULT CBSA\CBO
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Disable
SourceLine else
SourceLine Enable
SourceLine endif
Rule -1
SourceLine DEFAULT CBSA\CBT
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Disable
SourceLine else
SourceLine Enable
...
...
frame/cbop.fr2
View file @
742bd806
...
...
@@ -13,7 +13,7 @@ Version 50 TradeDesign®
Datafield CLS C 10 1 6 1 0 {} {&Close}
Rule -1
SourceLine Default CBOPG
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Enable
SourceLine else
SourceLine Disable
...
...
@@ -36,13 +36,13 @@ Version 50 TradeDesign®
SourceLine $CBORow = 1
SourceLine Label IniLoop
SourceLine $Lin = GetLine( $Ini, $IniIdx )
SourceLine If not IsEmpty( $Lin )
T
hen
SourceLine If $GridRow > $Max
T
hen
SourceLine If not IsEmpty( $Lin )
t
hen
SourceLine If $GridRow > $Max
t
hen
SourceLine GridInsertRow( CBOPG, 0 )
SourceLine endif
SourceLine CBOPG( $GridRow )\CBOCOD = $Lin
SourceLine CBOPG( $GridRow )\CBOTXT = GetTblText( $Lin, "CBOTXT", GetUil )
SourceLine If $Lin = CBSA\CBO
T
hen
SourceLine If $Lin = CBSA\CBO
t
hen
SourceLine $CBORow = $GridRow
SourceLine endif
SourceLine $IniIdx = $IniIdx + 1
...
...
frame/cbopg.fr2
View file @
742bd806
...
...
@@ -8,12 +8,12 @@ Version 50 TradeDesign®
Datafield CBOTXT T 40 1 0 1 0 {} {description of type} 1
Rule -1
SourceLine CHECK CBOCOD
SourceLine If IsEmpty( CBOCOD )
T
hen
SourceLine If IsEmpty( CBOCOD )
t
hen
SourceLine Error( 'L0000000' )
SourceLine endif
Rule -1
SourceLine CHECK CBOTXT
SourceLine If IsEmpty( CBOTXT )
T
hen
SourceLine If IsEmpty( CBOTXT )
t
hen
SourceLine Error( 'L0000001' )
SourceLine endif
PanelCount 0
...
...
frame/cbtp.fr2
View file @
742bd806
...
...
@@ -13,7 +13,7 @@ Version 50 TradeDesign®
Datafield CLS C 10 1 6 1 0 {} {&Close}
Rule -1
SourceLine Default CBTPG
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Enable
SourceLine else
SourceLine Disable
...
...
@@ -36,13 +36,13 @@ Version 50 TradeDesign®
SourceLine $CBTRow = 1
SourceLine Label IniLoop
SourceLine $Lin = GetLine( $Ini, $IniIdx )
SourceLine If not IsEmpty( $Lin )
T
hen
SourceLine If $GridRow > $Max
T
hen
SourceLine If not IsEmpty( $Lin )
t
hen
SourceLine If $GridRow > $Max
t
hen
SourceLine GridInsertRow( CBTPG, 0 )
SourceLine endif
SourceLine CBTPG( $GridRow )\CBTCOD = $Lin
SourceLine CBTPG( $GridRow )\CBTTXT = GetTblText( $Lin, "CBTTXT", GetUil )
SourceLine If $Lin = CBSA\CBT
T
hen
SourceLine If $Lin = CBSA\CBT
t
hen
SourceLine $CBTRow = $GridRow
SourceLine endif
SourceLine $IniIdx = $IniIdx + 1
...
...
frame/cbtpg.fr2
View file @
742bd806
...
...
@@ -8,12 +8,12 @@ Version 50 TradeDesign®
Datafield CBTTXT T 40 1 0 1 0 {} {description of type} 1
Rule -1
SourceLine CHECK CBTCOD
SourceLine If IsEmpty( CBTCOD )
T
hen
SourceLine If IsEmpty( CBTCOD )
t
hen
SourceLine Error( 'L0000000' )
SourceLine endif
Rule -1
SourceLine CHECK CBTTXT
SourceLine If IsEmpty( CBTTXT )
T
hen
SourceLine If IsEmpty( CBTTXT )
t
hen
SourceLine Error( 'L0000001' )
SourceLine endif
PanelCount 0
...
...
frame/chkfld.fr2
View file @
742bd806
...
...
@@ -8,7 +8,7 @@ Version 50 TradeDesign®
CommentLine only to be executed once to display a message possible.
CommentLine Example:
CommentLine Check something
CommentLine if IsEmpty( CCVCHK\FLG ) and ( whatever tested)
T
hen
CommentLine if IsEmpty( CCVCHK\FLG ) and ( whatever tested)
t
hen
CommentLine CCVCHK\FLG = "X"
CommentLine promptok ( "MESSAGE" )
CommentLine endif
...
...
frame/dbiact.tr2
View file @
742bd806
...
...
@@ -48,7 +48,7 @@ Version 50 TradeDesign®
SourceLine Recsavedata(WRKPTYGRP)
Rule -1
SourceLine DEFAULT DBIPTY
SourceLine If \RECPAN\PANSTA = PanStaLog
T
hen
SourceLine If \RECPAN\PANSTA = PanStaLog
t
hen
SourceLine Disable
SourceLine else
SourceLine Enable
...
...
frame/dbicbsb.fr2
View file @
742bd806
...
...
@@ -26,35 +26,35 @@ Version 50 TradeDesign®
SourceLine LnkChainTransaction( "DBICBI" )
Rule -1
SourceLine DEFAULT DBICBO
SourceLine If BaseName( GetFramename ) = "DBICBO"
T
hen
SourceLine If BaseName( GetFramename ) = "DBICBO"
t
hen
SourceLine Disable
SourceLine else
SourceLine EnAble
SourceLine endif
Rule -1
SourceLine DEFAULT DBICBT
SourceLine If BaseName( GetFramename ) = "DBICBT"
T
hen
SourceLine If BaseName( GetFramename ) = "DBICBT"
t
hen
SourceLine Disable
SourceLine else
SourceLine EnAble
SourceLine endif
Rule -1
SourceLine DEFAULT DBICBC
SourceLine If BaseName( GetFramename ) = "DBICBC"
T
hen
SourceLine If BaseName( GetFramename ) = "DBICBC"
t
hen
SourceLine Disable
SourceLine else
SourceLine EnAble
SourceLine endif
Rule -1
SourceLine DEFAULT DBICBA
SourceLine If BaseName( GetFramename ) = "DBICBA"
T
hen
SourceLine If BaseName( GetFramename ) = "DBICBA"
t
hen
SourceLine Disable
SourceLine else
SourceLine Enable
SourceLine endif
Rule -1
SourceLine DEFAULT DBICBI
SourceLine If BaseName( GetFramename ) = "DBICBI"
T
hen
SourceLine If BaseName( GetFramename ) = "DBICBI"
t
hen
SourceLine Disable
SourceLine else
SourceLine EnAble
...
...
frame/dbiswm.tr2
View file @
742bd806
...
...
@@ -257,7 +257,7 @@ Version 50 TradeDesign®
Rule -1
SourceLine Sub FrameExit
SourceLine # HotKey "Esc"
SourceLine If STA = "I"
T
hen
SourceLine If STA = "I"
t
hen
SourceLine LnkReturnToCaller
SourceLine else
SourceLine STA = "I"
...
...
frame/detp.fr2
View file @
742bd806
...
...
@@ -24,7 +24,7 @@ Version 50 TradeDesign®
SourceLine Disable
Rule -1
SourceLine Default OVWP
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Enable ( OVWP )
SourceLine else
SourceLine Disable ( OVWP )
...
...
frame/evtp.fr2
View file @
742bd806
...
...
@@ -8,14 +8,14 @@ Version 50 TradeDesign®
Rule -1
SourceLine Default EVTP0
SourceLine # Global settings of panel properties
SourceLine If PANSTA = PanStaAdd Or PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaAdd Or PANSTA = PanStaEdit
t
hen
SourceLine Enable( EVTP0 )
SourceLine else
SourceLine Disable( EVTP0 )
SourceLine endif
SourceLine # access selection button and Drag&Drop receiver for primary entry
SourceLine # (and HOLPTYGET\SDAMOD\DADRCV because its used zu select)
SourceLine If PANSTA = PanStaInquiry Or PANSTA = PanStaAdd
T
hen
SourceLine If PANSTA = PanStaInquiry Or PANSTA = PanStaAdd
t
hen
SourceLine Enable( RECGET\SDAMOD\SEAINF )
SourceLine Enable( RECGET\SDAMOD\DADRCV )
SourceLine Setvalues( RECGET\SDAMOD\DADRCV, "EVT" )
...
...
@@ -25,7 +25,7 @@ Version 50 TradeDesign®
SourceLine Setvalues( RECGET\SDAMOD\DADRCV, "" )
SourceLine endif
SourceLine # Drag&Drop sender for primary entry
SourceLine If PANSTA = PanStaInquiry Or PANSTA = PanStaDelete Or PANSTA = PanStaShow
T
hen
SourceLine If PANSTA = PanStaInquiry Or PANSTA = PanStaDelete Or PANSTA = PanStaShow
t
hen
SourceLine Enable( RECGET\SDAMOD\DADSND )
SourceLine else
SourceLine Disable( RECGET\SDAMOD\DADSND )
...
...
@@ -34,7 +34,7 @@ Version 50 TradeDesign®
SourceLine # additional fields for secondary entries
Rule -1
SourceLine DEFAULT SELADR
SourceLine if PANSTA = PanStaAdd or PANSTA = PanStaEdit
T
hen
SourceLine if PANSTA = PanStaAdd or PANSTA = PanStaEdit
t
hen
SourceLine enable
SourceLine visible
SourceLine else
...
...
frame/letp1.fr2
View file @
742bd806
...
...
@@ -24,7 +24,7 @@ Version 50 TradeDesign®
SourceLine Disable
Rule -1
SourceLine Default OVWP
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Enable ( OVWP )
SourceLine else
SourceLine Disable ( OVWP )
...
...
frame/litchg.tr2
View file @
742bd806
...
...
@@ -9,7 +9,7 @@ Version 50 TradeDesign®
20040416 MM SourceLine TRNMOD.TroLockExistingContract( LIDGRP )
Rule -1
SourceLine Check LIDGRP\REC\AVBBY
SourceLine If IsEmpty ( LIDGRP\REC\AVBBY )
T
hen
SourceLine If IsEmpty ( LIDGRP\REC\AVBBY )
t
hen
SourceLine ErrorMandatory
SourceLine endif
Rule -1
...
...
frame/litpop.tr2
View file @
742bd806
...
...
@@ -115,12 +115,12 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT SHPDEF ( LIDGRP\REC\SHPDAT , LIDGRP\BLK\SHPPER )
SourceLine If not IsEmpty( LIDGRP\REC\SHPDAT )
T
hen
SourceLine If not IsEmpty( LIDGRP\REC\SHPDAT )
t
hen
SourceLine Disable ( LIDGRP\BLK\SHPPER )
SourceLine else
SourceLine Enable ( LIDGRP\BLK\SHPPER )
SourceLine endif
SourceLine If not IsEmpty( LIDGRP\BLK\SHPPER )
T
hen
SourceLine If not IsEmpty( LIDGRP\BLK\SHPPER )
t
hen
SourceLine Disable ( LIDGRP\REC\SHPDAT )
SourceLine else
SourceLine Enable ( LIDGRP\REC\SHPDAT )
...
...
frame/lsep.fr2
View file @
742bd806
...
...
@@ -19,7 +19,7 @@ Version 50 TradeDesign®
Datafield SELEAR T 40 1 0 1 0 {} {select earmarking} 1
Rule -1
SourceLine default BPUTXTDEB
SourceLine if lsntypdeb = GetLine( GetValues( lsntypdeb ), 4 )
T
hen
SourceLine if lsntypdeb = GetLine( GetValues( lsntypdeb ), 4 )
t
hen
SourceLine invisible (BUGTXTDEB)
SourceLine invisible (BUSTXTDEB)
SourceLine visible (BPUTXTDEB)
...
...
@@ -30,7 +30,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine default BUSTXTDEB
SourceLine if lsntypdeb = GetLine( GetValues( lsntypdeb ), 3 )
T
hen
SourceLine if lsntypdeb = GetLine( GetValues( lsntypdeb ), 3 )
t
hen
SourceLine invisible (BUGTXTDEB)
SourceLine visible (BUSTXTDEB)
SourceLine invisible (BPUTXTDEB)
...
...
@@ -41,7 +41,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine default BUGTXTDEB
SourceLine if lsntypdeb = GetLine( GetValues( lsntypdeb ), 2 )
T
hen
SourceLine if lsntypdeb = GetLine( GetValues( lsntypdeb ), 2 )
t
hen
SourceLine visible (BUGTXTDEB)
SourceLine invisible (BUSTXTDEB)
SourceLine invisible (BPUTXTDEB)
...
...
@@ -285,7 +285,7 @@ Version 50 TradeDesign®
Rule -1
SourceLine CHECK LSNTYPDEB
SourceLine # check, if the debited limit type is correct when the earmarking type is "same party"
SourceLine if selear = GetLine( GetValues( selear), 1 )
T
hen
SourceLine if selear = GetLine( GetValues( selear), 1 )
t
hen
SourceLine # Credit: Group or Product / Debit: Overall
SourceLine if (lsbcre\lsn = "PTYBUG" or lsbcre\lsn = "PTYBUS") and lsntypdeb = GetLine( GetValues( lsntypdeb), 1 ) then
SourceLine error ('L0000020')
...
...
frame/rmtp.fr2
View file @
742bd806
...
...
@@ -48,7 +48,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine Default OVWP
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Enable ( OVWP )
SourceLine else
SourceLine Disable ( OVWP )
...
...
frame/srop.fr2
View file @
742bd806
...
...
@@ -14,7 +14,7 @@ Version 50 TradeDesign®
Datafield SROStream S 1 0 13 1 0 {} {ordered SROStream for visualization}
Rule -1
SourceLine Default SROPG
SourceLine If PANSTA = PanStaEdit
T
hen
SourceLine If PANSTA = PanStaEdit
t
hen
SourceLine Enable
SourceLine else
SourceLine Disable
...
...
frame/syssyn.tr0
View file @
742bd806
...
...
@@ -30,7 +30,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT MOD
SourceLine If STA = "I"
T
hen
SourceLine If STA = "I"
t
hen
SourceLine Enable
SourceLine Visible
SourceLine else
...
...
@@ -39,7 +39,7 @@ Version 50 TradeDesign®
SourceLine endif
Rule -1
SourceLine DEFAULT SAV
SourceLine If STA = "E"
T
hen
SourceLine If STA = "E"
t
hen
SourceLine Enable
SourceLine Visible
SourceLine else
...
...
@@ -68,7 +68,7 @@ Version 50 TradeDesign®
Rule -1
SourceLine Sub FrameExit global
SourceLine HotKey "Esc"
SourceLine If \STA = "I" or \STA = "N"
T
hen
SourceLine If \STA = "I" or \STA = "N"
t
hen
SourceLine LnkReturnToCaller
SourceLine else
SourceLine \STA = "I"
...
...
@@ -310,7 +310,7 @@ Version 50 TradeDesign®
SourceLine
Rule -1
SourceLine DEFAULT NEW
SourceLine If STA = "N"
T
hen
SourceLine If STA = "N"
t
hen
SourceLine Enable
SourceLine Visible
SourceLine else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment