Inventory write off - cost account

hi all

i define my items and put the custom expence account for it


above the example

is it neccecary to allocate account during write -off

second question is this if the above question is answer yes
what if i make multiply entry for write-off and each item expence allocation is diffrent
any slotion?