[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sales Invoice

Hi David,

I'm trying move this thread to the developers.  If it works I'll throw some Timecard ideas at you.

I am working on the Timecard and I can't get it to work.  When I enter "Labor", a service or "MBB150", a part both valid I get:
Attribute (qty) is required at constructor LedgerSMB::Timecard::new (defined at LedgerSMB/Timecard.pm line 277) line 160
LedgerSMB::Timecard::new('LedgerSMB::Timecard', 'parts_id', 2, '_request', 'CGI::Simple=HASH(0x5880e20)', 'custom_db_fields', 'HASH(0x5970f58)', '_roles', 'ARRAY(0x5970ef8)', 'VERSION', 1.4.28, 'dbversion', 1.4.28, 'script', 'timecard.pl', 'stylesheet', 'ledgersmb.css', 'action', 'save', 'non_billable', 0, '_user', 'LedgerSMB::User=HASH(0x5972fd8)', '_locale', 'LedgerSMB::Locale::en=HASH(0x596a4c8)', 'session_id', 13, 'company', 'demo', 'path', 'bin/mozilla', 'transdate', '2016-08-08', 'version', 1.4.28, 'login', 'Demo', 'total', 0, 'business_unit_id', 2, 'partnumber', 'MBB150', '_script_handle', 'LedgerSMB::Scripts::timecard', 'checkedin', '2016-08-08', 'jctype', 1, 'have_latex', 1, 'warn_expire', 0, '_role_prefix', undef, 'dbh', 'DBI::db=HASH(0x5970bf8)', 'curr', 'EUR') called at LedgerSMB/Scripts/timecard.pm line 147 LedgerSMB::Scripts::timecard::save('LedgerSMB=HASH(0x587f8c8)') called at lsmb-request.pl line 113 LedgerSMB::Handler::try {...} at /usr/lib/perl5/vendor_perl/5.20.1/Try/Tiny.pm line 81 eval {...} at /usr/lib/perl5/vendor_perl/5.20.1/Try/Tiny.pm line 72 Try::Tiny::try('CODE(0x5978c58)', 'Try::Tiny::Catch=REF(0x5970f40)') called at lsmb-request.pl line 125 LedgerSMB::Handler::call_script('timecard.pl', 'LedgerSMB=HASH(0x587f8c8)') called at lsmb-request.pl line 88 require lsmb-request.pl at /srv/www/htdocs/ledgersmb/timecard.pl line 8

This is version 1.4.28

Where do you start a Project?


Bob Crandell
"The pessimist complains about the wind; the optimist expects it to change; the realist adjusts the sails."
-- William Arthur Ward,

>>> "Bob Crandell" <..hidden..> 8/9/2016 1:36 PM >>>
Hi David,

Sorry it took so long to get back to you.  I've got lots of excuses.  Do you want to hear them?
Attached (if it works) is a screen shot of a Sales Invoice with what I think should be the way Services are entered as opposed to an inventory item.  Basically what needs to be answered is: When did who do what to whom?  How long did it take and how much did it cost?

For us some clients ask for a log of what happened.  The Sales Invoice does that.

The Sales Order generated from the Timecards should look like that or at least have the same information.

The Time Frame has a choice of Day or Week.  It needs Month too.

I'll try to get a screen shot of Timecard soon.

>>> David G <..hidden..> 6/16/2016 8:44 PM >>>
Hi Bob,

To clarify exactly what you want ( I think it's close to what I'm going
to need for a customer of mine)
could you perhaps do a mockup of what you want to enter on a timecard,
and what you want to see on the order/invoice

Preferably do this on the actual entry and or report screens and simply
take screenshots

Once I can see those I'll discuss with Erik and work on an
implementation that meets both sets of requirements.

David G

What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. http://sdm.link/zohodev2dev
Ledger-smb-devel mailing list