Posts

Showing posts from August, 2024

API to update PO

 API's to update Purchase Order in R12 For all these API context needs to be set. =====API to Update Requestor               PO_Mass_Update_PO_GRP.Update_Persons                                     ('DELIVER TO'    ,      --p_update_person                                      G_OLD_PERSON_ID,       --p_old_personid     ,                                      L_NEW_PERSON_ID,       --p_new_personid     ,                                      NULL,                  --p_document_type    ,                                      p_po_number,           --p_document_no_from ,                                      p_po_number,           --p_document_no_to   ,                                      NULL,                  --p_date_from        ,                                      NULL,                  --p_date_to          ,                                      NULL,                  --p_supplier_id      ,                                      'N',                   --p_include_clos

Form Personalization error message with values from database tables

Image
 Business requirements of custom pop-up error message containing values from DB When requirements demands pop-up error messages in form personalization to fetch values from database tables based on the user entered input in the form window. Form personalization can be achieved as shown below : Message text: ='Duplicate Number- ' || :BLOCK.DISPLAY_COL1 || '. Alert Duplicate value entered. Check Ref COL.' || (select character24   from qa_results qr, qa_plans qp where qr.plan_id =qp.plan_id and qp.name = :Q_RES_HEAD.NAME  and qr.character1= :Q_RES.DISPLAY1)