Jump to content

Changing Database


Jam

Recommended Posts

Hello, I changed some of the tables, because we need a 10 digit. 

We need to change the amount, to get the actual amount of said invoice. 
My question is if I totally change this table, is there any table that will be affected?
What will happen if I totally changed the tables?

image.png.97c68cb4953e3878558f22e51b0e5e7a.pngimage.png.334a16598dd6245827d8c8d640ccd901.png

Link to comment
Share on other sites

6 hours ago, Jam said:

My question is if I totally change this table, is there any table that will be affected?

I suspect that you'd have to change the settings of all pricing fields in the rest of the database tables - as an example, if you didn't do that, then as soon as an invoice is paid and the amounts copied to tblaccounts, you'd be potentially copying a 10+ digit total amount value into an 8 digit field.

if you are going to do this, i'd seriously suggest doing it in a dev install first to ensure that there is nothing hardcoded to 10,2 in the software... from memory, I don't think there is - but I haven't tested doing this in every version, so there may have been subtle changes.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated