|
@@ -3,16 +3,14 @@ using InABox.Core;
|
|
|
|
|
|
namespace Comal.Classes
|
|
namespace Comal.Classes
|
|
{
|
|
{
|
|
- public class SupplierProductLink : EntityLink<SupplierProduct>
|
|
|
|
|
|
+
|
|
|
|
+ public class ProductSupplierLink : EntityLink<SupplierProduct>
|
|
{
|
|
{
|
|
[LookupEditor(typeof(SupplierProduct), "SupplierLink.Code", "SupplierLink.Name")]
|
|
[LookupEditor(typeof(SupplierProduct), "SupplierLink.Code", "SupplierLink.Name")]
|
|
public override Guid ID { get; set; }
|
|
public override Guid ID { get; set; }
|
|
|
|
|
|
public SupplierLink SupplierLink { get; set; }
|
|
public SupplierLink SupplierLink { get; set; }
|
|
-
|
|
|
|
- [NullEditor]
|
|
|
|
- public ProductLink ProductLink { get; set; }
|
|
|
|
-
|
|
|
|
|
|
+
|
|
[CodeEditor(Visible = Visible.Default, Editable = Editable.Hidden)]
|
|
[CodeEditor(Visible = Visible.Default, Editable = Editable.Hidden)]
|
|
public string SupplierCode { get; set; }
|
|
public string SupplierCode { get; set; }
|
|
|
|
|