Sha256: 53edb1e9a09fe7c0834eb405fd154241055fcb5bd528a6912cd3a029874deaa7

Contents?: true

Size: 909 Bytes

Versions: 3

Compression:

Stored size: 909 Bytes

Contents

class Skr.Models.VoLine extends Skr.Models.Base


    props:
        id:           {"type":"integer","required":true}
        voucher_id:   {"type":"integer","required":true}
        sku_vendor_id:{"type":"integer","required":true}
        po_line_id:   "integer"
        sku_code:     {"type":"string","required":true}
        part_code:    {"type":"string","required":true}
        description:  {"type":"string","required":true}
        uom_code:     {"type":"string","required":true}
        uom_size:     {"type":"integer","required":true}
        position:     {"type":"integer","required":true}
        qty:          {"type":"integer","required":true,"default":"0"}
        price:        {"type":"bigdec","required":true}

    associations:
        voucher:    { model: "Voucher" }
        sku_vendor: { model: "SkuVendor" }
        po_line:    { model: "PoLine" }
        sku:        { model: "Sku" }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stockor-0.1.9 client/skr/models/VoLine.coffee
stockor-0.1.8 client/skr/models/VoLine.coffee
stockor-0.1.7 client/skr/models/VoLine.coffee