Hello Acumatica Community,
When creating an Expense Receipt from an Appointment, Acumatica out of the box does not assign the subaccount defined in the service order type.
This brings inconsistency between the expenses applied to the department/division (which it is the subaccount) and the revenue generated from the appointment.
I have created a business event that updates the subaccount on the expense receipt when it is created from the appointment.
Attached the business event, generic inquiry and import scenario for anyone that needs it.