/
MAF CLOUD - NEW RELEASE + FIX UPDATES OCT 2023

MAF CLOUD - NEW RELEASE + FIX UPDATES OCT 2023

27 Oct 2023 -VERSION 3.1.7.1

Issue/Request

Type

User Guide

Jira Ticket

Issue/Request

Type

User Guide

Jira Ticket

get API token for API access in the future

for admin account only

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4323

change p/l from open position app issue

  1. download content time is too long

  2. exception in console

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4304

some of stock can not do recalculate

enable checkbox for all row. I will disabled those action button if user chooses Pairs stock, users need to know why those button are disabled.

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4329

add Tradex sftp settings table in company data

To setup SFTP for tradex, go to 'Tradex SFTP' under company data to fill up required details of it.

  1. Test the function in the table (insert/delete/update)

Once setup done, go to paper trade page and open TRADEX dropdown to select one of sftp from 1. table to open the Tradex files that had been stored in SFTP
(Must be valid IP, PORT, USERNAME and PASSWORD from 1. table) to retrieve the file list or else BE will return error.

  1. Test the remaining functions (download, open the file to create new paper trade page etc.)

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4330

231027 采销资金备注

when split, remarks' contents should remain

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4334

stock Mgmt calculate button logic changes

currnetly we only consider stock in and out.

 

we need to consider all stocks regardless stock in/out or swap in/out.

coz sometime there is a certain loss when swap in and out.

e.g, move out 1000 MT, but move in 999.2 MT. there will be 0.8MT loss in total stock.

when recalculate, please include all stock_actions

STOCK_ACTIONS = {
STOCK_IN: 'STOCK IN',
STOCK_OUT: 'STOCK OUT',
SWAP_IN: 'SWAP IN',
SWAP_OUT: 'SWAP OUT'
}

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4332

26 Oct 2023 -VERSION 3.1.7.1

Issue/Request

Type

User Guide

Jira Ticket

Issue/Request

Type

User Guide

Jira Ticket

TRADEX - MAF paper trade integration

  1. double click to open file to BE, not double click to select file.

  2. multiple select must hold shift + single click

  3. single click one file, will dismiss select from selected file.

  4. if click from 1st, hold shift and click last one , it should select all between 1st to last

just ensure it is the same keyboard operation in excel.

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4301

231018 更新的结算价加上发票日期

stock management search function

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4309

231025 收票 不同账号看到的合同不一样

So the issues are need to be checked later are:

  1. Ensure the filter and logic only exist in PS Ledger allocate

  2. tick should be reset when close the window. It should untick by default when open the window.

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4326

25 Oct 2023 -VERSION 3.1.7.1

Issue/Request

Type

User Guide

Jira Ticket

Issue/Request

Type

User Guide

Jira Ticket

stock detail group exception

in stock mgmt table, when drag a column to group, got error.

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4325

paper trade portfolio name mapping for tradex file

for Tradex and only for Tradex

BE will return portfolio_name in trade row

please map portfolio_name in the portfolio name list in FE. if not in the list, show it in red.

if it is in the list, then add portfolio_name (portfolio_id) in the table.

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4322

paper trade upload bug for tradex

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4321

230831 库存明细 unstock qty empty

unstock qty should nvr be empty even for users in group level account

update contract qty and unstock qty should be auto updated

I have added a column to store stock_contract_qty in phy trade database.

previously, we do calculation of stock_contract_qty in memory when select phy trade.

now we store it into database, we do not need to calculation anymore. we handle it in the ways like what we have done for inv_qty.

please amend it accordingly and we have to show un stock qty in stock mgmt table.

i have just changed the key to total_stock_qty in phy_trade

total_stock_qty is sum up all stock_qty (stock_contract_qty or stock_qty) just like what we have done for inv_qty in phy_trade.

btw, we need use total_stock_qty to replace the key stock_contract_qty in many places. need to check carefully.

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4253

231016 客户更名

add a status column in company data table, if select INVALID for the counterparty, then the counterparty will not appear in the counterparty drop down list

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4307

cannot allocate portfolio for paper trades bug fixed

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4324

230911 合同拆分后续 point 1 undone

when split trade, psl and stock mgmt amount and quantity will be auto split accordingly

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4232

add total_actual_stock_qty in phy trade database

  1. add total_actual_stock_qty in phy trade database

    1. added in testing server

  2. amend calculateWhPsl

    1. stock_actual_qty

    2. qty_variation

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4265

remove split function in old phy trade page

 

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4268

