MSCA: Account Alias Issue - inv_trx_util_pub.insert_line_trx API truncates the input data
Issue:
I entered a 230 characters text (Transaction Reference) in the MSCA (Account Alias Receipt) function. After I saved the transaction, it calls the inv_trx_util_pub.insert_line_trx api in the background and it is supposed to show the 230 characters text in the (TRANSACTION_REFERENCE) column in the MTL_MATERIAL_TRANSACTIONS database table but it only shows 40 characters only.
I made sure that a) the MSCA Account Alias Receipt function field accepts up to 240 characters
b) I also checked that inv_trx_util_pub.insert_line_trx API is not limited to 40 characters anywhere.
c) TRANSACTION_REFERENCE column length is 240 characters in the MTL_MATERIAL_TRANSACTIONS table