DeleteAttachment
This service deletes the specified attachment.
URL (general format)
SERVER:PORT/lawson-ios/action/DeleteAttachment <parameter=key>
Required Parameters
| Parameter Key | Value Type | Parameter Description | 
|---|---|---|
| dataArea | Alphanumeric string | The data area where the attachment is stored | 
| filename | Alphanumeric string | The file name where the attachment is stored | 
| indexName | Alphanumeric string | The index used to find the attachment | 
| Kxx | Alphanumeric string | The keys of the attachment. Individually specify using increasing numbers, K1=XX K2=YY K3=ZZ | 
| lIndex | Alphanumeric string | The L index of this attachment | 
| attachmentNbr | Alphanumeric string | The unique key of the attachment | 
Optional Parameters
| Parameter Key | Value Type | Parameter Description | 
|---|---|---|
| attachmentCategory | "C" or "U" only (comment or URL) | The category of the attachment. | 
Example URL
SERVER:PORT/lawson-ios/action/DeleteAttachment?dataArea=PROD&fileName=EMPLOYEE&indexName=INDEX1&attachmentCategory=C&K1=XX&K2=YY&K3=ZZ&lIndex=MM&attachmentNbr=XY
Deprecated CGI information
The DeleteAttachment service replaces some functionality of the CGI: writeattach.exe
CGI URL: SERVER:PORT/cgi-lawson/writeattachrec.exe?_PDL=PROD&_FN=EMPLOYEE&_IN=INDEX1&_ATYP=C&K1=XX&K2=YY&K3=ZZ&_KS=KY&_AK=XY&_OPM=D
| CGI parameters | DeleteAttachment equivalents | 
|---|---|
| _PDL | dataArea | 
| _FN | filename | 
| _IN | indexName | 
| Kxx | Kxx | 
| n/a | lIndex | 
| _AK | attachmentNbr | 
| _ATYP | attachmentCategory |