make plant optional of Material Endpoint in Integration
This commit is contained in:
parent
c75c96d0fd
commit
edf51b4271
|
|
@ -48,13 +48,11 @@ public class IntegrationMaterialRequest
|
||||||
[Range(0.001, 999.999, ErrorMessage = "Unit conversion must be between 0.001 and 999.999.")]
|
[Range(0.001, 999.999, ErrorMessage = "Unit conversion must be between 0.001 and 999.999.")]
|
||||||
public decimal UnitConversionWithBaseUoM { get; set; }
|
public decimal UnitConversionWithBaseUoM { get; set; }
|
||||||
|
|
||||||
[Required(ErrorMessage = "Plant code is required.")]
|
[StringLength(10, ErrorMessage = "Plant code cannot exceed 10 characters.")]
|
||||||
[StringLength(4, ErrorMessage = "Plant code cannot exceed 4 characters.")]
|
public string? PlantCode { get; set; }
|
||||||
public string PlantCode { get; set; }
|
|
||||||
|
|
||||||
[Required(ErrorMessage = "Plant description is required.")]
|
|
||||||
[StringLength(30, ErrorMessage = "Plant description cannot exceed 30 characters.")]
|
[StringLength(30, ErrorMessage = "Plant description cannot exceed 30 characters.")]
|
||||||
public string PlantDescription { get; set; }
|
public string? PlantDescription { get; set; }
|
||||||
|
|
||||||
public string? StorageLocationCode { get; set; }
|
public string? StorageLocationCode { get; set; }
|
||||||
public string? StorageLocationDescription { get; set; }
|
public string? StorageLocationDescription { get; set; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user