Click or drag to resize

Transmitter5File2StringDeclareSalaryLocal Method

Create salary declaration message locally (EIV case, no transmission occurs, the message is created and returned without being transmitted, also useful for testing)

Namespace: SwissDecTX
Assembly: SwissDecTX.Transmitter5 (in SwissDecTX.Transmitter5.dll) Version: 5.0.0.0 (5.0.0.0)
Syntax
public void File2StringDeclareSalaryLocal(
	string sourceFilePathName,
	out string result,
	out string messageCreatedAndCrypted,
	out string messageCreated,
	out DateTime creationDateUtc
)

Parameters

sourceFilePathName  String
The salary declaration to process, either annual declaration, monthly, or monthly totals.
result  String
Any error that might be reported during the processing and validation of the declaration.
messageCreatedAndCrypted  String
The signed and crypted EIV message containing the declaration, created by this function. Can be transmitted manually to the SwissDec web-based receiver.
messageCreated  String
The signed (but not encrypted) message containing the declaration, created by this function. This message can be used for logging purposes.
creationDateUtc  DateTime
The actual UTC date/time at which the operation occurred.
Remarks
The UC005 (Replacement) and UC006 (Test) cases have to be handled at the application level, i.e. you simply insert the appropriate tag(s) in the XML declaration as described in the specification. There is absolutely no difference at the transmission level and the server will interpret your submission according to those options, if present. A valid SwissDecTX license is required to execute this method call.
See Also