Codeunit 70094421 EOS083 SIAN WebService Mng

Codeunit 70094421 EOS083 SIAN WebService Mng

Codeunit “EOS083 SIAN WebService Mng” contains functions to manage Web Services features.

Methods

DeleteCompanySiRPV

procedure DeleteCompanySiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to delete Company info

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” contains company informations.


DeleteSubjSiRPV

procedure DeleteSubjSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header")

Call web service to delete SIAN Subject

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Subject Information.


DeleteTrasSiRPV

procedure DeleteTrasSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header")

Call web service to delete SIAN Carrier

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Subject Information.


DeleteVaseSiRPV

procedure DeleteVaseSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header")

Call web service to delete SIAN Vase

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Vase information.


DeleteVineYardSiRPV

procedure DeleteVineYardSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header")

Call web service to delete SIAN Vineyard

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Vineyard information.


DeleteProdSiRPV

procedure DeleteProdSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header")

Call web service to delete SIAN Product

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Vase information.


DeleteMVVSiRPV

procedure DeleteMVVSiRPV(var SIANMVVHeader: record "EOS083 SIAN MVV Header")

Call web service to delete SIAN MVV

Parameters / Return Value

  • SIANMVVHeader record "EOS083 SIAN MVV Header"

    “EOS083 SIAN MVV Header” which to get necessary MVV information.


DeleteOperSiRPV

procedure DeleteOperSiRPV(var SIANOperationRegister: record "EOS083 SIAN Operation Hdr.")

Call web service to delete SIAN Operation

Parameters / Return Value

  • SIANOperationRegister record "EOS083 SIAN Operation Hdr."

    “EOS083 SIAN Operation Hdr.” which to get necessary Operation Information.


VaseSiRPV

procedure VaseSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to send SIAN Vase

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    EOS EX083 SIAN Subject Header” which to get necessary Vase information.


SubjSiRPV

procedure SubjSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to send SIAN Subject

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Subject information.


TrasSiRPV

procedure TrasSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to send SIAN carrier

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Subject information.


VineyardSiRPV

procedure VineyardSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to send SIAN Vineyard

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Vineyard information.


ProdSiRPV

procedure ProdSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to send SIAN Product

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Product information.


MVVSiRPV

procedure MVVSiRPV(var SIANMVVHeader: record "EOS083 SIAN MVV Header")

Call web service to send SIAN MVV Document

Parameters / Return Value

  • SIANMVVHeader record "EOS083 SIAN MVV Header"

    “EOS083 SIAN MVV Header” which to get necessary MVV information.


GetMVVDesignation

procedure GetMVVDesignation(var SIANSubjectLine: record "EOS083 SIAN Subject Line")

Call web service to send SIAN Designation

Parameters / Return Value

  • SIANSubjectLine record "EOS083 SIAN Subject Line"

    “EOS083 SIAN Subject Line” which to get necessary Subject Line information.


OperSiRPV

procedure OperSiRPV(var SIANOperationRegister: Record "EOS083 SIAN Operation Hdr."; ICQRF: Code[10])

Call web service to send SIAN Operation

Parameters / Return Value

  • SIANOperationRegister Record "EOS083 SIAN Operation Hdr."

    “EOS083 SIAN Operation Hdr.” which to get necessary operation information.

  • ICQRF Code[10]

    ICQRF code which to refers


ViewMVVSiRPV

procedure ViewMVVSiRPV(var SIANMVVHeader: record "EOS083 SIAN MVV Header")

Call web service to view SIAN MVV Document

Parameters / Return Value

  • SIANMVVHeader record "EOS083 SIAN MVV Header"

    “EOS083 SIAN MVV Header” which to get necessary MVV information.


PrnMVVSiRPV

procedure PrnMVVSiRPV(var SIANMVVHeader: record "EOS083 SIAN MVV Header")

Call web service to refresh MVV PDF

Parameters / Return Value

  • SIANMVVHeader record "EOS083 SIAN MVV Header"

    “EOS083 SIAN MVV Header” which to get necessary MVV information.


ViewOperSiRPV

