Hi, Am Donnerstag, 15. September 2011 schrieb Cédric Krier: > I think we got a design issue in the sale module. > Right now, the "Planned Date" of the "Customer Shipment" is the "Sale Date" > (by default today). > I think this is too simple to correctly simulate the reality. The company > could need some times to prepare the products etc.
Indeed. We could distinguish: (requested) Delivery date/time: When the goods should arrive at the customer, resp. be available in the shop/warehouse (own) Goods Receipt (GR) processing time. The time required to process the GR to have the goods available in the warehouse resp. in shelf. You mostly have this GR time in own shops / warehouses, not for external customers. transportation time: Time needed to transport from own to customers location Goods issue (GI) processing time: Time required for internal warehouse processes for picking or commissioning. Calculating those times backwards from the delivery date, the relevant date for MRP is the material availability date. IMHO this date drives the shipment date as well. Sales date (requested delivery date, see above) should be entered on the time of order entry. Note: some understand as sales date the time the invoice is created. This usually causes lenghty discussions during ERP or BI projects. Does that help? Cheers Axel > In contrast on the purchase we compute the planned date for the supply of a > product based on the informations of the "Product Supplier". > > So I think we should have similar design for "Sale" which means: > > - Having on "Product" a field "Delivery Time" (similar to the one on > "Product Supplier") > > - Having a method on "Product" to compute_delivery_time > > - Use this method to set "Planned Date" on move created by "Sale" > > - Group those moves by similar "Planned Date" into a "Shipment" > > I think this design will allow custom developers to extend it to match > almost any behaviors. > > What do you think? -- Dr.-Ing. Axel K. Braun Mobile: +49.173.7003.154 VoIP/Skype: axxite PGP Fingerprint: CB03 964D 1CFA E87B AA63 53F3 1BD6 F53A EB48 EF22 Public Key available at http://www.axxite.com/[email protected] This mail was *not scanned* before sending. It was sent from a secure Linux desktop. -- [email protected] mailing list
