Hi Cenk,
i try datasources/query/datasources/table/ranges and add a field and
set value " InventAccountTypePurch::Consumption", it works fine !
Thank you !
The only problem was, that the german Label of
InventAccountTypePurch::Consumption is "Einkauf, Verbrauch" and so
the query filters to "Einkauf" and "Verbrauch". But when i changed 
the lable to "Einkauf-Verbrauch", everything works well.
cu
Claudia


and set       status  "Hide" or "Lock"


--- In [EMAIL PROTECTED], "Cenk Ince" <[EMAIL PROTECTED]>
wrote:
> Hi Claudia
>
> If (you want to it with code try this)
> {
>       QueryBuildRange qbr; // class decleration of report
>
>       // init of report before super();
>       qbr =       element.query().dataSourceTable(tablenum
(ProdTable)).addRange(fieldnum      (ProdTable,ProdStatus));
>       qbr.value(enum2str(InventAccountTypePurch::Consumption));
>       qbr.status(RangeStatus::Hide);
> }
> else
> {
>       in your report open
datasources/query/datasources/table/ranges and add       a field end
set value " InventAccountTypePurch::Consumption" and set
      status  "Hide" or "Lock"
> }
>
> I hope this helps.
>
>
> -----Original Message-----
> From: Claudia G�ries [mailto:[EMAIL PROTECTED]
> Sent: Monday, April 19, 2004 1:05 PM
> To: [EMAIL PROTECTED]
> Subject: [development-axapta] Modify QueryRange from RunBaseReport
>
> Hi everbody,
> i have a class based on RunBaseReport.
> In my Report I have the Range InventPosting.InventAccountType.
> I want to set the value fix to InventAccountTypePurch::Consumption
> and allow no other user update.
> How can i do this ?
> Thanks for any hints !
> cu
> Claudia
>
>
>
>
>
>

> Yahoo! Groups Links



Yahoo! Groups Links

Reply via email to