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 the second parameter, Beas uses 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 supports only the setting in column "Decimal", but not the rounding definition in "Rounding"
If not, Beas uses the default price rounding, which you can set in General settings > display > Prices:
beas 9.2 PL: 05
|
|