paper trade keys dictionary

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4275

230911 合同拆分后续 point 1 undone - add negative sign to split qty

  1. if it is a sale contract, the split qty in this pop up box should show it is auto negative right? currently it is not. but after split it is auto negative

  2. qty value to BE must be positive no matter it is sale or purchase contract.

     

i think that is good suggestion.

  1. let’s show PURCHASE or SALE

  2. NEW SPLIT QTY, will auto convert to negative if it is sale, and positive if it is PURCHASE. (but value to BE still positive no matter P or S)

  3. please issue a new ticket for FE

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4276

replace of stock_contract_qty

in current code, there are lots of places where BE is using stock_contract_qty as total_stock_qty.

since phy trade already have total_stock_qty, not stock_contract_qty is dismissed, please use total_stock_qty to replace of stock_contract_qty.

 

highlight:

stock_contract_qty is also one of columns in stock_mgmt database table. please do not change those stock_contract_qty keys

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4279

in new phy trade page, when reset psl and invoice using this button, need to reset all stock-related qty too - same logic

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4281

add recalculate button in stock management page

similar logic as the recalculate button in ps ledger

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4282

24 Oct 2023 -VERSION 3.1.7.0

Issue/Request

Type

User Guide

Jira Ticket

Issue/Request

Type

User Guide

Jira Ticket

231023 采销资金分批

check what filter FE is using to list phy trade in third panel currently. I guess one of keys is ‘third party’ or ‘counterparty’.

means contract connterparty must be the same as third party in psl data.

now, user requests we add a tick box, once it is ticked, then remove countparty key from the filters. so FE will refresh phy trade lists in third panel based on new filter.

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4320

23 Oct 2023 -VERSION 3.1.7.0

Issue/Request

Type

User Guide

Jira Ticket

Issue/Request

Type

User Guide

Jira Ticket

231018 更新的结算价加上发票日期

when double click the cell, phy trade id of the row will be passed to BE and when opening the new tab and trigger its related API, it will only show the selected phy trade id rows in the table.

If need to check the other rows other than the selected phy trade id rows need to click the search for date range to show the other data.

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4309

231013 交易模式选择性修改

allow changing of trade mode for at the moment - 可以,先让内贸,交割,期转现,长单这几种可以相互换

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4303

231013 新现货合同页添加要素 split issue

when split trade, FE also need pass business_mode into BE.

after split trade, business mode should be the same as original trade

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4317

231023有款项总额无日期

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4318

 

 

20 Oct 2023 -VERSION 3.1.7.0

Issue/Request

Type

User Guide

Jira Ticket

Issue/Request

Type

User Guide

Jira Ticket

出入库计划表错误 issue 2

when stock_mgmt stock_band is empty from select, and link contract no has brand, FE will auto fill up band into stock_band. but

  1. after auto fill, please treat it as value changed, show it in green as normal update value

  2. which is allowed user to SAVE to update stock_band

 

please debug it with test2 in testing server. there are some cases for you to try.

1557
1560
1449
1561


how to test:

  1. create stock row with contract no which has no brand, and leave brand as empty and save

  2. go to phy trade to add brand into the contract no

  3. go back to stock magt table

  4. currently, you can see the brand auto fill

    1. but FE did not show it in green, which means value updated

    2. can not save

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4306

231019 全电开票申请出错

Make sure that only the row/s got series no can click Digital Invoice button 全电开票, before the fix if you select row got inv series no, and select another row without inv series no, actually it can click the button which is bug

 

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4313

231013 新现货合同页添加要素

现货合同页需要加上以下信息:

  1. 业务模式:手动填写,带记忆功能

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4302

231018 合同均分添加要素 point 1

  1. 因为财务要求,有些产品因为成分或是用途等不同,导致财务处理里需要分成两个产品来处理,因此在均分合同页面麻烦帮忙添加一个产品框,

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4310

19 Oct 2023 -VERSION 3.1.7.0

Issue/Request

Type

User Guide

Jira Ticket

Issue/Request

Type

User Guide

Jira Ticket

cancel trade require delete ps ledger, invoice and stock; dong said not feasible

when cancel trade (not delete), if have ps ledger/stock/invoice, will have this error

dong said it is not feasible as they still need the ps ledger/stock/invoice data for refund/return

Enhancement

 

https://mafint.atlassian.net/browse/MAF-4305

更新的结算价加上发票日期

add invoice date in updated settlement

Double-click the cell to open a new window showing the stock details for the selected contract number

 

Enhancement