Create a separate independent form that suits your need and then submit it as separate entities into the standard FA Form. A sort of POS to dovetail into your FA.
1,176 04/17/2019 09:12:44 am
Re: Easiest way to enter items with sizes (4 replies, posted in Accounts Receivable)
1,177 04/17/2019 08:56:09 am
Re: cannot receive items in Receive Purchase Order Items (3 replies, posted in Accounts Payable)
In the sql/en_US-new.sql standard chart, the fields with the word description in them are defined thus:
# grep description en_US-new.sql | grep -v KEY
`description` varchar(60) NOT NULL DEFAULT '',
`description` varchar(60) NOT NULL DEFAULT '',
`description` varchar(60) DEFAULT NULL,
`reason_description` char(100) NOT NULL DEFAULT '',
`description` tinytext NOT NULL COMMENT 'usage description',
`description` tinytext,
`description` tinytext,
`description` varchar(60) NOT NULL DEFAULT '',
`description` varchar(200) NOT NULL DEFAULT '',
`description` varchar(60) NOT NULL,
`supplier_description` char(50) NOT NULL DEFAULT '',
`description` tinytext,
`description` varchar(60) NOT NULL,
`description` varchar(60) NOT NULL DEFAULT '',
`description` varchar(60) NOT NULL DEFAULT '',
`description` tinytext,
`description` varchar(50) DEFAULT NULL,
`description` varchar(60) NOT NULL DEFAULT '',
`description` varchar(200) NOT NULL DEFAULT '',
`long_description` tinytext NOT NULL,
`description` varchar(200) NOT NULL DEFAULT '',
`long_description` tinytext NOT NULL,
`description` tinytext,
`description` varchar(60) DEFAULT NULL,
`description` char(50) NOT NULL DEFAULT '',
In FA v2.5 alpha, it may be useful to classify the description field differently and standardize their field length / type uniformly.
In the following files that refer to supplier_description, there is no truncation occurring in the code (except where function text_row() is used):
inventory/purchasing_data.php
inventory/includes/db/items_purchases_db.inc
purchasing/includes/purchasing_db.inc
purchasing/includes/db/po_db.inc
reporting/rep209.php
Hence, a mere increase in field size is sufficient ordinarily.
However, where a form field restricts input size / max width using the function text_row() defined in includes/ui/ui_input.inc, changes in 4th (size) and 5th (max width) arguments will also be needed. This is so only in the first file listed above.
1,178 04/17/2019 08:44:28 am
Re: How we can enter negative amount in journal Entry (1 replies, posted in Banking and General Ledger)
Switch from Credit to Debit and vice versa as needed.
1,179 04/17/2019 08:42:12 am
Re: Version 2.4.6 PDF File Error (9 replies, posted in Report Bugs here)
Please try with a windows machine and the latest Firefox. Also post the URL for the right and wrong PDF paths.
1,180 04/17/2019 08:40:19 am
Re: Second company does not create security roles records (5 replies, posted in Report Bugs here)
Have a look at the other charts - this is so for a new table with the new structure to be created should one already exist with possibly a different structure.
1,181 04/16/2019 03:53:51 am
Re: Second company does not create security roles records (5 replies, posted in Report Bugs here)
Refer my chart repo for any changes from the official package.
There is no data for the 0_security_roles table in it.
Refer my commit.
@joe: can correct it in the official package.
1,182 04/16/2019 03:46:50 am
Re: Version 2.4.6 PDF File Error (9 replies, posted in Report Bugs here)
Try Firefox browser or any other non chrome browser and see if it displays correctly. Also try to do a "Save As" of the download file link and see if it comes in correctly.
1,183 04/15/2019 06:00:48 pm
Re: Version 2.4.6 PDF File Error (9 replies, posted in Report Bugs here)
Change settings in browser for PDF viewer to be native viewers or specific programs - Acrobat / SumatraPDF.
1,184 04/07/2019 04:26:27 am
Re: Added Extension - does not appear in menus (5 replies, posted in Installation)
Check the latest FA24extensions repo for changes to the extensions of interest.
1,185 04/07/2019 04:25:00 am
Re: Upgrading (27 replies, posted in Installation)
Verify with the stock sql/en_US-new.sql for any schema changes and unused tables and field orders.
1,186 04/07/2019 04:19:39 am
Re: Withholded tax deduction at PURCHASE transactions (13 replies, posted in Accounts Payable)
Work Done - Supplier Invoice:
Cr John $98
Cr Witholding Tax Payable $2
Dr Repairs and Maintenance (Actual Invoice Amount) $100
Supplier Paid / Allocated
Dr John $98
Cr Bank/Cash $98
Witholding Tax Payment (consolidating all such payables like many $2 or such taxes)
Dr Witholding Tax Payable $2
Cr Bank/Cash $2
1,187 04/07/2019 04:12:56 am
Re: Recurrent Invoices in 2.4 is not sending (15 replies, posted in Report Bugs here)
@joe: any fixes to the core?
1,188 04/07/2019 04:10:50 am
Re: How can we change ICONS in front accounting (5 replies, posted in Setup)
Study existing themes in the FA24extensions repo.
1,189 04/06/2019 03:19:03 am
Re: How can we change ICONS in front accounting (5 replies, posted in Setup)
Create a brand new theme with your icons in place and other customisations.
1,190 04/06/2019 03:13:07 am
Re: Budget Entry - not working for new Accounts (3 replies, posted in Banking and General Ledger)
May need direct DB intervention. Test with debug turned on.
1,191 04/06/2019 03:11:33 am
Re: Translating to nl_NL (8 replies, posted in Translations)
Upload your Dutch translations and paste the link here.
Compare with those in the FA24extensions repo and in Transifex.
1,192 03/31/2019 06:31:13 pm
Re: FA session logout every time when goto any page in Mobile (3 replies, posted in Setup)
The mobile IP keeps getting changed frequently - try searching the forum for a post on disabling IP hijack code in FA.
1,193 03/31/2019 06:29:59 pm
Re: erorr (14 replies, posted in Setup)
For Windows, use the following and schedule them as desired:
FTP Code File
To transfer the file from C:\Users\Admin\Desktop\Test\myfile.zip to the /backupfolder in a remote FTP server we create a file , viz., myremote.ftp in the same folder where our file to be transferred resides having the following text contents:
open <IP of FTP Server>
<FTP Username>
<FTP Password>
lcd /D "C:\Users\Admin\Desktop\Test\"
cd /backupfolder
binary
mput <file to be backed up - wildcards accepted>
disconnect
quit
Windows Batch File
Create a file zipftp.bat to zip up the set of files to be backed up (to a remote FTP server with the above credentials) having the following text contents:
SET MYFILE="myfile.zip"
IF EXIST %MYFILE% DEL /F %MYFILE%
"C:\Program Files\7-Zip\7z.exe" a -tzip %MYFILE% myFAfolder
sleep 1
# A remote file is automatically overwritten when a local file that
# is PUT or MPUT has the same name as the remote file.
ftp -i -s:myremote.ftp
1,194 03/31/2019 06:22:58 pm
Re: How can we change ICONS in front accounting (5 replies, posted in Setup)
The various icons are in the themes/*/images folder.
1,195 03/28/2019 04:50:38 pm
Re: Opening Balances for Advances to Shareholders (1 replies, posted in Accounts Receivable)
Use a Journal Voucher. When an advance is given it will be either in cash or by bank entry or notional / abstract value like royalty / goodwill / goods. Use the appropriate contra account that was the source of funding in the first place.
1,196 03/28/2019 04:27:39 pm
Re: Variables display but empty values sent to database (9 replies, posted in FA Modifications)
Check stale session variables and the need to clear some $_GET variables and acquire it afresh in context.
There could also be several forms on a page that need to be refreshed whilst Ajax addresses only one form at a time.
1,197 03/26/2019 03:29:32 am
Re: Editing Journal Entry (1 replies, posted in Banking and General Ledger)
The file includes/errors.inc has a function frindly_db_error() that is responsible for this. Check the context in which this error appears and then trace it. The said function is called only from within the said file's other function check_db_error(). This means that you will need to watch the parameters that come into the latter function and check which db table record is duplicate based on the sql passed in.
1,198 03/26/2019 03:24:23 am
Re: Can we add more than 1 lines in Journal Entry Section (2 replies, posted in Setup)
Making the Memo field a textarea instead of text input will do the job. All memo fields are TINYTEXT and hence can support reasonably sized multi line textarea content.
# grep memo sql/en_US-new.sql
`memo_` tinytext NOT NULL,
`memo_` tinytext,
`memo_` tinytext NOT NULL,
`memo` tinytext NOT NULL,
`memo_` tinytext,
`memo` tinytext,
`memo_` tinytext NOT NULL,
1,199 03/26/2019 03:19:35 am
Re: Variables display but empty values sent to database (9 replies, posted in FA Modifications)
Unless the whole page is refreshed (no need for Ajax then) as in a regular Submit, other parts of the page are generally not refreshed.
Ajax, by it's very purpose of use is intended to address small / localised tag specific changes on the occurrence of some event generally the change in a field value.
Multiple such Ajax updates can be triggered by such a change to simulate a full page refresh but alignments and overflow of content will need to be handled gracefully.
1,200 03/25/2019 04:54:00 am
Re: Variables display but empty values sent to database (9 replies, posted in FA Modifications)
Unless the Ajax submit specifically restricts variable passing, in general, all $_POST / $_GET elements will be sent in to maintain state with the form at hand and be available globally. Any other variables needed inside of any function must suitably be brought in as arguments or be declared global with it.