1
0
mirror of https://github.com/IRPTeam/IRP.git synced 2026-04-24 03:53:25 +02:00

109 Commits

Author SHA1 Message Date
andrey.vorobyov 464558ec29 #IRP-812 2026-04-08 17:07:21 +03:00
Andrey Vorobyov 645abd2184 #IRP-788 Exch. diff. Invoices (#2914)
* #IRP-788

* #IRP-788

* #iRP-788

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
2025-11-24 12:28:28 +02:00
Dmitry Kinash 6f2843eda8 #IRP-721 #IRP-722 #IRP-723 (#2881)
* Refactor default data logic to new DefaultDataServer module

Introduced the DefaultDataServer common module to encapsulate logic for default data retrieval and creation, moving related methods from FOServer. Updated references in catalogs, partners, user settings, and functional option settings to use DefaultDataServer. Added new form and module for functional option settings, and extended localization for functional option groups. Registered the new module in the configuration.

* #IRP-722 - add new FO handler, block editing FO without handler

* Enhance functional options

Moved the Taxes subsystem from Settings to MasterData, updating all related references and file locations. Enhanced the FunctionalOptionSettings form by adding 'Save and Close', 'Check All', and 'Uncheck All' buttons with corresponding handlers. Cleaned up functional option and subsystem content assignments, and improved error handling in FOServer module for functional option value retrieval.

* #IRP-723 Refactor default data update logic

Refactored the UpdateDefaultsAtTransaction procedure in DefaultDataServer module by splitting logic into modular procedures for updating default catalog values. Added a new 'Update defaults' button and command to the FunctionalOptionSettings NewForm, with corresponding client and server handlers to trigger the update. Improved code maintainability and enabled users to update default values directly from the form.

* #IRP-721 new subordinations

* Refactor and split order/cash constants and options

Renamed and split 'UseOrders' into 'UsePurchaseOrders' and 'UseSalesOrders', 'UseCashTransaction' into 'UseCashTransactions', and introduced 'UsePaymentOrders' and related constants, functional options, and rights. Updated all references, forms, modules, and configuration files to use the new names and structure, improving clarity and separation of purchase, sales, and payment order logic.

* fix features

* Refactor functional options and update related content

Reorganized and cleaned up functional options in configuration and module files, removing redundant and outdated content references. Added new report links to planned receipt reservation, purchase orders, and sales orders options. Adjusted subordination arrays and groupings in FOServer, and updated form attributes for agreements. These changes improve modularity and maintainability of functional options.

* Add and update report references in functional options

Added new report references to multiple functional option .mdo files to enhance reporting capabilities across modules such as Aging, Finance, Landed Cost, Purchase, Retail, Sales, and Stores. Also updated or removed some report references to ensure correct feature mapping and avoid duplication.

* Update 001_TestDataBaseSmoke.feature

* #IRP-722 fix features

* Update feature files for table columns and test steps

Adjusted table column order and content in several feature files to align with updated business logic. Added and removed steps in scenarios to streamline functional option settings and test data preparation. Corrected expected values in cash transaction scenarios for accuracy.

* Update incident and accounting feature setup steps

