1 (edited by advocaat.pollet 11/01/2022 03:35:10 pm)

Topic: No project on automatic deliverybookings of products on stockaccount

Hi,

When a delivery of a product (not for a service) is made to a customer an automatic booking is made : costaccount (D) against stockaccount (C).  The product gets out of stock and represents a cost booked on the costaccount.

The costaccount gets the project(s) mentioned on the deliveryform, but the stockaccount doesn't.

Both accounts should get the project(s).

Idem dito for stockchanges.

Kind regards,
F.

Re: No project on automatic deliverybookings of products on stockaccount

Sure will have a look asap.

Joe

Re: No project on automatic deliverybookings of products on stockaccount

Topic has been fixed and committed to stable repo. Thanks for reporting this.

The fixed files can be downloaded here and here.

Joe

Re: No project on automatic deliverybookings of products on stockaccount

Thanks Joe !
SOLVED

Re: No project on automatic deliverybookings of products on stockaccount

How can I correct the booked deliveries when the are invoiced ?

Kind regards,
F.

Re: No project on automatic deliverybookings of products on stockaccount

I guess you will have to void the deliveries and re-enter them igen, after updating the files.

Joe

Re: No project on automatic deliverybookings of products on stockaccount

No, no changes if invoiced.

F.

Re: No project on automatic deliverybookings of products on stockaccount

I guess we overlapped here. I saw that we cannot change the dimension in Journal Entry.

The easiest way would be to create some Journal entries to fix the correct dimension values.

Joe

Re: No project on automatic deliverybookings of products on stockaccount

I escaped some code in customer_delivery.php :

//    if (!$_SESSION['Items']->prepaid && $_SESSION['Items']->count_items() == 0) {
//        hyperlink_params($path_to_root . "/sales/inquiry/sales_orders_view.php",
//            _("Select a different delivery"), "OutstandingOnly=1");
//        echo "<br><center><b>" . _("This delivery has all items invoiced. There is nothing to modify.") .
//            "</center></b>";
//        display_footer_exit();
//    }


So I can change the deliveries anyway.

F.

Re: No project on automatic deliverybookings of products on stockaccount

Also the automatic 'Cost Udate' doesn't have (a) project(s)/dimension(s) on bookings on the stockaccount.  I guess it should have the project(s)/dimension(s) of the product like with stockajustments.  'Cost Update' has (a) project(s)/dimension(s) on the costaccount, but not on the stockaccount ...

Kind regards,
F.

Re: No project on automatic deliverybookings of products on stockaccount

Ok, thanks. I will fix.

Joe

Re: No project on automatic deliverybookings of products on stockaccount

The same for Customer Credit Note, no project(s)/dimension(s) on bookings on stockaccount.

Kind regards,
F.

Re: No project on automatic deliverybookings of products on stockaccount

This has no been fixed and committed to stable repo. Thanks for reporting.

A fixed file can be downloaded here.

Joe

Re: No project on automatic deliverybookings of products on stockaccount

Yes, and the Customer Credit Note is also fixed and committed to stable. Thanks.

A fixed file can be downloaded here.

Joe

Re: No project on automatic deliverybookings of products on stockaccount

Ok, it seems OK now but I can't modify or void 'Cost Updates'. Is there a way to change or void them ?

F.

Re: No project on automatic deliverybookings of products on stockaccount

No, they cannot be voided, but if you want to add the dimension on a GL line, then use Journal Entry and simply counter book the original Inventory row. And another row where you put the correct dimension on the row. Use the same date for the operations as the original booking.
I hope you understand what I mean.

Joe

Re: No project on automatic deliverybookings of products on stockaccount

Of course I understand !  Thank you for the good work !

F.