KVSKBAVLOGInterfaceLine
Fields
| Name | Type | Note |
|---|---|---|
| No. | Code[20] | |
| V-LOG Company | Text[50] | |
| Interface Command | Enum (KVSKBAVLOGInterfaceCommandEnum) | |
| Error Occured | Boolean | FlowField |
| V-LOG Status Code | Code[20] | |
| Created On | DateTime | |
| Created By | Code[50] | |
| Send On | DateTime | |
| Send By | Code[50] | |
| V-LOG Shipment ID | Text[80] | |
| Finished | Boolean | |
| Published | Boolean | |
| Sended XML | Blob | |
| Last Status Refresh at | DateTime | |
| Last Status Refresh by | Code[50] | |
| Received XML | Blob |
Procedures
ExportSendedXML() :
Summary: Exports the sended XML to a file.
procedure ExportSendedXML():
Remarks: The XML was downloaded from the V-LOG webservice.
ExportRecievedXML() :
Summary: Exports the received XML to a file.
procedure ExportRecievedXML():
Remarks: The XML was downloaded from the V-LOG webservice.
RefreshStatus() :
Summary: Refreshes the V-LOG status for the current interface line.
procedure RefreshStatus():
Remarks: The status is requested from the V-LOG webservice.
Add(Record KVSKBAPostedDispatchHandHeader, Record KVSKBAVLOGInterfaceLine, Text) : Boolean
Summary: Adds a new V-LOG interface line for the given posted dispatch handling header.
procedure Add(var postedDispatchHandlingHeader: Record "KVSKBAPostedDispatchHandHeader"; var newVlogInterfaceLine: Record "KVSKBAVLOGInterfaceLine"; var response: Text): Boolean
Parameters:
postedDispatchHandlingHeader: The posted dispatch handling header for which the new V-LOG interface line is to be added.newVlogInterfaceLine: The new V-LOG interface line record to be added.response: A text variable that will contain the response message after the operation.
Returns: Returns true if the operation was successful, false otherwise.
Remarks: This procedure checks if the new V-LOG interface line is already initialized and if it already exists for the given posted dispatch handling header. If it does not exist, it initializes and inserts the new V-LOG interface line and provides a response message.
Print() :
Summary: Prints the V-LOG label for the current interface line.
procedure Print():
Remarks: The label is printed using the V-LOG webservice.
Status() :
Summary: Requests the status of the current interface line from the V-LOG webservice.
procedure Status():
Remarks: The status is requested only if the interface line is published, not finished, and the last status request was made before the cooldown period defined in the V-LOG setup. If the status request fails, an error entry is created in the V-LOG interface error line table.