| | |
| | | Product_MP product2, |
| | | Date startdate, |
| | | Date enddate, |
| | | Number number |
| | | String number |
| | | ) as Boolean |
| | | { |
| | | TextBody: |
| | | [* |
| | | // 甄兰鸽 Jun-5-2024 (created) |
| | | feedback := ''; |
| | | |
| | | if( isnull( unit ) or isnull( product1 ) or isnull( product2 ) or number < 1 ){ |
| | | if( [Number]number < 0 ){ |
| | | feedback := Translations::MP_ChangeLossSettingExcel_Import_PositiveInteger(); |
| | | } |
| | | if( isnull( unit ) or isnull( product1 ) or isnull( product2 ) or [Number]number = 0 ){ |
| | | feedback := Translations::MP_ChangeLossSetting_CheckNull(); |
| | | } |
| | | if( product1 = product2 ){ |