Not able to approve PO due to Currency rate_type issue
The functional currency of the Operating Unit is AUD and I want to create PO in USD.
First I'm inserting the data in po_headers_interface with the required currency (USD), rate_type, rate and rate_date.
After autocreating the PO, when I'm trying to APPROVE it, it gives me error
1. "Error:Purchase document has no rate type"
2. Error: Line # 1 Shipment # 1 Distribution # 1 Distribution is missing foreign currency rate
When I click on 'Currency' on PO screen, and try to Approve the PO, it gets approved.
Following is the code snipet:
insert into po_headers_interface
(interface_header_id,