AR invoice picks up "Ship Date Actual" from AutoInvoice Interface lines instead of "Default Date"
AR v12.2.6
AutoInvoice Master Program invoice picks up "Ship Date Actual" from AutoInvoice Interface lines as the Transaction and GL Date of AR invoice, instead of "Default Date" that is passed in while running the AutoInvoice Master Program.
This in turn, is causing issue because Ship Dates are future dates and hence AR Invoices are being created with future dates.
The peculiar thing is that this is happening only for a select few AR invoices generated from closed Sales Orders. Other invoices are picking up whichever date is being passed in "Default date"
The batch source is same in both the cases; however for few cases the AR picks "Ship Date" and for others it picks "Default Date"