Quellcode durchsuchen

Added some comments about suppliercode and removed a linked property

Kenric Nugteren vor 4 Monaten
Ursprung
Commit
0e65ee83dc

+ 0 - 1
prs.classes/Entities/PurchaseOrder/PurchaseOrderItem.cs

@@ -230,7 +230,6 @@ namespace Comal.Classes
         
         static PurchaseOrderItem()
         {
-            LinkedProperties.Register<PurchaseOrderItem, ProductLink, String>(x => x.Product, x => x.Code, x => x.SupplierCode);
             LinkedProperties.Register<PurchaseOrderItem, ProductLink, String>(x => x.Product, x => x.Name, x => x.Description);
             
             LinkedProperties.Register<PurchaseOrderItem, TaxCodeLink, Guid>(x => x.Product.TaxCode, x => x.ID, x => x.TaxCode.ID);

+ 8 - 0
prs.classes/Entities/Supplier/SupplierProduct.cs

@@ -39,10 +39,18 @@ namespace Comal.Classes
         [EditorSequence(4)]
         public ProductStyleLink Style { get; set; }
         
+        /// <summary>
+        /// The product code as the supplier knows it.
+        /// </summary>
+        [Comment("Product code as the supplier knows it.")]
         [CodeEditor(Editable = Editable.Enabled)]
         [EditorSequence(5)]
         public string SupplierCode { get; set; }
 
+        /// <summary>
+        /// Product description as the supplier knows it.
+        /// </summary>
+        [Comment("Product description as the supplier knows it.")]
         [TextBoxEditor]
         [EditorSequence(6)]
         public string SupplierDescription { get; set; }