You may want to post in the Wish List and submit changes / additions to be included in the FA code base or as an extension. That way you can be sure that it would be part of fututre releases and not have to re-jig your changed code each time. Maintaining several code bases for the same project and attempting to patch them at each change is time consuming effort that may not be desirable in the long run....
6,001 10/29/2012 09:11:08 am
Re: PHP Developer need (4 replies, posted in Jobs wanted/offered, non-free offers)
6,002 10/28/2012 02:17:09 pm
Re: Landed Costing of Inventory Items (26 replies, posted in Items and Inventory)
If there are many lines (yes the order of the lines would matter and a form field in each line would be needed which will take care of it), then we can apportion amounts in any way we choose like loading costs to larger value items or to rounded costs, etc., and possibly with some items not having any shipping costs at all (enter 0 value).
The "N-1" approach was to alleviate the need to manually compute the balance if the total was entered and only one line had the new field blank.
6,003 10/28/2012 02:07:46 pm
Re: Simple REST API (45 replies, posted in Modules Add-on's)
Thanks Andres for starting out on PUT....
It would be useful to put in the Wiki Page URL in the README file in the GitHub so that users can partake of the updated Wiki.
https://frontaccounting.com/fawiki/index.php?n=Devel.SimpleAPIModule
6,004 10/28/2012 01:10:45 pm
Re: Workorder Issue (7 replies, posted in Manufactoring)
Thanks Joe for fixing it in Mercurial Changeset 3087.
6,005 10/28/2012 01:06:16 pm
Re: Landed Costing of Inventory Items (26 replies, posted in Items and Inventory)
Apportion costs to "N-1" items (till amount available) and let the "N"th item have the rest if still positive.
6,006 10/28/2012 03:35:24 am
Re: Landed Costing of Inventory Items (26 replies, posted in Items and Inventory)
A 4th option to manually apportion the amount!
6,007 10/28/2012 03:32:00 am
Re: Workorder Issue (7 replies, posted in Manufactoring)
This might as well be put into the HG repo. It is the last appearance of Session_register( function that needs to be commented out. In fact all such lines (including needless preceding ifs) can be weeded out:
Line 65 in manufacturing/work_order_issue.php
Line 103 in includes/page/header.inc
Line 72 in inventory/adjustments.php
Line 68 in inventory/transfers.php
Line 40 in purchasing/allocations/supplier_allocate.php
Line 39 in sales/allocations/customer_allocate.php
6,008 10/28/2012 03:18:56 am
Re: Undefined index: ...../fa/includes/session.inc at line 158 (2 replies, posted in Report Bugs here)
Fixed in v2.3.12+ Mercurial Changeset 3066 on Sep 17th 2012.
6,009 10/28/2012 02:10:03 am
Re: In-house Training (8 replies, posted in Jobs wanted/offered, non-free offers)
Contact LC Chen of Sita - they undertake training in KL / Selangor area.
6,010 10/28/2012 01:58:56 am
Re: I want to add " attention to : " contact on quotation and sales order (4 replies, posted in Accounts Receivable)
6,011 10/28/2012 01:53:20 am
Topic: Tags on Wiki - Feedback (0 replies, posted in Setup)
I have updated the wiki with info on Tags and it's ERD. Kindly provide feedback and updates with other pertinent info. Sample SQL for explaining the relationship and usage in other scipts is provided.
6,012 10/24/2012 05:27:43 pm
Re: Simple REST API (45 replies, posted in Modules Add-on's)
synPOS v0.9.3 was the last released version on 2006-11-07.
POSxp looks promising and seems current.
Will check out the REST clients listed. I just wanted to know the way the API would distinguish between similar Select Specific, Edit and Delete URLs since all requestes would come thru the URL parts only. At least the Edit would have a POST array, the Select Specific and Delete requests would be similar.
6,013 10/24/2012 01:36:59 pm
Re: FA 2312+ User Print Profile Update CSRF Attack Error (1 replies, posted in Setup)
It seems to work after 9pm server time!
Failed atleast from 7:30pm till then.
No change in any scripts and it works by magic!
Even a ipconfig /flushdns with browser clear cache - MSIE and FF - on intranet (VPN) and on WAN redirection from Nettica earlier did not solve the issue earlier.
The question is how does a CSRF attack get manifest in the FA code to work at the will of an unknown hand?
6,014 10/24/2012 01:17:07 pm
Topic: FA 2312+ User Print Profile Update CSRF Attack Error (1 replies, posted in Setup)
In a Non-Default Company (non zero company number) , attempting to update a User's Print Profile results in a CSRF Attack Error.
All other fields can be changed without any errors in both default and non default companies.
Setup -> User Accounts Setup -> Edit Any User
The $_SESSION['csrf_token'] is different from the $_POST['_token'] and hence the function check_csrf_token() in line 67 of includes/ui/ui_controls.inc fails.
This means that the session variable gets restarted on the end_form() function that generates a new session which seems to jump the gun.
Also the db schema default value for the print_profile field in the users table should be blank instead of 1 as it stores a string value of the profile name when assigned.
6,015 10/24/2012 10:35:02 am
Re: Item category is not sorted correctly (8 replies, posted in Items and Inventory)
AJAX is a means of dynamically changing a portion of the page (in this case, items in a category) according to some other field selection (in this case, category).
6,016 10/24/2012 01:59:54 am
Re: (combo box) make FrontAccounting only suitable for very small company. (5 replies, posted in Wish List)
Some Keyboard shortcuts may work only from FireFox and possibly others only in MS IE.
6,017 10/24/2012 01:55:09 am
Re: Solution to locale problems on Ubuntu based systems (12 replies, posted in Translations)
6,018 10/24/2012 01:51:27 am
Re: how to create licensing for front accounting ? (2 replies, posted in Wish List)
You can sell a service - hosting, support, implementation, backup, customisation, migration, template creation, platform glue, etc., but not the code per se.
If you make a compiled (GTk, C++, VB, etc.,) version using means like SimpleAPI you can make it valid for a trial period with licencing - it may not be adhering to the GPL though.
6,019 10/24/2012 01:44:08 am
Re: chinese characters (11 replies, posted in Translations)
Wikiied it!
6,020 10/24/2012 01:41:40 am
Re: Assets Management (8 replies, posted in Wish List)
The URL cannot be reached at all now.....
6,022 10/24/2012 01:18:35 am
Re: Simple REST API (45 replies, posted in Modules Add-on's)
Thanks Andres, reflected it in the Wiki.
Since POST(Edit) and DELETE use the same syntax, how does the API distinguish between the two? If the POST has no field data is it to be assumed to be a DELETE?
A sample php usage to demonstrate putting in data into FA would be nice.
6,023 10/23/2012 04:29:47 am
Re: Simple REST API (45 replies, posted in Modules Add-on's)
Line 372 in index.php :
$rest->post('/itemcosts/', function() use ($rest){
should be:
$rest->post('/assets/', function() use ($rest){
The Wiki Page stands updated.
Attached herein is the updated api.zip file with this fix ready to go into the modues/api folder.
6,024 10/22/2012 03:06:34 pm
Re: Assets Management (8 replies, posted in Wish List)
Incorrect Password
6,025 10/22/2012 03:05:33 pm
Re: Asset Management Module (2 replies, posted in Modules Add-on's)
Incorrect Password