KVSKBAVLOGManagement
Procedures
Send(Record KVSKBAVLOGInterfaceLine) :
procedure Send(var VLOGInterfaceLine: Record "KVSKBAVLOGInterfaceLine"):
GetVlogStatus(Record KVSKBAVLOGInterfaceLine) :
procedure GetVlogStatus(var VLOGInterfaceLine: Record "KVSKBAVLOGInterfaceLine"):
WritePackageData(Code[20]) :
procedure WritePackageData(PostedDispatchHandlingNo: Code[20]):
Print(Record KVSKBAPostedDispatchHandlLine) :
procedure Print(var PostedDispatchHandlLine: Record "KVSKBAPostedDispatchHandlLine"):
GetISOCountryCode(Code[20]) : Code[2]
OBSOLETE
This Element will be removed or changed with a future Version of the App.
Summary: Gets the ISO country code based on the country code.
[Obsolete('This procedure is no longer supported, please use procedure GetISOCountryCodeFromCountryRegion', '27.4')]
procedure GetISOCountryCode(CountryCode: Code[20]): Code[2]
Parameters:
CountryCode: The country code.
Returns: The ISO country code.
Remarks: This procedure is obsolete. Use GetISOCountryCodeFromCountryRegion instead.
GetISOCountryCodeFromCountryRegion(Code[10]) : Code[2]
Summary: Gets the ISO country code based on the country/region code.
procedure GetISOCountryCodeFromCountryRegion(CountryCode: Code[10]): Code[2]
Parameters:
CountryCode: The country/region code.
Returns: The ISO country code.
Remarks: The country/region code is used in the V-LOG interface, but the ISO country code is needed for the web service call. This function does the conversion.
IsVlogInterfaceActive() : Boolean
procedure IsVlogInterfaceActive(): Boolean
AddXMLArticle(Record KVSKBAPostedDispatchHandlLine, XmlElement, XmlDocument) :
procedure AddXMLArticle(var PostedDispatchHandlLine: Record "KVSKBAPostedDispatchHandlLine"; var XMLParent: XmlElement; var XMLDoc: XmlDocument):
AddXMLText(XmlElement, Text, Text) :
procedure AddXMLText(var XMLParent: XmlElement; Name: Text; Value: Text):
AddXMLAttribute(XmlElement, Text, Text) :
Summary: Adds an Attribute to the xml Element.
procedure AddXMLAttribute(var XMLParent: XmlElement; Name: Text; ValueText: Text):
Parameters:
XMLParent:Name:ValueText:
ReplaceInnerValue(XmlElement, Text, Text) :
procedure ReplaceInnerValue(var XMLParent: XmlElement; Name: Text; ValueText: Text):
FormatAsXML(Date) : Text
procedure FormatAsXML(ValueDate: Date): Text
FormatAsXML(Time) : Text
procedure FormatAsXML(ValueTime: Time): Text
FormatAsXML(Decimal) : Text
procedure FormatAsXML(ValueDecimal: Decimal): Text
FormatAsXML(Boolean) : Text
procedure FormatAsXML(ValueBoolean: Boolean): Text
Events
OnBeforeAppendVlogWorkitemXml(Record KVSKBAVLOGInterfaceLine, XmlDocument, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogWorkitemXml(var VlogInterfaceLine: Record "KVSKBAVLOGInterfaceLine"; var XmlDoc: XmlDocument; var IsHandled: Boolean):
OnAfterAppendVlogWorkitemXml(Record KVSKBAVLOGInterfaceLine, XmlDocument) :
[IntegrationEvent(false, false)]
local procedure OnAfterAppendVlogWorkitemXml(var VlogInterfaceLine: Record "KVSKBAVLOGInterfaceLine"; var XmlDoc: XmlDocument):
OnBeforeAppendVlogShipmentXml(Record KVSKBAPostedDispatchHandHeader, XmlDocument, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogShipmentXml(var PostedDispatchHandlingHeader: Record "KVSKBAPostedDispatchHandHeader"; var XmlDoc: XmlDocument; var IsHandled: Boolean):
OnAfterAppendVlogShipmentXml(Record KVSKBAPostedDispatchHandHeader, XmlElement, XmlDocument) :
[IntegrationEvent(false, false)]
local procedure OnAfterAppendVlogShipmentXml(var PostedDispatchHandlingHeader: Record "KVSKBAPostedDispatchHandHeader"; var ShipmentXml: XmlElement; var XmlDoc: XmlDocument):
OnBeforeAppendVlogPrinterXml(XmlElement, XmlDocument, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogPrinterXml(var ParentShipmentXml: XmlElement; var XmlDoc: XmlDocument; var IsHandled: Boolean):
OnBeforeAppendVlogPackages(Record KVSKBAPostedDispatchHandHeader, XmlElement, XmlDocument, Integer, Text, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogPackages(var PostedDispatchHandlingHeader: Record "KVSKBAPostedDispatchHandHeader"; var ParentShipmentXml: XmlElement; var XmlDoc: XmlDocument; var PacketNo: Integer; var Send2nProdcode: Text; var IsHandled: Boolean):
OnBeforeAppendVlogPackageXml(Record KVSKBAPostedDispatchHandHeader, Record KVSKBAPostedDispatchHandlLine, Integer, Text, XmlElement, XmlDocument, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogPackageXml(var PostedDispatchHandlingHeader: Record "KVSKBAPostedDispatchHandHeader"; var PostedDispatchHandlingLine: Record "KVSKBAPostedDispatchHandlLine"; var SendNr: Integer; var Send2nProdcode: Text; var ParentShipmentXml: XmlElement; var XmlDoc: XmlDocument; var IsHandled: Boolean):
OnAfterAppendVlogXmlPackage(Record KVSKBAPostedDispatchHandHeader, Record KVSKBAPostedDispatchHandlLine, XmlElement, XmlElement, XmlDocument) :
[IntegrationEvent(false, false)]
local procedure OnAfterAppendVlogXmlPackage(var PostedDispatchHandlingHeader: Record "KVSKBAPostedDispatchHandHeader"; var PostedDispatchHandlingLine: Record "KVSKBAPostedDispatchHandlLine"; var PackageXml: XmlElement; var ParentShipmentXml: XmlElement; var XmlDoc: XmlDocument):
OnBeforeAppendVlogArticles(Record KVSKBAPostedDispatchHandHeader, Record KVSKBAPostedDispatchHandlLine, XmlElement, XmlElement, XmlDocument, Boolean, Record KVSKBAPostedDispatchHandlLine) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogArticles(var PostedDispatchHandlingHeader: Record "KVSKBAPostedDispatchHandHeader"; var PostedDispatchHandlingLine: Record "KVSKBAPostedDispatchHandlLine"; var PackageXml: XmlElement; var ParentShipmentXml: XmlElement; var XmlDoc: XmlDocument; var IsHandled: Boolean; var ItemPostedDispatchHandlLine: Record "KVSKBAPostedDispatchHandlLine"):
OnBeforeAppendVlogArticleXml(Record KVSKBAPostedDispatchHandlLine, XmlElement, XmlDocument, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogArticleXml(var PostedDispatchHandlingLine: Record "KVSKBAPostedDispatchHandlLine"; var ParentPackageXml: XmlElement; var XmlDoc: XmlDocument; var IsHandled: Boolean):
OnAfterAppendVlogArticleXml(Record KVSKBAPostedDispatchHandlLine, XmlElement, XmlDocument) :
[IntegrationEvent(false, false)]
local procedure OnAfterAppendVlogArticleXml(var PostedDispatchHandlingLine: Record "KVSKBAPostedDispatchHandlLine"; var ParentPackageXml: XmlElement; var XmlDoc: XmlDocument):
OnBeforeAppendVlogFrankaturXml(Record KVSKBAPostedDispatchHandHeader, XmlElement, XmlDocument, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogFrankaturXml(var PostedDispatchHandlingHeader: Record "KVSKBAPostedDispatchHandHeader"; var ShipmentXml: XmlElement; var XmlDoc: XmlDocument; var IsHandled: Boolean):
OnBeforeAppendVlogTariffCurrencyXml(Record KVSKBAPostedDispatchHandHeader, XmlElement, XmlDocument, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogTariffCurrencyXml(var PostedDispatchHandlingHeader: Record "KVSKBAPostedDispatchHandHeader"; var ShipmentXml: XmlElement; var XmlDoc: XmlDocument; var IsHandled: Boolean):
OnBeforeAppendVlogValueOfGoodsCurrencyXml(Record KVSKBAPostedDispatchHandlLine, XmlElement, XmlDocument, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogValueOfGoodsCurrencyXml(var PostedChildDispatchHandlingLine: Record "KVSKBAPostedDispatchHandlLine"; var PackageXml: XmlElement; var XmlDoc: XmlDocument; var IsHandled: Boolean):
OnBeforeAppendVlogReceiverTelephoneXml(Record KVSKBAPostedDispatchHandHeader, XmlElement, XmlDocument, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogReceiverTelephoneXml(var PostedDispatchHandlingHeader: Record "KVSKBAPostedDispatchHandHeader"; var ShipmentXml: XmlElement; var XmlDoc: XmlDocument; var IsHandled: Boolean):
OnBeforeAppendVlogShippingAgentXml(Record KVSKBAPostedDispatchHandHeader, XmlElement, Text, XmlDocument, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogShippingAgentXml(var PostedDispatchHandlingHead: Record "KVSKBAPostedDispatchHandHeader"; var ShipmentXml: XmlElement; var Send2nProdcode: Text; var XmlDoc: XmlDocument; var IsHandled: Boolean):
OnBeforeAppendVlogField(Text, Record KVSKBAPostedDispatchHandHeader, Record KVSKBAPostedDispatchHandlLine, XmlElement, XmlElement, XmlDocument, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeAppendVlogField(fieldName: Text; var postedDispatchHandlingHeader: Record "KVSKBAPostedDispatchHandHeader"; var postedDispatchHandlingLine: Record "KVSKBAPostedDispatchHandlLine"; var packageXmlNode: XmlElement; var parentShipmentXmlNode: XmlElement; var xmldDocument: XmlDocument; var isHandled: Boolean):
OnBeforeProcessPackageResponseGetPostedDispatchHandlingLine(XmlNode, Record KVSKBAPostedDispatchHandlLine, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnBeforeProcessPackageResponseGetPostedDispatchHandlingLine(packageXmlNode: XmlNode; var postedDispatchHandlingLine: Record "KVSKBAPostedDispatchHandlLine"; var isHandled: Boolean):
OnBeforeAddMailAddress(Record KVSKBAPostedDispatchHandHeader, XmlElement, Boolean) :
Summary: OnBeforeAddMailAddress can be used to overwrite or skip the adding of the mailaddress.
[IntegrationEvent(false, false)]
local procedure OnBeforeAddMailAddress(var PostedDispatchHandHeader: Record "KVSKBAPostedDispatchHandHeader"; var XMLShipment: XmlElement; var IsHandled: Boolean):
Parameters:
PostedDispatchHandHeader:XMLShipment:IsHandled:
OnBeforeAddSendHelpFields(Record KVSKBAPostedDispatchHandHeader, XmlElement, Boolean) :
Summary: OnBeforeAddSendFields can be used to overwrite or skip the adding of the mailaddress.
[IntegrationEvent(false, false)]
local procedure OnBeforeAddSendHelpFields(var PostedDispatchHandHeader: Record "KVSKBAPostedDispatchHandHeader"; var XMLShipment: XmlElement; var IsHandled: Boolean):
Parameters:
PostedDispatchHandHeader:XMLShipment:IsHandled:
OnAfterCreatedArticleElement(Record KVSKBAPostedDispatchHandlLine, XmlElement, XmlElement, XmlDocument) :
Summary: OnAfterCreatedArticleElement: allows adding subelements to the item, before it will be added to the parent document.
[IntegrationEvent(false, false)]
local procedure OnAfterCreatedArticleElement(var PostedDispatchHandlingLine: Record "KVSKBAPostedDispatchHandlLine"; var ArticleXML: XmlElement; var ParentPackageXml: XmlElement; var XmlDoc: XmlDocument):
Parameters:
PostedDispatchHandlingLine:ArticleXML:ParentPackageXml:XmlDoc:
OnBeforeCreateCommandXML(Record KVSKBAVLOGInterfaceLine, Text) :
Summary: OnBeforeCreateCommandXML: allows replace Command value KVS:Print with KVS:Store. So if it should be stored in VLOG "only"
[IntegrationEvent(false, false)]
local procedure OnBeforeCreateCommandXML(var KVSKBAVLOGInterfaceLine: Record "KVSKBAVLOGInterfaceLine"; var Command: Text):
Parameters:
KVSKBAVLOGInterfaceLine:Command:
OnElseGetHttpAuthentication(Enum KVSKBAVLOGAuthenticationType, Interface Http Authentication, Boolean) :
[IntegrationEvent(false, false)]
local procedure OnElseGetHttpAuthentication(VLogAuthenticationType: Enum "KVSKBAVLOGAuthenticationType"; var IHttpAuthentication: Interface "Http Authentication"; var IsHandled: Boolean):
OnBeforeAddXMLTariffNos(XmlElement, Record KVSKBAPostedDispatchHandlLine, Boolean) :
Summary: OnBeforeAddXMLTariffNos can be used to overwrite or skip the adding of the Tariff Nos.
[IntegrationEvent(false, false)]
local procedure OnBeforeAddXMLTariffNos(var PackageNode: XmlElement; PostedDispatchHandlLine: Record "KVSKBAPostedDispatchHandlLine"; var IsHandled: Boolean):
Parameters:
PackageNode:PostedDispatchHandlLine:IsHandled: