Sha256: d3d535c1832cc3e317756c2958e9129bac72c1fb0126caef7aecbc39db66e4e7

Contents?: true

Size: 1.25 KB

Versions: 3

Compression:

Stored size: 1.25 KB

Contents

class Skr.Models.PoLine extends Skr.Models.Base


    props:
        id:               {"type":"integer","required":true}
        purchase_order_id:{"type":"integer","required":true}
        sku_loc_id:       {"type":"integer","required":true}
        sku_vendor_id:    {"type":"integer","required":true}
        part_code:        {"type":"string","required":true}
        sku_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"}
        qty_received:     {"type":"integer","required":true,"default":"0"}
        qty_canceled:     {"type":"integer","required":true,"default":"0"}
        price:            {"type":"bigdec","required":true}
        is_revised:       {"type":"boolean","required":true,"default":"false"}

    associations:
        purchase_order: { model: "PurchaseOrder" }
        sku_loc:        { model: "SkuLoc" }
        sku_vendor:     { model: "SkuVendor" }
        sku:            { model: "Sku" }
        receipts:       { collection: "PorLine" }

Version data entries

3 entries across 3 versions & 1 rubygems

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