Sha256: 432a6e3b48cf7df98945850c8ea8afe828963fe229ef5c709445aa0a561c2a98

Contents?: true

Size: 997 Bytes

Versions: 3

Compression:

Stored size: 997 Bytes

Contents

class Skr.Models.SkuTran extends Skr.Models.Base


    props:
        id:                {"type":"integer","required":true}
        origin_id:         "integer"
        origin_type:       "string"
        sku_loc_id:        {"type":"integer","required":true}
        cost:              {"type":"bigdec","required":true}
        origin_description:{"type":"string","required":true}
        prior_qty:         {"type":"integer","required":true}
        mac:               {"type":"bigdec","required":true}
        prior_mac:         {"type":"bigdec","required":true}
        qty:               {"type":"integer","required":true,"default":"0"}
        uom_code:          {"type":"string","required":true,"default":"EA"}
        uom_size:          {"type":"integer","required":true,"default":"1"}

    associations:
        sku_loc:        { model: "SkuLoc" }
        location:       { model: "Location" }
        origin:         { model: "Origin" }
        gl_transaction: { model: "GlTransaction" }

Version data entries

3 entries across 3 versions & 1 rubygems

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