Manufacturing Service
The `ManufacturingService` is your primary tool for interacting with manufacturing-specific entities like `ConfigurationEntry`. It allows you to retrieve and update product configurations, which is essential for managing customizable products within Acumatica's manufacturing modules.
Note: This service uses the `MANUFACTURING` endpoint prefix instead of `Default`.
Importing Helpers
To create and update configurations, you need to import the `ConfigurationEntryBuilder`.
from easy_acumatica.models.configuration_entry_builder import ConfigurationEntryBuilder
Service Methods
get_configuration_entry(api_version, configuration_id)
This method retrieves a single `ConfigurationEntry` record by its unique ID. It automatically expands the `Attributes` and `Features/Options` to give you a complete view of the configuration.
# The ID of the configuration to fetch
config_id = "MYCONFIG001"
# Call the get_configuration_entry method
config_entry = client.manufacturing.get_configuration_entry(
"25.100.001",
config_id
)
update_configuration_entry(api_version, builder)
This method sends your changes to a `ConfigurationEntry`. You must provide the `ConfigurationID` within the builder to identify the record to update.
# Build the configuration payload to update a feature
# This example assumes your builder has methods to modify features and options
config_update_payload = (
ConfigurationEntryBuilder()
.configuration_id("MYCONFIG001")
# This is a conceptual example; your builder would need logic
# to find and update the correct option within the Features list.
# .set_option_selected("COLOR", "BLUE", True)
)
# Use the payload to update the record
updated_config = client.manufacturing.update_configuration_entry(
"25.100.001",
builder=config_update_payload
)
ON THIS PAGE
Introduction
Importing Helpers
Service Methods
- get_configuration_entry
- update_configuration_entry