b374k
m1n1 1.01
Apache/2.4.41 (Ubuntu)
Linux vmi616275.contaboserver.net 5.4.0-84-generic #94-Ubuntu SMP Thu Aug 26 20:27:37 UTC 2021 x86_64
uid=33(www-data) gid=33(www-data) groups=33(www-data)
server ip : 62.171.164.128 | your ip : 127.0.0.1
safemode OFF
 >  / home / dev2.destoffenstraat.com / app / code / Amasty / CustomerExportEntity / etc / entity /
Filename/home/dev2.destoffenstraat.com/app/code/Amasty/CustomerExportEntity/etc/entity/customer_balance.xml
Size2.13 kb
Permissionrw-r--r--
Ownerroot : root
Create time17-Aug-2025 10:26
Last modified14-Jun-2025 23:39
Last accessed22-Aug-2025 12:50
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
<?xml version="1.0"?>
<!--
/**
* @author Amasty Team
* @copyright Copyright (c) Amasty (https://www.amasty.com)
* @package Customer Export Entity for Magento 2 (System)
*/-->

<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:amasty:module:Amasty_ExportCore:etc/am_export.xsd">
<entity code="customer_balance">
<name>Customer Balance</name>
<group>Customer</group>
<collectionFactory class="Amasty\ExportCore\Export\Config\CustomEntity\CollectionFactory">
<arguments>
<argument name="tableName" xsi:type="string">magento_customerbalance</argument>
<argument name="idField" xsi:type="string">balance_id</argument>
</arguments>
</collectionFactory>
<enabledChecker class="Amasty\ExportCore\Export\Config\IsModuleEnabled">
<arguments>
<argument name="moduleName" xsi:type="string">Magento_CustomerBalance</argument>
</arguments>
</enabledChecker>
<fieldsConfig>
<fieldsClass class="Amasty\ExportCore\Export\FieldsClass\Describe"/>
</fieldsConfig>
</entity>
<relation code="customer_balance_customer">
<parent_entity>customer_balance</parent_entity>
<child_entity>customer_entity</child_entity>
<sub_entity_field_name>customer_entity</sub_entity_field_name>
<type>one_to_many</type>
<arguments>
<argument name="parent_field_name" xsi:type="string">customer_id</argument>
<argument name="child_field_name" xsi:type="string">entity_id</argument>
</arguments>
</relation>
<relation code="customer_customer_balance">
<parent_entity>customer_entity</parent_entity>
<child_entity>customer_balance</child_entity>
<sub_entity_field_name>customer_balance</sub_entity_field_name>
<type>one_to_many</type>
<arguments>
<argument name="parent_field_name" xsi:type="string">entity_id</argument>
<argument name="child_field_name" xsi:type="string">customer_id</argument>
</arguments>
</relation>
</config>