Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Repository() functionSETSUBKEY MethodGet_Repos_Entities().

Example

 
Code Block
/* Get the path for the INET_INVOICE_RPT HTML document, stored in the SUB-KEY, in the result variable */
Declare Function Repository, Get_Status
AppID = @APPID<1>  ;* current application
TypeID = "DOC"  ;* ;* document type
ClassID = "HTML"  ;*  HTML class
Report_Name = 'INET_INVOICE_RPT'
entid = AppID : '*' : TypeID : '*' : ClassID : '*' : Report_Name
 
result = Repository("GETSUBKEY", entid)
/*  result now contains the path to the INET_INVOICE_RPT HTML report. */
If Get_Status(ErrCode) then
  call msg(@window, 'Error Message returned: ' : ErrCode)
  return 1
end