procedure ViewOperSiRPV(var SIANOperationRegister: record "EOS083 SIAN Operation Hdr."; var SIANOperationRegister2: record "EOS083 SIAN Operation Hdr."; var SIANOperationLine: record "EOS083 SIAN Operation Line")

Call web service to view SIAN Operation

Parameters / Return Value

  • SIANOperationRegister record "EOS083 SIAN Operation Hdr."

    “EOS083 SIAN Operation Hdr.” which to get necessary Operation Information..

  • SIANOperationRegister2 record "EOS083 SIAN Operation Hdr."

    “EOS083 SIAN Operation Hdr.” which to get necessary Operation Information..

  • SIANOperationLine record "EOS083 SIAN Operation Line"

    Parameter of type record “EOS083 SIAN Operation Line”.


ViewGiacSiRPV

procedure ViewGiacSiRPV(var SIANOperationLine: Record "EOS083 SIAN Operation Line"; var SIANOperationLine2: record "EOS083 SIAN Operation Line")

Call web service to view SIAN Inventory

Parameters / Return Value

  • SIANOperationLine Record "EOS083 SIAN Operation Line"

    “EOS083 SIAN Operation Line” which to get necessary operation line information.

  • SIANOperationLine2 record "EOS083 SIAN Operation Line"

    “EOS083 SIAN Operation Line” which to get necessary operation line information.


ClosePrevCampaignSiRPV

procedure ClosePrevCampaignSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to close previous SIAN Campaign

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Campaign information.


SOAPHEADER

procedure SOAPHEADER(Service: Text)

This function create SOAP_HEADER to compose XML Document for every Web service call

Parameters / Return Value

  • Service Text

    Name of WS method to be call


CheckTestTransmission

procedure CheckTestTransmission(ICQRFCredCode: Code[10]): Boolean

Determines if the transmission should be test

Parameters / Return Value

  • ICQRFCredCode Code[10]

    ICRF Credential used for verify if its enable to transmit

  • Returns Boolean

    If ICRFCredCode its enable to transmit then return true else return false


GetCredentialTransmission

procedure GetCredentialTransmission(IsTest: Boolean)

Get Credential for SIAN Transmission.

Parameters / Return Value

  • IsTest Boolean

    Specifies if test transmission


MakeSOAPRequest

procedure MakeSOAPRequest(URL: Text; Method: text; Service: Text; var XmlDocReq: xmldocument; Async: Boolean) ResponseText: Text

This function make an HTTP Request to call a generic web service

Parameters / Return Value

  • URL Text

    Sync or ASync connection path

  • Method text

    Post or Get method

  • Service Text

    Name of service

  • XmlDocReq xmldocument

    XML document

  • Async Boolean

    If is true then use Async connection path else Sync connection path

  • Returns Text

    Return variable “ResponseText” of type Text.


ConvertToBase64

procedure ConvertToBase64(StrToConvert: Text): Text

Return text string converted into Base 64 format

Parameters / Return Value

  • StrToConvert Text

    Contains string to be convert into Base 64

  • Returns Text

    Contains string converted


GetDelVaseSiRPV

procedure GetDelVaseSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header")

Call web service to delete SIAN Vase

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Vineyard information.


GetDelSubjSiRPV

procedure GetDelSubjSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header")

Call web service to delete SIAN Subject

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Subject information.


GetDelTrasSiRPV

procedure GetDelTrasSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header")

Call web service to delete SIAN Carrier

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Carrier information.


GetDelVineyardSiRPV

procedure GetDelVineyardSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header")

Call web service to delete SIAN Vineyard

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Vineyard information.


GetDelProdSiRPV

procedure GetDelProdSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header")

Call web service to delete SIAN Product

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Product information. .


GetDelOperSiRPV

procedure GetDelOperSiRPV(var SIANOperationRegister: record "EOS083 SIAN Operation Hdr.")

Call web service to delete SIAN Operation

Parameters / Return Value

  • SIANOperationRegister record "EOS083 SIAN Operation Hdr."

    “EOS083 SIAN Operation Hdr.” which to get necessary Operation Information.


GetDelCompanySiRPV

procedure GetDelCompanySiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Get the result of the last deletion for current Company

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Company information.


