Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDCORE-9567 update utd user contracts #1175

Merged
merged 3 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions Samples/Diadoc.Samples/PostUniversalTransferDocument820.cs
Original file line number Diff line number Diff line change
Expand Up @@ -188,20 +188,20 @@ private static UniversalTransferDocumentWithHyphens BuildUserDataContract()
Unit = "796",
Quantity = 10,
QuantitySpecified = true,
HyphenVat = InvoiceTableItemHyphenVat.True,
HyphenSubtotal = InvoiceTableItemHyphenSubtotal.True
HyphenVat = InvoiceTableItemHyphenVat.@true,
HyphenSubtotal = InvoiceTableItemHyphenSubtotal.@true
}
},
HyphenVat = InvoiceTableHyphenVat.True,
HyphenTotal = InvoiceTableHyphenTotal.True
HyphenVat = InvoiceTableHyphenVat.@true,
HyphenTotal = InvoiceTableHyphenTotal.@true
},
Currency = "643",
DocumentCreator = "Наименование экономического субъекта – составителя файла обмена счета-фактуры",
};

// Передадим информацию о подписанте документа, т.е. персональные данные подписываемого сотрудника,
// которые осядут в самом xml:
universalTransferDocumentWithHyphens.UseSignerDetails(new[]
universalTransferDocumentWithHyphens.Signers = new[]
{
new ExtendedSignerDetails_SellerTitle
{
Expand All @@ -213,7 +213,7 @@ private static UniversalTransferDocumentWithHyphens BuildUserDataContract()
Inn = "7750370238",
Position = "директор"
}
});
};
// Альтернативный способ заполнения данных подписанта:
// отправить в хранилище Диадока аналогичный набор данных через метод PostExtendedSignerDetails
// и затем использовать universalTransferDocumentWithHyphens.UseSignerReferences(new SignerReference[])
Expand All @@ -230,4 +230,4 @@ private static UniversalTransferDocumentWithHyphens BuildUserDataContract()
*/
}
}
}
}
Loading
Loading