Sha256: d427ccf2d5570c1b287ff9b464d92f79ead4b63ae8fa61dbfd74495c44ff6787
Contents?: true
Size: 647 Bytes
Versions: 41
Compression:
Stored size: 647 Bytes
Contents
FactoryBot.define do factory :sales_order_item, class: "Comee::Core::SalesOrderItem" do sales_order association :customer_order_item, :with_inventory source factory: :fulfillment_center product unit customer_item_no { Faker::Alphanumeric.alpha(number: 10) } quantity { 100 } quantity_delivered { 0 } price { 50 } delivery_date { Date.current.advance(months: 1) } handover_date { Date.current } eb_number { Faker::Lorem.word } lead_time { nil } comment { Faker::Lorem.sentence } action_note { Faker::Lorem.sentence } po_reference { Faker::Alphanumeric.alpha(number: 10) } end end
Version data entries
41 entries across 41 versions & 1 rubygems