Items can be filtered based on their Vendor Type. The Vendor Types are:

  • 0 - Not applicable
  • 1 - Importer
  • 2 - Dealer

The Vendor Types are calculated as follows:

  • If the Item has a BP assigned on it, "Item.CardCode" and the BP CardCode = ImporterBPCode (setup key) → then the VendorType = 1
  • If the Item has a BP assigned on it, "Item.CardCode" and the BP CardCode is not equal with the setup key → then the VendorType = 2
  • If the Items doesn't have a BP assigned on it, "Item.CardCode" = null → then the VendorType = 0

  • No labels
Write a comment…