Home Forums CoreObjX / DB How to get the sales price of items

This topic contains 1 reply, has 1 voice, and was last updated by  Peter 1 year ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #63283

    Peter
    Premium Member

    I want to get the full name and sales price for each Service, Inventory and NonInventory item in QB. I can get the full name, but I don’t know where to obtain the sales price. Here’s some code (VB.NET):

    oQBItems = New CoreObjX70.Items
    oQBItems.GetActive(CoreObjX70.qbEnumItemType.qbItemService)
    Dim oQBItem As CoreObjX70.qcItem
    For Each oQBItem In oQBItems
    Select Case oQBItem.ItemType
    Case CoreObjX70.qbEnumItemType.qbItemService, CoreObjX70.qbEnumItemType.qbItemInventory, CoreObjX70.qbEnumItemType.qbItemNonInventory
    ‘ get service item full name
    aMiscellaneousItems.Add(oQBItem.FullName)
    ‘ get service item sales price

    Thanks, Pete

    #63284

    Peter
    Premium Member

    My apologies, I just found the answer.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.