Sha256: d9db370c7a3b7786271c162fe38037dfe569859fdb25c1e59ab5ab0086127661

Contents?: true

Size: 1.01 KB

Versions: 3

Compression:

Stored size: 1.01 KB

Contents

class Skr.Models.PorLine extends Skr.Models.Base


    props:
        id:           {"type":"integer","required":true}
        po_receipt_id:{"type":"integer","required":true}
        po_line_id:   "integer"
        sku_loc_id:   {"type":"integer","required":true}
        sku_vendor_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:
        po_receipt: { model: "PoReceipt" }
        sku_loc:    { model: "SkuLoc" }
        po_line:    { model: "PoLine" }
        sku_vendor: { model: "SkuVendor" }
        sku:        { model: "Sku" }
        sku_trans:  { collection: "SkuTran" }

Version data entries

3 entries across 3 versions & 1 rubygems

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