Purchase Receipts - codbex/codbex-olympus GitHub Wiki

Purchase Receipt is a document that a person or company receives when they buy something, giving details of price, payment conditions, etc.

Purchase Receipt

Entity Definition

  • Entity Type: Primary Entity
  • Layout Type: Manage Master Entities
Field Type Length Null? Calc? Ref? Description
Id INTEGER no - -
Number VARCHAR 20 no - -
Date DATE no - -
Supplier INTEGER no - yes Reference to Suppliers
Amount DOUBLE - yes - SUM(PurchaseReceiptItem.Amount)
Currency INTEGER - - yes Reference to Currency
VAT DOUBLE - yes - SUM(PurchaseReceiptItem.Amount * %VAT)
Discount DOUBLE - - - % Discount
Taxes DOUBLE - - - % Taxes (other than VAT)
Total DOUBLE - yes - Amount - %Discount + VAT + %Taxes
PaymentMethod INTEGER - - yes Reference to Payment Method
Document VARCHAR 200 - - - Link to the scanned copy of the document
Company INTEGER - - yes Reference to Companies
Name VARCHAR 200 - yes - Supplier.Name/Number/Date/Amount
UUID VARCHAR 36 - yes - Random UUID generated
RefUUID VARCHAR 36 - - - Reference via UUID to the PurchaseOrder

Custom Actions

  • Print

Purchase Receipt Item

Entity Definition

  • Entity Type: Dependent Entity
  • Layout Type: Manage Details Entities
Field Type Length Null? Calc? Ref? Description
Id INTEGER no - -
PurchaseInvoice INTEGER no - yes Reference to Purchase Receipt
Name VARCHAR 2000 no - - Free text representing Product/Service
Quantity DOUBLE no - -
Price DOUBLE no - -
Amount DOUBLE - yes - Quantity * Price