Normally, postings are always done to the WIP account which is stored in the work order. If multiple WIP accounts are allowed, automatic account determination depends on the setting in item, by item warehouse, or item group definition – WIP account.
Here the account determination can be overwritten with Beas script. Max script length: 255 characters.
The following variables are available:
<ls_bom_itemcode> item to be posted
The account can be determined via "setvar = ls_bomaccount = <account-code>"
If the variable is not filled, the default account is used.
The value "oact.acctcode" is to be used, not the visible account number.
If an incorrect value is specified, this will lead to accounting errors.
If for the script 255 characters are not sufficient, the script can be saved to a file in the project folder and can be called up using "batch = ...". For more details, refer to the Beas-Script documentation.
see
beas-Script-Syntax
Account setting
|