cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

can me write flexible query result data into excel in Hybris

Accepted Solutions (0)

Answers (2)

Answers (2)

0 Kudos

If that is the case.. then I will suggest you to try the groovy.. It provides option to handle the file operations.. By using groovy you can play with the data as you want..

0 Kudos

Thanks for information. I will ask if i need any assistance further.

0 Kudos

Hello .. For your case, you can try to use the impex export script with flexible query like as below.

insert_update MerchantOffer;code[unique=true];name;catalogVersion;approvalStatus "#% impex.exportItemsFlexibleSearch(""select {pk} from {MerchantOffer} where {CatalogVersion}=8796125003697"");"

0 Kudos

Thanks Kannan. Actually I need to get data from different tables as query has many joins and data is not like one column PK. it has four column like product code pc13 , pc9 , pc5 and its stock.

Please suggest if you have any suggestion.