Re: [development-axapta] Can anybody explain me this syntax

2005-07-27 Thread Harry (Harshawardhan Deshpande




hi
 
This reminds me of an incident 2 years back. My CEO decide to indulge in x++ programming (he is functional) and  the first method he had a look was something like the one that you have mentioned. After spending 30 minutes he said this does not make sense, it is as if this method is saying "Hello, I am me"    *lol*
 
anyway to answer your question
 
EmplName[1] name[2](EmplName n = _emp.name)[3]
{
    _emp.name = n; [4]
    return n; [5]
}

[1] returning value is of type EmplName
[2] name of the method
[3] if this value is not provided while calling the method the assign this the value _emp.name 
[4] assign the value of n to _emp.name
[5] return the value of n.
 
Typically while instantiating a class you would call class.name("Harry"). This will set the value of _emp.name to "Harry". Next time you want to use this value you just call class.name() this will return the value "Harry". So basically you use the same method to set the value and retrive the value.
 
Please also note that as per latest best practices "_" is reserved for variables that are being passed as parameters. so your method declaration would be 
 
EmplName name(EmplName _emplName = emp.name)
 
 
regards
 
harry



Thomas <[EMAIL PROTECTED]> wrote:
Hello,
I am used to programming Java and C#. But for some reason I have 
problems understanding this syntax:

EmplName name(EmplName n = _emp.name)
{
    _emp.name = n;
    return n;
}

I understand the following:
the method name returns an EmplName. when calling the method you do it 
with a parameter n of the type EmplName. But what dows the n = 
_emp.name do? and what goes on in the method body?







SPONSORED LINKS 
Computer part Programming languages Microsoft axapta Support exchange 

-
YAHOO! GROUPS LINKS 


    Visit your group "development-axapta" on the web.
  
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-



    
-
 Start your day with Yahoo! - make it your home page 

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






  




  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [development-axapta] Carriage return for imports

2005-07-06 Thread Harry (Harshawardhan Deshpande




hi
 
I think I used alt+enter (provided you are using a spreadsheet for import)
 
regards
 
harry

leganchris <[EMAIL PROTECTED]> wrote:
What is the symbol used for putting in a carriage return in Axapta? I 
am importing in a VendTable and the addresses are 3 lines long.






SPONSORED LINKS 
Computer part Programming languages Microsoft axapta Support exchange 

-
YAHOO! GROUPS LINKS 


    Visit your group "development-axapta" on the web.
  
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-



    
-
 Sell on Yahoo! Auctions  - No fees. Bid on great items.

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







  
  





  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [development-axapta] Input mask for Production number

2005-06-26 Thread Harry (Harshawardhan Deshpande




hi
 
numInsertFormat method on NumSeq class
 
regards
 
harry

Kevin Gyore <[EMAIL PROTECTED]> wrote:
Hi,



Anyone that knows what code is needed to put an input mask on the Production
number (ProdId)

entry into a form control. Example: A user enters 12 into the Production
number on an Axapta

form and the input mask code would mask the users input to PR12 and then
it would be 

validated.



Thanks in advance,

Kevin









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





-
YAHOO! GROUPS LINKS 


    Visit your group "development-axapta" on the web.
  
    To unsubscribe from this group, send an email to:
 [EMAIL PROTECTED]
  
    Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


-



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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








  
  





  
  
  YAHOO! GROUPS LINKS



   Visit your group "development-axapta" on the web. 
   To unsubscribe from this group, send an email to: [EMAIL PROTECTED] 
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  









Re: [development-axapta] Item Dimensions...

2005-06-20 Thread Harry (Harshawardhan Deshpande




hi
 
perhaps InventDimCtrl_Frm classes will help you with this
 
regards
 
harry


Andre Klopper <[EMAIL PROTECTED]> wrote:
Ok

I want to know what dimensions are switch on on items... 

I want a dynamic peace of code to determain what dimensions must I populate,
dependant on what dimensions are selected... hmmm hope this make sense...
lol

Anywhere I can get a example...

Cheers
Andre


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





-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Yahoo! Sports
 Rekindle the Rivalries. Sign up for Fantasy Football

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












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: AW: AW: AW: [development-axapta] thin /fat, 2-tier/3-tier combination

2005-05-25 Thread Harry (Harshawardhan Deshpande
hi
 
Single AOS
 
regards
 
harry

"Leberbauer, Herbert - News" <[EMAIL PROTECTED]> wrote:
Hello!

Thanks for your elaboration.

One more question, then I will be quiet, I promise ;-)

Did you use one AOS or a cluster of AOSes?

regards
Herbert

| -Ursprüngliche Nachricht-
| Von: development-axapta@yahoogroups.com 
| [mailto:[EMAIL PROTECTED] Im Auftrag von 
| Harry (Harshawardhan Deshpande
| Gesendet: Dienstag, 24. Mai 2005 23:27
| An: development-axapta@yahoogroups.com
| Betreff: Re: AW: AW: [development-axapta] thin /fat, 
| 2-tier/3-tier combination
| 
| hi
|  
| two sites where there was a combination of 2-tier and 3-tier 
| clients had the same issue.
|  
| Once in a while even if the inventory journals or production 
| journals were deleted from the header then the lines still 
| stayed in the database (and the corresponding inventory 
| transactions and master planning recognising these lines).
|  
| There was no way I could replicate the issue but I suspected 
| this was happening because the 'cachelookup' property of the 
| header table is different that the 'cachelookup' property of 
| the lines.
|  
| I logged this twice with MBS and they said they need to 
| replicate the issue and I said it happens once in thousand 
| journals and I cannot replicate this and they said they need 
| to replicate the issue
|  
| I changed the 'cachelookup' property and the problem did not 
| come up for a month, then I reset the 'cachelookup' property 
| to standard Axapta and stopped 2-tier clients and the problem 
| did not come up.
|  
| regards
|  
| harry
| 
| "Leberbauer, Herbert - News" <[EMAIL PROTECTED]> wrote:
| Hi Harry,
| 
| what do you mean with "havoc"? We have some troubles with 
| AOS-Clusters (every client is 3tier thin), especially in 
| table LedgerJournalTable/Trans.
| Some records could not be seen on different AOSes. Only a 
| restart of the AOSes solved the problems.
| 
| What did you experience with InventTrans?
| 
| regards
| Herbert
| 
| | -Ursprüngliche Nachricht-
| | Von: development-axapta@yahoogroups.com
| | [mailto:[EMAIL PROTECTED] Im Auftrag von Harry 
| | (Harshawardhan Deshpande
| | Gesendet: Dienstag, 24. Mai 2005 00:01
| | An: development-axapta@yahoogroups.com
| | Betreff: Re: AW: [development-axapta] thin /fat, 2-tier/3-tier 
| | combination
| | 
| | hi
| |  
| | Practical experience, all clients either have to be 3 tier or all 
| | clients have to be 2 tier. A combination creates havoc in 
| invent trans
| |  
| | regards
| |  
| | harsh
| | 
| | 
| | Richard Wong <[EMAIL PROTECTED]> wrote:
| | Hi Herbert,
| | 
| | It is a question from Ax Certification. Thanks a lot man. 
| | 
| | Richard
| | 
| | --- "Leberbauer, Herbert - News"
| | <[EMAIL PROTECTED]> wrote:
| | 
| | > Hi !
| | > 
| | > Is this a question from a certification test?
| | > 
| | > I would say the correct answer is "d". If you have an AOS then 
| | > everybody should use it, no matter if fat or thin client.
| | > 
| | > HTH
| | > Herbert
| | > 
| | > | -Ursprüngliche Nachricht-
| | > | Von: development-axapta@yahoogroups.com
| | > | [mailto:[EMAIL PROTECTED] Im
| | > Auftrag von c_chai83
| | > | Gesendet: Samstag, 21. Mai 2005 19:10
| | > | An: development-axapta@yahoogroups.com
| | > | Betreff: [development-axapta] thin /fat,
| | > 2-tier/3-tier combination
| | > | 
| | > | Hi all,
| | > | 
| | > | I have a doubt regards the what kind of
| | > combination of thin,
| | > | fat, 2- tier, and 3 tier to be used in same
| | > environment. 
| | > | Which one would be the answer?
| | > | a. All clients has to be configured the same way.
| | > | b. All combinations.
| | > | c. Has to be thin or fat, doesnt matter 2-tier or
| | > 3-tier.
| | > | d. Has to be 2-tier or 3-tier, doesnt matter thin
| | > or fat.
| | > | 
| | > | Anyone, pls help me. Thanks in advance.
| | > | 
| | > | 
| | > | 
| | > | 
| | > | 
| | > | 
| | > |  
| | > | Yahoo! Groups Links
| | > | 
| | > | 
| | > | 
| | > |  
| | > | 
| | > | 
| | > 
| | > 
| | > 
| | > 
| | 
| | 
| | 
| | 
| | __
| | Do you Yahoo!? 
| | Yahoo! Mail - Find what you need with new enhanced search. 
| | http://info.mail.yahoo.com/mail_250
| | 
| | 
| | 
| | 
| | -
| | Yahoo! Groups Links
| | 
| |To visit your group on the web, go to:
| | http://groups.yahoo.com/group/development-axapta/
| |   
| |To unsubscribe from this group, send an email to:
| | [EMAIL PROTECTED]
| |   
| |Your use of Yahoo! Groups is subject to the Yahoo! Terms of 
| | Service.
| | 
| | 
| | 
| | -
| | Yahoo! Mail
| |  Stay connected, organized, and protected. Take the to

Re: AW: AW: [development-axapta] thin /fat, 2-tier/3-tier combination

2005-05-24 Thread Harry (Harshawardhan Deshpande
hi
 
two sites where there was a combination of 2-tier and 3-tier clients had the 
same issue.
 
Once in a while even if the inventory journals or production journals were 
deleted from the header then the lines still stayed in the database (and the 
corresponding inventory transactions and master planning recognising these 
lines).
 
There was no way I could replicate the issue but I suspected this was happening 
because the 'cachelookup' property of the header table is different that the 
'cachelookup' property of the lines.
 
I logged this twice with MBS and they said they need to replicate the issue and 
I said it happens once in thousand journals and I cannot replicate this and 
they said they need to replicate the issue
 
I changed the 'cachelookup' property and the problem did not come up for a 
month, then I reset the 'cachelookup' property to standard Axapta and stopped 
2-tier clients and the problem did not come up.
 
regards
 
harry

"Leberbauer, Herbert - News" <[EMAIL PROTECTED]> wrote:
Hi Harry,

what do you mean with "havoc"? We have some troubles with AOS-Clusters
(every client is 3tier thin), especially in table LedgerJournalTable/Trans.
Some records could not be seen on different AOSes. Only a restart of the
AOSes solved the problems.

What did you experience with InventTrans?

regards
Herbert

| -Ursprüngliche Nachricht-
| Von: development-axapta@yahoogroups.com 
| [mailto:[EMAIL PROTECTED] Im Auftrag von 
| Harry (Harshawardhan Deshpande
| Gesendet: Dienstag, 24. Mai 2005 00:01
| An: development-axapta@yahoogroups.com
| Betreff: Re: AW: [development-axapta] thin /fat, 
| 2-tier/3-tier combination
| 
| hi
|  
| Practical experience, all clients either have to be 3 tier or 
| all clients have to be 2 tier. A combination creates havoc in 
| invent trans
|  
| regards
|  
| harsh
| 
| 
| Richard Wong <[EMAIL PROTECTED]> wrote:
| Hi Herbert, 
| 
| It is a question from Ax Certification. Thanks a lot man. 
| 
| Richard
| 
| --- "Leberbauer, Herbert - News"
| <[EMAIL PROTECTED]> wrote:
| 
| > Hi !
| > 
| > Is this a question from a certification test?
| > 
| > I would say the correct answer is "d". If you have an AOS then 
| > everybody should use it, no matter if fat or thin client.
| > 
| > HTH
| > Herbert
| > 
| > | -Ursprüngliche Nachricht-
| > | Von: development-axapta@yahoogroups.com
| > | [mailto:[EMAIL PROTECTED] Im
| > Auftrag von c_chai83
| > | Gesendet: Samstag, 21. Mai 2005 19:10
| > | An: development-axapta@yahoogroups.com
| > | Betreff: [development-axapta] thin /fat,
| > 2-tier/3-tier combination
| > | 
| > | Hi all,
| > | 
| > | I have a doubt regards the what kind of
| > combination of thin,
| > | fat, 2- tier, and 3 tier to be used in same
| > environment. 
| > | Which one would be the answer?
| > | a. All clients has to be configured the same way.
| > | b. All combinations.
| > | c. Has to be thin or fat, doesnt matter 2-tier or
| > 3-tier.
| > | d. Has to be 2-tier or 3-tier, doesnt matter thin
| > or fat.
| > | 
| > | Anyone, pls help me. Thanks in advance.
| > | 
| > | 
| > | 
| > | 
| > | 
| > | 
| > |  
| > | Yahoo! Groups Links
| > | 
| > | 
| > | 
| > |  
| > | 
| > | 
| > 
| > 
| > 
| > 
| 
| 
| 
| 
| __
| Do you Yahoo!? 
| Yahoo! Mail - Find what you need with new enhanced search. 
| http://info.mail.yahoo.com/mail_250
| 
| 
| 
| 
| -
| Yahoo! Groups Links
| 
|To visit your group on the web, go to:
| http://groups.yahoo.com/group/development-axapta/
|   
|To unsubscribe from this group, send an email to:
| [EMAIL PROTECTED]
|   
|Your use of Yahoo! Groups is subject to the Yahoo! Terms 
| of Service. 
| 
| 
| 
| -
| Yahoo! Mail
|  Stay connected, organized, and protected. Take the tour
| 
| [Non-text portions of this message have been removed]
| 
| 
| 
| 
| 
|  
| Yahoo! Groups Links
| 
| 
| 
|  
| 
| 





-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






Re: AW: [development-axapta] thin /fat, 2-tier/3-tier combination

2005-05-24 Thread Harry (Harshawardhan Deshpande
hi
 
Practical experience, all clients either have to be 3 tier or all clients have 
to be 2 tier. A combination creates havoc in invent trans
 
regards
 
harsh


Richard Wong <[EMAIL PROTECTED]> wrote:
Hi Herbert, 

It is a question from Ax Certification. Thanks a lot
man. 

Richard

--- "Leberbauer, Herbert - News"
<[EMAIL PROTECTED]> wrote:

> Hi !
> 
> Is this a question from a certification test?
> 
> I would say the correct answer is "d". If you have
> an AOS then everybody
> should use it, no matter if fat or thin client.
> 
> HTH
> Herbert
> 
> | -Ursprüngliche Nachricht-
> | Von: development-axapta@yahoogroups.com 
> | [mailto:[EMAIL PROTECTED] Im
> Auftrag von c_chai83
> | Gesendet: Samstag, 21. Mai 2005 19:10
> | An: development-axapta@yahoogroups.com
> | Betreff: [development-axapta] thin /fat,
> 2-tier/3-tier combination
> | 
> | Hi all, 
> | 
> | I have a doubt regards the what kind of
> combination of thin, 
> | fat, 2- tier, and 3 tier to be used in same
> environment. 
> | Which one would be the answer?
> | a. All clients has to be configured the same way.
> | b. All combinations.
> | c. Has to be thin or fat, doesnt matter 2-tier or
> 3-tier.
> | d. Has to be 2-tier or 3-tier, doesnt matter thin
> or fat.
> | 
> | Anyone, pls help me. Thanks in advance.
> | 
> | 
> | 
> | 
> | 
> | 
> |  
> | Yahoo! Groups Links
> | 
> | 
> | 
> |  
> | 
> | 
> 
> 
> 
> 




__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search. 
http://info.mail.yahoo.com/mail_250




-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 



-
Yahoo! Mail
 Stay connected, organized, and protected. Take the tour

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





 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 





Re: [development-axapta] Re: item with zero qty but cost have value

2005-05-01 Thread Harry (Harshawardhan Deshpande




hi Yifath
 
Can u restate ur question? 
 
Do you mean that inventTrans table has zero quantity and still has some costs?
 
regards
 
harry
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: YNT: RE : RE : [development-axapta] inventtableModule doesn't refresh on inventtable when i rename itemid

2005-04-24 Thread Harry (Harshawardhan Deshpande


hi Cenk
 
You are correct, this is a bug in standard Axapta. Basically there is some goof 
up in 'renameprimarykey' method on 'sysrecordinfo' form. Does not to refresh of 
associated tables.
 
regards
 
harry

Cenk Ince <[EMAIL PROTECTED]> wrote:


Hi Steeve 

i know it, but why to close form? I can't understand why it doesn't refresh 
inventtablemodule table!
When active method of datasource invettable runs, it must refresh the 
inventtablemodules.

I dubeg it and i see that active runs. But doesn't refresh.

Thanks.






Kimden: development-axapta@yahoogroups.com bu kiþinin yerine: Steeve Gilbert
Gönderilmiþ: Çar 20.04.2005 16:31
Kime: development-axapta@yahoogroups.com
Konu: RE : RE : [development-axapta] inventtableModule doesn't refresh on 
inventtable when i rename itemid





Cenk,

Record Info! Oh ok! That should do it. After renaming an ItemId, if you close 
InventTable form and reopen it, is your ItemId renamed correctly?

Regards,

Steeve...


-Message d'origine-
De : Cenk Ince [mailto:[EMAIL PROTECTED]
Envoyé : 19 avril 2005 11:35
À : development-axapta@yahoogroups.com
Objet : YNT: RE : [development-axapta] inventtableModule doesn't refresh on 
inventtable when i rename itemid



Hi Steeve

I don't directly change itemid, i rigth click on itemid, select "record info" 
and then i rename itemid, which is a standard of Axapta. Then if i try to save 
it i get error. My item is already created on inventtable. and 
inventtablemodules are created also, the problem is like you said, it refresh 
inventitemmodule tables.

Why?

Thanks.



Kimden: development-axapta@yahoogroups.com bu ki?inin yerine: Steeve Gilbert
Gönderilmi?: Sal 19.04.2005 15:11
Kime: development-axapta@yahoogroups.com
Konu: RE : [development-axapta] inventtableModule doesn't refresh on 
inventtable when i rename itemid





!!! I don't think you should change an ItemId on InventTable! What happens to 
records (Sales, Purch, Invent, etc) that use the itemId you try to change? They 
will refer to a non existing ItemId?

You get this error because no record exist in InventTableModule for you new 
ItemId. For each InventTable record, 3 InventTableModule records must exist. 
You must to through the normal process of creating an item so that 
InventTableModule records get created (and everything else related to the new 
item).

Clarify your intentions here.

Regards,

Steeve...


-Message d'origine-
De : Cenk Ince [mailto:[EMAIL PROTECTED]
Envoyé : 19 avril 2005 01:48
À : development-axapta@yahoogroups.com
Objet : [development-axapta] inventtableModule doesn't refresh on inventtable 
when i rename itemid



Hi all

On form inventtable i change itemid of a item, When i click on "Save" button, i 
get an error like "Record can't be selected on inventtablemodule, the record 
migth be deleted by another user...".

It looks because sales purch and invent datasources can't be refreshed.

Is there a solution for this.

Cenk Ynce







Yahoo! Groups Links













Yahoo! Groups Links











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







Yahoo! Groups Links













Yahoo! Groups Links











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







Yahoo! Groups Links








__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 






Re: [development-axapta] [Urgent] How to post ProdJournalTable from code

2005-04-24 Thread Harry (Harshawardhan Deshpande





hi
 
yes, you can certainly post it directly
 
regards
 
harry

Cenk Ince <[EMAIL PROTECTED]> wrote:

Hi all;

I need code to post a ProdJournalTable (ProdJournalProd). I know journalid, can i post it directly?

Thanks



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






-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] AP&AR aging by currency

2005-04-19 Thread Harry (Harshawardhan Deshpande





hi 
 
V3Sp2 Standard system
 
I posted two transactions in different currencies and printed customer - external account statement, the aging was printed for multiple currencies.
 
regards
 
harry

James Flavell <[EMAIL PROTECTED]> wrote:

Thanks Harry,

I have taken a quick look at the class and method etc and find there is a
method in class custbalancelist that calls the method you mention.  Need to
spend some more time digging a bit deeper

Thanks
James

-Original Message-
From: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Harry
(Harshawardhan Deshpande
Sent: 19 April 2005 18:03
To: development-axapta@yahoogroups.com
Subject: RE: [development-axapta] AP&AR aging by currency




hi

Check class - CustVendBalanceList method placeTransInColumnsCur. This method
does exactly what you want to achive. You will have to back-track this
method (or method PlaceTransInColumns) to the ageing report. (i.e. method
tmpAccountSum). 

regards

harry

James Flavell <[EMAIL PROTECTED]> wrote:

hi Harry,

Sorry I am only having up to Sp2 right now and from what I can see the
balance aging reports (Ar/Reports/status/Aging report) show only the base
curency amount.  Maybe you have SP3 and my requirement is covered in that is
it?

Thanks
James

-Original Message-
From: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Harry
(Harshawardhan Deshpande
Sent: 15 April 2005 11:10
To: development-axapta@yahoogroups.com
Subject: Re: [development-axapta] AP&AR aging by currency



hi

I was looking @this functionality & it looks like this is standard in
Axapta. 

Exactly which AR aeging report are you taking about?

regards

harry

James Flavell <[EMAIL PROTECTED]> wrote:

Hi all,

Has anyone created the AR and AP aging reports in original transaction
currencies?
I have a requirement for this but am not sure how long it might take to do
or whether there is any risks (i.e. why is such reports not already in std
Axapta?)


Thanks
James



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






-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Do you Yahoo!?
Make Yahoo! your home page   

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






  _  

Yahoo! Groups Links


*  To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  

*  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 
  

*  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 




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






-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.

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






  _  

Yahoo! Groups Links


*  To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  

*  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 
  

*  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 




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






-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Do you Yahoo!?
 Plan great trips with Yahoo! Travel: Now over 17,000 guides!

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] Re: Formbuilddatasource - adding a datasource runtime to an already running form

2005-04-19 Thread Harry (Harshawardhan Deshpande





hi Lars
 
I give up, Axapta starts crashing if I try to do anything.
 
If I as really desparate
I would modify the formrunclassonclient to make sure that 
{
  if the form being loaded has been setup to display the related values &&
  the form being loaded does not have the new datasource
 {
    use .AotAdd method to add the datasource and the related control to the grid
}
 
at least this way you will not have to modify the forms manually
 
regards
 
harry

Lars Holm <[EMAIL PROTECTED]> wrote:

Hi Harry,


Okay, I will try to describe what I want to do. The user should be able
to setup which forms should display some additional information in the
grid or other control. E.g. in the salestable form, some additional
fields would be displayed in the grid if the form is setup for this.
This additional data is stored in a 1:1 related table with refrecid and
reftableid relation.

Then, in the syssetupformrun I will add the datasource to the particular
form and add the display controls etc. too, thus it must be done at
runtime. I can not modify all the forms in the AOT in Axapta just for
this reason.

I hope this described it in a sensible and informative way. If not,
please let me know.

Looking forward to hearing your suggestions.

Thanks.


Best regards,


Lars Holm
Senior Technical Consultant


-Original Message-
From: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Harry
(Harshawardhan Deshpande
Sent: 17. april 2005 10:16
To: development-axapta@yahoogroups.com
Subject: Re: [development-axapta] Re: Formbuilddatasource - adding a
datasource runtime to an already running form



hi

I am not sure how to add a datasource @run time but if you could let
know exactly what you are trying to achieve then perhaps I could be of
some help.

regards

harry

--- In development-axapta@yahoogroups.com, "Lars Holm" <[EMAIL PROTECTED]>
wrote:
> 
> Hi Manfred,
> 
> 
> Thanks for your reply. Do you know how to add a formdatasource at 
> runtime? I can't find any ways to do it myself. However, I still think

> it must be a formbuilddatasource because e.g. formbuildcontrol's can 
> be added at runtime - but not a formbuilddatasource. I suspect it's a 
> bug in Axapta.
> 
> 
> Best regards,
> 
> Lars Holm
> Senior Technical Consultant
> 
> 
> 
> -Original Message-


    
-
Do you Yahoo!?
Yahoo! Mail - You care about security. So do we.

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







Yahoo! Groups Links












-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Do you Yahoo!?
 Plan great trips with Yahoo! Travel: Now over 17,000 guides!

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] AP&AR aging by currency

2005-04-19 Thread Harry (Harshawardhan Deshpande





hi
 
Check class - CustVendBalanceList method placeTransInColumnsCur. This method does exactly what you want to achive. You will have to back-track this method (or method PlaceTransInColumns) to the ageing report. (i.e. method tmpAccountSum). 
 
regards
 
harry

James Flavell <[EMAIL PROTECTED]> wrote:

hi Harry,

Sorry I am only having up to Sp2 right now and from what I can see the
balance aging reports (Ar/Reports/status/Aging report) show only the base
curency amount.  Maybe you have SP3 and my requirement is covered in that is
it?

Thanks
James

-Original Message-
From: development-axapta@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of Harry
(Harshawardhan Deshpande
Sent: 15 April 2005 11:10
To: development-axapta@yahoogroups.com
Subject: Re: [development-axapta] AP&AR aging by currency



hi

I was looking @this functionality & it looks like this is standard in
Axapta. 

Exactly which AR aeging report are you taking about?

regards

harry

James Flavell <[EMAIL PROTECTED]> wrote:

Hi all,

Has anyone created the AR and AP aging reports in original transaction
currencies?
I have a requirement for this but am not sure how long it might take to do
or whether there is any risks (i.e. why is such reports not already in std
Axapta?)


Thanks
James



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






-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Do you Yahoo!?
Make Yahoo! your home page   

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






  _  

Yahoo! Groups Links


*  To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  

*  To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
 
  

*  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
<http://docs.yahoo.com/info/terms/> . 




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






-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Do you Yahoo!?
 Read only the mail you want - Yahoo! Mail SpamGuard.

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [development-axapta] Re: Formbuilddatasource - adding a datasource runtime to an already running form

2005-04-17 Thread Harry (Harshawardhan Deshpande





hi
 
I am not sure how to add a datasource @run time but if you could let know exactly what you are trying to achieve then perhaps I could be of some help.
 
regards
 
harry
 
--- In development-axapta@yahoogroups.com, "Lars Holm" <[EMAIL PROTECTED]> wrote:
> 
> Hi Manfred,
> 
> 
> Thanks for your reply. Do you know how to add a formdatasource at
> runtime? I can't find any ways to do it myself. However, I still think
> it must be a formbuilddatasource because e.g. formbuildcontrol's can be
> added at runtime - but not a formbuilddatasource. I suspect it's a bug
> in Axapta.
> 
> 
> Best regards,
> 
> Lars Holm
> Senior Technical Consultant
> 
> 
> 
> -Original Message-


    
-
Do you Yahoo!?
 Yahoo! Mail - You care about security. So do we.

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [development-axapta] AP&AR aging by currency

2005-04-14 Thread Harry (Harshawardhan Deshpande





hi
 
I was looking @this functionality & it looks like this is standard in Axapta. 
 
Exactly which AR aeging report are you taking about?
 
regards
 
harry
 
James Flavell <[EMAIL PROTECTED]> wrote:

Hi all,

Has anyone created the AR and AP aging reports in original transaction
currencies?
I have a requirement for this but am not sure how long it might take to do
or whether there is any risks (i.e. why is such reports not already in std
Axapta?)


Thanks
James



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






-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Do you Yahoo!?
 Make Yahoo! your home page   

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [development-axapta] Runon - client/server - confused

2005-04-14 Thread Harry (Harshawardhan Deshpande





hi Padmaja
 
Are u testing this in a 3-tier environment?
 
regards
 
harshawardhan


- Original Message - 
From: "Padmaja Iyingar" <[EMAIL PROTECTED]>
To: 
Cc: 
Sent: Thursday, April 14, 2005 1:16 AM
Subject: [development-axapta] Runon - client/server - confused


>
>
> Hi,
>
> I have a strange situation and could not get to conclusion. I am debugging
a server/client code. I have written two small classes . I set the runon
property one class 'client' and other 'server'.
>
> I have put a break point on the client class. And trying to see whats
going on. When I reach the server class, it changes the runon property of
the server class to 'client ' during Debugging..
>
> so whats the stroy there?.
>
> How does the debugger work for a client/server code?.  where does it run?.
Looks mt it runs on the client.
>
> Any help.
>
> --Padmaja
>
>
>
> -
> Do you Yahoo!?
>  Yahoo! Small Business - Try our new resources site!
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>






-
Yahoo! Groups Links


   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [development-axapta] Good step to create a project..

2005-04-14 Thread Harry (Harshawardhan Deshpande





hi Ahmad
 
interesting question.
 
usally...
 
You cannot have a form without a table 
You cannot have a table without extended data type
 
regards
 
harsh

Ahmad Imron <[EMAIL PROTECTED]> wrote:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

If we have a project to build form from OTA, what should we build first? 
Would somebody explain a better step to build a project ?
ex..
1. Create extended data type
2. Create table
3. Create from..etc..

~~~
Ahmad Imron
Registered Linux user number 380374
Public-key:http://www.ahmadimron.com/public-key.txt
~~~
"I'm learning all the time. The tombstone will be my diploma"
"Many people will walk in and out of ur life, but only true 
friends will leave footprints in your heart"
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.3-nr1 (Windows XP)

iD8DBQFCXkrXXP26CvgomPMRAocSAKDRffSq3TfpDwwNUojWo/ICvYsEKgCfVu4B
PgQnxt+QeyenPczZvhjRXWI=
=6NUz
-END PGP SIGNATURE-









-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [development-axapta] Re: "Print Options" tab in report query

2005-04-14 Thread Harry (Harshawardhan Deshpande





hi
 
print option is displayed only if you are using 'autodesignspecs'
 
regards
 
harry

jim_missirlis <[EMAIL PROTECTED]> wrote:


Hello,

I could not find the answer to this.  I am new to writing reports in 
Axapta.  When I create a general design, this print option tab is not 
displayed.  How can I display it?  I need to print the range selected 
on the reports.

Thanks,

--- In development-axapta@yahoogroups.com, "Cenk Ince" <[EMAIL PROTECTED]> 
wrote:
> Hi all;
> 
>  
> 
> When i run Inventory Management\Reports\Analysis\ABC Classification
> report, it prompts a dialog. I click Select buton, and there is a tab
> "Print Options". In some reports i can't see that tab. Where can i set
> it visible.
> 
>  
> 
> Thanks.








-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










RE: [development-axapta] Rename dimensions [further info]

2005-04-13 Thread Harry (Harshawardhan Deshpande





hi
 
It seems to be working for EDTs that do not have more than one member in the array.
 
Unfortunately Dimension has more than one member.
 
does not help you I guess
 
regards
 
harry

Jens Strandberg <[EMAIL PROTECTED]> wrote:

Harry,

I added the field Valid to Dimensions using the EDT "Valid".

After this I went to the EDT "Dimension", Relations and added ad new
"related field fixed" relation with this clause "1 == Dimensions.Valid".

I then changed a few dimensions in order to make them "Valid".

To my understanding, this should work. However, I still see all Dimensions;
valid and not so valid ... :-)

What did I mess up ?

Thanks in advance.

/Jens
  -----Oprindelig meddelelse-
  Fra: Harry (Harshawardhan Deshpande [mailto:[EMAIL PROTECTED]
  Sendt: 13. april 2005 11:18
  Til: development-axapta@yahoogroups.com
  Emne: Re: [development-axapta] Rename dimensions [further info]



  hi Jens

  I assume that the reason why you want to delete dimensions is because u
dont want them in lookup. If this is correct then add one more field called
valid on dimensions and use this field in defining the 'related field fixed'
relation with the extended data type. You achieve your purpose without
having to delete the dimension values.

  regards

  harry

  Jens Strandberg <[EMAIL PROTECTED]> wrote:

  Hello there,

  Anyone out there who knows how to rename (or merge) dimensions ?

  I need to get rid of old dimensions that will not be used any more. If
there
  is no way to rename/merge, would Axapta be angry, if I 1) pulled out the
  DeleteActions on table Dimensions, 2) deleted the dimensions and 3) put in
  the DeleteActions again ?

  The consistency check would probably detect the missing dimensions, but
they
  haven't been used for 3-4 years.

  Any thoughts or pointers on this ?

  Best Regards,
  Jens


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






  -
  Yahoo! Groups Links

 To visit your group on the web, go to:
  http://groups.yahoo.com/group/development-axapta/

 To unsubscribe from this group, send an email to:
  [EMAIL PROTECTED]

 Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



  -
  Do you Yahoo!?
  Yahoo! Small Business - Try our new resources site!

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







--
  Yahoo! Groups Links

    a.. To visit your group on the web, go to:
    http://groups.yahoo.com/group/development-axapta/

    b.. To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

    c.. Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



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






-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [development-axapta] Rename dimensions [further info]

2005-04-13 Thread Harry (Harshawardhan Deshpande





hi Jens
 
I assume that the reason why you want to delete dimensions is because u dont want them in lookup. If this is correct then add one more field called valid on dimensions and use this field in defining the 'related field fixed' relation with the extended data type. You achieve your purpose without having to delete the dimension values.
 
regards
 
harry

Jens Strandberg <[EMAIL PROTECTED]> wrote:

Hello there,

Anyone out there who knows how to rename (or merge) dimensions ?

I need to get rid of old dimensions that will not be used any more. If there
is no way to rename/merge, would Axapta be angry, if I 1) pulled out the
DeleteActions on table Dimensions, 2) deleted the dimensions and 3) put in
the DeleteActions again ?

The consistency check would probably detect the missing dimensions, but they
haven't been used for 3-4 years.

Any thoughts or pointers on this ?

Best Regards,
Jens


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






-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [development-axapta] Batch

2005-04-10 Thread Harry (Harshawardhan Deshpande





hi
 
If there is a problem then the problem is certainly not with the method main.
 
To start from basics..are you quite sure that you have set the recurrence (while sending the class to the batch?)
 
regards
 
harsh

studlee15 <[EMAIL PROTECTED]> wrote:


I am developing a class that needs to be scheduled as a batch job.  I 
have made my class extend runbasebatch, but my problem is, that when I 
run it and schedule it, it only runs one time and then quits.  I don't 
know if my code is wrong, or I am not setting up the batch right.
My code is basically this:

static void main()
{
    batchClass bc = new BC();
    ;

    if(bc.prompt())
    bc.run();
}

any ideas?








-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Yahoo! Mail Mobile
 Take Yahoo! Mail with you! Check email on your mobile phone.

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: [development-axapta] Re: Joining 3 tables with QueryBuildDataSource

2005-04-07 Thread Harry (Harshawardhan Deshpande





hi
 
I have never tried the other way but may be because addlink criteria is fieldnum parent table - field num child table ?
 
regards
 
harry


Anton Tjiptadi <[EMAIL PROTECTED]> wrote:


Hi andrew, thanks
I tried your way, but first it 'cause error in the first QBDS in the 
QueryRange, it says "Invalid Range", and then I switch the table 
order so it looks like this :

qbds = q.addDataSource(tablenum(InventJournalTrans));

qbds1 = qbds.addDataSource(tablenum(InventTable));
qbds1.joinMode(joinmode::InnerJoin);
qbds1.addLink(fieldnum(InventTable, ItemId), fieldnum
(InventJournalTrans, ItemId));
qrange = qbds1.addRange(fieldnum(InventTable, ESG_ProductType));
qrange.value(PrdType);

strange this happens, when I debug the query, it shows a wrong link :

SELECT * FROM InventTable WHERE InventJournalTrans.LineNum = 
InventTable.Height AND ((ESG_ProductType = 11))

where's the 'LineNum' and 'Height' come from ?

thx,
Tonz


--- In development-axapta@yahoogroups.com, "ozzage" 
<[EMAIL PROTECTED]> wrote:
> 
> 
> --- In development-axapta@yahoogroups.com, "Anton Tjiptadi"
> <[EMAIL PROTECTED]> wrote:
> > 
> > 
> > Hi,
> > I want to join 3 tables with QueryBuildDataSource (QBDS), the
> > statement is like this :
> > 
> 
> 
> > ...the goal is, I want join table InventJournalTrans to InventDim
> > with key InventDimId and join table InventJournalTrans to
> > InventTable with key ItemId, but.
> > 
> 
> OK, you're first joining InventDim to InventJournalTrans, which is
> fine...
> 
> qbds1 = qbds.addDataSource(tablenum(InventDim));
> 
> BUT then you're joining InventTable to InventDim, NOT to
> InventJournalTrans
> 
> > qbds2 = qbds1.addDataSource(tablenum(InventTable));
> 
> qbds1 here is the InventDim datasource.
> 
> The order is important, even though they're inner joins.
> 
> What you can do is start by adding InventTable to the query as qbds
> 
> > qbds = q.addDataSource(tablenum(InventTable));
> 
> Then join InventJournalTrans as qbds1
> 
> > qbds1 = qbds.addDataSource(tablenum(InventJournalTrans));
> 
> (set up the links etc for the InventJournalTrans datasource here)
> 
> and finally join InventDim as qbds2 to qbds1 (InventJournalTrans)
> 
> > qbds2 = qbds1.addDataSource(tablenum(InventDim));
> 
> (set up the links etc for the InventDim ds here)
> 
> Hope that helps
> 
> Andrew Jones








-
Yahoo! Groups Links

   To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
  
   To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
  
   Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. 


    
-
Do you Yahoo!?
 Better first dates. More second dates. Yahoo! Personals 

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













Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/development-axapta/ 
To unsubscribe from this group, send an email to:[EMAIL PROTECTED] 
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.










Re: YNT: [development-axapta] SalesFormLetter_invoice from salespackingslipfor.

2005-03-24 Thread Harry (Harshawardhan Deshpande


hi
 
1. There certainly is a 'salestable' in saleseditlinesform. However, I am not 
sure if joining the packing slip jour to the sales table will work.
 
if not then
 
2. 
 
What you will have to do is as follows:
 
as long as the document being processed is invoice
{
   change the query in the salesFormletter to return a new query based on 
packingslipjour.
   take the packing slip ids and find sales order number (packing slip id is 
stored in inventtrans).
  look at   createParmLine method you will have to match the inventtranslines 
with the packing slipid with inventnow, salesnow quantities.
}
 
If you are skilled in Axapta architecture then this should not take you more 
than 5-6 hours.
 
else If you are not skilled in Axapta architecture then I would recommend this 
project as a good experience *s*
 
Otherwise I would strongly recommend buying it off from the person who is 
offering this modification.
 
regards
 
harry
 
 
regards
 
harry


Cenk Ince <[EMAIL PROTECTED]> wrote:


Hi Amit

There is no salestable in saleseditlines form. So i can't join it.
My aim is to bring qty of packingslip to salesparmline.

Thanks.



Kimden: Amit Jain [mailto:[EMAIL PROTECTED]
Gönderilmiþ: Sal 22.03.2005 14:32
Kime: development-axapta@yahoogroups.com
Konu: RE: [development-axapta] SalesFormLetter_invoice from salespackingslipfor.





i think you do not require to code this. only thing you have to do is to add 
another datasource custPackingSlipJour, in the query in SalesEditLines form, 
and link it with the salestable.

You can select the range packingslipid and see the selected records.

Regards

Amit

Gülden Saylan wrote:


Hi,

Yes, it is possible,

You can do it by coding in SalesFormLetter Class.

-Original Message-
From: Cenk Ince [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 22, 2005 10:29 AM
To: development-axapta@yahoogroups.com
Subject: [development-axapta] SalesFormLetter_invoice from
salespackingslipfor.



Hi all;

My customer wants it to be possible select some packingslip and directly
invoice it.
But on salestable if i select that salesorder all packing slips not invoiced
comes to saleseditlines form.
My customer wants to select some packingslips from custpackingslip form and
there should be a button like posting/invoice and saleseditlines should be
opened in this way, with quantities of selected packingslips.

Is it possible to do something like this. How can i do this?

Thanks.



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







Yahoo! Groups Links













Yahoo! Groups Links









-
Do you Yahoo!?
Yahoo! Small Business - Try our new resources site!

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







Yahoo! Groups Links











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







Yahoo! Groups Links











-
Do you Yahoo!?
 Yahoo! Small Business - Try our new resources site! 

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






 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/

<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/