简体   繁体   中英

Provide the answer for below Magento 2.3 question with Explanation

Do you need to send the Invoice data to an ERP system after the invoice is successfully created at Magento? How do you implement this?

  1. Use sales_order_invoice_register observer
  2. After plugin to the Invoice Repository Save method
  3. Preference to the Invoice core class

If you want to synchronize Magento data with ERP system then you need to sync it, and the best method is you should use observer to do this synchronization.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM