Two ways to receive: delivery or pickup
Goods come to you, or you fetch them:- A delivery is brought by the supplier. It can carry a delivery fee.
- A pickup is collected at the supplier, for example by Bio at the port yard of Fers & Métaux du Port. It has no delivery fee.
Plan the delivery
When the truck is announced, Bio plans it with Create a purchase delivery, against the approved purchase. For each line he says which purchase line arrives, how many, and in which location it goes. He can add costs, such as unloading by hand, and choose the delivery fee: a saved rate of the supplier, or a custom amount. He also says whether the company pays the fee itself or whether it is added to what Illa owes the supplier. Everything can be changed while the delivery is a draft. Bio uses Add a delivery item, Edit a delivery item and Remove a delivery item for the lines, and Add a delivery cost, Edit a delivery cost and Remove a delivery cost for the costs. Edit a purchase delivery changes the header. When the driver leaves the supplier, Bio uses Mark delivery in transit. Delete a purchase delivery removes a draft.Count what arrived, and what is damaged
When the truck arrives, Bio sets on the line the quantity received, here 250, and the damaged quantity, here 10, with a reason. The cost of the damaged bags is either taken out of the cost of the stock (“expensed”) or carried by the good bags (“absorbed by remaining stock”).Confirm it into stock
Bio confirms the delivery with Confirm a purchase delivery. The 240 good bags enter stock in the location named on the line. The extra costs and the fee are spread over the lines, equally or in proportion to each line’s cost, as chosen at planning. The 150 bags still to come stay open on the purchase. When nothing remains to receive, the purchase becomes completed. He browses with List purchase deliveries and View a purchase delivery; items and costs have their own list and view actions below. Goods that must go back: Return goods to suppliers. Credit purchases: Pay suppliers and adjust debt.The rules
- A delivery or a pickup can only be planned against a purchase that is pending. Pickups and deliveries share their references, which must be unique in the company.
- A line names a purchase line, a quantity above 0 and a location, which must be active, available to the company and not restricted for the member. The quantity cannot be more than what is still to receive on that purchase line. A purchase line appears once per reception. Drafts do not reserve quantity, so the same remainder can be planned twice; the check runs again at confirmation.
- The damaged quantity goes from 0 up to the quantity received, counted in the purchase unit or in another unit of the same product chosen for the damage. When it is above 0, a reason and a cost treatment are required. When it is 0, they are refused. “Absorbed by remaining stock” is refused when every unit is damaged. The total cost of a line is computed, never sent.
- Delivery rate and custom fee exclude each other. With neither, the delivery is free. The fee is paid by the company unless it is said otherwise. A fee not paid by the company is added to what is owed to the supplier at confirmation. A saved rate is copied into the delivery. Pickups refuse fee fields.
- Costs, such as freight, have a name and an amount of 0 or more. They are spread over the lines only at confirmation. VAT amounts are not accepted: VAT belongs to the purchase.
- Editable means draft for a pickup, and draft or in transit for a delivery. A confirmed reception cannot be edited.
- Only a draft can be deleted, and then for good, with its lines and costs.
- A delivery goes in transit only from draft, and cannot be deleted afterwards. Pickups have no such step.
- Confirming needs at least one line, happens once, and does not check the status of the purchase. Products that are not tracked in stock add nothing to stock, and neither does a line that is entirely damaged. The purchase is pending while some quantity remains, completed otherwise.
- Line and cost actions need the reception’s update permission plus their own.
All the actions of this topic
- List purchase deliveries: Lists the deliveries of the current company, with a cursor page. Pass purchase_id to keep only the deliveries of one purchase; lines and costs are returned only when requested with include=items,costs.
- Create a purchase delivery: Plans a delivery (goods brought by the supplier) against an active purchase, with items, extra costs, and an optional delivery fee.
- View a purchase delivery: Shows one delivery (goods brought by the supplier).
- Edit a purchase delivery: Changes reference, notes, expected date or cost sharing of a delivery that is not yet confirmed.
- Delete a purchase delivery: Deletes a draft delivery with its items and costs.
- Confirm a purchase delivery: Confirms goods were received: stock is added, the purchase lines are reduced and the purchase becomes completed when nothing remains.
- Mark delivery in transit: Records that the supplier truck is on its way; the delivery can still be edited until it is confirmed.
- List delivery costs: Shows the extra costs (freight, handling, etc.) attached to a delivery.
- Add a delivery cost: Adds an extra cost to a delivery that will be spread over its items.
- View a delivery cost: Shows one extra cost of a delivery.
- Edit a delivery cost: Changes an extra cost of a delivery that is not yet confirmed.
- Remove a delivery cost: Removes an extra cost from a delivery that is not yet confirmed.
- List delivery items: Shows the products listed on a delivery.
- Add a delivery item: Adds a product line, with received and damaged quantities, to a delivery that is not yet confirmed.
- View a delivery item: Shows one product line of a delivery.
- Edit a delivery item: Changes quantities or damage details of a line on a delivery not yet confirmed.
- Remove a delivery item: Removes a line from a delivery that is not yet confirmed.
- List purchase pickups: Lists the pickups of the current company, with a cursor page. Pass purchase_id to keep only the pickups of one purchase; lines and costs are returned only when requested with include=items,costs.
- Create a purchase pickup: Plans a pickup (goods collected from the supplier) against an active purchase, with items, extra costs.
- View a purchase pickup: Shows one pickup (goods collected from the supplier).
- Edit a purchase pickup: Changes reference, notes, expected date or cost sharing of a pickup that is not yet confirmed.
- Delete a purchase pickup: Deletes a draft pickup with its items and costs.
- Confirm a purchase pickup: Confirms goods were received: stock is added, the purchase lines are reduced and the purchase becomes completed when nothing remains.
- List pickup costs: Shows the extra costs (freight, handling, etc.) attached to a pickup.
- Add a pickup cost: Adds an extra cost to a pickup that will be spread over its items.
- View a pickup cost: Shows one extra cost of a pickup.
- Edit a pickup cost: Changes an extra cost of a pickup that is not yet confirmed.
- Remove a pickup cost: Removes an extra cost from a pickup that is not yet confirmed.
- List pickup items: Shows the products listed on a pickup.
- Add a pickup item: Adds a product line, with received and damaged quantities, to a pickup that is not yet confirmed.
- View a pickup item: Shows one product line of a pickup.
- Edit a pickup item: Changes quantities or damage details of a line on a pickup not yet confirmed.
- Remove a pickup item: Removes a line from a pickup that is not yet confirmed.