You must convert the return value
SAP Decimal-Field
|
<item.5.value,sbonum>
|
SAP Price-Field
|
<item.5.value,sboprice>
|
SAP Date
|
<item.5.value,sbodate>
|
SAP Currency from Price-Field
|
<item.5.value,string2currency>
|
Convert beas-Script-Number to SAP-Numeric
|
item.5.value=<ls_variable,tosbonum>
|
Round value with SAP B1 Rules
|
<item.5.value,sboround>
<item.5.value,sboround [ls_currency]>
round the value with SAP Price rounding rounding rule
if you don't define the currency in second parameter, beas use the Main Currency
Rounding type: Business rule
Example with 2 decimal places:
0.123 -> 0.120
0.125 -> 0.13
if you set the currency in the format string, beas check, if you have a special rule in the currency setup

beas support only the setting in column "Decimal", but not the rounding definition in "Rounding"
if not, beas use the default price rounding, which you can set in general settings - display - Prices

beas 9.2 PL: 05
|
|