on 05-31-2006 8:22 AM
Hi,
Could anyone please tell me if there is any documentation available for the class CL_CRM_DOCUMENTS.
I am trying to use the COPY method of this class to copy a attachment from one lead to another. It works fine if all the documents are to be copied but i am not able to figure out how to copy a single document. What is the use of loio and phio parameters. Also I am not able to figure out the values needed to be passed to the method CREATE_FOLDER of the same class.
Please help
Thanks in advance,
Rohit
Hi Karthik,
I tried passing the loio and phio parameters and different combinations for them.. but none seems to work out.. It does not give me any error but the document does not get copied.
As for create folder when i try to execute it from the class itself.. it is asking only the 'is_target_folder' parameter.. no idea what is this used for? the function works well if called through a program.
If any documentation is available it would really be of great help.
Thanks,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rohit,
LOIO - Logical IO.
PHIO - Physical IO.
since you have the document already attached to a lead, handle LOIO parameter of the COPY method like,
LOIO-OBJTYPE = L (since its logical)
LOIO-CLASS = CRM_L_ORD
LOIO-OBJID = object guid of the document generated from
previous attachment.
for method CREATE_FOLDER, handle the parameter IS_BO like,
IS_BO-instid = object guid of the lead.
IS_BO-typeid = 'BUS2000108'.
IS_BO-catid = 'BO'.
and also handle the parameter IV_NAME and IV_DESCRIPTION.
Hope it helps.
Regards,
Karthik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.