November 18, 2024
We're excited to bring you several enhancements and new features to improve your experience with our platform. Here's what's new:
-
Improved Document State Management
- Changes have been made to ensure that the document suffix is set correctly before generating a new number and setting the title, making the document editor more reliable.
-
Reduced Unnecessary Data Duplication
- Removed redundant data copying in document lines, which simplifies the code and enhances overall performance.
-
Enhanced Discount Label Logic
- Added a null check to prevent null pointer exceptions when setting the percentage discount, ensuring that the discount type is only set when the document line ID is not null.
-
Consistent Quantity Access
- Updated methods to access quantity through `getDocumentLine().getQuantity()` for better consistency and leverage of the `DocumentLine` encapsulation.
-
Improved Filename Generation
- Enhanced filename generation by using the template type's localized name for better clarity.
-
Default Width for ComboBox
- Set the ComboBox popup width to the default, ensuring consistent layout and appearance.
-
Database Settings Streamlined
- Upgraded Hibernate and MySQL Connector versions, removed redundant connection driver settings, and reformatted configuration files for better readability.
-
Clarified Primary Key Configuration
- Removed redundant @Id annotations to clarify primary key configuration and avoid potential entity mapping issues.
-
Proper Handling of Nullable Fields
- Changed field types from `int` to `Integer` for proper handling of nullable fields, ensuring correct entity initialization values.
-
Consistent Currency Conversion
- Updated currency conversion factor to default to BigDecimal.ONE for consistent initialization values.
-
Improved Database Connection Encoding
- Changed the character encoding in the JDBC connection URL to 'UTF-8' for better Unicode support and compatibility.
-
Better Date and Time Handling
- Registered JavaTimeModule to handle Java 8 date and time API in JSONUtils for improved date and time management.
These updates are designed to make your interactions with our platform more intuitive and reliable. We hope you find them helpful!
For more details about these updates and to explore the new features, visit our Nebulas portal.

