{"id":31176,"date":"2026-01-06T08:26:08","date_gmt":"2026-01-06T08:26:08","guid":{"rendered":"http:\/\/kovaion-new1.local\/generation-of-letter-from-document-of-records-when-using-hdl\/"},"modified":"2026-01-06T12:50:38","modified_gmt":"2026-01-06T12:50:38","slug":"generation-of-letter-from-document-of-records-when-using-hdl","status":"publish","type":"post","link":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/generation-of-letter-from-document-of-records-when-using-hdl\/","title":{"rendered":"Generation of Letter from Document of Records When using HDL"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p>With the 20B upgrade, Oracle has provided a feature to Generate Letters Based on Document Records.<\/p>\n<p><strong>Read More<\/strong>: <strong><a href=\"https:\/\/www.kovaion.com\/blog\/automated-generation-letter-dor\/\" rel=\"noopener\">Automated Generation of Employee Letter from DOR<\/a><\/strong><\/p>\n<p>Now with the recent 23A update, Oracle has further refined the process of generating letters and storing them as document record attachments in Oracle HCM Cloud. So, users can download letters, even when document records are created using HCM DATA LOADER\/REST API. Also, users can utilize this feature as a repository to conveniently download any necessary letters while on the go and utilize them as needed.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Case Study:<\/strong><\/h2>\n<p>To understand the functionality of the &#8220;Generate Letter Based on Document Record when using HDL&#8221; feature, let&#8217;s consider an example. Imagine that a group of employees from an organization are traveling abroad for a business meeting or customer event. These employees are required to provide their visa details, after which the organization can provide an authentication letter to each employee. This feature is especially convenient for generating bulk letters on-the-fly for employees in such situations.<\/p>\n<p>&nbsp;<\/p>\n<h2><strong>Steps to Enable:<\/strong><\/h2>\n<p><strong>Step 1:<\/strong> To begin, access the Setup and Maintenance work area.<\/p>\n<figure id=\"attachment_5201\" aria-describedby=\"caption-attachment-5201\" style=\"width: 677px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5201\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.1-Navigation-for-Setup-and-Maintenance-work-area-300x70.png\" alt=\"Generation of Letter from Document of Records When using HDL - Navigation for Setup and Maintenance work area\" width=\"677\" height=\"158\" \/><figcaption id=\"caption-attachment-5201\" class=\"wp-caption-text\"><strong>Fig.1 Navigation for Setup and Maintenance work area<\/strong><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><strong>Step 2:<\/strong> Next, locate and select the task named Manage Enterprise HCM Information.<\/p>\n<figure id=\"attachment_5202\" aria-describedby=\"caption-attachment-5202\" style=\"width: 671px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5202\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.2-Manage-Enterprise-HCM-Information-Task-search-area-300x89.png\" alt=\"Generation of Letter from Document of Records When using HDL - Manage Enterprise HCM Information Task search area\" width=\"671\" height=\"199\" \/><figcaption id=\"caption-attachment-5202\" class=\"wp-caption-text\"><strong>Fig.2 Manage Enterprise HCM Information Task search area<\/strong><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><strong>Step 3:<\/strong> Then, choose the document record source for the Letter Generation Configuration based on the EFF context of the document.<\/p>\n<figure id=\"attachment_5203\" aria-describedby=\"caption-attachment-5203\" style=\"width: 669px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5203\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.3-Letter-Generation-Configuration-Based-on-Document-Record-Source-300x132.png\" alt=\"Generation of Letter from Document of Records When using HDL - Letter Generation Configuration Based on Document Record Source\" width=\"669\" height=\"294\" \/><figcaption id=\"caption-attachment-5203\" class=\"wp-caption-text\"><strong>Fig.3 Letter Generation Configuration Based on Document Record Source<\/strong><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><strong>Note<\/strong>: It is important to note that the options available in the Document Record Source column are populated from the ORA_PER_DOR_SOURCE lookup and only the supported values will be displayed in the list. This ensures the validity of the selection.<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 4:<\/strong> Navigate to Reports and Analytics and create a report using the RTF template with the source as a basic query (as per requirement) provided below. Make sure to create reports under Custom -&gt; Human Capital Management.<\/p>\n<figure id=\"attachment_5204\" aria-describedby=\"caption-attachment-5204\" style=\"width: 665px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5204\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.4-SQL-code-execution-area-for-report-creation-300x140.png\" alt=\"Generation of Letter from Document of Records When using HDL - SQL code execution area for report creation\" width=\"665\" height=\"310\" \/><figcaption id=\"caption-attachment-5204\" class=\"wp-caption-text\"><strong>Fig.4 SQL code execution area for report creation<\/strong><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p>Select distinct<br \/>\npapf.person_number<br \/>\n,ppnf.display_name<br \/>\n,&#8217;Tourist Visa&#8217; Visa_Type<br \/>\n,HDOR.ISSUING_AUTHORITY<br \/>\n,HDOR.ISSUING_COUNTRY<br \/>\n,HDOR.ISSUING_LOCATION<br \/>\n,to_char(HDOR.ISSUED_DATE,&#8217;YYYY\/MM\/DD&#8217;) ISSUED_DATE<br \/>\n,to_char(HDOR.DATE_FROM,&#8217;YYYY\/MM\/DD&#8217;) Valid_From<br \/>\n,to_char(HDOR.DATE_TO, &#8216;YYYY\/MM\/DD&#8217;) Valid_To<br \/>\n,pplf.SEX Gender<br \/>\n,to_char(pp.DATE_OF_BIRTH,&#8217;YYYY\/MM\/DD&#8217;) DATE_OF_BIRTH<br \/>\n,pplf.MARITAL_STATUS<\/p>\n<p>from<br \/>\nper_all_people_f papf<br \/>\n,per_person_names_f ppnf<br \/>\n,Per_persons pp<br \/>\n,PER_PEOPLE_LEGISLATIVE_F pplf<br \/>\n,HR_DOCUMENTS_OF_RECORD HDOR<br \/>\n,HR_DOCUMENT_TYPES_TL HDT<br \/>\nwhere<br \/>\n1=1<br \/>\nand pp.person_id = papf.person_id<br \/>\nand papf.person_id = pplf.person_id<br \/>\nand papf.person_id = ppnf.person_id<br \/>\nand papf.person_id = HDOR.PERSON_ID<br \/>\nand HDOR.DOCUMENT_TYPE_ID = HDT.DOCUMENT_TYPE_ID<br \/>\nand HDT.DOCUMENT_TYPE = &#8216;VISA Letter&#8217;<br \/>\nand HDOR.LAST_UPDATE_DATE = (select max(HDOR1.LAST_UPDATE_DATE) from HR_DOCUMENTS_OF_RECORD HDOR1 where HDOR1.PERSON_ID=HDOR.PERSON_ID and trunc(HDOR1.LAST_UPDATE_DATE) &lt;= trunc(sysdate)) and sysdate BETWEEN papf.EFFECTIVE_START_DATE AND papf.EFFECTIVE_END_DATE and sysdate BETWEEN ppnf.EFFECTIVE_START_DATE AND ppnf.EFFECTIVE_END_DATE and sysdate BETWEEN pplf.EFFECTIVE_START_DATE AND pplf.EFFECTIVE_END_DATE<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 5:<\/strong> Create a report using the RTF template. The report looks as below.<\/p>\n<figure id=\"attachment_5205\" aria-describedby=\"caption-attachment-5205\" style=\"width: 705px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5205\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.5-Report-Path-300x143.png\" alt=\"Generation of Letter from Document of Records When using HDL - Report Path\" width=\"705\" height=\"336\" \/><figcaption id=\"caption-attachment-5205\" class=\"wp-caption-text\"><strong>Fig.5 Report Path<\/strong><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><strong>Step 6:<\/strong> Navigate to Set up and Maintenance. Search for the \u201cDocument Type\u201d task.<\/p>\n<figure id=\"attachment_5206\" aria-describedby=\"caption-attachment-5206\" style=\"width: 703px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5206\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.6-Document-Type-Task-Search-area-300x116.png\" alt=\"Generation of Letter from Document of Records When using HDL - Document Type Task Search area\" width=\"703\" height=\"272\" \/><figcaption id=\"caption-attachment-5206\" class=\"wp-caption-text\"><strong>Fig.6 Document Type Task Search area<\/strong><\/figcaption><\/figure>\n<p><strong>Step 7:<\/strong> Click on &#8220;+&#8221; to create a document.<\/p>\n<figure id=\"attachment_5207\" aria-describedby=\"caption-attachment-5207\" style=\"width: 698px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5207\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.7-Document-Creation-area-300x116.png\" alt=\"Generation of Letter from Document of Records When using HDL - Document Creation area\" width=\"698\" height=\"270\" \/><figcaption id=\"caption-attachment-5207\" class=\"wp-caption-text\"><strong>Fig.7 Document Creation area<\/strong><\/figcaption><\/figure>\n<p><strong>Step 8:<\/strong> Furnish all the details. And, make sure the created report path is accurate. Next, click on Save and Submit.<\/p>\n<figure id=\"attachment_5208\" aria-describedby=\"caption-attachment-5208\" style=\"width: 701px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5208\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.8-Document-creation-with-required-details-area_1-300x131.png\" alt=\"Generation of Letter from Document of Records When using HDL - Document creation with required details area_1\" width=\"701\" height=\"306\" \/><figcaption id=\"caption-attachment-5208\" class=\"wp-caption-text\"><strong>Fig.8 Document creation with required details area_1<\/strong><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_5209\" aria-describedby=\"caption-attachment-5209\" style=\"width: 696px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5209\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.9-Document-creation-with-required-details-area_2-300x93.png\" alt=\"Generation of Letter from Document of Records When using HDL - Document creation with required details area_2\" width=\"696\" height=\"216\" \/><figcaption id=\"caption-attachment-5209\" class=\"wp-caption-text\"><strong>Fig.9 Document creation with required details area_2<\/strong><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><strong>Step 9:<\/strong> Prepare an HDL (sample below) of the DocumentsOfRecord business object to create a VISA document under documents of record for employees.<\/p>\n<p>METADATA|DocumentsOfRecord|PersonNumber|DocumentType|DocumentCode|DocumentName|DateFrom|DateTo|IssuedDate|IssuingAuthority|IssuingCountry|IssuingLocation MERGE|DocumentsOfRecord|197963|VISA Letter|VISA_Letter_197963|VISA Letter_197963|2023\/01\/01|2023\/12\/31|2023\/01\/15|Government Of India|IN|Bangalore<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Step 10:<\/strong> Go to My Client Group &gt; Data Exchange &gt; Import and Load Data &gt; Import File and wait till loading success.<\/p>\n<figure id=\"attachment_5210\" aria-describedby=\"caption-attachment-5210\" style=\"width: 729px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5210\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.10-HCM-Data-Loader-File-Import-and-Load-work-area-300x107.png\" alt=\"Generation of Letter from Document of Records When using HDL - HCM Data Loader File Import and Load work area\" width=\"729\" height=\"260\" \/><figcaption id=\"caption-attachment-5210\" class=\"wp-caption-text\"><strong>Fig.10 HCM Data Loader File Import and Load work area<\/strong><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<figure id=\"attachment_5211\" aria-describedby=\"caption-attachment-5211\" style=\"width: 738px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5211\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.11-HCM-Data-Loader-Result-300x61.png\" alt=\"Generation of Letter from Document of Records When using HDL - HCM Data Loader Result\" width=\"738\" height=\"150\" \/><figcaption id=\"caption-attachment-5211\" class=\"wp-caption-text\"><strong>Fig.11 HCM Data Loader Result<\/strong><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><strong>Step 11:<\/strong> Navigate to the Documents of Records page where employees can see created document and download it.<\/p>\n<figure id=\"attachment_5212\" aria-describedby=\"caption-attachment-5212\" style=\"width: 739px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5212\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Fig.12-Document-Of-Record-page-300x155.png\" alt=\"Generation of Letter from Document of Records When using HDL- Document Of Record page\" width=\"739\" height=\"382\" \/><figcaption id=\"caption-attachment-5212\" class=\"wp-caption-text\"><strong>Fig.12 Document Of Record page<\/strong><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><strong>Step 12:<\/strong> Click on Preview and download, once the document is downloaded you can view the generated Letter.<\/p>\n<figure id=\"attachment_5223\" aria-describedby=\"caption-attachment-5223\" style=\"width: 487px\" class=\"wp-caption alignnone\"><img loading=\"lazy\" decoding=\"async\" class=\" wp-image-5223\" src=\"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-content\/uploads\/2026\/01\/Generation-of-Letter-from-Document-of-Records-When-using-HDL-300x242.png\" alt=\"Generation of Letter from Document of Records When using HDL\" width=\"487\" height=\"393\" \/><figcaption id=\"caption-attachment-5223\" class=\"wp-caption-text\"><strong>Fig.13 Generation of Letter from Document of Records When using HDL<\/strong><\/figcaption><\/figure>\n<p>&nbsp;<\/p>\n<p><strong>Business Benefits<\/strong><\/p>\n<p>Here are the business benefits for the generation of letters from documents of records when using HDL (HCM Data Loader)<\/p>\n<ul>\n<li>Eliminate Employee dependency on any letter generation.<\/li>\n<li>Automatically, the letter will be stored as an attachment in the person&#8217;s document record.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><strong>Author<\/strong>: Kishore Kolluru, Senior Consultant<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; With the 20B upgrade, Oracle has provided a feature to Generate Letters Based on Document Records. Read More: Automated Generation of Employee Letter from DOR Now with the recent 23A update, Oracle has further refined the process of generating letters and storing them as document record attachments in Oracle HCM Cloud. So, users can [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":25122,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"inline_featured_image":false,"footnotes":""},"categories":[18],"tags":[],"class_list":["post-31176","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-oracle-hcm"],"acf":[],"_links":{"self":[{"href":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-json\/wp\/v2\/posts\/31176","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-json\/wp\/v2\/comments?post=31176"}],"version-history":[{"count":1,"href":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-json\/wp\/v2\/posts\/31176\/revisions"}],"predecessor-version":[{"id":31177,"href":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-json\/wp\/v2\/posts\/31176\/revisions\/31177"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-json\/wp\/v2\/media\/25122"}],"wp:attachment":[{"href":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-json\/wp\/v2\/media?parent=31176"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-json\/wp\/v2\/categories?post=31176"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/stage.kovaionplay.com\/stage-kovaion\/wp-json\/wp\/v2\/tags?post=31176"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}