This document describes how to redesign your "Classic" pages to support the integration of Office documents.
You can call the OFFICE_DOC function using one of the following code:
RET_VALUE= func AOFFDOC.OFFICE_DOC(OBJCODE, CLASSNAME, REPRNAME, KEYS,LANISO,COMPANY,LEGISLATION,ACTIVITY_CODE)
All parameters are sent as value parameters:
| Parameter | Description |
|---|---|
| OBJCODE | Code of the version 6 object. |
| CLASSNAME | Name of the version 7 class, which implements the version 7 version of the OBJCODE object. |
| REPRNAME | Name of the version 7 representation which handles events of the CLASSNAME class. |
| KEYS | Keys of the object. |
| LANISO | ISO language code. |
| COMPANY | Company. |
| LEGISLATION | Legislation. |
| ACTIVITY_CODE | Activity code. |
The return status is [V]CST_AOK if the function succeeds, otherwise, it is [V]CST_AERROR.
Caution: This code is not compatible with the Windows client. It must be run in "Classic" pages or in native pages.