際際滷

際際滷Share a Scribd company logo
CaseMaster速 2017 息
CaseMaster速 2017 息





setEC(
'client'
,bo.loadByPK(
'cd/client'
,qs(
'-pk.client'
)
)
)
concat(
'Hello '
,bo.attr(
[client]
,'name'
)
)
CaseMaster速 2017 息



setEC(
name: 'client'
,value: bo.loadByPK(
entity: 'cd/client'
,pk: qs(
'-pk.client'
)
)
)
CaseMaster速 2017 息




bo.loadByPK(
'rd/globalSettings'
,1
)
// 257ms loaded, 1st load
bo.loadByPK(
'rd/globalSettings'
,1
)
// 7ms loaded, 2nd load
CaseMaster速 2017 息
CaseMaster速 2017 息
CaseMaster速 2017 息


ASYNC setEC( 'client', bo.loadByPK( 'cd/client', qs( '-pk.client' ) ) )
ASYNC setEC( 'debt', bo.loadByPK( 'cd/debt', qs( '-pk.debt' ) ) )
SYNC
buildString( ','
, bo.attr( [client], 'name' )
, bo.attr( [debt], 'accountReference' )
)
END-SYNC
CaseMaster速 2017 息


INHERIT 'cd/location'
FUNCTION name: 'getAddress'
IF isNull( bo.attr( [_me], 'address' ) )
EXIT call( '../getAddress' )
ELSE
EXIT bo.attr( [_me], 'address' )
END-IF
END-FUNCTION
CaseMaster速 2017 息


MAIN
.BO
..CLIENTS
.cd/client
.. ORDERS
. cd/order
. cd/orderLine
SHADOW 1
.BO
.. ORDERS
. cd/orderLine
SHADOW 2
.BO
..CLIENTS
.cd/client
CaseMaster速 2017 息
CaseMaster速 2017 息

More Related Content

10 exciting features of CaseMaster 2.0