![]() |
Admin 4/8/2021 |
This is an issue with your PHP code added to button's Server event. Inspect buttonhandler.php file to see what's in there around line 341, this will tell you what button causes this. |
K
|
klyle author 4/8/2021 |
I know it has to be the last button added, but the error message doesn't help much. Here is the button code : $rs = DB::Query("select * from StockInwardTransactionDetail where StockInwardTransactionID =" .$record([StockInwardTransactionID])); //Execute the inventory updates in the while loop: while( $data = $rs->fetchAssoc() ) This is : On button click of the TransactionMaster, query the transaction details, and adjust the Inventory by those amounts. Is there something in the code causing this error? |
K
|
klyle author 4/8/2021 |
Line 341 is the update statement. I see that there appears to be an error the syntax at the end. |
K
|
klyle author 4/8/2021 |
Sorry 341/342 is the first Select statement. |
![]() |
Admin 4/9/2021 |
Incorrect:
Correct: |