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: SwissDecTXAssembly: SwissDecTX.Transmitter5 (in SwissDecTX.Transmitter5.dll) Version: 5.0.0.0 (5.0.0.0)
Syntaxpublic void File2StringDeclareSalaryLocal(
string sourceFilePathName,
out string result,
out string messageCreatedAndCrypted,
out string messageCreated,
out DateTime creationDateUtc
)
Public Sub File2StringDeclareSalaryLocal (
sourceFilePathName As String,
<OutAttribute> ByRef result As String,
<OutAttribute> ByRef messageCreatedAndCrypted As String,
<OutAttribute> ByRef messageCreated As String,
<OutAttribute> ByRef creationDateUtc As DateTime
)
public:
virtual void File2StringDeclareSalaryLocal(
String^ sourceFilePathName,
[OutAttribute] String^% result,
[OutAttribute] String^% messageCreatedAndCrypted,
[OutAttribute] String^% messageCreated,
[OutAttribute] DateTime% creationDateUtc
) sealed
function File2StringDeclareSalaryLocal(sourceFilePathName, result, messageCreatedAndCrypted, messageCreated, 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.
RemarksThe 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