Steve Endow explains Importing Dynamics GP AR Apply records using SQL.
Dynamics GP Land: Importing Dynamics GP AR Apply records using SQL
Payables & ReceivablesSQL & DataDevelopment & Integration
Archived post from 2014. Dynamics GP and the links it points to have changed since; check current documentation before relying on version-specific steps.