Home Forums Sales Agent Management System (SAMS) New product sell issue

  • #633

    informascope
    Participant

    1,073

    New product sell issue

    Hello,

    When I was saving product sell , I took error as following.

    A Database Error Occurred

    Error Number: 1364

    Field ‘total_price’ doesn’t have a default value

    INSERT INTO invoice (total_product, customer_id, customer_referral_id, sales_by, created_at, modified_at) VALUES (2, ’32’, ‘198564’, ‘1’, 1503669449, 1503669449)

    Filename: C:/wamp64/www/sams/source/application/models/Product_model.php

Viewing 3 replies - 1 through 3 (of 3 total)
  • #640

    Please send us your URL and cPanel info in a private reply, so we will check it

    Best regards

    #644

    informascope
    Participant

    Hello Katherine,

    I solved this issue. The total_price column has not default value in the invoice table and I set default value “0.00” to the total_price.

    Best Regards,

    Onur

    #650

    That’s great

Viewing 3 replies - 1 through 3 (of 3 total)

Purchase for access

Buy a copy of Sales Agent Management System (SAMS) for access to our member center.

Buy