createAttachment(Attachment, long) method

Create a new attachment.

Syntax

long createAttachment ( Attachment attachment , long callerId ) throws EntityMandatoryException

Parameters

Exceptions

Usage

Either the customer or the transaction field have to be set