cPool Class
![]() |
Member of: SynthesisAPI
Represents a spare part pool resource.
Constructors
| Name | Description |
|---|---|
| cPool | Creates an instance of the cPool class. |
| cPool() | A parameterized constructor for the cPool class. (.NET only) |
Properties
| Name | Description |
|---|---|
| ID | Gets the numeric ID of the spare part pool. Integer. |
| ItemApplication | Gets or sets the item's application. (Synthesis identifier) String |
| ItemCategoryID | Gets or sets the category ID. (Synthesis identifier) Integer |
| ItemComments | Gets or sets the comments. (Synthesis identifier) String |
| ItemDescription | Gets or sets the description. (Synthesis identifier) String |
| ItemKeywords | Gets or sets the keywords. (Synthesis identifier) String |
| ItemPartNumber | Gets or sets the part number. (Synthesis identifier) String |
| ItemSupplier | Gets or sets the supplier name. (Synthesis identifier) String |
| ItemVersion | Gets or sets the version number. (Synthesis identifier) String |
| Name | Gets or sets the name of the spare part pool. String. |
| ProjectID | Gets the numeric ID of the project the pool belongs to. Integer. |
| DelayModelID | Gets the numeric ID of the pool's logistic delay model. Integer. |
| DirectCostModelID | Gets or sets the numeric ID of the model that represents the pool's direct cost per dispensed item. Integer. |
| FixedProbabilityValue | Applies only if the UseFixedProbability property is true. Gets a fixed probability of stockout for the pool. Double. |
| IndirectCostModelID | Gets the numeric ID of the model that represents the pool's logistic time for spare acquisition. Integer. |
| SparesLimit | Gets the pool's initial stock level. A value of zero (0) indicates unlimited spares. Integer. |
| SparesLimitVariableID | Gets the numeric ID of the pool's spares limit variable. Integer. |
| UseFixedProbability | Indicates whether a fixed probability should be used as a spare acquisition type. Boolean. If true, specify a value for the FixedProbabilityValue property. |
| HasMaxCapacity | Applies only if the value of SparesLimit is greater than zero (0). Indicates whether the pool has a maximum capacity. Boolean. |
| MaxCapacity | Applies only if the value of SparesLimit is greater than zero (0). Gets or sets the pool's maximum capacity. Integer. |
| MaxCapacityVariableID | Applies only if the value of SparesLimit is greater than zero (0). Gets the numeric ID of the variable that represents the pool's maximum capacity. Integer. |
| RestockAddNumber1 | Gets the number added per restock for scheduled restocking. Integer. |
| RestockAddNumber1VariableID | Gets the numeric ID of the variable that represents the number added per restock for scheduled restocking. Integer. |
| RestockAddNumber2 | Gets the number added per restock for as-needed restocking. Integer. |
| RestockAddNumber2VariableID | Gets the numeric ID of the variable that represents the number added per restock for as-needed restocking. Integer. |
| RestockEvery | Gets or sets the value for how often the pool should be restocked (for scheduled restocking). Double. |
| RestockEveryUnit | Gets or sets the units of measurement for the RestockEvery property (1 = the first unit of measurement defined in the repository). Integer. |
| RestockEveryVariableID | Gets the numeric ID of the pool's "Restock every" variable. Integer. |
| RestockModelID | Gets the numeric ID of the pool's restock model. Integer. |
| RestockOn | Gets the pool's RestockOn number (0 = no restock, 1 = scheduled restock, 2 = restock as needed, 3 = both 1 and 2). Integer. |
| RestockWhen | Gets the pool's "Restock when stock drops to" value. Integer. |
| RestockWhenVariableID | Gets the numeric ID of the variable that represents the pool's "Restock when stock drops to" value. Integer. |
| CanObtainEmerg | Indicates whether emergency spares can be obtained if needed. Boolean. |
| EmergAddCostModelID | Gets the numeric ID of the model that represents the additional costs for emergency spares. Integer. |
| EmergAddNumber | Gets the number of spares added per emergency. Integer. |
| EmergAddNumberVariableID | Gets the numeric ID of the variable that represents the number of spares added per emergency. Integer. |
| EmergModelID | Gets the numeric ID of the model that represents the required time for emergency spares. Integer. |
| OffSitePoolEmergencyID | Gets the numeric ID of the model that represents the logistic time for spare acquisition under the emergency spare provisions. Integer. |
| OffSitePoolRegularID | Gets the numeric ID of the model that represents the off-site spare part pool under the emergency spare provisions. Integer. |
