The task of displaying the balance in the priority warehouse
Posted: Wed Feb 12, 2025 9:08 am
For various 1C configurations, there are ready-made exchange modules with Bitrix.
The ability to upload balances from one or several warehouses to the site is a typical scenario. The standard module does not always allow exchanging the necessary latvia mobile database data, so it provides the ability to customize.
The customer had a standard exchange between 1C and Bitrix . Balance accounting, order management and reservations were performed on the 1C side, and the online store worked according to a standard scheme:
received a catalog, prices and balances from 1C;
accepted orders from customers;
transferred orders and payments for them to 1C (only for individuals);
received information from 1C about the order movement (change in order status and shipment of it).
The processing mechanism was different for legal entities and individuals in terms of accounts, balances and shipping methods. Legal entities were identified using the INN/KPP/OGRN fields.
It was necessary to add:
linking user groups and agreements to price types. Wholesalers should not be shown retail prices;
Correlating user groups with groups of order work statuses. It was necessary to modify the exchange module in such a way that the terms of contracts and agreements on prices with legal entities were automatically pulled to wholesale orders. For example, for legal entities, instead of making separate exchange settings different from individuals, we added a parameter for checking the conditions from the contract. If the contract/agreement contains certain conditions, then they are automatically pulled to wholesale orders. If not (or there is no contract), then the conditions for individuals are triggered;
binding of legal entity users to a priority warehouse. In this case, the legal entity must receive information about the amount of balances in all linked warehouses. You can display balances in regional warehouses by enabling the multi-regional option in Bitrix , but the functionality of binding warehouses to a user is our custom development;
output of information on availability and delivery times only for legal entities;
Separation of payment methods for user groups.
The ability to upload balances from one or several warehouses to the site is a typical scenario. The standard module does not always allow exchanging the necessary latvia mobile database data, so it provides the ability to customize.
The customer had a standard exchange between 1C and Bitrix . Balance accounting, order management and reservations were performed on the 1C side, and the online store worked according to a standard scheme:
received a catalog, prices and balances from 1C;
accepted orders from customers;
transferred orders and payments for them to 1C (only for individuals);
received information from 1C about the order movement (change in order status and shipment of it).
The processing mechanism was different for legal entities and individuals in terms of accounts, balances and shipping methods. Legal entities were identified using the INN/KPP/OGRN fields.
It was necessary to add:
linking user groups and agreements to price types. Wholesalers should not be shown retail prices;
Correlating user groups with groups of order work statuses. It was necessary to modify the exchange module in such a way that the terms of contracts and agreements on prices with legal entities were automatically pulled to wholesale orders. For example, for legal entities, instead of making separate exchange settings different from individuals, we added a parameter for checking the conditions from the contract. If the contract/agreement contains certain conditions, then they are automatically pulled to wholesale orders. If not (or there is no contract), then the conditions for individuals are triggered;
binding of legal entity users to a priority warehouse. In this case, the legal entity must receive information about the amount of balances in all linked warehouses. You can display balances in regional warehouses by enabling the multi-regional option in Bitrix , but the functionality of binding warehouses to a user is our custom development;
output of information on availability and delivery times only for legal entities;
Separation of payment methods for user groups.