on 03-12-2013 3:38 PM
Hi,
Where can I find the field that will report 'Open, Closed or Cancelled' in a query rather then 'O' or 'C'?
Thanks,
Robin
Hi,
The field in the table is DocStatus in the header table i.e ORDR.
The same will be displayed in the report list as 'O' or 'C' as it is the field value. However, you can use the Case query and check whether for 'O', Open can be displayed as Alias name or not.
For example :
Select DocEntry, DocNum,
CASE when CANCELED = 'Y' then 'Cancelled' ELse 'Not Cancelled' END as [Canceled],
CASE when DocStatus = 'C' then 'Closed' Else 'Open' end as [DocStatus],
CardCode, CardName, DocTotal, VatSum
From ORDR
Kind Regards,
Jitin
SAP Business One Forum Team
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Robin,
I can't understand your problem, Can you explain
Thanks
Madeswaran P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.