# Material request

**URL:** https://discuss.tryton.org/t/material-request/1065
**Category:** User
**Tags:** stock
**Created:** [January 22, 2019, 3:00pm UTC](https://discuss.tryton.org/t/material-request/1065 "2019-01-22T15:00:29Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![risto3](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/a87d85/32.png) [@risto3](https://discuss.tryton.org/u/risto3)
#### Post date: [January 22, 2019, 3:00pm UTC](https://discuss.tryton.org/t/material-request/1065/1 "2019-01-22T15:00:29Z")

</div>

What is the equivalent in Tryton for a materiel request form that can entered by an employee for a particular project/production cost center to a particular work center or storage location?  
That is one that can be processed by a responsible to determine what should/can be delivered out of stock and what should be transformed into a purchase request…

---

<div class="post-metadata">

### Author: ![maxx](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/maxx/32/2320_2.png) [@maxx](https://discuss.tryton.org/u/maxx)
#### Post date: [January 22, 2019, 3:09pm UTC](https://discuss.tryton.org/t/material-request/1065/2 "2019-01-22T15:09:38Z")

</div>

[Purchase Requisition](http://docs.tryton.org/projects/modules-purchase-requisition/en/latest/) module should do the job…

> **[tul2017\_saluc\_v1pdf.pdf](https://downloads-cdn.tryton.org/TUL2017/tul2017_saluc_v1pdf.pdf)**
>
> 1317.70 KB

[![](https://discuss-cdn.tryton.org/uploads/default/original/2X/2/26119c90a0221f9c3a244835c75510cc7641a7b1.jpeg "Demonstration of a pre-purchase Process in Tryton by Thierry Bruyere and Maxime Richez") ](https://www.youtube.com/watch?v=atMO62IDP1c)

---

<div class="post-metadata">

### Author: ![risto3](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/a87d85/32.png) [@risto3](https://discuss.tryton.org/u/risto3)
#### Post date: [January 22, 2019, 3:46pm UTC](https://discuss.tryton.org/t/material-request/1065/3 "2019-01-22T15:46:52Z")

</div>

yeah, I’m preparing to use that, but as your slides clearly show, purchase\_requisition is _after_ the stock supply processing.  
Material requests are sent _before_ stock supply processing which, when necessary, will in turn generate purchase requisition forms leading up to eventual purchase requests.

I’m suffering as well from the loss of any means (other than perhaps in the description or notes) to stipulate the storage location once in the “purchase” workflow, only warehouse granularity seems to be provided.

---

<div class="post-metadata">

### Author: ![maxx](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/maxx/32/2320_2.png) [@maxx](https://discuss.tryton.org/u/maxx)
#### Post date: [January 22, 2019, 3:57pm UTC](https://discuss.tryton.org/t/material-request/1065/4 "2019-01-22T15:57:14Z")

</div>

purchase\_requisition is not after the stock\_supply. It is at the same level. Each module (sale\_supply, stock\_supply, purchase\_requisition) will generate purchase\_requests.  
With the purchase\_requisition, there is a workflow to approve the requisition and then creating the purchase\_request.

---

<div class="post-metadata">

### Author: ![risto3](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/a87d85/32.png) [@risto3](https://discuss.tryton.org/u/risto3)
#### Post date: [January 22, 2019, 4:18pm UTC](https://discuss.tryton.org/t/material-request/1065/5 "2019-01-22T16:18:25Z")

</div>

> [@maxx](#):
>
> With the purchase\_requisition, there is a workflow to approve the requisition and then creating the purchase\_request.

I guess I missed something then, where is the stock supply dealt with in processing that can generate the internal stock moves prior to approval (which then generates the purchase request).  
Also, where is the project/production storage location indication?

---

<div class="post-metadata">

### Author: ![risto3](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/a87d85/32.png) [@risto3](https://discuss.tryton.org/u/risto3)
#### Post date: [January 22, 2019, 5:58pm UTC](https://discuss.tryton.org/t/material-request/1065/6 "2019-01-22T17:58:06Z")

</div>

> [@risto3](#):
>
> Also, where is the project/production storage location indication?

For this, I wonder if adding an optional default location to the purchase documents (like for product variant), as well as an override on a line item basis (like for delivery date) wouldn’t do the trick.

---

<div class="post-metadata">

### Author: ![maxx](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/maxx/32/2320_2.png) [@maxx](https://discuss.tryton.org/u/maxx)
#### Post date: [January 22, 2019, 6:13pm UTC](https://discuss.tryton.org/t/material-request/1065/7 "2019-01-22T18:13:29Z")

</div>

> [@risto3](#):
>
> I guess I missed something then, where is the stock supply dealt with in processing that can generate the internal stock moves prior to approval (which then generates the purchase request).  
> Also, where is the project/production storage location indication?

Hum, stock\_supply has no approval. You define order\_points (in stock menu) then for those order\_points, purchase\_requests will be generated. ([Stock Supply Module — Tryton module for stock supply](http://docs.tryton.org/projects/modules-stock-supply/en/latest/index.html?highlight=stock_supply))

Purchase\_requisition is a manual request by an employee. This request when approved by a responsible can generate a purchase\_request. ([Purchase Requisition Module — Allows users to enter requests for product supply (requisition). This will create a "Purchase request" by line which will be treated by the purchasing department.](http://docs.tryton.org/projects/modules-purchase-requisition/en/latest/))

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [January 22, 2019, 6:18pm UTC](https://discuss.tryton.org/t/material-request/1065/8 "2019-01-22T18:18:14Z")

</div>

> [@risto3](#):
>
> For this, I wonder if adding an optional default location to the purchase documents (like for product variant), as well as an override on a line item basis (like for delivery date) wouldn’t do the trick.

This is not going to happen in standard because the design is that documents work at warehouse level only. It is usually not the job of the purchaser to know how the warehouse is organized. The default location for a product can be configured by example with the [stock\_product\_location module](http://docs.tryton.org/projects/modules-stock-product-location/en/latest/).

---

<div class="post-metadata">

### Author: ![risto3](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/a87d85/32.png) [@risto3](https://discuss.tryton.org/u/risto3)
#### Post date: [January 22, 2019, 6:37pm UTC](https://discuss.tryton.org/t/material-request/1065/9 "2019-01-22T18:37:39Z")

</div>

This is why I ask for the materiel request form, it is typically input to stock supply.  
The not in stock materiels need to be ordered, but the in-stock needs to be internally moved.

I got the idea to add the default location from the stock\_product\_location module, which only works for the static (default) stock location(s) for products in permanent warehouses.  
The overrides are necessary for punctual worksite warehouses and such.

I notice the generated purchase lines each have a request tab seeming to indicate that if the default location was available in the request (and in the requisition), then it wouldn’t be necessary to add more to the purchase as such. This information _should_ be used in receiving the suppliers shipment.  
So, I don’t believe the purchaser should really care too much, but the manager approving the requisition probably should for a variety of reasons.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [January 22, 2019, 7:17pm UTC](https://discuss.tryton.org/t/material-request/1065/10 "2019-01-22T19:17:13Z")

</div>

> [@risto3](#):
>
> This is why I ask for the materiel request form, it is typically input to stock supply.  
> The not in stock materiels need to be ordered, but the in-stock needs to be internally moved.

The system compute that by itself.

---

<div class="post-metadata">

### Author: ![risto3](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/a87d85/32.png) [@risto3](https://discuss.tryton.org/u/risto3)
#### Post date: [January 22, 2019, 9:39pm UTC](https://discuss.tryton.org/t/material-request/1065/11 "2019-01-22T21:39:52Z")

</div>

I’m curious as to how the system could compute materiels need (and when) in absence of completely planned operations with fixed BOM or other instructions, the demand must be conjured up from somewhere!

The real world uses a simple request for materiels .

For grins, I found a nice example here (no, I have nothing to do with CERN):  
[http://smb-dep.web.cern.ch/sites/smb-dep.web.cern.ch/files/documents/Divers/Demande\_Materiel\_papier.pdf](http://smb-dep.web.cern.ch/sites/smb-dep.web.cern.ch/files/documents/Divers/Demande_Materiel_papier.pdf)

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [January 22, 2019, 9:42pm UTC](https://discuss.tryton.org/t/material-request/1065/12 "2019-01-22T21:42:34Z")

</div>

You fill the proper order: sale, production, shipment etc.

---

<div class="post-metadata">

### Author: ![risto3](https://discuss-cdn.tryton.org/letter_avatar_proxy/v4/letter/r/a87d85/32.png) [@risto3](https://discuss.tryton.org/u/risto3)
#### Post date: [January 22, 2019, 10:17pm UTC](https://discuss.tryton.org/t/material-request/1065/13 "2019-01-22T22:17:13Z")

</div>

Speaking rather myopically about the case in hand, if I recall correctly, you mentioned elsewhere it was improper to use sale for projects or works contracts, it needed to be an opportunity…  
If I understand production meaning based upon sales, then again, these projects or works contracts are initially merely estimates of the actual works to be delivered… the detail is fleshed out during elaboration of the project (I guess engineered-to-order with more or less detailed initial specifications).

The production is intensive, long running, dynamic and, depending upon the profession (corps d’état or corps de métier) arbitrarily complex, with considerable human and machine effort with a multitude of interactions.

Typically there is no ‘shipment’ but there are deliverables where all or most of the production stock provisioned has been consumed, the excess returned to the company’s warehouse(s).

So I can’t fathom what a ‘proper’ order is here… If there was a kind of BOM that fits the description of the materiels request workflow, then it is probably the missing link.

---

<div class="post-metadata">

### Author: ![ced](https://discuss-cdn.tryton.org/user_avatar/discuss.tryton.org/ced/32/1237_2.png) [@ced](https://discuss.tryton.org/u/ced)
#### Post date: [January 22, 2019, 11:01pm UTC](https://discuss.tryton.org/t/material-request/1065/14 "2019-01-22T23:01:55Z")

</div>

In Tryton requesting a goods is about creating draft stock moves. After that stock supply computes and create the proper requests (purchase, production, internal shipment etc.) depending on the configuration of the order points, provisioning and overflowing location etc.  
For a customer, we have once developed a custom module that allows to create move on project work. But this is very custom as it is almost always with long running projects.
