Hi Mandy,
Account Type is set based on Commondity Code selected at line item level. There is an object CommodityExportMapEntry holding mapping of Commodity Code, Account and Account Type. Account Type is maintained in AccountType.csv file at None level.
Incase, you want to define different Account Types then follow below steps:
1) Update AccountType.csv file stored at below location
.ariba\Buyer\Server\config\variants\Plain\partitions\None\data
AccountType.csv
//Sample data
Cp1252
"UniqueName","Name","Description"
"Expense","Expense",""
"Lease","Lease",""
"Capital","Capital",""
"MONETARY","MONETARY",""
2) Run "Import Account Types" integration event at None level to load your AccountType.csv file
3) Map CommodityCode and AccountType in CommodityExportMapEntry. Based on this mapping, AccountType should be set based on selected Commodity Code.
.ariba\Buyer\Server\config\variants\Var2\partitions\Part2\data\CommodityExportMap.csv
Thanks & Regards,
Amit Gupta