#117 fix query on partscustomer table

closed
nobody
None
5
2011-05-27
2010-03-28
Ian Goodacre
No

This is a patch to a recent checkout of trunk from SVN.

Since the recent revision of partscustomer which changed column
customer_id to credit_id, adding a service to a sales invoice failed with:

DBD::Pg::st execute failed: ERROR: column p.customer_id does not exist
LINE 2: SELECT p.parts_id, p.customer_id AS entity_id,
^ at LedgerSMB/PriceMatrix.pm line 131.

This patch changes the query in LedgerSMB/PriceMatrix.pm to accommodate
the change to the partscustomer table.

Discussion

  • Chris Travers
    Chris Travers
    2011-05-27

    Previously applied

     
  • Chris Travers
    Chris Travers
    2011-05-27

    • status: open --> closed