Financial accounting

Under accrual accounting, when is revenue generally recognized for a completed sale on credit?