QAD interview question

Explain the accounting process for A/R and A/P.