Transmitter5File2FileDeclareSalaryLocal 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 File2FileDeclareSalaryLocal(
string sourceFilePathName,
string resultFile,
string messageCreatedAndCryptedFile,
string messageCreatedFile,
out DateTime creationDateUtc
)
Public Sub File2FileDeclareSalaryLocal (
sourceFilePathName As String,
resultFile As String,
messageCreatedAndCryptedFile As String,
messageCreatedFile As String,
<OutAttribute> ByRef creationDateUtc As DateTime
)
public:
virtual void File2FileDeclareSalaryLocal(
String^ sourceFilePathName,
String^ resultFile,
String^ messageCreatedAndCryptedFile,
String^ messageCreatedFile,
[OutAttribute] DateTime% creationDateUtc
) sealed
function File2FileDeclareSalaryLocal(sourceFilePathName, resultFile, messageCreatedAndCryptedFile, messageCreatedFile, creationDateUtc);
Parameters
- sourceFilePathName String
- The salary declaration to process, either annual declaration, monthly, or monthly totals.
- resultFile String
- Any error that might be reported during the processing and validation of the declaration.
- messageCreatedAndCryptedFile String
- The signed and crypted EIV message containing the declaration, created by this function. Can be transmitted manually to the SwissDec web-based receiver.
- messageCreatedFile 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