Sha256: 6f711bfcf64bfddd7ee30bfeaa45386af9d59ed036e402c08212f2ef9409766b

Contents?: true

Size: 1013 Bytes

Versions: 4

Compression:

Stored size: 1013 Bytes

Contents

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


    props:
        id:               {type:"integer"}
        purchase_order_id:{type:"integer"}
        sku_loc_id:       {type:"integer"}
        sku_vendor_id:    {type:"integer"}
        part_code:        {type:"string"}
        sku_code:         {type:"string"}
        description:      {type:"string"}
        uom_code:         {type:"string"}
        uom_size:         {type:"integer"}
        position:         {type:"integer"}
        qty:              {type:"integer", "default":"0"}
        qty_received:     {type:"integer", "default":"0"}
        qty_canceled:     {type:"integer", "default":"0"}
        price:            {type:"bigdec"}
        is_revised:       {type:"boolean", default:false}

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stockor-0.5.0 client/skr/models/PoLine.coffee
stockor-0.4.0 client/skr/models/PoLine.coffee
stockor-0.3.0 client/skr/models/PoLine.coffee
stockor-0.2 client/skr/models/PoLine.coffee