SgrLocalizaLacresContainer
Method used to locate which schedule, voyage and container the seal is being registered to. Method also used to check if the seal is not already in use.
PARAMETERS
| Field | Type | Req. | Description |
|---|---|---|---|
| keyaccess | string | Yes | Key returned by the sgrLogin method. |
| cdpas | integer | Yes | PAS code, returned by the sgrListaPASUsuario method |
| cdcliente | integer | Yes | Customer code, returned by the sgrListaEmpresasPASUsuario method. |
| nrContainer | string | Yes | Container number. |
| cdProgramming | int | Yes | Programming code to which the container is linked. |
| cdViag | int | Yes | Trip code generated by the schedule. |
| nrLacre | string | Yes | Seal number to be searched. |
RETURN
| Field | Type | Description |
|---|---|---|
| cdContainerLacre | int | Seal code |
| nrlacre | int | seal number |
| cdSilProgrammingTripContainer | int | link code |
| nrContainer | text | container number |
| cdViag | int | Trip code |
| flActive | int | define if the seal is still in use |
| dtInc | datetime | date the seal was registered |
| cdOpInc | int | code of the operator who registered the seal |
| dtExc | datetime | Date the seal was deleted |
| cdOpExc | int | Code of the operator who deleted the seal; |