On 08/07/2013 03:32 AM, Chris Travers wrote:



On Tue, Aug 6, 2013 at 5:44 PM, Brian Wolf <brian.w...@activustech.com <mailto:brian.w...@activustech.com>> wrote:

    A local electronics distributor has expressed interest in
    LedgerSMB.  One of their requirements is functionality already
    available in Quickbooks.  By way of analogy, many people are aware
    that GM makes Chevy, Oldsmobile and Pontiac; often GM offers the
    same car but gives it a different name in each division.  The
    electronics distributor wants to be able to add a product (part)
    to a sales invoice, but it's name may vary according to which
    model / name is in stock.  They want the software to pick
    whichever is available, and put it on the sales invoice, in a
    situation where three products are essentially equivalent.

    Is this possible in LedgerSMB?  If so, how?


Without customization the closest you could do is remove the constraint on unique partnumbers (or suffix them without removing the constraint) and just select from the search screen that comes up.


With the Dojo additions to the UI, I'm thinking a "partselector" widget can handle this scenario, provide a live Ajax-search on part number and/or description. Then in the callback we could provide current stock level and show that in the result set.

So if you have two hard drives, you could have:

hdd-500-sata-7200-1
hdd-500-sata-7200-2
etc

then if you type
hdd-500-sata-7200 you will get a list of these and can select which one it is. This allows you to do hierarchical searches too (hdd would list all hard drives, hdd-500 might list all 500GB hard drives, etc).

With customization you could limit the search to those in stock. This has some significant issues in some cases so is not generally applicable.

This can be handled browser-side, if we can figure out a reasonable UI for this (perhaps a preference for minimum stock level to show in parts lookups? A checkbox next to the line item for "show all parts, including out of stock?")

Cheers,
John Locke
http://www.freelock.com
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead. 
Download for free and get started troubleshooting in minutes. 
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
Ledger-smb-users mailing list
Ledger-smb-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ledger-smb-users

Reply via email to