Menu

#2031 Resource Assignment always returns qty 1 to Sales Order

closed-fixed
Resource (6)
5
2009-12-15
2009-08-13
No

I detected this while testing trunk version some months ago where after setting a quantity of 3 in a Resource Assignment dialog, upon returning to the Sales Order Line window tab, it shows a qty of 1 instead of 3.

Discussion

  • Redhuan D. Oon

    Redhuan D. Oon - 2009-08-15

    REMEDY
    1 - CalloutAssignment is missing mTab.setValue("QtyEntered", Qty);
    2 - Table-Column for OrderLine.S_ResourceAssignment > Callout > org.compiere.model.CalloutOrder.amt / qty.
    NEED to think if this is bug or feature. Basically the ResourceAsisgnment qty in the InfoSchedule say 3 hours does not return back to 3 in the QtyEntered in OrderLine tab of which i cannot see any reason not to. Anyone disagree?

    committed code fix Revision: 9939
    http://adempiere.svn.sourceforge.net/adempiere/?rev=9939&view=rev

    script for callout value add to follow (once i solved why my migration script )

     
  • Trifon (An ADempiere founder)

    Hi Red,

    i tested this fix and it works.

    What is the next which you want to change?
    I'm asking as i'm not sure why this bugs is stil open?

    Regards,
    Trifon
    www.catura.de

     
  • Redhuan D. Oon

    Redhuan D. Oon - 2009-08-28

    Thanks Master Trifon for testing. I have yet to commit the Log migration script for this:
    2 - Table-Column for OrderLine.S_ResourceAssignment > Callout >
    org.compiere.model.CalloutOrder.amt / qty.

    Which cannot be generated in my MacBook as i cannot find it in any temp folder. I was thinking of doing it in my older Sony Vaio.
    If you can generate the script easily your side it be good.

    your slave
    red1

     
  • Carlos Ruiz

    Carlos Ruiz - 2009-08-28

    Redhuan,

    > Which cannot be generated in my MacBook as i cannot find it in
    > any temp folder. I was thinking of doing it in my older Sony Vaio.

    Did you try the updatedb/locate hint I gave you on the wiki page?
    http://www.adempiere.com/index.php/Talk:Generating_Migration_Scripts

    Regards,

    Carlos Ruiz

     
  • Trifon (An ADempiere founder)

    Hi Red,

    >2 - Table-Column for OrderLine.S_ResourceAssignment > Callout >
    >org.compiere.model.CalloutOrder.amt / qty.
    >
    >Which cannot be generated in my MacBook as i cannot find it in any temp
    >folder. I was thinking of doing it in my older Sony Vaio.
    >If you can generate the script easily your side it be good.

    Can you please describe Column name and Table where it should be placed.
    I would like to create this migration scripts.

    Trifon

     
  • Redhuan D. Oon

    Redhuan D. Oon - 2009-11-30
    • status: open --> pending-fixed
     
  • SourceForge Robot

    • status: pending-fixed --> closed-fixed
     
  • SourceForge Robot

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     

Log in to post a comment.