FRM-40815 GLOBAL.%PK1 variable does not exist When opening attachment form from a customized form
I am receiving this error while trying to create an attachment from a custom form.
I followed the document on how to enable attachments on a custom form. it is working fine except that it is giving and error 'FRM-40815: Variable GLOBAL.%PK1 does not exists.
If i ignore this error an save the attachement it is not considering the primary key defined on the attachment function.
Please someone help. We are on R12.1.3