private void SetRelatedDocument(RelatedDocumentViewModel.RefType typ, DocumentTypeType docTyp) { InvVm.RelatedDoc.RefTypeSelected = typ; InvVm.RelatedDoc.RefInvNumber = "STORNO123123"; InvVm.RelatedDoc.RefInvDate = new DateTime(2014, 1, 20); InvVm.RelatedDoc.RefSelectedDocType = docTyp.ToString(); InvVm.RelatedDoc.RefComment = "Diese Schlussrechnung war leider falsch"; }
private void SaveRelatedDoc(string invNr, DateTime date, string comment, DocumentTypeType dType) { InvVm.RelatedDoc.RefTypeSelected = RelatedDocumentViewModel.RefType.Verweis; InvVm.RelatedDoc.RefInvNumber = invNr; InvVm.RelatedDoc.RefInvDate = date; InvVm.RelatedDoc.RefSelectedDocType = dType.ToString(); InvVm.RelatedDoc.RefComment = comment; InvVm.SaveTemplateCommand.Execute(SaveTempRelated); }
public AttachedDocumentType() { this.parentDocumentLineReferenceField = new ObservableCollection<LineReferenceType>(); this.attachmentField = new AttachmentType(); this.receiverPartyField = new PartyType(); this.senderPartyField = new PartyType(); this.signatureField = new ObservableCollection<SignatureType>(); this.parentDocumentVersionIDField = new ParentDocumentVersionIDType(); this.parentDocumentTypeCodeField = new ParentDocumentTypeCodeType(); this.parentDocumentIDField = new ParentDocumentIDType(); this.documentTypeField = new DocumentTypeType(); this.documentTypeCodeField = new DocumentTypeCodeType(); this.noteField = new ObservableCollection<NoteType>(); this.issueTimeField = new IssueTimeType(); this.issueDateField = new IssueDateType(); this.uUIDField = new UUIDType(); this.idField = new IDType(); this.profileExecutionIDField = new ProfileExecutionIDType(); this.profileIDField = new ProfileIDType(); this.customizationIDField = new CustomizationIDType(); this.uBLVersionIDField = new UBLVersionIDType(); this.uBLExtensionsField = new ObservableCollection<UBLExtensionType>(); }
public AttachedDocumentType() { this.parentDocumentLineReferenceField = new ObservableCollection <LineReferenceType>(); this.attachmentField = new AttachmentType(); this.receiverPartyField = new PartyType(); this.senderPartyField = new PartyType(); this.signatureField = new ObservableCollection <SignatureType>(); this.parentDocumentVersionIDField = new ParentDocumentVersionIDType(); this.parentDocumentTypeCodeField = new ParentDocumentTypeCodeType(); this.parentDocumentIDField = new ParentDocumentIDType(); this.documentTypeField = new DocumentTypeType(); this.documentTypeCodeField = new DocumentTypeCodeType(); this.noteField = new ObservableCollection <NoteType>(); this.issueTimeField = new IssueTimeType(); this.issueDateField = new IssueDateType(); this.uUIDField = new UUIDType(); this.idField = new IDType(); this.profileExecutionIDField = new ProfileExecutionIDType(); this.profileIDField = new ProfileIDType(); this.customizationIDField = new CustomizationIDType(); this.uBLVersionIDField = new UBLVersionIDType(); this.uBLExtensionsField = new ObservableCollection <UBLExtensionType>(); }