Properties
| Name | Description | Type | Additional information |
|---|---|---|---|
| FunctionName |
Gets or sets the function name |
string |
None. |
| MaxQuantity |
Gets or sets the maximum number of parts you can execute this function on. |
integer |
None. |
| PartNumber |
Gets or sets the suggested new part number |
string |
None. |
| IsPartNumberEditable |
Get or sets whether you are allowed to change the part number. True means that you can change the part number |
boolean |
None. |
| Status |
Gets or sets to the suggested new status |
string |
None. |
| StatusRules |
The list of status codes will either contain one value (Inherit) or multiple values. If only one value is specified and the value is Inherit the to status code should be set equal to status from previously executed function. If list contains multiple entries user should choose one of them. |
string |
None. |
| ToLocation |
Sets or gets to location, use RequisitionLineEventRule.ToLocationRules to find valid values for ToLocation |
StockLocation |
None. |
| ToLocationRules |
Gets or sets location rules for RequisitionLineEventRule.ToLocation, it is important that these rules are followed if you want avoid exceptions when applying the function. |
LocationRule |
None. |
| FromLocation |
Gets or sets from location, use RequisitionLineEventRule.FromLocationRules to find valid values for FromLocation |
StockLocation |
None. |
| FromLocationRules |
Sets or gets location rules for RequisitionLineEventRule.FromLocation, it is important that these rules are followed if you want avoid exceptions when applying the function. |
LocationRule |
None. |
| AdditionalInfo |
Gets or sets whether you should fill out the additional info property when applying this function |
FieldModel |
None. |
| Supplier |
Gets or sets the new supplier |
integer |
None. |
| SupplierDisplayText |
Gets or sets the supplier display text, usually name |
string |
None. |
| IsSupplierEditable |
True if Supplier can be set, false otherwise |
boolean |
None. |
| CustomPropertiesRule |
Gets or sets whether all custom properties must be filled out prior to executing this function |
boolean |
None. |
| RequiredCustomProperties |
Gets or sets a list of requisition line custom properties that must be filled out before this function can be applied. |
Collection of string |
None. |
| FunctionDescription |
Gets or sets the function description |
string |
None. |
| SerialNumberRules |
Gets or sets serial number rules. Even if function expects serial number handling you will also have to check PartModel.IsUsingSerialNumberHandling to see if serial number handling is required. Use PartController.GetPart(PartController.PartArgumentModel) to get information about the part |
SerialNumberRule |
None. |
| SerialNumberPhase |
Gets or sets the serial number phase, You will need this value when creating the LookupController.GetLookupArgumentModel for getting valid serial numbers. |
integer |
None. |
| IsQuantityEditable |
Gets or sets if quantity is editable. If quantity is not editable it must be set to MaxQuantity and no other value. |
boolean |
None. |
| Zone |
Get or set requisition function zone. |
FunctionZoneEnum |
None. |
| VisibleForCarrier |
Get or set function visible for carrier |
boolean |
None. |