Please enable JavaScript.
Coggle requires JavaScript to display documents.
DpmsContractCompletionJob (completeDpmsHoldings (dpmsBuyInfo…
DpmsContractCompletionJob
voidCpfDpmsTrades
DpmsBuyInfo
status = processing
payment method != cheque
transaction type = buy or rsp
check all IamBuyFundInfo voided
void DpmsBuyInfo
DpmsSellInfo
status = processing
payment method != cheque
transaction type = sell
check all IamSellFundInfo voided
void DpmsSellInfo
completeDpmsHoldings
dpmsBuyInfo
status = processing
TransactionType = Switch Buy
dpmsSwitchBuyRebalancingHoldingsProcess
TransactionType != Switch Buy
dpmsBuyHoldingsProcess
dpmsSellInfo
status = processing
transaction type = sell
check all iamSellFundInfo complete
complete dpmsSellInfoBean
setStatus
setCompleteDate
setRedemptionSettlementDate
deleteDpmsHoldings when
and
no DpmsBuyInfo complete
after DpmsSellInfo Generate
redeem all
or
dpmsUnderlyingIamBuySellTrans is empty
dpmsRebalancingInfo
status = processing
complete dpmsRebalancingInfo when complete
utBuyContractsCompletedOrEmpty
etfBuyContractsCompletedOrEmpty
utSellContractsCompletedOrEmpty
etfSellContractsCompletedOrEmpty
transferDpmsCashAccountForSell
dpmsSellInfo
TRANSACTION_TYPE_SELL
DPMS_TRANSACTION_STATUS_COMPLETE
CA_TRANSFERRED_FLAG = N
get scaleFxRate if
!SGD
Trust Account
sysdate = RSD - 1
calculate totalRedeemAmount and send email
calculate totalRedeemAmount & totalProceedsSgd
withdraw TrustAccount Balance when
no processing dpmsBuyInfo
no received dpmsBuyInfo whose inception date >= sysdate and TA or Cheque
redeem all
!CPF
Withdrawal from D cash account
create CWDP
Deposit into P cash account
create CSDP
if DPMS_PAYMENT_MODE_CHEQUE :red_flag:
create CWTA : received
update P cash account
set CA_TRANSFERRED_FLAG = Y
CPF
require CSUT under DpmsSellInfo exists
updateDpmsTrustTransferForFullSell
transferResidualDividend