Skip to forum content
FrontAccounting forum
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
Active topics Unanswered topics
Search options (Page 76 of 246)
Topics by apmuthu User defined search
Posts found: 1,876 to 1,900 of 6,143
The Bank Statement only knows Customer and Suppliers as that is where the AR/AP allocations take place. Everything else is a mere Journal kind of Transaction without tracking allocations that can be seen in the GL Account Transactions.
@joe: is this right?
The commit has not appeared as yet in the GitHub repo.
@Rmendez confirms that this commit solves his issue.
Committed the Auto Chart of Accounts Generator in my FA24Mods repo.
This generates the standard 4 digit CoA based on the en_US-new.sql file.
Upload the generated Chart to the sql folder and use it to create companies based on it.
Can also access it online.
This method can also be used to generate a skeleton for any new extension as well.
The screenshot is self-explanatory. The concerned file is sales/sales_order_entry.php. Whilst the max length of the form field allows 35 characters, the displayed form field is restricted to 10 characters.
In the DB tables, the field sizes are all normally VARCHAR:
reflines.pattern - 35
refs.reference - 100
sales_orders.reference - 100
debtor_trans.reference - 60
purch_orders.reference - TINYTEXT
supp_trans.reference - TINYTEXT
supp_trans.supp_reference - 60
stock_moves.reference - CHAR 40
workorders.wo_ref - 60
wo_manufacture.reference - 100
wo_issues.reference - 100
suppliers_supp_ref - 30 (***less than general form field max of 35***)
cust_branch.branch_ref - 30 (***less than general form field max of 35***)
journal.reference - 60
grn_batch.reference - 60
dimensions.reference - 60
bank_trans.ref - 40
@joe: are there an rationalisations needed amongst these fields and field types.
@Rmendez asked:
I am using FA version 2.4.3...............
Can you help me with this??............Please................
"Increase size of Reference field in Direct Invoice"
There are no BEGIN ... COMMIT raw blocks in FA core codebase and possibly not even in any official Extension.
However, local SQL wrapper functions begin_transaction() and commit_transaction() exist and have such a check for non negative values as defined in includes/db/sql_functions.inc.
Create an account for you bank in the chart_master - Banking & GL => GL Accounts
Then assign / link that account as a Bank Account - Banking & GL => Bank Accounts
Thereafter, you can use it in Quick Entries like normally.
@joe: Kindly add RBI into the list of forex providers as appropriate using the list from my function.
At the moment, YAHOO does not provide Forex for FA.
Link: http://203.84.220.151/d/quotes.csv?s=INRLKR=X&f=sl1d1t1ba&e=.csv
ECB provides Forex rates for:
AUD
BGN
BRL
CAD
CHF
CNY
CZK
DKK
GBP
HKD
HRK
HUF
IDR
ILS
INR
ISK
JPY
KRW
MXN
MYR
NOK
NZD
PHP
PLN
RON
RUB
SEK
SGD
THB
TRY
USD
ZAR
Link: http://www.ecb.europa.eu/stats/eurofxref/eurofxref-daily.xml
GOOGLE works for some currencies and the list of valid currencies differs between access locations.
Link: http://finance.google.com/finance/converter?a=1&from=LKR&to=INR
BLOOMBERG has issues with some currencies like LKR.
https://www.bloomberg.com/quote/LKRINR:CUR
The search for LKRINR:CUR produced no matches. Try the symbol search.
Many symbols available on the Bloomberg Professional Service are not available on Bloomberg.com. To learn more about the Bloomberg Professional Service...
Search the Forum and Wiki first.
https://frontaccounting.com/punbb/viewtopic.php?id=4095
https://frontaccounting.com/punbb/viewtopic.php?id=3863
The template file is in lang/new_language_template/locale.inc which you need to copy over to your language folder and make your own routines - if they are different from normal English methods on standard translations.
The TB_PREF is a constant defined as the value of the tbpref array element in the appropriate company# in the config_db.php file. It is the table prefix for your database instance used for the company under reference, generally: 0_, 1_, etc.
All PT_* and ST_* constants among others are defined in includes/types.inc file.
The hard coded date and other parts of the sql are generally taken from the SysPrefs object or from various form fields the scripts interact with.
Unless filtered by a specific voucher type, the number wise sorting will be erroneous as the same number can appear across different dates if they belong to different voucher types.
As the vouchers are sorted by date, all transaction numbers across all voucher types will get listed in the order they were entered by default.
In the case of rep702.php here, the list of transactions are obtained from the function get_gl_transactions() defined in gl/includes/db/gl_db_trans.inc where the sort order in line 176 is: ORDER BY tran_date, counter, the latter being the real sequence element within the transaction date.
vTigerCRM is one way to go where FA's account codes can be inserted into it and the CRM's member id can be inserted into the chart_master.account_code2 field.
You can change it to whatever you want but remember that easily guessable filenames can be avoided using good entropy as obtains here. Rename it on file download to suit your needs. Consider how the files would stack up when mixed up with similar reports of different companies and / or different fiscal years in the same folder.
The filename for storage is computed in lines 971-974 in reporting/includes/pdf_report.inc:
// do not use standard filenames or your sensitive company data
// are world readable
$fname = $dir.'/'.random_id().'.pdf';
$this->Output($fname, 'F');
Mail attachments and inline display will bear the file name provided in the 2nd parameter in the "new FrontReport" class instance's constructor as seen in line 73 of the same file:
function __construct($title, $filename, $size = 'A4', $fontsize = 9, $orientation = 'P', $margins = NULL, $excelColWidthFactor = NULL)
and instantiated in each repXXX.php file.
Payments must be made and allocated to bills. Bills are generated from one or more sales deliveries. Each Delivery pertains to one or more items of a single sales order.
Make a Direct Invoice for Cash Sales of Tickets.
Make a Credit Sales of Membership with member details and allocate the payment to it.
If you wish to manage the membership separately, the make an extension for it.
The Payment Allocation generates a transaction entry for it in each instance. Hence the Balance Sheet AR/AP part of the Trial balance will only change and not the P&L or it's part of the Trial Balance.
Create an extension for it. Learn from the existing extensions in the FA24extensions repo.
The Rep702 - List of Journal Entries is in report format and is already arranged by Date, but several vouchers are in each page to conserve space.
The "Banking and General Ledger/Journal Inquiry" is a screen display and you can print them one by one.
If you want to print the latter as one per page then just copy the URLs to a file and run a batch file on them and then print them all in one go.
State the navigation to which page you refer to.
I too am uncertain of what would happen if such data is exposed in the URL and whether it can be used to hijack the session even though my last attachment works. This is so even if the backwards compatibility is not even there and for PHP 5.6+ itself.
Now that these fixes have been rolled back, those who still want this functionality of using the back button on the browser instead of the back link on the FA page and then returning to the page to where they left off, can partake of the consolidated fixes attached herein.
Await @itronics words of wisdom....
Attached is the set of files and the diff for incorporation into the core after the last @braathwaate commit in FA and in his pull request that included backwards PHP compatibility. Kindly test and see what gives.
@joe: can check and commit.
There are 2 audit tables.
The audit_trail table is for recording all transaction references where certain NULL fields will indicate what was superceded. It is also used when closing a fiscal year and purging it.
The sql_trail table is to record all sql accesses as set in the debug parameters in the config.php file.
Thanks for the feedback on how you solved your issue. Will make for a good reference for yourself and for all users as well.
This project is maintained by @joe with valuable coding by @itronics, both sys admins of the FA project. They certainly deserve the donations to keep this project going. Your mite will join others in sustaining this project. Thanks once again.
Posts found: 1,876 to 1,900 of 6,143