Commit Graph

9 Commits

Author SHA1 Message Date
faisolavolut 2292c43d50 feat: Enhance inventory and invoice processing
- Added functionality to handle M_Movement_ID in MID_MInventory, allowing for the creation of inventory lines based on movement lines.
- Implemented a method to sum movement lines in MID_MInventory.
- Improved MID_MInventoryLineMA to ensure proper handling of movement quantities and attribute set instances.
- Introduced createLineFrom method in MID_MInvoice to facilitate line creation from various sources (order, shipment, RMA).
- Updated MID_MPayment to set prepayment status based on order presence.
- Enhanced MID_Production with methods for reversing production documents and validating production lines.
- Created MID_ProductionPlan class to manage production plans and their associated lines.
- Developed MID_InvoiceCreateLineFrom process to automate invoice line creation from selections.
2025-09-02 10:34:42 +07:00
faisolavolut e47a1fd6f1 feat: Enhance MID_CalloutOrder to set C_Currency_ID based on M_PriceList_ID and adjust PaymentRule for non-SOTrx
feat: Add MID_CalloutPPProductBOMLine to handle LineNetAmt calculation based on QtyBOM and PriceEntered

feat: Introduce MID_MPPProductBOMLine for managing product BOM lines and updating low levels

feat: Implement MID_Aging process for generating aging reports with customizable parameters

feat: Create MID_ProductionSingleCreate process to facilitate production line creation with validation

fix: Update MID_MInvoice to include PAYMENTRULE_Transfer in payment rule checks

fix: Modify MID_MOrder to ensure proper handling of MixedPOSPayment rule

fix: Adjust MID_MPayment to validate PaymentRule changes only on new records

fix: Enhance MID_MOrderLine to calculate discount based on price list and entered price
2025-08-20 11:24:07 +07:00
faisolavolut 5a5ac83fda feat: Implement MID_DocProduction, MID_MInventoryLine, MID_MInvoiceLine, MID_MPaymentAllocate, and MID_UpdatePaymentAmountLine classes
- Added MID_DocProduction class for handling production document accounting logic.
- Introduced MID_MInventoryLine class with validations for inventory issues and internal use.
- Created MID_MInvoiceLine class to manage invoice line processing and validations.
- Developed MID_MPaymentAllocate class to handle payment allocation logic and validations.
- Implemented MID_UpdatePaymentAmountLine process to update payment amounts based on allocations.
2025-08-04 14:22:19 +07:00
faisolavolut 014b14c47b feat: Enhance production line handling and inventory management
- Added a new callout in MID_CalloutProductionLine to set locator based on production details and product type.
- Updated MID_DocInvoice to handle service products correctly during invoice processing.
- Introduced MID_MStorageOnHand to manage storage on hand with additional methods for creating and retrieving storage records.
- Created MID_Production and MID_ProductionLine classes to extend production functionalities, including transaction handling and validation for end products.
- Implemented SQL query for invoice details with comprehensive data retrieval for reporting purposes.
2025-07-19 22:13:17 +08:00
faisolavolut 0fd0590bc5 Refactor MID_MInventory and MID_MMovement classes for improved tax calculation and movement line creation
- Updated tax calculation logic in MID_MInventory to check document type using MDocType.
- Enhanced logging for better traceability during inventory movement creation in MID_MMovement.
- Added new methods and properties in X_ps_ppo for better handling of production planning orders, including new fields for inventory issues and receipts.
- Improved code readability and maintainability by restructuring methods and adding comments.
2025-07-14 14:46:57 +07:00
faisolavolut 64abb64200 Enhance MID_DocFactory, MID_CalloutMovement, and MID_CalloutPPO with new locator logic; update inventory handling in MID_MInventory and MID_MMovement; introduce MID_CalloutInventory and Doc_PSPPO for improved document processing. 2025-07-07 11:31:56 +07:00
faisolavolut 81684c9942 Remove obsolete .gitignore file and update MID_MInvoice, MID_MOrder, MID_MOrderLine, and MID_Product classes with new imports and logic enhancements 2025-07-03 11:03:30 +07:00
faisolavolut a7a5195e59 Refactor project namespace from 'andromedia.midsuit' to 'balinusa.midsuit'
- Updated feature.xml to change plugin ID.
- Modified MID_CalloutFactory.xml, MID_CreateFromFactory.xml, MID_DocFactory.xml, MID_FormFactory.xml, MID_ModelFactory.xml, MID_ProcessFactory.xml, and MID_ValidatorFactory.xml to reflect new namespace.
- Adjusted MID_FormFactory.java and MID_ModelFactory.java to update class references and mappings.
- Refactored MID_InsertIntoAllTable.java and MID_UploadPEB.java to change database URL references.
- Created new MID_Product.java class to define product behavior under the new namespace.
2025-06-23 09:43:00 +07:00
faisolavolut a5ac3831fa refactor balinusa 2025-06-13 10:37:09 +07:00