The outstandings seem to be computed for each line independently without being cumulative. This is wrong.
The allocations get summed up even for previous years as the date in the common WHERE clause is taken instead of being a specific range for allocations alone.
1,801 03/29/2018 02:50:31 am
Re: Bug Found and Fixed in rep101.php (26 replies, posted in Report Bugs here)
1,802 03/29/2018 02:43:25 am
Re: function (5 replies, posted in Reporting)
It might be useful to include in a landscape report in rep101.php itself. Any reason not to include it in the core? The portrait mode does not have enough space in it - maybe just a branch_code number alone may suffice in it.
1,803 03/29/2018 02:40:17 am
Re: update journal entry has query issue (9 replies, posted in Report Bugs here)
@kvvaradha: Provide your patch to include in the core. During such editing, does the reference number of the entry change?
1,804 03/28/2018 04:34:10 pm
Re: function (5 replies, posted in Reporting)
The Customer Balances Report (rep101.php) screenshot is here.
Note that the Customer Ledger Account is just one debtor_no in the debtor_master table. Only the debtor_trans table has the branch_code as well.
The $sql variable will need the trans.branch_code field in it in the function get_transactions() in the rep101.php file for your need to be addressed.
@joe: want to include the Customer Branch filter in the rep101.php?
1,805 03/27/2018 05:03:52 pm
Re: update journal entry has query issue (9 replies, posted in Report Bugs here)
This is a new file in FA 2.4.x. Looks like it was made to be linked into an Edit Journal button on journal entries listing.
1,806 03/27/2018 04:58:05 pm
Re: Release 2.4.4 (4 replies, posted in Announcements)
Post Release Fixes.
1,807 03/27/2018 03:07:06 pm
Re: update journal entry has query issue (9 replies, posted in Report Bugs here)
@kvvaradha: Good catch.
Wonder how it slipped thru for so long.
@joe: can commit it by removing the last closing bracket in the doc_date line.
1,808 03/27/2018 06:33:26 am
Re: rename comany name (2 replies, posted in Setup)
Change it in the appropriate stanza in config_db.php file.
1,809 03/27/2018 06:32:40 am
Re: stocking charges / shelf rent posting (7 replies, posted in Accounts Payable)
When the same company is both a customer and a supplier, allocations can be made separately if monies are available in ban/cash to make payment to supplier side and if receipts are available from the customer side to allocate to customer invoices.
If no such amounts in the bank and from the Customer receipts are available to allocate, a form of adjustment allocation is needed between the Customer side and Supplier Side of the same company.
A credit note equated debit note to sum zero will be needed.
For example, Company A supplies $ 100/- worth of goods and takes delivery of $75 worth of our products. If we pass a Journal Entry to transfer $75 from the supply side to the customer side to pay for the Sales Invoice, the allocations would not appear to have been done on both sides, but mere amounts tallied. Here we pass a Credit Note to the Customer Side and a matching debit note to the Supply side and then allocate the credit and debit notes to the customer and supplier invoices.
1,810 03/27/2018 04:52:06 am
Re: stocking charges / shelf rent posting (7 replies, posted in Accounts Payable)
Yes.
1,811 03/27/2018 04:40:44 am
Re: stocking charges / shelf rent posting (7 replies, posted in Accounts Payable)
Is it that you are sending goods to your customer (retailer) on the basis of some invoice raised on them and then if your goods remain unsold you have agreed to take return of it from your retailer and / or agree to pay the retailer for his shelf space rental as your prorata cost sharing agreement as you control the price at which your product must be sold to the end customer which if too high will render most unsold and make of poor returns to your retailer?
If this is the case, make the retailer a supplier of rental services to you and then make a Supplier invoice to the extent of the rental and then pay / adjust / allocate accordingly.
1,812 03/27/2018 04:32:09 am
Re: Journal Inquiry & GL Inquiry not remembering date (11 replies, posted in Banking and General Ledger)
@BraathWaate: The reason this part of your Pull Request was not taken into the core is probably because the browser back button usage is not advised in FA and that is why we have a Back link on practically every key FA page which takes us to a known state each time it is clicked. Browser Cache is another issue that will affect such operations.
1,813 03/27/2018 04:29:04 am
Re: Budget Entry doesnt save (20 replies, posted in Banking and General Ledger)
First off, I assume that you have no extensions installed that need db modifications.
A similar DB schema check will need to be done for all tables and for all records in lookup tables.
Note that the default document numbering system now has a pattern template in FA 2.4.x.
Some Chart of Accounts in FA 2.3.x and even in FA 2.4.x have field order differences with the standard sql/en_US-new.sql chart.
After synch-ing the chart, then see if an upgrade withing FA is necessary (Setup=>Software Upgrade). In each instance backup before and after such interventions.
1,814 03/25/2018 03:01:10 pm
Re: Budget Entry doesnt save (20 replies, posted in Banking and General Ledger)
Which Chart of Accounts did you start out in FA 2.3?
Do you have a backup before upgrade?
Can you check out the differences between the pre-upgrade sql schema and that of the last FA 2.3.26 version's sql/en_US-new.sql?
You should have done all this and then upgraded to FA v2.3.26 and then if all was well, attempt to do an upgrade to FA 2.4.4 and then verify that the resultant schema is in consonance with the tables and field orders and the new config.php settings and new sys_prefs table records - above all, the schema being in synch with the latest sql/en_US-new.sql.
1,815 03/25/2018 12:11:38 pm
Re: Budget Entry doesnt save (20 replies, posted in Banking and General Ledger)
The table definition of the 0_budget_trans table in FA 2.4.x is:
CREATE TABLE `0_budget_trans` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`tran_date` date NOT NULL DEFAULT '0000-00-00',
`account` varchar(15) NOT NULL DEFAULT '',
`memo_` tinytext COLLATE utf8_unicode_ci NOT NULL,
`amount` double NOT NULL DEFAULT '0',
`dimension_id` int(11) DEFAULT '0',
`dimension2_id` int(11) DEFAULT '0',
PRIMARY KEY (`id`),
KEY `Account` (`account`,`tran_date`,`dimension_id`,`dimension2_id`)
) ENGINE=InnoDB;
It has just 7 fields and the memo_ field is the 4th one.
Which Chart of Accounts did you start out with?
1,816 03/23/2018 06:13:34 am
Topic: PHP downgrade (0 replies, posted in FA Modifications)
When any code that has been specifically written for FA 5.4+ needs to be backported / integrated with FA in a backwards compatible manner, refer the GitHub project php-code-downgrade.
1,817 03/22/2018 10:49:39 am
Re: Bug Found and Fixed in rep101.php (26 replies, posted in Report Bugs here)
At Line 52 in reporting/rep101.php, the value of the $sql variable for the first available debtor_no in the second Date Range (2018) in the function get_open_balance() is:
SELECT
SUM(IF(t.type = 10 OR (t.type IN (0 , 1) AND t.ov_amount>0), -ABS(t.ov_amount + t.ov_gst + t.ov_freight + t.ov_freight_tax + t.ov_discount), 0)) AS charges
,SUM(IF(t.type != 10 AND NOT(t.type IN (0 , 1) AND t.ov_amount>0), ABS(t.ov_amount + t.ov_gst + t.ov_freight + t.ov_freight_tax + t.ov_discount) * -1, 0)) AS credits
,SUM(IF(t.type != 10 AND NOT(t.type IN (0 , 1)), t.alloc * -1, t.alloc)) AS Allocated
,SUM(IF(t.type = 10, 1, -1) * (ABS(t.ov_amount + t.ov_gst + t.ov_freight + t.ov_freight_tax + t.ov_discount) - ABS(t.alloc))) AS OutStanding
FROM 1_debtor_trans t
WHERE t.debtor_no = '1'
AND t.type <> 13
AND t.tran_date < '2018-01-01'
GROUP BY debtor_no;
The output corresponding to the statements attached is:
charges credits Allocated OutStanding
-6540 -6540 0 0
Do you want to zero out the Charges and Credits in this instance?
1,818 03/21/2018 07:25:58 pm
Re: South African VAT Increase (9 replies, posted in Setup)
Wiki-ed it.
1,819 03/21/2018 04:56:04 am
Re: Today we passed 200 000 downloads on Sourceforge. (9 replies, posted in Announcements)
On the 4th day of the Official Release of FA 2.4.4, the SF Download stats are here.
1,820 03/21/2018 04:42:09 am
Re: Updated several English Charts for Deferred Income and Prepaid Sales (2 replies, posted in Misc. Charts of Accounts)
Yes. Refer this commit.
1,821 03/20/2018 08:23:41 am
Re: Security role updations result in missing permissions (4 replies, posted in Misc. Charts of Accounts)
Does this mean that all standard Chart of Accounts are made with Default Company permissions and that on creating a non default company with it does not automatically remove such Super Admin privileges for it?
1,822 03/20/2018 08:17:36 am
Re: Release 2.4.4 (4 replies, posted in Announcements)
Pending Issues:
1. Accounting for expenses as part of Cost of Goods Purchased
2. Update Language Packs for Hindi and Tamil
3. Account and Type Ordering
4. Merge Customers
5. Unable to Edit or Void a Credit Note - Was postponed to later minor release earlier
6. Multiple Sales Orders into Single Delivery - Feature Request - Currently keep editing a Single Sales Order till delivery. Was postponed to later minor release earlier
7. Move add_access_extensions(); to header.inc from all themes and extensions - being studied for Ajax and related security issues.
8. Remember Inquiry forms date / date ranges
9. Clone and Edit Sales Quote
10. Zero price Supplier Invoice Item Entry
11. Voided Transaction Number re-used for new one errors out on old records present.
12. Security Role Permissions change on updation.
13. rep101.php opening balance issue.
14. Void Entries in Fiscal Year Closure - needed only for special cases.
15. Duplicate Short name of Supplier Fix - Milestone FA v2.5 but can fix manually if needed in FA 2.4.x itself.
16. Voided Entries in Sales Invoices Display error fix
17. Customer Credit Note Undefined Index Fix - Committed
18. Currency Conversion Provider CCA inclusion
19. Inventory Valuation
20. Speedup Indices postponed to 2.5+
1,823 03/20/2018 03:44:48 am
Re: Missing audit trail items (3 replies, posted in Banking and General Ledger)
It is pertinent to have such a message to accommodate records prior to inducting this table in FA and for records that straddled fiscal years when the older ones have been purged.
1,824 03/20/2018 02:32:38 am
Re: FrontHRM (15 replies, posted in Modules Add-on's)
This module was authored by @sticmann and his contact details are in it's config file. If you find a demo link or current development repo, please share it here. The code is provided for anyone to use it as a skeleton to develop it further.
1,825 03/19/2018 06:52:56 pm
Re: FrontHRM (15 replies, posted in Modules Add-on's)
Yes. It is compatible with FA 2.3.x.
You will need to manually add it into your installed_extensions.php file (since it is a third part extension) and then activate it for your target company and then in the latter, enable permissions for the extension for the role of the user.