Prerequisites
If you are running the Generate ND/NC Gain and Loss - ARG program:
- Create a draft receipt and match it to the invoice. Specify the foreign currency on the Application Draft-Invoices form, and specify either payment instrument F for drafts in pesos or payment instrument C for drafts in a foreign currency on the Draft Entry form. 
- Post the receipt batch. 
If you are running the Generate ND/NC Gain and Loss Collection - ARG program:
- Add the payment instrument that is set aside for payments made in pesos for invoices in foreign currency to UDC 00/PY. 
- Add the payment instrument that you set aside to UDC 76A/PI for payments made in pesos for invoices in foreign currency. - This action prevents the exchange rate difference from being generated during draft collection so that it can be generated by the Generate ND/NC Gain and Loss Collection - ARG program (R76A8520) instead. 
- Create a draft receipt and match it to the invoice. Specify the foreign currency on the Application Draft-Invoices form and specify the payment instrument that you set aside for payments made in pesos for invoices in foreign currency on the Draft Entry form. 
- Post the receipt batch. 
- Run the Draft Collection with Status Update program (R03B680). 
- Post the batch that was generated by the draft collection process.