226

(29 replies, posted in Installation)

Ok, nothing seems to be wrong there.

You are logged into the company that you have activated them for?

The two reports do not require additional access, as long as you have access to "GL analytical reports and inquiries" in access levels

You should see the two reports by going to  - Banking and General Ledger -> General Ledger Reports

The 'import items' ext does require additional access rights, you should see... 'Import CSV Items' tick the box and another box will appear labelled the same 'Import CSV Items' save role and you should see a new menu item in 'Items & Inventory'

227

(29 replies, posted in Installation)

??? imgur is free and post link on here

or

as I wrote list the contents of the dir /modules/

228

(2 replies, posted in Setup)

Look in the file File:\includes\access_levels.inc you will be able to correlate each security area (The part in UPPERCASE beginning SA_)with its description (The string at the end of each line) in the access level page.

Another way is to go to the page you want, in your case /inventory/prices.php? open or view the file in an editor, near the top you will see

File:\inventory\prices.php
12: $page_security = 'SA_SALESPRICE';
13:

Now open File:\includes\access_levels.inc and search for SA_SALESPRICE and you will see this line:-

File:\includes\access_levels.inc
135:     'SA_SALESPRICE' => array(SS_SALES_C|2, _("Sales prices edition")),
136:     'SA_SALE.......

Now look in the access controls page for "Sales prices edition" which you will find under the sub-heading Sales configuration:

For tabs in items open File:\inventory\manage\items.php scroll down to line 600 to see all codes for all tabs

Please be aware that some pages have more than one security code.

229

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

@notrinos, as I understand so far

ajax 'var editors' array is set on each page, so either:-

$popup_editors needs to be set before the ajax function callEditor by calling the function in post 30 above, this it seems would have to be by ajax?

or

an ajax function to change the var editors array

But FA seems to have made provision for this by including the editor_redirect function which is otherwise redundant

I would appreciate any help you can give on this please

230

(29 replies, posted in Installation)

Hi, can you send a screenshot of installed extensions page please or list the dir contents of /modules/

231

(3 replies, posted in Setup)

Machine object & Portable object and info here

The F2 - F4 hot keys will work, add new customer, branch, item, supplier depending on what page you are in and then refresh the page, read the help line near the base of the page.

233

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

Using existing FA functions this works:-

editor_redirect($popup_editors, 'set');
$popup_editors = array(
    'customer' => array('/modules/additional_fields/manage/customers.php?debtor_no=', 
        113,    _("Customers"), 900, 600),
    'branch' => array('/sales/manage/customer_branches.php?SelectedBranch=', 
        114, _("Branches"), 900, 700),
    'supplier' => array('/modules/additional_fields/manage/suppliers.php?supplier_id=', 
        113, _("Suppliers"), 900, 700),
    'item' => array('/modules/additional_fields/manage/items.php?stock_id=', 
        115, _("Items"), 800, 600),
    'fa_item' => array('/modules/additional_fields/manage/items.php?FixedAsset=1&stock_id=', 
        115, _("Items"), 800, 600)
);
editor_return($popup_editors, 'set');

but this only works in the page loaded.

So do I need to load this into current session somehow?

but context restore is loading it into session.. so why isn't it loading???

234

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

After trying to completely over complicate it I found that:-

$popup_editors = $add_field_popup_editors;

Replaces the contents of the arrray $popup_editors with the contents of my new array with changed url's

I added this my new array to the top of sales_order_entry.php and it worked!

Now I have the problem of where (and how) to put it to the ext.

235

(7 replies, posted in Setup)

so was $pdf_debug set to one?

236

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

@notrinos

Deep in the bowels of ui_controls.inc I found this..

File: \includes\ui\ui_controls.inc

611: /*
612:     Redirector for selector F4 calls.
613:     $sel_editors is array of selname=>editor_page
614: */
615: function editor_redirect($sel_editors, $save_fun='') {
616:     foreach ($sel_editors as $selname=>$editor)
617:         if (isset($_POST['_'.$selname.'_editor'])) {
618:             if (function_exists($save_fun))
619:                 $save_fun();
620:             unset($_POST['_'.$selname.'_editor']);
621:             context_call($editor, array_keys($_POST));
622:         }
623: }
624: /*
625:     Return procedure for selector F4 calls
626: */
627: function editor_return($vars, $restore_fun='') {
628:     if (function_exists($restore_fun))
629:         $restore_fun();
630: 
631:     if ($ret = context_restore()) {
632:         foreach ($vars as $postname=>$retname)
633:             if (isset($ret[$retname])) {
634:                 $_POST[$postname] = $ret[$retname];
635:                 set_focus($postname);
636:             }
637:     }
638: }

