Magento coupon report returns “No records found for this period”? - magento-1.7

I have to tried generate a coupon report from Magento backend, in option reports->sales->coupon. But it shows a "no record found" error. I also checked it in database, there are all entries are in "Salesrule Coupon" table.

Related

Workflow - get transaction Created By Field

How do I get Created By field of any transaction in workflow. I'm creating a workflow that is applied to Bill record. Bill record is created from PO. I want to send an email to the created by of PO record when Bill gets created.
But I am unable to find that field in workflow.
Hi Refer "Access Purchase Order Fields on Vendor Bills via SuiteFlow"
Suite answer id :37827

oracle form ''you cannot update this record''

I have a procedure in which I get values from different tables and calculate a certain decimal number. After that i try to post it on a form text-field which is a database item (update and insert allowed on the settings of block and item). everything works fine but the result wont show on the item and won't save in the database field. I get the error
"you cannot update this record".
Can someone help? i have been working on it for two days now and can't find anything.
Did you check if your user has update access on the table?
Check also if there are database triggers on the table that prevents you from updating the record.

Crystal Report won't display record if GUID column in Record Selection Formula

I have a table with a GUID column and a recordId (not a guid) column. I need my report to accept a GUID as a report parameter and use it as part of the Record Selection formula to make certain the report only get the record Id's it needs.
[Linking Table] -> [Detail Containing Table]
Since the report doesn't support passing a GUID parameter directly, I was able to convert the GUID to a string and pass it in without incident. When I generate the SQL query in Crystal Designer it looks good: The WHERE clause is properly formatted and if I run the query in SQL Designer it will find all the records I need to fetch. Actually attempting to display the report fail however, it states that 0 records were found despite SQL Profiler also showing that the same SQL was fired off.
Has anyone run into this issue? Is there any way to get the Record Selection formula to not drop the records when actually displaying the report?
After working with SAP Support we were able to determine that there is a defect in 14.0.11. The SQL Query was being formatted correctly, but the record linking under the hood was using a different (and incorrect) linking order. Since the database results and internal schema wound up with different starting tables, Crystal discarded the results to prevent exceptions.
Going to Database Expert -> Links -> Order Links and checking the 'Link Ordering is Enforced' box forced the engine to use the same link ordering throughout the report in the proper order. Then the SQL query and internal record schema matched and we got records.

Get ARAccountRef is invalid when adding second invoice for the same customer

I have invoices that add ok but will not sync. Below is the error I get back from SyncStatusRequest. Research suggests this error is related to payments but I am adding invoices. And stranger still, I only seem to have this problem when I add two invoices in a row for the same customer (1st is fine, 2nd will not sync). Anyone have any ideas?
QBXML validation error:
[severity=FATAL_ERROR,message=cvc-complex-type.2.4.a:
Invalid content was found starting with element 'ARAccountRef'. One of '{CustomerRef}' is expected.,
locator=url=null,
line=-1,
column=-1,
node=null,
object=com.intuit.sb.datasync.writeback.qbxml.schema.ARAccountRef#392ac48b,
field=null]
]

Magento: Item (Mage_Sales_Model_Order) with the same id "1" already exist

After I migrate my Magento shop from one hosting provider to another one. Before I start to migrate a delete all my test orders and put counter of order number to 0.
I have big problem. When I want to go in back office into sales->order I get an error "There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 213759415"
If I go into var/report and open file "213759415" I see 36 lines the first one are:
a:5:{i:0;s:64:"Item (Mage_Sales_Model_Order) with the same id "1" already exist";i:1;s:5345:"#0 /usr/home/xxx/domains/xxx.com/public_html/lib/Varien/Data/Collection/Db.php(576): Varien_Data_Collection->addItem(Object(Mage_Sales_Model_Order))
I have Magento 1.7.0.2
Any ideas?
Many thanks!
I found in db, tabel called "onestepcheckout" where I forgot to delete test orders.
Make sure you properly deleted all test orders.
You can use the following module to do this:
http://www.magentocommerce.com/magento-connect/asperience-deleteorders.html