Results 1 to 3 of 3

Thread: Product.IsImport

  1. #1
    Join Date
    Jun 2012
    Posts
    1

    Post Product.IsImport

    Can I use the column IsImport from table Product to identify the products that I inputed by command insert in sqlserver, or this column is used for other things in the system? And what is the purpose of the column IsSystem?

  2. #2
    Join Date
    Mar 2007
    Location
    Ashland, OR
    Posts
    2,390

    Default

    IsImport is only used by WSI as far as I remember, to identify new rows to roll back if you do imports inside a <transaction> tag. If you're not using WSI it should be safe enough to use that field.

    IsSystem is used for special products - Micropay, Gift Cards, etc.

  3. #3
    Join Date
    Nov 2008
    Location
    London, UK
    Posts
    432

    Default

    ...and it's also used by the Excel product importer isn't it? (within import.cs) which sets IsImport to 1 on import, then either...

    - Set IsImport to 0 for all products if the user clicks 'accept import'
    - Or, uses the IsImport flag to find which products to roll back if the user cancels the import

    Adam

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •