101

(16 replies, posted in Wish List)

Sounds to me like my suggestion has "fixed" one problem, long and ugly URL's at the end of the invoice, but has created several others. including possible support issues with PDF readers.  Although personally I would prefer not having the long and ugly URL, I now realize there are logical reasons for having it (so that customers who print the report can manually type it in).

Perhaps it's best to leave things be?  I'm sure I'll get used to the URL's.  Sorry if my suggestion caused anyone to waste time/effort that could have been better spent on other matters.

Regards,

Chris

joe wrote:

Done.

I guess we are done with this topic now.

/Joe

Looks like it.  Thanks, guys, for all your effort in getting the new report working!

Regards,

Chris

As they stand now, some of the standard reports are difficult to read because they're in portrait mode and the columns are packed close together.  Also, data for some fields gets cut off in order to fit in the space allowed on the report for that column.  So, for instance, in the GL Account Transactions report when it is printed in portrait mode for the Person/Item column for a particular inventory item purchase transaction I get this:

"Party Empire/883"

I can see by looking at that line that I bought something from "Party Empire" with a stock number starting with "883" but that vendor sells a number of items that start with "883" so I can't tell what the item is.

Now, when I flip the report to landscape mode and print the same report again, I get this in the Person/Item column:

"Party Empire/88348"

I can now see the full item number of the item, and I can tell exactly what I bought.

So, as I said earlier, having the ability to print certain reports in landscape mode instead of portrait mode would be very handy.  However, if the developers have more important things to deal with I can certainly create my own custom reports in landscape mode now that I know how to do it.  It's a bit of mucking around on my part, but it's no big deal.

So, I throw it back to you, Joe...  this feature would be very handy, but does the development team have the time/resources to do it?

I'll live with whatever is ultimately decided.  Thanks for asking my opinion!

Regards,

Chris

I downloaded it.  Thanks!

Regards,

Chris

You totally lost me there, fella!  lol  But, if the developers can do it easily and want to do it I'll sure as heck use it!

Regards,

Chris

Apache and MySQL are both on the same server, so I'm assuming that the time zone variable for both are identical, but even if they aren't the difference would be a matter of hours, not days.

My problem is that FA is consistently grabbing the invoice date for the previous invoice, not the current one, when posting invoices that have a payment term of "cash."  If I'm entering an invoice with an invoice date of 2013/01/13 and the previous invoice has an invoice date of 2012/07/01 then the due date for my new invoice will be set to 2012/07/01 when I post it if the payment terms is set to "cash."  So, again, I doubt than error has anything to do with how Apache and SQL time zones are setup.

As for the Mercurial Build, I suppose I could do a db backup of the production server, install Mercurial, and then restore the data into Mercurial.  That would save me from having to re-enter the data again.

Thanks for the help and suggestion!

Regards,

Chris

@apmuthu:

Having the ability to select whether a report prints in portrait or landscape mode when printing reports would be a great feature, but implementing it would require quite a bit of work.  Aside from coding the repot selection screens, all reports would have to be copied and modified so that each report had both a portrait and landscape reportXXX.php file.  My guess is that the developers have plenty of other things to keep them busy.  lol  So, I don't think this is going to happen any time soon.

Anyway, I don't know if my changes will work with A4 paper or not.  I haven't even printed it on letter size...  I just looked at the screen layout.  I suppose I should do that, but I have something else I have to do right now so that has to wait.

Regards,

Chris

Okay, Joe.  I didn't realize that core reports must be in portrait mode.  How about if I submit it as an extension?  Would that be okay?  If so, can you give me (or point me to) instructions for submitting extensions?

In the meantime, for those who want this report in landscape mode, save a backup copy of rep306.php so you can get back to normal if something screws up.  Then, change line 137 to this:

    $cols = array(0, 80, 260, 325, 375, 520, 540, 605,    680);

And change line 152 to this:

    $rep = new FrontReport(_('Inventory Purchasing Report'), "InventoryPurchasingReport", user_pagesize(), '10' , 'L');

(Disclaimer:  If you break something, you own all of the pieces!  lol)

Enjoy!

Regards,

Chris

Actually, my problem was that I had put an expense code in the "Purchase Account" field when I set-up the supplier.  That field should be set to "Use Item C.O.G.S./Inventory Account" so that FA will pick-up that value from the item instead of posting to the default in the "Purchase Account" field.

I Wikied it in the Help.Items section.

Thanks, Joe, for pointing me in the right direction!

Regards,

Chris

No problem, Joe.  This report is going to be great for me in analysing my purchasing practices, so thanks to you for creating it and helping me get it working right!

Btw, I did some mucking around with the working rep306.php (shame on me!) and have managed to flip it to landscape mode and spread-out the columns so that the report is more readable.  Would you like it?  If so, do you want me to e-mail it to you, or can you give me upload privileges and I'll post it here?

Thanks, again, for all your help!

Regards,

Chris

Thanks to some behind-the-scenes back and forth between Joe and myself, rep306.php now works flawlessly on my system.  The report now correctly shows the data, and is quite usable in its present format although I have suggested it be flipped to landscape mode to make it a bit less cluttered and more readable.

Thanks, Joe, for your help in getting the report working!  You're the man! cool

Regards,

Chris

Hi, apmuthu!

I have decided that I wouldn't mind trying the Mercurial build, but can you explain to me how to do it so that the Mercurial build accesses the same database so I don't have to set-up everything from scratch?  I tried uploading the files (to a separate directory, of course!) and then copying the config.php and config_db.php files  from the 2.3.13 directory to the new mercurial directory, but when I tried accessing the site that bombed big time.

Thanks!

Regards,

Chris

113

(16 replies, posted in Wish List)

Hi, apmuthu!

Your point about the link in a printed report not being click-able is well taken.  However, with such a long URL it's a bit doubtful someone is going to type it all in manually, especially since it contains special characters (e.g. "&" for field parameters and "%40" instead of "@").  So, getting rid of all that, even though it means someone who prints the report can't type it, probably isn't that big a deal.

Anyway, I tried making the changes you suggested above and now neither the word "PayPal" nor the long URL are click-able, although the URL is blue instead of black.  If you PM me your e-mail address, I can e-mail you a PDF'ed invoice to look at (I don't want to post one online.)

***
EDIT:  Actually, the payment link now looks like this (and is unclickable):

<a href='https://www.paypal.com/xclick/business=chris%40crazychris.ca&item_name=INVOICE+146&amount=24.30&currency_code=CAD'>Payment Link</a>

In other words, it's printing out the whole URL, not just "Payment Link".
***

Thanks, again, for your help!

Regards,

Chris

P.S.  I sent you a PM about accessing my system.  I hope you got it?

joe wrote:

The two files, /reporting/rep306.php1 and /reporting/reports_main.php1 has been replaced above in the 3 files download.

Please download again, rename and replace.

Thanks for pointing out the problems.

HG reository for default updated.

/Joe

Hey, Joe:

I downloaded all three files again, and installed them on my system.  I'm still just getting the report header with no output.  I think this has something to do with the fact that none of my "purchased" items are appearing in the stock_move table for some reason.  See my post above for more info.

Regards,

Chris

Hi, guys!

@joe:

I cleared the browser cache and tried again...  still no luck.  Also, the items have been invoiced by the supplier, and the supplier has been paid.  Finally, my test report was for the full fiscal year so the purchases must have been in the reporting period.

Regarding the wiki, I was logged in at the time, so I'm not sure why it didn't display my edits even though I was able to click on the edit button and do the edit  Oh well...  doesn't matter...  I see someone else has added it.

@apmuthu:

I'm not sure what you mean by the Alt-P keyboard shortcut as I'm not use the Mercurial build, but I wanted to let you know that the headings on the right side are fine here, I'm just not getting any data.

@both:

I was looking at the report306.php1 file, particularly the section that generates the SQL query.  My SQL knowledge is limited, but I did notice that the section is hitting the stock_moves table.  When I go into myPHPadmin and look at stock_moves, all I see are items that have an item type of "service."  There aren't any items in there of item type "purchased."  This seems very strange to me as I thought that "service" items aren't tracked in inventory so why would those transactions be in there but "purchased" items aren't???

Am I right here?  And, if so, is the pointing to my having another problem somewhere???  Btw, when I try to run the Stock Movement report I get the progress bar at the top of the screen for a few seconds and then nothing, not even an empty report in the pdf viewer.

Thanks, again, for your help in looking into this.

Regards,

Chris

I downloaded the new rep306.php1 and put it on the server (after renaming the original one).  Still no data.  (SIGH!)

Regards,

Chris

117

(16 replies, posted in Wish List)

I don't see a way of adding an attachment to this message (maybe I don't have privileges?), so here's a link for you:

https://www.crazychris.ca/screenshot-1.png

Hope that helps...

Regards,

Chris

apmuthu wrote:

Is the server date/timezone affecting the issue?

I don't see how that could be a factor?  It appears to me that the program is grabbing the last invoice's invoice date instead of the current invoice's invoice date when it posts the transaction.  What would that have to do with the server's date/timezone setting?

apmuthu wrote:

Want to try it out in the later Mercurial build ?

I guess if you folks are totally stumped I could install on that build, but that would require quite a bit of work on my part (installing and configuring the build, setting-up accounts, adding data, etc.).  Are we at that point yet?

Thanks for replying, and thanks for your help!

Regards,

Chris

UPDATE:

I have entered two supplier purchases of inventory items.  The GL shows the transactions posted to inventory.  However, when I run the new report I get the headers but no data.  The Inventory Valuation Report shows the correct items, amounts and values.

Something in the new report is broken.  (SIGH!)

Regards,

Chris

I've been working too long on getting FA setup for my business and I *really* should take a break.  I hope this isn't a really dumb question, but....

I'm trying to set-up an item for shipping that I pay to suppliers when I buy supplies.  I do not resell shipping, so I'm trying to set it up as a service.  The Items screen give ms two fields for GL accounts:

  • Sales Account

  • C.O.G.S. Account

I set "Sales Account" to the default "Shipping Shipping Charged Account" as set in System and General GL Setup even though I'm not selling this item.  I set "C.O.G.S. Account" to an expen account called "Postage & Shipping".  However, when I post a purchase from a supplier using the "Direct Invoice" screen in the purchasing module, the transaction posts to default "Inventory Adjustments Account" for the item category I assigned to the item.

I can't set the "Inventory Adjustment Account" because the item is a service, not purchased or manufactured.  If I change it to purchased, then it's going to go to inventory instead of expense when I buy it.

What am I doing wrong or not getting here????

Thanks for any help provided.

Regards,

Chris

121

(6 replies, posted in Wish List)

Yes, I'm still getting the warning, and I can verify what I'm doing by looking at the summary list again, but looking at that list can be a bit non-intuitive if the list is long.

Selecting from the pop-up screen and having FA fill-in the field is much more intuitive, IMHO.  I like how FA does that in the Direct Invoice function, so I thought it would be useful for voiding transactions, too.

When I'm using the Void a Transaction screen, all I'm looking at is a reference number.  If the screen had a bit more detail, like adding a description field (customer/supplier/item/whatever), that would make it more intuitive.  However, in my non-programmer mind implementing that probably wouldn't be easy so I thought adding a "select" button to the pop-up screen would be easier  Was I wrong about that?

Anyway, this isn't a "make-or-break" issue for me.  I'm sure as I'm use FA more I'll get used to the Void a Transaction function and will make fewer errors.

Thanks for considering my suggestion and responding, no matter what's decided.

Regards,

Chris

Btw, just to be helpful, I tried to add the report to the Wiki but when I saved the change it doesn't show up.  Does that mean someone has to review and approve it first?  If so, I tried twice so just review and approve one, not both.  lol

Chris

WOO HOO!!!

I have managed a large purchasing department, and this report is *very* handy in analysing purchase history.  Using it, I can quickly see which supplier is giving me the best price, track price changes over time, see how much business I'm giving to a supplier, and so forth.  By adding this, you folks have just increased the purchasing module's functionality by 100%...  thanks!

I installed the changed files (backing up the originals, first, of course!), and took a look at what you've done.  Unfortunately, I haven't yet entered any item purchases yet (I'm still entering my sales), so all I can see right now is the basic layout.  The reporting screen looks *perfect* but I'd suggest flipping the printout to landscape mode as some of the fields are pretty long (e.g. description and supplier) so having more horizontal room might avoid having lines wrap.  Other than that, though, it looks just about perfect!

Thanks SO much for doing that!  I'll let you know what I think once I've entered a few purchases and can look at a "real" report.

I'm sooooooo proud of myself...  I actually contributed something to the FA project!  smile

Regards,

Chris

P.S.  Personally, I'd leave it in FA core.  Anyone who's doing serious purchasing is going to want this kind of report, IMHO.

This is just a suggestion, but I think it would make invoices look nicer...

Currently, if you have Payment Link enabled when printing invoices you get this at the bottom:

"You can pay through PayPal:
https://www.paypal.com/xclick/business=chris%40crazychris.ca&item_name=INVOICE+135&amount=50.00&currency_code=CAD"

While this works, it's somewhat ugly.  It would look much nicer if it looked like this:

"You can pay using a credit card or PayPal."

This puts everything on one line (saves space) and hides the URL from the customer which looks better on the printout.  It also explicitly tells the customer they can pay with a credit card (some folks don't have a  PayPal account and don't know that PayPal also does regular credit card processing).

I'm not sure if this is a trivial change or monumental.  It's no big deal, really, but if someone is bored and looking for something to do someday it would pretty things up.  smile wink  I'd do it myself but I'm not a programmer so I'd probably crash the application.  lol

Regards,

Chris

125

(6 replies, posted in Wish List)

joe wrote:

@chrison,

Which release of FA are you using. In the latest releases you can view the transaction by pressing the number link in the pager link.

/Joe

I'm using 2.3.13 2.3rc.

I'm sorry but I don't understand what you mean by "pressing the number link in the pager link"?  Are you referring to column on the Void a Transaction page that has a "#" in the header?  If so then, yes, I can view the transaction by clicking the number in that column.  However, what I'm talking about is that after clicking that number and viewing the transaction, I accidentally clicked the select icon for *another* transaction and voided the wrong transaction, in this case the one directly above the one I *wanted* to avoid.

For clarity, what I was suggesting was that there be a "Select THIS Transaction" button (or icon) in the pop-up screen I get when I click on the number to view the transaction, sort of like I can select a customer in the pop-up screen I get when I hit F2 in the Direct Invoice screen.  In other words, I look at the list of transactions, click on the reference number for the one I think is the one I want to void (this brings up the pop-up screen), and if it is the one I want I click a button (or link) in the pop-up screen that then selects the transaction, closes the pop-up screen, and inputs the transaction number in the field back on the "Void a Transaction" screen.  If I want, I can then enter a memo and/or change the voiding date.  Finally, I click "Void Transaction" and proceed with voiding the transaction.

Does that explain it better?

Thanks!

Regards,

Chris