@ symbol in peoplecode
I'm trying to work out why it won't let me attach a file from a specific page in peoplesoft CRM (it will show an error saying 'The AddAttachment() call failed.') while it does let me from the PeopleTools Test Utilities.

There seems to be a problem with the URL. Looking at the traces, the lines that caught my attention the most are the following:

1. Correct trace from the PeopleTools Test Utilities:

    22:       &RETCODE = AddAttachment(@(&URL_ID), &ATTACHSYSFILENAME, &FILEEXTENSION, &ATTACHUSERFILE, &FILESIZE);

    EvalAddAttachment: processed URL catalog entry (on resume).

    IsURLValid: masked specified FTP URL = http://localhost:8230/psfiletransfer/demo/crm/
    
    GetLocalFilePath: temporary copy of file is /usrpsoft/demo/appserv/demo/files/psfileproc/A_de22a2f6-ffbf-11e0-8135-c80dfccab65c/borrador.txt




2. Trace from the pages that returns an error:

    24:       &RETCODE = AddAttachment(&URL_ID, &ATTACHSYSFILENAME, &FILEEXTENSION, &ATTACHUSERFILE, &FILESIZE);

    IsURLValid: masked specified FTP URL = http://localhost:8230/psfiletransfer/demo/crm/

    GetLocalFilePath: temporary copy of file is /usrpsoft/demo/appserv/demo/files/psfileproc/A_5da2dbaa-ffab-11e0-8135-c80dfccab65c/borrador.txt


First of all, what does the @ symbol mean in Peoplecode? in the first trace, it appears right before the URL parameter. I went through the Peoplecode documents and I couldn't find it.

And another thing: the second line of the first trace won't appear in the second trace. Does anyone know what could be happening?

Thanks!!!
@ symbol in peoplecode
===

I'm trying to work out why it won't let me attach a file from a specific page in peoplesoft CRM (it will show an error saying 'The AddAttachment() call failed.') while it does let me from the PeopleTools Test Utilities.

There seems to be a problem with the URL. Looking at the traces, the lines that caught my attention the most are the following:

1. Correct trace from the PeopleTools Test Utilities:

    22:       &RETCODE = AddAttachment(@(&URL_ID), &ATTACHSYSFILENAME, &FILEEXTENSION, &ATTACHUSERFILE, &FILESIZE);

    EvalAddAttachment: processed URL catalog entry (on resume).

    IsURLValid: masked specified FTP URL = http://localhost:8230/psfiletransfer/demo/crm/
    
    GetLocalFilePath: temporary copy of file is /usrpsoft/demo/appserv/demo/files/psfileproc/A_de22a2f6-ffbf-11e0-8135-c80dfccab65c/borrador.txt




2. Trace from the pages that returns an error:

    24:       &RETCODE = AddAttachment(&URL_ID, &ATTACHSYSFILENAME, &FILEEXTENSION, &ATTACHUSERFILE, &FILESIZE);

    IsURLValid: masked specified FTP URL = http://localhost:8230/psfiletransfer/demo/crm/

    GetLocalFilePath: temporary copy of file is /usrpsoft/demo/appserv/demo/files/psfileproc/A_5da2dbaa-ffab-11e0-8135-c80dfccab65c/borrador.txt


First of all, what does the @ symbol mean in Peoplecode? in the first trace, it appears right before the URL parameter. I went through the Peoplecode documents and I couldn't find it.

And another thing: the second line of the first trace won't appear in the second trace. Does anyone know what could be happening?

Thanks!!!