[Skip to main content](#vessel-content)

#   generate the invoice for vendor commission mode

##

- **[Nabo](/forum/user/33180-nabo "View Nabo's Profile")**
- [![Nabo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33180-nabo "View Nabo's Profile") Topic Author
- [ Offline](/forum/user/33180-nabo)

Less More

- Posts: 48
- Thank you received: 0
-
-

10 years 9 months ago [\#227846](#227846) by [Nabo](/forum/user/33180-nabo "View Nabo's Profile")  *[generate the invoice for vendor commission mode](/forum/23-market-how-to/881900-generate-the-invoice-for-vendor-commission-mode#227846 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.12 -- Error-message(debug-mod must be tuned on) -- : 1051 Unknown table 'a' SQL=SELECT a.&#42; FROM vcdsq&#95;hikashop&#95;order AS hk&#95;order WHERE (hk&#95;order.order&#95;vendor&#95;id = 80) AND (hk&#95;order.order&#95;vendor&#95;paid = 0) AND (hk&#95;order.order&#95;status IN ('confirmed','shipped') OR hk&#95;order.order&#95;type = 'vendorrefund') AND (hk&#95;order.order&#95;id IN (152))  Hi,  I get the SQL error 1051 by creating the in voice for the vendor in commission mode (please see attachment). Do I make a mistake in the configurations?  Thanks for your help")* was created by *[Nabo](/forum/user/33180-nabo "View Nabo's Profile")*

-- HikaShop version -- : 2.6.1
-- HikaMarket version -- : 1.6.7
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6.12
-- Error-message(debug-mod must be tuned on) -- : 1051 Unknown table 'a' SQL=SELECT a.* FROM vcdsq_hikashop_order AS hk_order WHERE (hk_order.order_vendor_id = 80) AND (hk_order.order_vendor_paid = 0) AND (hk_order.order_status IN ('confirmed','shipped') OR hk_order.order_type = 'vendorrefund') AND (hk_order.order_id IN (152))

Hi,

I get the SQL error 1051 by creating the in voice for the vendor in commission mode (please see attachment).
Do I make a mistake in the configurations?

Thanks for your help

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODgxOTAwLWdlbmVyYXRlLXRoZS1pbnZvaWNlLWZvci12ZW5kb3ItY29tbWlzc2lvbi1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Nabo](/forum/user/33180-nabo "View Nabo's Profile")**
- [![Nabo's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/33180-nabo "View Nabo's Profile") Topic Author
- [ Offline](/forum/user/33180-nabo)

Less More

- Posts: 48
- Thank you received: 0
-
-

10 years 9 months ago [\#227847](#227847) by [Nabo](/forum/user/33180-nabo "View Nabo's Profile")  Replied by *[Nabo](/forum/user/33180-nabo "View Nabo's Profile")* on topic *[generate the invoice for vendor commission mode](/forum/23-market-how-to/881900-generate-the-invoice-for-vendor-commission-mode#227847 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.12 -- Error-message(debug-mod must be tuned on) -- : 1051 Unknown table 'a' SQL=SELECT a.&#42; FROM vcdsq&#95;hikashop&#95;order AS hk&#95;order WHERE (hk&#95;order.order&#95;vendor&#95;id = 80) AND (hk&#95;order.order&#95;vendor&#95;paid = 0) AND (hk&#95;order.order&#95;status IN ('confirmed','shipped') OR hk&#95;order.order&#95;type = 'vendorrefund') AND (hk&#95;order.order&#95;id IN (152))  Hi,  I get the SQL error 1051 by creating the in voice for the vendor in commission mode (please see attachment). Do I make a mistake in the configurations?  Thanks for your help")*

One more screenshoot with the report of the debug mode
[ ![Bildschirmfoto&#95;2016-01-27&#95;um&#95;12&#95;00&#95;08.png](/forum/attachment/29085) ](/forum/attachment/29085 "...m&#95;12&#95;00&#95;08.png")

- [ ![Bildschirmfoto&#95;2016-01-27&#95;um&#95;12&#95;00&#95;08.png](/forum/attachment/29085) ](/forum/attachment/29085 "...m&#95;12&#95;00&#95;08.png") [ ](/forum/attachment/29085?download=1 "...m&#95;12&#95;00&#95;08.png")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODgxOTAwLWdlbmVyYXRlLXRoZS1pbnZvaWNlLWZvci12ZW5kb3ItY29tbWlzc2lvbi1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 9 months ago [\#227849](#227849) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[generate the invoice for vendor commission mode](/forum/23-market-how-to/881900-generate-the-invoice-for-vendor-commission-mode#227849 "-- HikaShop version -- : 2.6.1 -- HikaMarket version -- : 1.6.7 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.6.12 -- Error-message(debug-mod must be tuned on) -- : 1051 Unknown table 'a' SQL=SELECT a.&#42; FROM vcdsq&#95;hikashop&#95;order AS hk&#95;order WHERE (hk&#95;order.order&#95;vendor&#95;id = 80) AND (hk&#95;order.order&#95;vendor&#95;paid = 0) AND (hk&#95;order.order&#95;status IN ('confirmed','shipped') OR hk&#95;order.order&#95;type = 'vendorrefund') AND (hk&#95;order.order&#95;id IN (152))  Hi,  I get the SQL error 1051 by creating the in voice for the vendor in commission mode (please see attachment). Do I make a mistake in the configurations?  Thanks for your help")*

Hi,

That issue has been fixed begin of December, less than one week after the release.
Please be sure that you right have the latest HikaShop 1.6.7 package with that hotfix.

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzIzLW1hcmtldC1ob3ctdG8vODgxOTAwLWdlbmVyYXRlLXRoZS1pbnZvaWNlLWZvci12ZW5kb3ItY29tbWlzc2lvbi1tb2RlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.050 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