* Update storage volume setup in test features

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-10-24 14:51:19 +03:00
mybracho db54e721ce Changed the price length (#2878)
* Changed the price length

* Changed the amount length

* typeAmount type as in core
2025-10-02 13:07:18 +03:00
Dmitry Kinash cf30a1836e #IRP-568 Add shift number support to fiscal printer modules (#2863)
* #IRP-568 Add shift number support to fiscal printer modules

Introduces handling of shift numbers in fiscal printer client, server, and API modules. Adds ShiftNumber fields to relevant structures, document objects, and information registers. Updates logic to store and retrieve shift numbers alongside check numbers for improved traceability and compliance.

* Add FiscalResponse to CorrectionData and refactor VAT handling

* Add PaymentInFiscalPrinterMode attribute and logic

Introduces the PaymentInFiscalPrinterMode boolean attribute to hardware catalog, retail sales receipt document, and payment forms. Updates UI forms to display and edit this attribute, and modifies payment processing logic to account for payments made in fiscal printer mode, including visibility and validation changes. Also refines cashier name retrieval in the fiscal printer server module.

* Update _8510FiscalPrinter.feature

* Add PaymentInFiscalPrinterMode attribute and update payment logic

* Add 'DocumentPostingAfterPrinting' option for receipts

Introduces the 'DocumentPostingAfterPrinting' boolean attribute to hardware and point of sale forms, allowing receipts to be posted after printing based on this setting. Updates business logic to handle postponed posting, including new procedures for posting and canceling transactions, and adjusts status handling throughout the payment and return process. Also refines data handling in HardwareServer and validation in EquipmentFiscalPrinterClient to support the new attribute.

* Fix nested attribute extraction in GetAttributesFromRef

Updated GetAttributesFromRef to correctly handle nested attribute names using dot notation. Extended unit tests to cover extraction of nested attributes from empty references, ensuring proper structure and default values are returned.

* Fix handling of undefined ConsolidatedRetailSales document

* Show user message if fiscal printer is not set

Added a call to display a user message when attempting to reconnect the fiscal printer and it is not configured. This improves user feedback in cases where the fiscal printer is missing.

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-09-15 15:46:21 +03:00
Andrey Vorobyov bb783b5e54 #IRP-728 (#2866)
Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
2025-09-15 08:40:19 +03:00
Andrey Vorobyov 84cb1497aa #IRP-726 User interface (#2858)
* #IRP-726

* #IRP-726 features refact

Renamed 'Customers partner terms' and 'Vendors partner terms' to 'Customer terms' and 'Vendor terms' across relevant feature files. Updated report opening steps to use hyperlinks instead of command interface selection.

* #IRP-726

* #IRP-726

* add features forDemoDB

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-09-04 17:02:37 +03:00
Andrey Vorobyov 99a78a0308 #IRP-717 Accounting P&L Report (#2854)
* #IRP-717

* #IRP-717

* #IRP-717

* #IRP-717

* #IRP-717

* #IRP-717 Add PLSections catalog test data and PL report scenario

Introduces test data creation for the PLSections catalog in the external test database feature. Adds a new scenario to check the P&L report, including setup, report generation, and result validation in the internal accounting settings feature.

* #IRP-717

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-08-22 15:56:09 +03:00
Dmitry Sherstobitov 58bd2e12c1 #SDR-418 Add secure data storage for integration settings (#2846)
* #SDR-418 Add secure data storage for integration settings

Introduces secure storage for sensitive integration settings via a new information register and module. Adds the StoreInSecureStorage attribute to IntegrationSettings, updates forms and logic to support storing and retrieving hidden values securely, and configures roles and access rights for secure data management.

* Fix typo and add SecureDataStorage access key module

Corrects the typo 'PalceHolder' to 'PlaceHolder' in SecureDataStorage modules and updates all references. Adds ManagerModule for SecureDataStorage information register with GetAccessKey function. Excludes SecureDataStorage from access key checks in Unit_AccessSubsystem.

* Restrict SecureDataStorage read access for roles

Added or updated read rights for InformationRegister.SecureDataStorage in multiple role definitions, setting access to true but restricting it with a WHERE FALSE condition to effectively deny access. This change standardizes the handling of SecureDataStorage read permissions across BasicRole, FullAccess, FullAccessNoAdminFunctions, and FullAccessOnlyRead roles.

* Update _2000LoadCurrencyRate.feature

* Update connection setting retrieval in FillByDefaultAtServer

Replaced GetConnectionSetting() with IntegrationServer.ConnectionSettingTemplate using Object.IntegrationType and Object to obtain connection settings. This change ensures the correct template is used based on the integration type.

* Rename parameter in Unit_SendRequestClientServer

Changed the parameter name from ConnectionSetting to ConnectionSettingData in Unit_SendRequestClientServer and assigned its Value to ConnectionSetting. This clarifies the source of the connection settings and improves code readability.

* Handle ConnectionSettingData without Value property

Updated Unit_SendRequestClientServer to support cases where ConnectionSettingData may not have a Value property or is not a Structure. This improves robustness when handling different types of input for connection settings.

* Exclude SecureDataStorage from tree population

Updated the FillTree procedure to skip the InformationRegisters.SecureDataStorage entry when populating the tree. This prevents SecureDataStorage from being included in the form's metadata tree.

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-08-08 17:37:07 +03:00
Dmitry Sherstobitov faa9fb627d Downgrade to 8.3.5.(1633) 2025-07-24 04:35:45 +03:00
Dmitry Sherstobitov f297880c98 update to CallbackDescription 2025-07-20 19:35:49 +03:00
Dmitry Sherstobitov 8fd55b6a5d Update to 8.3.27 2025-07-20 19:30:04 +03:00
Andrey Vorobyov 5b65966337 #SDR-371 Preliminary stock (#2829)
* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #IRP-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371-2

* #SDR-371-2

* #SDR-371-2

* #IRP-371-2

* #SDR-371-2

* #SDR-371-2

* #SDR-317

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-317

* #SDR-317

* #SDR-371

* fix features

* fix features

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* fix features

* #SDR-371

* #SDR-371

* #SDR-371

* #SDR-371

* fix features for Stock inventory

* #SDR-371

* fix features for Revenue register

* #SDR-371

* #SDR-371

* #SDR-371

* fix features

* #SDR-371

* fix features

* #SDR-371

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-07-08 13:12:16 +03:00
Dmitry Sherstobitov 0e7666228c Simple batch (#2798)
* Add new register

* Rename reg

* add simple batch

* add sequence

* Add posting

* Add movement

* add posting

* add simple batch reset

* Fix

* Fix roles

* fix units

* fix

* fix

* Fix

* fix

* add features

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-06-09 15:52:01 +03:00
Dmitry Kinash be4db0485a #IRP-666 add new system attributes (#2790)
* #IRP-666 add new system attributes

* added test

* Update _9710_InitialDatabaseSettings.feature

* Update _9710_InitialDatabaseSettings.feature

---------

Co-authored-by: GulnaraBasusta <160037415+GulnaraBasusta@users.noreply.github.com>
2025-05-28 09:04:11 -06:00
Andrey Vorobyov 13e4661e36 #IRP-623 System attributes (#2755)
* #IRP-623

* #IRP-623

* #IRP-623

* Update _520MovementsPartnersBalanceRegister.feature

* fix features

* fix features

* #IRP-623

* #IRP-623

* fix comment

* fix

* #IRP-623

* Update _9600AccessRightsSystemDocuments.feature

* Update _9910AccountingSettings.feature

* sort

* fix

* fix

* fix roles

* fix fillings

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
Co-authored-by: Dmitry Sherstobitov <ditrixnew@gmail.com>
2025-04-19 02:17:52 +03:00
Dmitry Sherstobitov b224499778 SDR-311 Add first step mirroring (#2754)
* SDR-311 Add first step mirroring

* fix

* fill tables

* fix

* add features

* Fix localization reuse

* fix

* Add rule

* Fix unit

* fix

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-04-18 09:00:27 +03:00
Andrey Vorobyov 570e8aacc5 #SDR-344 (#2749)
* #SDR-344

* #SDR-344

* #SDR-344

* #SDR-344

* features update

* fix features

* fix features

* #SDR-344

* Update _1000Production.feature

* #SDR-344

* bugfix

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-03-28 06:25:42 -06:00
Andrey Vorobyov 9ca9f5c37c #IRP-613 Withholding tax invoice (#2742)
* #IRP-613

* #IRP-613

* #IRP-613

* #IRP-613

* #IRP-613

* #IRP-613

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
2025-03-24 17:58:19 +02:00
Dmitry Kinash 6a816e5a27 #IRP-611 User-configurable printing subsystem (#2739)
* #IRP-611 User-configurable printing subsystem

* #IRP-611 use ConfigurationMetadata

* fix units

* fix units

* #IRP-611 add features

* Merge branch 'develop' into IRP-611

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2025-03-17 15:32:42 +02:00
Dmitry Kinash a1bbcc813c #IRP-592 add numbering subsystem (#2723)
* #IRP-592 add numbering subsystem

* #IRP-592 unit test edits

* #IRP-592 add new attributes to document forms

* fix bug

* #IRP-592 add catalogs to numbering

* #IRP-592 using basic parts in final number template

* #IRP-592 add internal command to show/hide numerator

* #IRP-592 clear number when copy

* resource renamed

* fix bug
2025-01-24 12:57:01 +02:00
Dmitry Sherstobitov 2ce4c2f012 Issue subsystem (#2690)
* Add City

* Add Locations

* Add Issue Type

* Add Issue

* Create Issue mobile

* Add mobile create issue form

* Add Issue tracker

* new features

* import changes

* merge with dev

* refact

* fix

* rename Locations

* fix attachments

* fix units

---------

Co-authored-by: Dmitry Sherstobitov <11927866+DitriXNew@users.noreply.github.com>
2024-11-28 17:02:56 +02:00
mybracho a1ad1091a5 bug fix in unit tests (#2684) 2024-11-08 05:36:49 +02:00
Dmitry Sherstobitov db788792cb Raise project to 25 (#2661) 2024-10-23 16:22:56 +03:00
Dmitry Kinash 4c5f0783d5 #IRP-436 Add Messaging subsystem (#2578)
* #IRP-436 Add Messaging subsystem

* fix for unit tests

* refactoring

* refactoring

* files subsystem refactoring

* files subsystem refactoring

* fix bugs

* refactoring

* #IRP-436 add features

* Update _40018OutgoingMessage.feature

* Update _40018OutgoingMessage.feature

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-09-06 15:50:08 +03:00
Dmitry Sherstobitov cc62d5a7dd raise units 2024-09-02 18:31:34 +03:00
Andrey Vorobyov 7069325522 #IRP-438 removed AdvanceKeys and TransactionKeys (#2575)
* #IRP-438

* #IRP-438

* #IRP-438

* features update

* #IRP-438

* #IRP-438

* #IRP-438

* fix features

* Update _432DebitCreditNoteMovements.feature

* #IRP-438

* fix features

* Update _1003CustomersAdvance.feature

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-08-29 08:20:03 -06:00
Dmitry Sherstobitov 6f05dbd13f Rename Description to Comment (#2579)
* Rename Description to Comment

* fix comment

* fix Units

* fix

* fix test

* Revert "fix test"

This reverts commit 77342dc79e.

* fix units

* fix

* fix

* fix

* fix

* fix

* fix test

* fix

* fix

* fix

* fix pos

* fix features

* fix

* fix

* fix

* fix

* fix

* Update _1500PriceByItemProperties.feature

---------

Co-authored-by: Dmitry Sherstobitov <11927866+DitriXNew@users.noreply.github.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-08-21 07:26:40 -06:00
Dmitry Sherstobitov 867f77a99d unit up to 24 2024-07-24 06:41:42 +03:00
Dmitry Kinash e48d40318a #IRP-267 add vacation calculation and individual vacation days limit (#2510)
* #IRP-267 add vacation calculation

* add features

* #IRP-267 improvements

* fix features

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-06-13 06:01:14 -06:00
Andrey Vorobyov 0d7bf77e3f #IRP-362 CN/DN Different currencies (#2511)
* #IRP-362

* Update ImportDataDebitCreditNote.feature

* Update _432DebitCreditNoteMovements.feature

* #IRP-362

* Update _432DebitCreditNoteMovements.feature

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-06-11 10:21:05 -06:00
Andrey Vorobyov 263831894a #IRP-342 Taxes (#2499)
---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-06-05 05:28:07 +03:00
Andrey Vorobyov 88bc6a2588 #bugfix (#2502)
Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
2024-05-31 06:52:26 -06:00
Andrey Vorobyov 30ce9ad989 #IRP-300 #IRP-301 bugfix (#2468)
* #IRP-301

* #IRP-300

* #IRP-301

* #IRP-301 add features

* Update _432DebitCreditNoteMovements.feature

* #IRP-301

* #IRP-301

* Update _432DebitCreditNoteMovements.feature

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-05-07 08:54:44 -06:00
mybracho 90e8dc09e6 #2424 New data processor EditDocumentsMovements (#2434)
* #2424 DataProcessor EditDocumentsMovements

* #2424 Common command for correcting movements

* #2424 DataProcessor EditDocumentsMovements

* #2424 Data processor "EditDocumentsMovements"

* #2434 Code reviev

* #2424 after merge with develop

* #2424 EditDocumentsMovements StrictType

* #2424 Code review

* #2424 Code review

* #2424 Code Review

* #IRP-2424 add features

* Update _6005EditDocumentsMovements.feature

* #2424 Code review

* Update _6005EditDocumentsMovements.feature

* return All_Errors.cset

* Return com.e1c.g5.v8.dt.formatter.bsl.prefs

* #2424 WriteAdvances before table comparison

* Update _6005EditDocumentsMovements.feature

* #2424 Merge with develop

* #2424 Code review

* features update

* features update

---------

Co-authored-by: ereminS <89384898+ereminS@users.noreply.github.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
Co-authored-by: Dmitry Sherstobitov <ditrixnew@gmail.com>
2024-04-30 13:54:59 -06:00
Dmitry Sherstobitov 78ab43fb09 update settings 2024-04-22 16:25:10 +03:00
Dmitry Sherstobitov fcd211f655 IRP-268 Unit show in PI and SI Payment status (#2454) 2024-04-18 07:49:29 -06:00
Andrey Vorobyov e9bcc814d2 #IRP-256 Dr/Cr notes in Partners balance (#2431)
---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-04-05 08:57:01 +03:00
Dmitry Sherstobitov 67f6a5cdaf IRP-241 For the fiscal device, it's necessary to add an attempt to re… (#2429)
* IRP-241 For the fiscal device, it's necessary to add an attempt to read XML and, in case of an error, log it.

* fix Unit tests
2024-04-02 09:25:08 -06:00
Andrey Vorobyov 2765f8aead #IRP-237 FA improved (#2427)
* #IRP-237

* #IRP-237

* #IRP-237 add features for fixed assets

* fix features

* #IRP-237 accounting

* Update _0980FixedAssets.feature

* #IRP-237

* Update _0980FixedAssets.feature

* #IRP-237 add features

* Update TestDataBase.feature

* #IRP-237

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-04-02 09:24:53 -06:00
Dmitry Sherstobitov 2fd45dc58b Refact (#2422)
* refact

* refact query

* remove procurement

* refact

* refact

* refact

* refact

* add rules

* reload

* fix features

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-03-25 10:05:28 +02:00
Dmitry Sherstobitov 69fd78ad66 IRP-161 Add register report new version (#2405)
* irp-161 Add register report new version

* Update _0403SalesOrderMovements.feature

* IRP-161 fix

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-03-19 17:14:03 +02:00
Dmitry Kinash eb8f508062 #IRP-234 new attributes and catalogs (#2415)
* #IRP-234 add new attributes and new catalog Incoterms

* #IRP-234 access for incoterms, filters for LNC

* #IRP-234 fix unit test

* #IRP-234 enable code editing for Incoterms

* #IRP-234 add new features + features refact

* Update ImportData.feature

* Update _00504CompaniesCatalog.feature

---------

Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-03-15 21:27:11 +02:00
Andrey Vorobyov 7cb0327f6a #IRP-231 bugfix + unit test (#2411)
* #IRP-231

* #IRP-231

* #IRP-231

---------

Co-authored-by: Andrey Vorobyov <andrey.vorobyov@mail.com>
2024-03-14 08:38:15 -06:00
Dmitry Sherstobitov 2da48f328d #2365 #IRP-37 Add print info data (#2366)
Co-authored-by: Natalia Trukhachova <66120736+Severnity@users.noreply.github.com>
2024-01-24 21:14:35 +02:00
Dmitry Sherstobitov f8be04252b #2337 #IRP-128 Check document posting (#2347) 2024-01-11 17:00:23 +02:00
Dmitry Sherstobitov 2af583cc8f Merge pull request #2256 from IRPTeam/issue_2255
#2255 Set error on empty in all Key field
2023-11-10 14:20:03 +03:00
Andrey Vorobyov 87bf4b6424 #2255
#2255
2023-11-09 15:31:27 +02:00
Dmitry Sherstobitov aa36c08756 fix units 2023-11-05 18:40:51 +02:00
Dmitry Sherstobitov a66edb7d62 #2228 fix rights 2023-10-27 15:25:33 +03:00