|
@@ -98,7 +98,11 @@ namespace Comal.Classes
|
|
|
|
|
|
[EditorSequence("Pricing", 12)]
|
|
|
public CostSheetSectionLink CostSheetSection { get; set; }
|
|
|
-
|
|
|
+
|
|
|
+ [ProductPriceEditor]
|
|
|
+ [EditorSequence("Pricing", 99)]
|
|
|
+ public ProductPrice Pricing { get; set; }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// Flag to indicate whether stock movements are to be tracked for this item
|
|
|
/// If set, no stock movements will be recorded, even if the Warehouse and/or default location are set
|
|
@@ -176,6 +180,8 @@ namespace Comal.Classes
|
|
|
{
|
|
|
return string.Format("{0}: {1} ({2})", Code, Name, Dimensions.UnitSize);
|
|
|
}
|
|
|
+
|
|
|
+
|
|
|
|
|
|
protected override void Init()
|
|
|
{
|
|
@@ -202,6 +208,7 @@ namespace Comal.Classes
|
|
|
UseDefaultSupplierPricing = true;
|
|
|
|
|
|
Dimensions = new ProductDimensions(() => this);
|
|
|
+ Pricing = new ProductPrice();
|
|
|
}
|
|
|
|
|
|
|