conneqt / module-sap-my-account
N/A
Requires
- php: >=8.1
- conneqt/m2-module-sap-base: ^1.2.0
- dompdf/dompdf: *
- magento/framework: *
- picqer/php-barcode-generator: *
- dev-develop
- 1.4.0
- 1.3.0
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.8
- 1.1.7
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.18
- 1.0.17
- 1.0.16
- 1.0.15
- 1.0.14
- 1.0.13
- 1.0.12
- 1.0.11
- 1.0.10
- 1.0.9
- 1.0.8
- 1.0.7.1
- 1.0.7
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- dev-feature/the-big-2.0-update
- dev-feature/invoice-attachment-error-handling
- dev-feature/expand-order-helper
- dev-feature/correct-no-rmas-template
- dev-hotfix/deprecated-dynamic-property
- dev-feature/improved-address-validation
- dev-feature/INT-75-config-function-comments
- dev-feature/account-name-validation
- dev-bugfix/customer-lister
- dev-feature/equipment-cards
- dev-feature/count-notation
- dev-feature/support-sap-base-1.2.0
- dev-feature/billing-shipping-address-changes
- dev-feature/additional-sap-fields-fix
- dev-feature/general-improvements
- dev-feature/address-editing
- dev-feature/add-logging-option
- dev-feature/pdf-dependencies
- dev-feature/rma-data-rework
- dev-feature/invoice-total-fix
- dev-feature/order-additional-data-guest-rma-improvement
- dev-feature/adjust-login-error-message
- dev-feature/guest-request-fix
- dev-feature/anti-caching-update
- dev-feature/fixes-and-optimizations
- dev-feature/modify-address
- dev-feature/Fixed-multiple-issues
- dev-feature/INT-56-INT-58
- dev-feature/order-filter-bug-fix
This package is auto-updated.
Last update: 2024-12-24 15:46:50 UTC
README
How do the configurations work?
- Use SAP account -> By setting this option to
Yes
the anchor tags that navigate to the customer dashboard are redirect to the modules SAP dashboard page if this option is set toNo
the anchor tags will just redirect to the Magento dashboard page. - Use SAP address -> By setting this option to
Yes
the anchor tags that navigate to the customer address book are redirect to the modules SAP address book page if this option is set toNo
the anchor tags will just redirect to the Magento address book page. This option also influences address overview in the SAP dashboard. - Allow creating new addresses -> By setting this option to
Yes
an anchor tag is added to the SAP address book page which redirects to an address creation form. - Use SAP order history -> By setting this option to
Yes
the anchor tags that navigate to the customer order history are redirect to the modules SAP order history page if this option is set toNo
the anchor tags will just redirect to the Magento order history page. - Use SAP return request -> By setting this option to
Yes
an anchor tag is added to the navigation menus which redirects to the SAP return history page. - Use SAP invoice -> By setting this option to
Yes
an anchor tag is added to the navigation menus which redirects to the SAP invoice history page.
Setup configuration
For this module to work you will have to make sure the API credentials are filled in for the SAP base module.
The settings for the SAP base module can be found at Store > Configuration > Conneqt > SAP
For customers to see their SAP information the field CardCode
has to be filled in, this field can be found in the admin environment navigate to the customers edit page and under Account information you will find the field at the bottom.
The value of CardCode
should be the same as the value of CardCode
in SAP for this customer. Customers will only see their personal information on the dashboard if the magento accounts email matches that of the data from SAP.
What does it do?
This module creates pages for logged in customers where they can find their data from SAP, this data is collected from SAP using APIS from SAP directly.
How to setup backorders
As backorders can't be collected using a default SAP endpoint we have to add a custom SQL endpoint.
In Postman run the following api.
- TYPE: Post
- URL: {{base_url}}SQLQueries
- Body:
{ "SqlCode": "GetBackorders", "SqlName": "GetOrderInfoForCustomer", "SqlText": "SELECT ORDR.DocNum, ORDR.DocDate,ORDR.DocDueDate,RDR1.ItemCode,RDR1.Dscription,RDR1.Price, RDR1.OpenQty, RDR1.Quantity FROM ORDR ORDR inner join RDR1 RDR1 on ORDR.DocEntry = RDR1.DocEntry inner join OCRD OCRD on ORDR.CardCode = OCRD.CardCode WHERE ORDR.DocStatus <> 'C' and RDR1.LineStatus <> 'C' and RDR1.OpenQty <> 0 and ORDR.CardCode = :CardCode" }