RRowley

Forum Replies Created

Viewing 15 posts - 31 through 45 (of 301 total)
  • Author
    Posts
  • in reply to: Deleting Line Item Fails #1860
    RRowley
    Participant

    Download latest version and see if that addresses your issue. I found and fixed the error where deletion of an existing line item that has associated tax records was failing.

    in reply to: Date Format #1856
    RRowley
    Participant

    Refer to the Invoice Templates & Styles topic on the left menu. It explains how you can create your own, personalized printed/pdf invoice template. This allows you to personalize the output as you need to. Also, you can try out other templates included with SI by selection in SI Defaults setting.

    in reply to: Reg unable to send email to mutiple receipients #1854
    RRowley
    Participant

    I should have looked up the 3.6.2 section first. I assumed this was the “to” address that you were trying to put multiple addresses in. However the error deals with the email origination fields; from, sender and reply to. Of these only the “from” field is set. If you read the help on the from field, it says specifically that it does not support multiple email addresses. Basically and by default, the from field is intended to be the biller’s email and gets loaded with the biller’s name for the friendly part of the address. Does this address your issue?

    in reply to: Reg unable to send email to mutiple receipients #1853
    RRowley
    Participant

    Are you on the latest version of SI? That would be 2020.4.7. I’ve run several tests on it and seems to work OK for me. I will look more into the swiftmailer package that is used for email to see if the error you are porting is a known issue.

    in reply to: fatal error in 2020.4.5 in products #1839
    RRowley
    Participant

    Make sure you have the intl extension defined in the php.ini file. Restart your web server after changing.

    in reply to: Owing – Issue with invoices #1832
    RRowley
    Participant

    Not sure what is going on. There are a few things I’d like you to update to the latest SI version and check again. Likely won’t change anything but then we are working from common code. Let me know either way. If the problem still occurs, I’ll put together some changes to display data to try and drill into what is going on.

    in reply to: Owing – Issue with invoices #1810
    RRowley
    Participant

    The most likely case is that the si_invoices owing field has been zeroed out. You can set this field to 1 in records to force SI to recalculate the owing field for display purposes. It will also allow you to do payments from the invoice manage screen.

    This slows down processing as the owing value is recalculated for all invoices; paid off or not. If you enter the edit screen for invoices with payments due and save them without making changes, the owing field will be properly set. If you does this for all invoices that are outstanding, you can then change all those with an owing value of 1 back to 0 so they no longer force the recalculation.

    You can use phpMyAdmin to set the owing field to 1:

    UPDATE si_invoices SET owing= 1 WHERE 1

    Later you can use phpMyAdmin to set the owing fields with a value of 1 back to 0:

    UPDATE si_invoices SET owing= 0 WHERE owing = 1

    • This reply was modified 1 year, 5 months ago by RRowley.
    • This reply was modified 1 year, 5 months ago by RRowley.
    • This reply was modified 1 year, 5 months ago by RRowley.
    in reply to: Update from master_2019.2 to master_2020 #1804
    RRowley
    Participant

    You need to restore your database to what it was before you loaded the master_2020 update. Hopefully you exported the 2019.2 database and have the sql file to do the restore. You can drop all the tables in the database, then import the sql file of your 2019.2 database.

    Next in the file, include/init.php, find the line (about line #61):

    $databasePopulated = $patchCount > SqlPatchManager::BEGINNING_PATCH_NUMBER;

    and change it to:

    $databasePopulated = $patchCount >= SqlPatchManager::BEGINNING_PATCH_NUMBER;

    Now access your database again and it should let you apply the patches for 2020 and go forward from there.

    in reply to: DB upgrade errrors on new installation #1801
    RRowley
    Participant

    Need to check if you have a database table named si_products_values. The error says you don’t. Now check if you have a table named si_products_attributes_values.

    If you don’t have either table, create the si_products_values table and try SI again.

    If you have the si_products_attributes_values table then insert the following to the si_sql_patchmanager table:

    FIELD NAME           VALUE
    sql_patch_ref        324
    sql_patch            Rename si_products_values table to si_products_attributes_values
    sql_release          20210527
    sql_statement        ALTER TABLE si_products_values RENAME TO si_products_attributes_values;
    source               fearless359
    

    Adding this to the patch table will tell SI that this patch has been applied.

    Let me know what you find and how this works out.

    • This reply was modified 1 year, 7 months ago by RRowley.
    in reply to: Invoices not appearing in grid #1797
    RRowley
    Participant

    Are you saying that you replicated this problem with the current master_2020 version of SI?

    If so, can you please give me detailed steps so I can replicate and fix?

    in reply to: Invoices not appearing in grid #1794
    RRowley
    Participant

    It would be interesting to see the “quick view” for this invoice. This shows the detail and the amount paid on it. If you can include a picture with Customer and Biller redacted. Also, if you could display the data base records for the invoice. These are in the tables: SI_INVOICES, SI_INVOICE_ITEMS, SI_INVOICE_ITEM_TAX and SI_PAYMENTS.

    In SimpleInvoices, not the invoice number you want to get records for. Use this value to Search the si_invoices table via the index_id field.

    Get the si_invoices record. Note the id value. Use the id of the invoice to select si_invoice_items via the index_id.

    Use the si_invoice_items id value to get si_invoice_item_tax records via the invoice_item_id field.

    Use the si_invoices id value to get si_payment record via the ac_inv_id field.

    If you are using phpMyAdmin, select the table you want to get records from and then us the Search menu to do your selection.

    If you screen show each selection and show it here, we’ll see what the offending record is.

    • This reply was modified 1 year, 8 months ago by RRowley.
    in reply to: Invoices not appearing in grid #1791
    RRowley
    Participant

    Also note that once the precision is set, you can access the invoice in EDIT mode and save it to cause the OWING field to be updated. This should hopefully correct that decimal setting.

    in reply to: Invoices not appearing in grid #1790
    RRowley
    Participant

    What is the localPrecision set to in the config/custom.config.ini file? If this is set to 2, the numeric amount values should be trimmed to 2 decimal places.

    in reply to: Invoices not appearing in grid #1784
    RRowley
    Participant

    I suspect the issue is with attempt to render the two amount fields where data is bad. One thing to try is to print the fields without rendering. This isn’t too difficult. Make a copy of the file “templates/default/invoices/manage.tpl”. Now change the original file from:

                        {
                            "data": "total",
                            "render": function (data, type, row) {
                                let formatter = new Intl.NumberFormat(row['locale'], {
                                    'style': 'currency',
                                    'currency': row['currency_code']
                                });
                                return formatter.format(data);
                            }
                        },
                        {
                            "data": "owing",
                            "render": function (data, type, row) {
                                let formatter = new Intl.NumberFormat(row['locale'], {
                                    'style': 'currency',
                                    'currency': row['currency_code']
                                });
                                return formatter.format(data);
                            }
                        },
    

    to:

                        {"data": "total"},
                        {"data": "owing"},
    

    Now try it an see what the data looks like. Look for any oddities in these two fields. You might have to page past the first screen.

    • This reply was modified 1 year, 8 months ago by RRowley.
    in reply to: Something went wrong, please try saving the invoice again #1780
    RRowley
    Participant

    This is actually the 2019.2 update and this stop is not unexpected. The issue is likely an orphaned record in the database that prevents the foreign key update from applying. You need to look at the error information in the tmp/logs/php.log file. It details what record(s) are at issue. If you want to display that information here or zip and attach the log file, I will look at it and let you know what can be done.

    You can also look at the “Unable to set Foreign Keys Error Handling” topic in the “Version Update Process” menu option on the left.

    NOTE: The php.log file might contain secure information. Be sure to scrub it before attaching/publishing it.

    • This reply was modified 1 year, 8 months ago by RRowley.
Viewing 15 posts - 31 through 45 (of 301 total)