Analysis on the implementation of data synchronization between different software databases

Source: Internet
Author: User

Target: K3 database of sales orders automatically entered production management system

Method: Database Trigger

Process:

1. Export Analysis K3 database table structure, production Management system database table structure

2. Make K3 foreground item--k3 the corresponding column in the database--the corresponding column in the production management system database--production management system foreground project

3. Understand K3 's sales data Entry database process: order form, order Detail table in the order of data insertion

4. Understand what data the K3 database can pass directly to the production management system database, transfer those data indirectly (data needs to be taken from other tables, split, merge, etc.)

5. Trigger test (from simple to complex: roller skates--skateboard--bicycles--electric cars--cars--trains)

EG:K3 "Order Detail table" data is inserted before "order form" (and there is no order number in the Order Detail table, and the order number cannot be removed from the "Order table" by querying the Finterid value-because the order form is not yet inserted), I will first "Order Detail table" The required data is inserted into the production management system database, and the data records inserted into the production management system database that do not meet the requirements are removed from the triggers in the Orders table--"The Place is Dead"

Analysis on the implementation of data synchronization between different software databases

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.