*//////////////////////////////////////////////////////////////* * #g4ppinv_setAttachmentValue - Set Value of Attachment * * * * Input: * * in_parameter (required) - The parameter name. * * in_value (required) - The value of the parameter. * * in_index (optional) - The index of the Attachment Record * * to update. * * * * Output: * * out_errMsg - The error message (if error exists). * * * * Returns: * * -1 for error, 0 for no error. * * * * Settable Variables ([r]=required) * * name - Attachment Name * * url - Attachment URL * * * *//////////////////////////////////////////////////////////////*D #g4ppinv_setAttachmentValue...D PR 10i 0D in_parameter 256 Varying ValueD in_value 65535 Varying ValueD in_index 10i 0 Options(*NOPASS)D out_errMsg 256 Options(*NOPASS)#g4pp_setAttachmentValue is used to set specific Attachment Record information for the current Attachment Index. You must call #g4ppinv_createAttachment prior to setting any attachment values.
Returns: 0 for success, -1 for error.
Required Parameters:
Optional Parameters:
Settable Variables: