AW: [development-axapta] Newbie Question - Range Syntax

2008-06-09 Thread jesper.joergensen
Hi Letron,

 

first of all, use SysQuery::findOrCreateRange to get your range.

Use Global:QueryRangeConcat to create your reange value. The syntax is xx1, 
xx2, xx3.

 

 

Mit freundlichen Grüßen / Best regards / Med venlig hilsen

Jesper Jørgensen / Abt. NMT-XD
Senior Product Manager

arvato systems | Technologies GmbH 
An der Autobahn 18 
33311 Gütersloh 

[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]> 

Phone:   +49 5242 / 40 80 54

Fax:   +49 5242 / 40 80 40

Mobile:  +49 172  / 571 03 34

http://www.as-T.biz http://www.as-t.biz/>  
arvato systems | Technologies GmbH 
Joachim-Jungius-Str. 9, 18059 Rostock 
Geschäftsführung: Erwin Pietz, Matthias Moeller 
Amtsgericht Rostock - HRB 7497 



"Der Inhalt dieser Nachricht oder eventueller Anlagen ist vertraulich und 
ausschließlich für den bezeichneten Adressaten bestimmt. Bitte stellen Sie 
sicher, dass die Information in dieser Nachricht ausschließlich an die 
adressierten Personen gelangt. Sollte diese Nachricht versehentlich an Sie 
gesendet worden sein, dann informieren Sie bitte umgehend den Absender und 
löschen Sie die Nachricht. Vielen Dank." 

"The information in this e-mail and any attachments is confidential. The 
information must only be held in areas that have controlled and limited access 
to the addressed persons. If this e-mail has been sent to you in error, please 
immediately notify the sender and delete the e-mail. Thanks." 





Von: development-axapta@yahoogroups.com [mailto:[EMAIL PROTECTED] Im Auftrag 
von letron_brantley
Gesendet: Freitag, 6. Juni 2008 15:50
An: development-axapta@yahoogroups.com
Betreff: [development-axapta] Newbie Question - Range Syntax

 

Hello everyone,

My company is going through an implementation of Dynamics AX 4 and I
have been tasked with writing some reports. It's coming along pretty
well, but I am running into little things that are blocking me.

One question that I have has to do with Ranges in the AOT. When I
create a new range based on a date field, what syntax do I use in the
properties pane when I want to say "ExpDate < Today + 192"?

Also how do I create a range that says "= xx1 or xx2 or xx3"? In SQL
I can do "ProdType in ('XX1', 'XX2', 'XX3').

Thanks
Letron

 



[Non-text portions of this message have been removed]



[development-axapta] How to Check the checkbox in X++

2008-06-09 Thread syed baber
Hi All,

I have a problem regarding checking checkbox in Axapta through X++ code. On
some conditions I want to check the checkbox. For this I am writing the
following code

 projFund.Check=NoYes::Yes;

where projFund is the table buffer.
Check is the enum type field and enumtype is assigned NoYes Enum.
Now What is the problem with the code. Plz let me know is it the right way
to check the checkbox? or is there any other way to do this.

Regards.

Syed Baber.


[Non-text portions of this message have been removed]



[development-axapta] Enable Dimension fields

2008-06-09 Thread Nagy Melinda
Hello.
I have a problem in enableing the field of Dimension. I looked on the
specific form for the AllowEdit properties, but dosen't matter the
value of this,because on the form it will appeare diaebled anyway. 
The specific form on witch I want the Dimensions to appeare enabled is
LedgerTransVoucher. You can see on the EmplTable form that I can
modify these fields. I set all of the specific propreties the same as
on the EmplTable but no changes.

Anybody has been in the same situation?Can You help me?

Best regards,
Melinda



[development-axapta] Newbie Question - Range Syntax

2008-06-09 Thread letron_brantley
Hello everyone,

My company is going through an implementation of Dynamics AX 4 and I
have been tasked with writing some reports.  It's coming along pretty
well, but I am running into little things that are blocking me.

One question that I have has to do with Ranges in the AOT.  When I
create a new range based on a date field, what syntax do I use in the
properties pane when I want to say "ExpDate < Today + 192"?

Also how do I create a range that says "= xx1 or xx2 or xx3"?  In SQL
I can do "ProdType in ('XX1', 'XX2', 'XX3').

Thanks
Letron



Re: [development-axapta] Re: Another Design Guidance Needed....

2008-06-09 Thread Max Belugin
you can develop in full version with HR module, and than port it to
the version without HR.

To reduce amopunt of wiork you can create own EDT for HRMPositionId
and use it. And make it extend HRMPositionId in one case and your own
table id in another

On Thu, May 22, 2008 at 12:46 PM, jazib.abdulah <[EMAIL PROTECTED]> wrote:
> Thanks max for the answer. But I think I created confusion by writing
> client machine. Actually what I meant to say was that
>
> I am doing development at my computer in my company. After development
> I have to distribute it to different customers of my company. Those
> customers have AX installed in their companies but some of them have
> HRM module and some of them dont have.
>
> So my task is develop it in such a way that if customer has HRM module
> in his AX installation then my code should use some of the HRM tables
> but if customer AX installation does not include HRM module then my
> code should use my own tables.
>
>
> 
>
> Yahoo! Groups Links
>
>
>
>



-- 
Max Belugin, http://belugin.info , ICQ:9406811, MSN: [EMAIL PROTECTED]


Re: [development-axapta] Axapta Backup Data

2008-06-09 Thread Naeem Sarwar
i consider this as wonderful post.

does it mean we can use

Data Backup from Axapta Administration>Data Export import

to move company from one to other environment or to upgrade hardware and
then to restore it as it is.

what my feeling was that once Axapta setup in completed on one hardware it
can never be restored or export to anohter machine in case needed.







On Wed, May 21, 2008 at 7:26 AM, kristanto surjadi <
[EMAIL PROTECTED]> wrote:

>   Personally, I prefer the data backup from SQL Server. The reason is
> because when you import a backup data from Axapta Administration Data Export
> Import, the record you imported will have new recids. This could create
> problem when you back up transaction data since in Ax recid is often use as
> foreign key. Using Axapta Administration Data Export Import could cost you
> missing link between your tables.
>
> Regards,
>
>
> Kristanto
>
>
> febinpc <[EMAIL PROTECTED] > wrote:
> Hi friends
> Which Backup is most useful in the case of Axapta application
> 1, Data Backup from Axapta Administration>Data Export import
> 2, Data Backup from SQL server.
>
> [Non-text portions of this message have been removed]
>
>  
>



-- 
Best Regards,
--
Naeem Sarwar (NS)


[Non-text portions of this message have been removed]



[development-axapta] Auto Generated Email Preview

2008-06-09 Thread lispyj
I am using the sysInetMail.sendMail() to dend an order acknowledgement 
email.  I would like the user to be able to preview the message so that 
they can add recipients on the fly, but I do not want them to be able 
to edit the body of the message.  Is there any way to do this?

LJ





[development-axapta] Help with a report using vendTrans

2008-06-09 Thread eldj_joax
I have a report that uses the table VendTrans

It has a special need that if a register in the table comes from a 
LedgerJournal that is of type PettyCash it needs to divide the 
register into all the lines of the Journal.

Any idea on how I can do this?