I have 2 issues using hooks. I have created a complete order entry and tracking system using dadabik. Works great. I have used functions with
success including automatically retrieving GPS coordinates and maps from mobile users. Here are my 2 issues.
1) As soon as I un-comment any of your examples of hooks, the program literally crashes.
2) I need to accomplish the following:
(Simple Description - as I actually have about 18 tables, but the operation I need just deals with 3 tables)
I have 3 tables: CLIENTS, ORDERS and ACCOUNT_REPS
A user creates a new order in the ORDERS table.
The ORDERS table has a field for Client_Name.
The Client_Name is selected from a single select drop down which is linked to the CLIENTS table.
That all works fine.
(Here is the issue)
In the CLIENTS table, I have a field that contains an Account_Reps_Name which is retrieved from the ACCOUNT_REPS table and populated when a new client is added to the system (CLIENT table).
When creating a new order, I need to retrieve the Account_Reps_Name from the CLIENTS table automatically when the Client is selected and insert it into a field in the ORDERS table.
I need an example or guidance on the above...
mysql version: 8.0.22-0ubuntu0.20.04.2
Web server: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36
success including automatically retrieving GPS coordinates and maps from mobile users. Here are my 2 issues.
1) As soon as I un-comment any of your examples of hooks, the program literally crashes.
2) I need to accomplish the following:
(Simple Description - as I actually have about 18 tables, but the operation I need just deals with 3 tables)
I have 3 tables: CLIENTS, ORDERS and ACCOUNT_REPS
A user creates a new order in the ORDERS table.
The ORDERS table has a field for Client_Name.
The Client_Name is selected from a single select drop down which is linked to the CLIENTS table.
That all works fine.
(Here is the issue)
In the CLIENTS table, I have a field that contains an Account_Reps_Name which is retrieved from the ACCOUNT_REPS table and populated when a new client is added to the system (CLIENT table).
When creating a new order, I need to retrieve the Account_Reps_Name from the CLIENTS table automatically when the Client is selected and insert it into a field in the ORDERS table.
I need an example or guidance on the above...
Your current DaDaBIK version
You are using DaDaBIK version 10.3-Manarola enterprise, installed on 10-31-2020 (installation code: 161525f9d843a6507f), the latest version of DaDaBIK is 11.4-Elba released on 02-28-2022System info
PHP Version: 7.4.3mysql version: 8.0.22-0ubuntu0.20.04.2
Web server: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f
Client: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.110 Safari/537.36