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....

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

(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

(7 replies, posted in Manufactoring)

Thanks Joe for fixing it in Mercurial Changeset 3087.

Apportion costs to "N-1" items (till amount available) and let the "N"th item have the rest if still positive.

A 4th option to manually apportion the amount!

6,007

(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

Fixed in v2.3.12+ Mercurial Changeset 3066 on Sep 17th 2012.

Contact LC Chen of Sita - they undertake training in KL / Selangor area.

Refer Post 3471 and examples in the Wiki.

6,011

(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.

Account Tags

Dimension Tags

6,012

(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.

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?

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.

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).

Example

Some Keyboard shortcuts may work only from FireFox and possibly others only in MS IE.

Wiki

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

(11 replies, posted in Translations)

Wikiied it!

6,020

(8 replies, posted in Wish List)

The URL cannot be reached at all now.....

6,021

(7 replies, posted in Setup)

Wikiied it!

6,022

(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

(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

(8 replies, posted in Wish List)

Incorrect Password

6,025

(2 replies, posted in Modules Add-on's)

Incorrect Password