Generating IDM XML file for Purchase Order Use this procedure to generate the XML file to use when modifying IDM template for Purchase Order. Select Supply Management > Supply Management Setup > Purchasing > Purchasing IDM XML. Search, select, and open a purchase order record. Click Store XML to save the file. On the Stored Purchase Order XML tab, click the attachment link to download the XML file. You can now use the IDM XML when editing the IDM template. For more details, see Creating and modifying IDM templates.