GetVaseSiRPV

procedure GetVaseSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to get SIAN Vase

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Vase information.


GetSubjSiRPV

procedure GetSubjSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to get SIAN Subject

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Subject information.


GetTrasSiRPV

procedure GetTrasSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to get SIAN Carrier

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary trasport information.


GetVineyardSiRPV

procedure GetVineyardSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to get SIAN Vineyard

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Vineyard information.


GetProdSiRPV

procedure GetProdSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to get SIAN product

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Product information.


GetOperSiRPV

procedure GetOperSiRPV(var SIANOperationRegister: Record "EOS083 SIAN Operation Hdr.")

Call web service to get SIAN Operation

Parameters / Return Value

  • SIANOperationRegister Record "EOS083 SIAN Operation Hdr."

    “EOS083 SIAN Operation Hdr.” which to get necessary Operation Information..


GetClosePrevCampaignSiRPV

procedure GetClosePrevCampaignSiRPV(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Call web service to get previous SIAN Campaign closed

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Campaign information.


SIANMVVRegisterRequest

procedure SIANMVVRegisterRequest(var SIANMVVHeader: record "EOS083 SIAN MVV Header"; IsCanc: Boolean)

Stores the request for deletion or creation of MVV documents

Parameters / Return Value

  • SIANMVVHeader record "EOS083 SIAN MVV Header"

    “EOS083 SIAN MVV Header” which to get necessary MVV information.

  • IsCanc Boolean

    Specifies if current MVV Document it was deleted


SIANSubjectRegisterRequest

procedure SIANSubjectRegisterRequest(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header"; IsCanc: Boolean)

Stores the request for deletion or creation of Subjects

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary Subject information.

  • IsCanc Boolean

    Specifies if current Subject it was deleted.


SIANOperationRegisterRequest

procedure SIANOperationRegisterRequest(var SIANOperationRegister: record "EOS083 SIAN Operation Hdr."; IsCanc: Boolean)

Stores the request for deletion or creation of operations

Parameters / Return Value

  • SIANOperationRegister record "EOS083 SIAN Operation Hdr."

    “EOS083 SIAN Operation Hdr.” which to get necessary Operation Information..

  • IsCanc Boolean

    “IsCanc” Specifies if current Operation it was deleted


SIANSubjectRegisterResponse

procedure SIANSubjectRegisterResponse(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header")

Stores the response of subject creation request

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

    “EOS083 SIAN Subject Header” which to get necessary information.


SIANOperationRegisterResponse

procedure SIANOperationRegisterResponse(var SIANOperationRegister: record "EOS083 SIAN Operation Hdr.")

Stores the response of operation creation request

Parameters / Return Value

  • SIANOperationRegister record "EOS083 SIAN Operation Hdr."

    “EOS083 SIAN Operation Hdr.” which to get necessary Operation Information..


GetSOAPTransmissionID

procedure GetSOAPTransmissionID(Service: Text; SendResult: Text)

Gets TransmissionID and code resulting by a generic WS request

Parameters / Return Value

  • Service Text

    Specifies the name of service to be called

  • SendResult Text

    Contains the result of Web service call


GetSOAPMVVTransmissionID

procedure GetSOAPMVVTransmissionID(Service: Text; SendResult: Text)

Gets TransmissionID and code resulting by a MVV creation request

Parameters / Return Value

  • Service Text

    Specifies the name of service to be called

  • SendResult Text

    Contains the result of Web service call


WriteSOAPTempOperation

procedure WriteSOAPTempOperation(SendResult: text; var SIANOperationLine: record "EOS083 SIAN Operation Line"; EntryNo: integer)

Allows to storing informations of sended operations, obtained by a ws calling.

Parameters / Return Value

  • SendResult text

    Contains the result of Web service call

  • SIANOperationLine record "EOS083 SIAN Operation Line"

    “EOS083 SIAN Operation Line” which to get necessary Operation Information.

  • EntryNo integer

    Specifies Entry No. of operation


GetSOAPMVVResponseCode

procedure GetSOAPMVVResponseCode(Service: Text; SendResult: Text; GetPdf: Boolean)

Obtains the response of a WS creation request for a MVV document

Parameters / Return Value

  • Service Text

    Specifies the name of service to be called

  • SendResult Text

    Contains the result of Web service call

  • GetPdf Boolean

    Specifies if get the pdf


GetSOAPResponseCode

procedure GetSOAPResponseCode(Service: Text; SendResult: Text)

Used by every WS calling to obtain response code

Parameters / Return Value

  • Service Text

    Specifies the name of service to be called

  • SendResult Text

    Contains the result of Web service call


OperationNo

procedure OperationNo(OpNo: Integer; Mandatory: Boolean)

Format Operation Number

Parameters / Return Value

  • OpNo Integer

    Operation Number to be formatted

  • Mandatory Boolean

    Specifies if required


FillXmlTextOrCode

procedure FillXmlTextOrCode(TagName: text; Fldvalue: text; FldCaption: text; Mandatory: Boolean)

Build xml row for text values With parameter TagName, check if Fldvalue is empty then return error.

Parameters / Return Value

  • TagName text

    Specifies tag name

  • Fldvalue text

    Specifies field value

  • FldCaption text

    Specifies field caption

  • Mandatory Boolean

    Specifies if required


FillXmlDate

procedure FillXmlDate(TagName: text; Fldvalue: date; FldCaption: text; Mandatory: Boolean)

Build xml row for date values With parameter TagName, check if Fldvalue is 0D then return error.

Parameters / Return Value

  • TagName text

    Specifies tag name

  • Fldvalue date

    Specifies field value

  • FldCaption text

    Specifies field caption

  • Mandatory Boolean

    Specifies if required


FillXmlInt

procedure FillXmlInt(TagName: text; Fldvalue: integer; FldCaption: text; Mandatory: Boolean)

Build xml row for Integer values With parameter TagName, check if Fldvalue is 0 then return error.

Parameters / Return Value

  • TagName text

    Specifies tag name

  • Fldvalue integer

    Specifies field value

  • FldCaption text

    Specifies field caption

  • Mandatory Boolean

    Specifies if required


FillXmlDec

procedure FillXmlDec(TagName: text; Fldvalue: decimal; FldFormat: text; FldCaption: text; Mandatory: Boolean)

Build xml row for decimal values With parameter TagName, check if Fldvalue is 0 then return error.

Parameters / Return Value

  • TagName text

    Specifies tag name

  • Fldvalue decimal

    Specifies field value

  • FldFormat text

    Specifies format string

  • FldCaption text

    Specifies field caption

  • Mandatory Boolean

    Specifies if required


CountryOrigin

procedure CountryOrigin(PrimaryProdCode: Code[15]; SecondaryProdCode: Code[15])

Gets the country from SIAN Item Attribute Value and build the specific tag

Parameters / Return Value

  • PrimaryProdCode Code[15]

    Specifies Primary product code

  • SecondaryProdCode Code[15]

    Specifies Secondary product code


Variety

procedure Variety(PrimaryProdCode: Code[15]; SecondaryProdCode: Code[15])

Gets the Variety from SIAN Item Attribute Value and build the specific tag

Parameters / Return Value

  • PrimaryProdCode Code[15]

    Specifies Primary product code

  • SecondaryProdCode Code[15]

    Specifies Secondary product code


Mentions

procedure Mentions(PrimaryProdCode: Code[15]; SecondaryProdCode: Code[15])

Gets the Mention from SIAN Item Attribute Value and build the specific tag

Parameters / Return Value

  • PrimaryProdCode Code[15]

    Specifies Primary product code

  • SecondaryProdCode Code[15]

    Specifies Secondary product code


EnologicalPractices

procedure EnologicalPractices(PrimaryProdCode: Code[15]; SecondaryProdCode: Code[15])

Gets the Enological Practice from SIAN Item Attribute Value and build the specific tag

Parameters / Return Value

  • PrimaryProdCode Code[15]

    Specifies Primary product code

  • SecondaryProdCode Code[15]

    Specifies Secondary product code


WineYear

procedure WineYear(Year: Integer; YearPerc: Decimal; FldCaption: text; mandatory: boolean)

Format the wine year and build the specific tag

Parameters / Return Value

  • Year Integer

    Year to be formatted

  • YearPerc Decimal

    Specifies percentual of year

  • FldCaption text

    Specifies field caption

  • mandatory boolean

    Specifies if required


Container

procedure Container(ContainerCode: text[250]; FldCaption: text; mandatory: boolean)

Gets the Tank code and build the specific tag

Parameters / Return Value

  • ContainerCode text[250]

    Specifies container code

  • FldCaption text

    Specifies field caption

  • mandatory boolean

    Specifies if required


FillXmlQty

procedure FillXmlQty(TagName: text; Fldvalue: decimal; FldFormat: text; FldCaption: text; Mandatory: Boolean)

Build xml row for quantity values With parameter TagName, check if Fldvalue is 0 then return error.

Parameters / Return Value

  • TagName text

    Specifies tag name

  • Fldvalue decimal

    Specifies field value

  • FldFormat text

    Specifies format string

  • FldCaption text

    Specifies field caption

  • Mandatory Boolean

    Specifies if required


Batch

procedure Batch(var SIANOperationLine: record "EOS083 SIAN Operation Line"; NoContr: boolean; mandatory: boolean)

Build batch tag with the informations getted from SIAN Lot No. Info.

Parameters / Return Value

  • SIANOperationLine record "EOS083 SIAN Operation Line"

    “EOS083 SIAN Operation Line” which to get batch information.

  • NoContr boolean

    Specifies if necessary ties

  • mandatory boolean

    Specifies if required


Events

OnBefore_ServiceSiRPV

local procedure OnBefore_ServiceSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header"; ICQRFCredentials: Record "EOS083 SIAN ICQRF Cred."; WSMethodName: text[50]; var IsHandled: boolean)

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

  • ICQRFCredentials Record "EOS083 SIAN ICQRF Cred."

  • WSMethodName text[50]

  • IsHandled boolean


OnAfter_ServiceSiRPV

local procedure OnAfter_ServiceSiRPV(var SIANSubjectHeader: record "EOS083 SIAN Subject Header"; ICQRFCredentials: Record "EOS083 SIAN ICQRF Cred."; WSMethodName: text[50])

Parameters / Return Value

  • SIANSubjectHeader record "EOS083 SIAN Subject Header"

  • ICQRFCredentials Record "EOS083 SIAN ICQRF Cred."

  • WSMethodName text[50]


OnBefore_MVVServiceSiRpv

local procedure OnBefore_MVVServiceSiRpv(var SIANMVVHeader: record "EOS083 SIAN MVV Header"; ICQRFCredentials: Record "EOS083 SIAN ICQRF Cred."; WSMethodName: text[50]; var IsHandled: Boolean)

Parameters / Return Value

  • SIANMVVHeader record "EOS083 SIAN MVV Header"

  • ICQRFCredentials Record "EOS083 SIAN ICQRF Cred."

  • WSMethodName text[50]

  • IsHandled Boolean


OnAfter_MVVServiceSiRpv

local procedure OnAfter_MVVServiceSiRpv(var SIANMVVHeader: record "EOS083 SIAN MVV Header"; ICQRFCredentials: Record "EOS083 SIAN ICQRF Cred."; WSMethodName: text[50])

Parameters / Return Value

  • SIANMVVHeader record "EOS083 SIAN MVV Header"

  • ICQRFCredentials Record "EOS083 SIAN ICQRF Cred."

  • WSMethodName text[50]


OnBefore_OperationServiceSiRpv

local procedure OnBefore_OperationServiceSiRpv(var SIANOperationRegister: record "EOS083 SIAN Operation Hdr."; ICQRFCredentials: Record "EOS083 SIAN ICQRF Cred."; WSMethodName: text[50]; var IsHandled: Boolean)

Parameters / Return Value

  • SIANOperationRegister record "EOS083 SIAN Operation Hdr."

  • ICQRFCredentials Record "EOS083 SIAN ICQRF Cred."

  • WSMethodName text[50]

  • IsHandled Boolean


OnAfter_OperationServiceSiRpv

local procedure OnAfter_OperationServiceSiRpv(var SIANOperationRegister: record "EOS083 SIAN Operation Hdr."; ICQRFCredentials: Record "EOS083 SIAN ICQRF Cred."; WSMethodName: text[50])

Parameters / Return Value

  • SIANOperationRegister record "EOS083 SIAN Operation Hdr."

  • ICQRFCredentials Record "EOS083 SIAN ICQRF Cred."

  • WSMethodName text[50]


OnBefore_OperLineServiceSiRpv

local procedure OnBefore_OperLineServiceSiRpv(var SIANOperationLine: record "EOS083 SIAN Operation Line"; WSMethodName: text[50]; var IsHandled: Boolean)

Parameters / Return Value

  • SIANOperationLine record "EOS083 SIAN Operation Line"

  • WSMethodName text[50]

  • IsHandled Boolean


OnAfter_OperLineServiceSiRpv

local procedure OnAfter_OperLineServiceSiRpv(var SIANOperationLine: record "EOS083 SIAN Operation Line"; WSMethodName: text[50])

Parameters / Return Value

  • SIANOperationLine record "EOS083 SIAN Operation Line"

  • WSMethodName text[50]


OnBefore_SubjLineServiceSiRpv

local procedure OnBefore_SubjLineServiceSiRpv(var SIANSubjectLine: record "EOS083 SIAN Subject Line"; var XmlWriter: Codeunit "EOS Xml Writer"; var IsHandled: Boolean)

Parameters / Return Value

  • SIANSubjectLine record "EOS083 SIAN Subject Line"

  • XmlWriter Codeunit "EOS Xml Writer"

  • IsHandled Boolean


OnAfter_SubjLineServiceSiRpv

local procedure OnAfter_SubjLineServiceSiRpv(var SIANSubjectLine: record "EOS083 SIAN Subject Line"; var XmlWriter: Codeunit "EOS Xml Writer")

Parameters / Return Value

  • SIANSubjectLine record "EOS083 SIAN Subject Line"

  • XmlWriter Codeunit "EOS Xml Writer"


OnBefore_OperationProcess

local procedure OnBefore_OperationProcess(var SIANOperationRegister: record "EOS083 SIAN Operation Hdr."; var XmlWriter: Codeunit "EOS Xml Writer"; var IsHandled: Boolean)

Parameters / Return Value

  • SIANOperationRegister record "EOS083 SIAN Operation Hdr."

  • XmlWriter Codeunit "EOS Xml Writer"

  • IsHandled Boolean


OnAfter_OperationProcess

local procedure OnAfter_OperationProcess(var SIANOperationRegister: record "EOS083 SIAN Operation Hdr."; var XmlWriter: Codeunit "EOS Xml Writer")

Parameters / Return Value

  • SIANOperationRegister record "EOS083 SIAN Operation Hdr."

  • XmlWriter Codeunit "EOS Xml Writer"


OnBefore_SOAPHeader

local procedure OnBefore_SOAPHeader(Username: text[50]; Password: text[50]; Service: text; var IsHandled: Boolean)

Parameters / Return Value

  • Username text[50]

  • Password text[50]

  • Service text

  • IsHandled Boolean


OnBefore_GetCredTrans

local procedure OnBefore_GetCredTrans(IsTest: boolean; ICQRFCredentials: record "EOS083 SIAN ICQRF Cred."; SIANSetup: record "EOS083 SIAN Setup"; var IsHandled: boolean)

Parameters / Return Value

  • IsTest boolean

  • ICQRFCredentials record "EOS083 SIAN ICQRF Cred."

  • SIANSetup record "EOS083 SIAN Setup"

  • IsHandled boolean


OnAfter_GetCredTrans

local procedure OnAfter_GetCredTrans(IsTest: boolean; ICQRFCredentials: record "EOS083 SIAN ICQRF Cred."; SIANSetup: record "EOS083 SIAN Setup"; Username: text[50];Password: text[50]; ASYNCConnPath: text[100]; ASYNCConnRequest: text[100]; SYNCConnPath: text[100]; SYNCConnRequest: text[100])

Parameters / Return Value

  • IsTest boolean

  • ICQRFCredentials record "EOS083 SIAN ICQRF Cred."

  • SIANSetup record "EOS083 SIAN Setup"

  • Username text[50]

  • Password text[50]

  • ASYNCConnPath text[100]

  • ASYNCConnRequest text[100]

  • SYNCConnPath text[100]

  • SYNCConnRequest text[100]


OnBefore_MakeSOAPRequest

local procedure OnBefore_MakeSOAPRequest(URL: Text; Method: text; Service: Text; var Data: XmlDocument; Async: Boolean)

Parameters / Return Value

  • URL Text

  • Method text

  • Service Text

  • Data XmlDocument

  • Async Boolean


OnAfter_MakeSOAPRequest

local procedure OnAfter_MakeSOAPRequest(URL: Text; Method: text; Service: Text; var Data: XmlDocument; Async: Boolean; ResponseText: Text)

Parameters / Return Value

  • URL Text

  • Method text

  • Service Text

  • Data XmlDocument

  • Async Boolean

  • ResponseText Text


OnBefore_MVVRegServiceSiRpv

local procedure OnBefore_MVVRegServiceSiRpv(var SIANMVVHeader: record "EOS083 SIAN MVV Header"; IsCanc: Boolean; var IsHandled: Boolean)

Parameters / Return Value

  • SIANMVVHeader record "EOS083 SIAN MVV Header"

  • IsCanc Boolean

  • IsHandled Boolean


OnAfter_MVVRegServiceSiRpv

local procedure OnAfter_MVVRegServiceSiRpv(var SIANMVVHeader: record "EOS083 SIAN MVV Header"; IsCanc: Boolean)

Parameters / Return Value

  • SIANMVVHeader record "EOS083 SIAN MVV Header"

  • IsCanc Boolean


OnBefore_RegServiceSiRpv

local procedure OnBefore_RegServiceSiRpv(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header"; IsCanc: Boolean; TransmissionCode: text[250]; TransmissionID: text[50]; var IsHandled: Boolean)

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

  • IsCanc Boolean

  • TransmissionCode text[250]

  • TransmissionID text[50]

  • IsHandled Boolean


OnAfter_RegServiceSiRpv

local procedure OnAfter_RegServiceSiRpv(var SIANSubjectHeader: Record "EOS083 SIAN Subject Header"; TransmissionCode: text[250]; TransmissionID: text[50]; IsCanc: Boolean)

Parameters / Return Value

  • SIANSubjectHeader Record "EOS083 SIAN Subject Header"

  • TransmissionCode text[250]

  • TransmissionID text[50]

  • IsCanc Boolean


OnBefore_RegOperationSiRpv

local procedure OnBefore_RegOperationSiRpv(var SIANOperationHeader: Record "EOS083 SIAN Operation Hdr."; IsCanc: Boolean; TransmissionCode: text[250]; TransmissionID: text[50]; var IsHandled: Boolean)

Parameters / Return Value

  • SIANOperationHeader Record "EOS083 SIAN Operation Hdr."

  • IsCanc Boolean

  • TransmissionCode text[250]

  • TransmissionID text[50]

  • IsHandled Boolean


OnAfter_RegOperationSiRpv

local procedure OnAfter_RegOperationSiRpv(var SIANOperationHeader: Record "EOS083 SIAN Operation Hdr."; TransmissionCode: text[250]; TransmissionID: text[50]; IsCanc: Boolean)

Parameters / Return Value

  • SIANOperationHeader Record "EOS083 SIAN Operation Hdr."

  • TransmissionCode text[250]

  • TransmissionID text[50]

  • IsCanc Boolean


OnAfterSendRequest

local procedure OnAfterSendRequest(FunctionName: text; var XMLDoc: XmlDocument; Response: text; ResponseCode: Text; ResponseMessage: Text; Source: variant)

Publisher to manage response from SIAN Web Service Request

Parameters / Return Value

  • FunctionName text

    SIAN Function Name

  • XMLDoc XmlDocument

    WS Request XML

  • Response text

    WS Response XML

  • ResponseCode Text

  • ResponseMessage Text

  • Source variant

    Record processed by SIAN



EOS Labs -