I think this is it?...Please confirm.
Not so sure how to use though?

editor_redirect($popup_editors, '$new_popup_editors');

????

Edit or is this fr renaming the function set_editor??????

237

(7 replies, posted in Setup)

Thats discussed in the wiki - here

Please read the wiki

238

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

Looks like you may have pdf debugging on...

Open your config.php file around line 37 you will see:-

File:\config.php
37:     $pdf_debug         = 0;    // display pdf source instead reports for debugging when $go_debug!=0

If it is set to one change it back to zero

239

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

Not tested
So something like:-

$add_field_popup_editors = array(
    'customer' => array('/modules/additional_fields/manage/customers.php?debtor_no=', 
        113,    _("Customers"), 900, 600),
    'branch' => array('/sales/manage/customer_branches.php?SelectedBranch=', 
        114, _("Branches"), 900, 700),
    'supplier' => array('/modules/additional_fields/suppliers.php?supplier_id=', 
        113, _("Suppliers"), 900, 700),
    'item' => array('/modules/additional_fields/items.php?stock_id=', 
        115, _("Items"), 800, 600),
    'fa_item' => array('/modules/additional_fields/items.php?FixedAsset=1&stock_id=', 
        115, _("Items"), 800, 600)
);
$What_do_I_call_this = array_replace($popup_editors, $add_field_popup_editors);


And where would I call it? Beginning of customers.php??? In hooks?

or change function set_editor to reflect new name

Or would array_fill be the way to go?

240

(7 replies, posted in Setup)

I think you would need to use Banking and General Ledger tab => Maintenance Menu => Quick Entries for that, its documented in the wiki

241

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

@notrinos - Hi,

I still consider the only option is to remove the interface integration and have as a separate page, though this would mean data entry would be a two stage operation...add customer then add customer additional field info: In much the same way that sales pricing and reorder levels are now.

So that would mean altering the array $popup_editors

File: \includes\ui\ui_controls.inc

504: $popup_editors = array(
505:     'customer' => array('/sales/manage/customers.php?debtor_no=', 
506:         113,    _("Customers"), 900, 600),
507:     'branch' => array('/sales/manage/customer_branches.php?SelectedBranch=', 
508:         114, _("Branches"), 900, 700),
509:     'supplier' => array('/purchasing/manage/suppliers.php?supplier_id=', 
510:         113, _("Suppliers"), 900, 700),
511:     'item' => array('/inventory/manage/items.php?stock_id=', 
512:         115, _("Items"), 800, 600),
513:     'fa_item' => array('/inventory/manage/items.php?FixedAsset=1&stock_id=', 
514:         115, _("Items"), 800, 600)
515: );

242

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

@emiangel839 Look in your first photo... the directory is called 'additional_fields_master'.

So your current path is:-
/modules/additional_fields_master/additional_fields...

It should be:-
/modules/additional_fields...

You have to unzip the contents of the zip file, not use the outer folder/package... So unzip it somewhere else, copy the directory 'additional_fields' and its contents to your installations /modules dir.

1st deactivate and uninstall 'additional_fields_master', delete folder if necessary

243

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

@emiangel839 can you send a photo of your /modules directory please, or list the directories here

244

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

@apmuthu The extension is ready, shall I fork your FA24extensions and add 'Additional Fields'? Or just leave on mine as interest seems minimal?

245

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

Install as any other module - You need to read the wiki - Install and Activate Extensions

Just to be clear please notice the word in bold above

The instructions are very clear and include images please, please, please read them.

With regards to your post number 14, 'where can you download the ext?' This is clearly stated in the 1st post.

I understand english may not be your 1st lang. but doesn't that make it even more important to read carefully?

246

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

Installation is well documented in the wiki and here on the forum, please read and follow the steps.

Try installing it on a clean installation

Try turning down your php version - the ext was written a long time ago and maybe it still has statements that work better with a lower php version.

The reports generator can be quite 'buggy' its not for the faint hearted.

247

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

That’s two separate statements:-

I have fixed the security / access issue – I was missing the add access ext

And

So yes you are welcome to use it now.

248

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

Fixed security areas/ sections - missing add access ext

So you're welcome to try it

Have you checked/re-check the basics:-

What is the active fiscal year in company setup?

Is the fiscal year selected closed?

Did you make code changes? Change them back.

Clear cache - logout login - go to Preferences click the 'Update' button.

Did you create backup before you started changes? (Always a good idea then you can revert if you made a mistake)

If you still having issues try on clean install as suggested earlier

Yes

Depending on the sales method used, you may have to void delivery as well, though you state you used direct sales, so this would have been created automatically, and would have been voided as well.