API browser of miscValidator200 COM module


/images/arrow_right.png IValidate interface V2.00/ 1 May 2014 
The IValidate interface allows for the input and validation of supplied service data. the validation checks whether the data conforms to the rule set of the selected service. There will be a rejection of a supplied service if it is in conflict with another service. All data and the calculated amount of a service can be retrieved can be retrieved with the interface"s properties. Finally, after all service records have been added the finalize methods starts all finale rule checks and returns the summed up amount over all services. space
space
/images/arrow_right.png Methods 10 methods
AddService Adds a new service which will be validated against all previously added services of the same session
Finalize Validate all services of the given tariff type by running the "late binding" rules and than finalizes all records added so far and finally calculates the total amount in CHF over all service amounts of the given tariff type
GetAbortInfo Fetches the abort/error information if there is any stored
GetService Method for collecting all data of the currently focused service in one call without the necessity to call the appropriate properties of this interface
Initialize Initializes the validation and clears all previously added records of a certain tariff type
MoveFirst Moves the record pointer to the first record in the selection list and makes that record the current record
MoveLast Moves the record pointer to the last record in the selection list and makes that record the current record
MoveNext Moves the record pointer to the next record in the selection list and makes that record the current record
MovePrevious Moves the record pointer to the previous record in the selection list and makes that record the current record
SetTreatmentData Sets the treatment input data constant over all tariffs
space
/images/arrow_right.png Properties 14 properties
[get] Amount The amount of the service in CHF calculated by the equation Amount = (ExternalFactor * Quantity * TP * TPValue).
[get] Code The code of the selected service record
[get] Date Date of the service record
[put] DestructValidate Destructs/invalidates this IValidate interface instance
[get] ExternalFactor External factor that is used
[get] Hook The hook of the selected service (external ID)
[get] IgnoreValidate Flag indicating whether the validation was ignored or not
[get] Name The name of the service record
[get] Quantity The quantity of the service record
[get] ReferenceCode The reference code of the service
[get] SessionNumber Number of the session
[get] TariffType The tariff type the selected service record belongs to
[get] TP Tax points of the service record
[get] TPValue Tax point value of the service
 
space