Class BcCodeNameViewModel
- Namespace
- Dynamicweb.Ecommerce.Frontend.Invoices
- Assembly
- Dynamicweb.Ecommerce.dll
A Business Central lookup value on a document, such as its salesperson, payment terms or shipment method: the code BC keys it by, and the name to show for it.
public sealed class BcCodeNameViewModel : ViewModelBase
- Inheritance
-
BcCodeNameViewModel
- Inherited Members
- Extension Methods
Properties
Code
The code, e.g. CM. Empty when the document has no value.
public string Code { get; init; }
Property Value
Name
The display name, e.g. Current Month. Falls back to Code when BC has no
name for it or the name could not be looked up, so it is only empty when Code is.
public string Name { get; init; }