Purchase

Dostawcy i zamówienia zakupu

MarketplaceOperacjeWersja 0.1.0manifest

Do czego służy ​

Keep vendors and the purchase orders you send them, with order lines and a draft to received flow. Totals are entered, not summed from the lines.

Co pakiet robi, a czego nie robi ​

Vendors, purchase orders and order lines with a draft, sent, confirmed, received and cancelled flow. Order totals are entered, not summed from the lines.

Modele ​

purchase_vendor ​

Purchasing terms for a contact you buy from

Grupa odczytu: purchase.user. Grupa zapisu: purchase.manager.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
party_idref → partynoneniepurchase.userjawnieThe contact record of the vendor
vendor_referencetextnoneniepurchase.userjawnieYour customer number at this vendor
payment_terms_daysnumbernoneniepurchase.userjawnieDays allowed to pay an invoice
lead_time_daysnumbernoneniepurchase.userjawnieUsual days between order and delivery
ibantextfinancialtakpurchase.managerwstrzymaneBank account the vendor is paid into
activeboolnoneniepurchase.userjawnieWhether you still buy from this vendor

purchase_order ​

A request to a vendor to supply goods or services

Grupa odczytu: purchase.user. Grupa zapisu: purchase.user.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
referencetextnoneniepurchase.userjawnieOrder number printed on the document
vendor_idref → purchase_vendornoneniepurchase.userjawnieThe vendor ordered from
ordered_ondatenoneniepurchase.userjawnieDate the order was placed (YYYY-MM-DD)
expected_ondatenoneniepurchase.userjawnieDate the goods are expected (YYYY-MM-DD)
currencytextnoneniepurchase.userjawnieISO 4217 currency code, for example EUR
totalmoneynoneniepurchase.userjawnieOrder total as agreed with the vendor (minor currency units, e.g. cents)
noteslongtextnoneniepurchase.userjawnieDelivery instructions and remarks for the vendor
stateselect (draft, sent, confirmed, received, cancelled)noneniepurchase.userjawnieOrder status: draft, sent, confirmed, received, cancelled

purchase_order_line ​

One product or service on a purchase order

Grupa odczytu: purchase.user. Grupa zapisu: purchase.user.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
order_idref → purchase_ordernoneniepurchase.userjawnieThe order the line belongs to
product_idref → productnoneniepurchase.userjawnieThe product ordered
descriptiontextnoneniepurchase.userjawnieWording for the vendor if different from the product name
quantitynumbernoneniepurchase.userjawnieUnits ordered
unit_pricemoneynoneniepurchase.userjawnieAgreed price per unit (minor currency units, e.g. cents)
received_quantitynumbernoneniepurchase.userjawnieUnits received so far

Przepływy pracy ​

purchase_order ​

AkcjaPrzenosiKto może uruchomićZatwierdzenie
purchase_order.sendstate: draft → sentpurchase.usernie
purchase_order.confirmstate: sent → confirmedpurchase.managertak
purchase_order.receivestate: confirmed → receivedpurchase.usernie
purchase_order.cancelstate: draft → cancelledpurchase.usernie

Grupy uprawnień ​

Grupy używane przez tę aplikację:

  • purchase.manager
  • purchase.user

Kroki zatwierdzania ​

Kroki, które agent może tylko zaproponować:

  • purchase_order.confirm

Co agenci mogą, a czego nie mogą ​

Agent może odczytywać, wyszukiwać, tworzyć i aktualizować rekordy tej aplikacji oraz uruchamiać akcje niewymagające zatwierdzenia, w ramach grup uprawnień swojego tokenu.

Te kroki może tylko zaproponować, a człowiek musi je zatwierdzić: purchase_order.confirm, purchase_vendor.delete, purchase_order.delete, purchase_order_line.delete.

Te pola są całkowicie wstrzymane i niedostępne dla agentów: purchase_vendor.iban.

Zależności ​

  • base
  • product

Instalacja ​

Zainstaluj ją w aplikacji Customize (Marketplace) lub z wiersza poleceń:

bash
obop modules install-from purchase

Wymaga bazy danych i uprawnień administratora.

Zbuduj własną ​

Przewodnik po modułach pokazuje, jak pisze się takie aplikacje