[Axapta-Knowledge-Village] RE: Negative Inventory after posting Picking List ( urgent )

2005-03-17 Thread Van Den Langenbergh Gunther





Hi,

You have a dimension group for your item where "physical 
inventory" is NOT on.
Therefor he doesn't check on a specific configuration for 
enough stock (only a check for all configurations together).
In your case : he has enough if he doesn't consider con2 
because you have 1000 (Con1 + con2).
But he stills takes it from the asked con2 so you'll end 
negative.
It is not a bug.
To avoid this: check physical inventory on the dimension 
group for all dimension where you want the check for enough stock for that 
dimension.
In that case he could not have picked 
it.

to rectify: change the the configuration dimension booked 
con2 to con1 in "edit dimensions" = item - function - edit 
dimensions
or do a transfer in a journal for 300 pcs from con1 to 
con2

greetz,

Gunther


From: Gokhan Can 
[mailto:[EMAIL PROTECTED] Sent: woensdag 16 maart 2005 
20:27To: Axapta-Knowledge-Village@yahoogroups.comSubject: 
Negative Inventory after posting Picking List ( urgent )

Hi;
I have a huge problem at my customer.
Customer started to complete production order and after posting picking list 

I have seen some inventory dimensions has negative stock.
I have found the bug but I do not know how to solve it...
Warehouse is ware_1
Item A has 2 konfigurations 
Con_1 and Con_2 .
I am using batch number and I have a batch number Batch_1 
When I check my on hand stock I see 
** Con_1 Ware_1 Batch_1 1000 pcs 
avaliable
In my picking list on production order I need 300 pcs Con_2 
User who type picking list to system entered like this and posted
Con_2 Ware_1 Batch_1 300 and posted with out any error.
Now If I chekc my on hand stock I see 2 lines 
Con_1 Ware_1 Batch_1 1000 pcs avaliable
Con_2 Ware_1 Batch_1-300 pcs avaliable
Has anybody faced this problem before ???
Is there any solution ?

Gökhan CAN


Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/Axapta-Knowledge-Village/
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[2]: [Axapta-Knowledge-Village] operation from combination of enum

2005-03-17 Thread Max Belugin

Hello daniel lim,

, 17  2005 ., you wrote:

dl then i will need to do it for 16 times also right?any better
dl way?because later i may hav 3 combinations or more!

if  you  have  16  different actions  for 16 combinations - you have to write 16
combinations.

or  you  can  use  runbuf and construct function name from enum values
names.

can you write ideal code in ideal language (like python :)) for it?

-- 
Best regards,
 Max

http://belugin.newmail.ru
ICQ:9406811


















 Yahoo! Groups Sponsor ~-- 
In low income neighborhoods, 84% do not own computers.
At Network for Good, help bridge the Digital Divide!
http://us.click.yahoo.com/EpW3eD/3MnJAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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: [Axapta-Knowledge-Village] Manufacture

2005-03-17 Thread Craig Fidler










Hi,



In a more eloquent way what I am trying to
achieve is a one to many BOM.










Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/Axapta-Knowledge-Village/
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: [Axapta-Knowledge-Village] RE: Negative Inventory after posting Picking List ( urgent )

2005-03-17 Thread Van Den Langenbergh Gunther





hi,

i think i made a little mistake.
Configuration is not a storage dimension and you can not 
check/uncheck "physical dimension", it is in fact always on so it always should 
avoid go negative (ofcourse if in inventory model group phys. neg. inventory is 
on then everything is ofcourse possible)
Wat version do you have? it works correctly in 3.0 
SP3.

Gunther


From: Gokhan Can 
[mailto:[EMAIL PROTECTED] Sent: donderdag 17 maart 2005 
10:05To: Axapta-Knowledge-Village@yahoogroups.comSubject: 
YNT: [Axapta-Knowledge-Village] RE: Negative Inventory after posting Picking 
List ( urgent )


Physical inventory is checked 
as not to use.
You have misunderstood I think that I have 
con_1 batch _1 1000 pcs and have no con_2 at all.

The problem is if I check con_2 batch_1 300 
pieces , I suppose program to give a message that you have not stock for con_2 
batch_1 in ware _1 but t does not give an error create a InventDm by itself 
and get -300 pieces from that dimension.

gkhan can




Kimden: Van Den Langenbergh Gunther 
[mailto:[EMAIL PROTECTED]Gnderilmi: Per 
17.03.2005 10:10Kime: 
Axapta-Knowledge-Village@yahoogroups.comKonu: 
[Axapta-Knowledge-Village] RE: Negative Inventory after posting Picking List ( 
urgent )

Hi,

You have a dimension group for your item where "physical 
inventory" is NOT on.
Therefor he doesn't check on a specific configuration for 
enough stock (only a check for all configurations together).
In your case : he has enough if he doesn't consider con2 
because you have 1000 (Con1 + con2).
But he stills takes it from the asked con2 so you'll end 
negative.
It is not a bug.
To avoid this: check physical inventory on the dimension 
group for all dimension where you want the check for enough stock for that 
dimension.
In that case he could not have picked 
it.

to rectify: change the the configuration dimension booked 
con2 to con1 in "edit dimensions" = item - function - edit 
dimensions
or do a transfer in a journal for 300 pcs from con1 to 
con2

greetz,

Gunther


From: Gokhan Can 
[mailto:[EMAIL PROTECTED] Sent: woensdag 16 maart 2005 
20:27To: Axapta-Knowledge-Village@yahoogroups.comSubject: 
Negative Inventory after posting Picking List ( urgent )

Hi;
I have a huge problem at my customer.
Customer started to complete production order and after posting picking list 

I have seen some inventory dimensions has negative stock.
I have found the bug but I do not know how to solve it...
Warehouse is ware_1
Item A has 2 konfigurations 
Con_1 and Con_2 .
I am using batch number and I have a batch number Batch_1 
When I check my on hand stock I see 
** Con_1 Ware_1 Batch_1 1000 pcs 
avaliable
In my picking list on production order I need 300 pcs Con_2 
User who type picking list to system entered like this and posted
Con_2 Ware_1 Batch_1 300 and posted with out any error.
Now If I chekc my on hand stock I see 2 lines 
Con_1 Ware_1 Batch_1 1000 pcs avaliable
Con_2 Ware_1 Batch_1-300 pcs avaliable
Has anybody faced this problem before ???
Is there any solution ?

Gkhan CANSharing the knowledge on Axapta. 

  
  
Yahoo! Groups 
  Sponsor
  

  


  ADVERTISEMENT
  


Yahoo! Groups Links

  To visit your group on the web, go to:http://groups.yahoo.com/group/Axapta-Knowledge-Village/ 

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

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



Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/Axapta-Knowledge-Village/
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: [Axapta-Knowledge-Village] Axapta Enterprise Portal UI Development Guide

2005-03-17 Thread Byteway










Hi,



I recently reviewed EP
development part I and part II, but that doesnt say anything on when it will
be published. For that: always keep an eye on the partner guide to see if
anything will be published soon. Otherwise try and find the Dr. Web
documents (still available on the web somewhere), there really a
good starting point.



But if you need help on a
specific topic, shoot!



/b













Van: Mohib B. Reda
[mailto:[EMAIL PROTECTED] 
Verzonden: woensdag 16 maart 2005
5:06
Aan:
Axapta_Documentation@yahoogroups.com; Axapta-Knowledge-Village@yahoogroups.com;
[EMAIL PROTECTED]
Onderwerp:
[Axapta-Knowledge-Village] Axapta Enterprise Portal UI Development Guide







Good Morning Gent,











I look for Axapta Enterprise Portal UI Development
Guide 





any one can Help











Thanksin Advance











Mohibz

















Sharing
the knowledge on Axapta. 









Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/Axapta-Knowledge-Village/
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: [Axapta-Knowledge-Village] operation from combination of enum

2005-03-17 Thread Varden Morris



Hi Daniel


Add this function to the global class so that you will be able to call it anywhere in code in your Axapta application:

static int UniqueEnumCombo(int Enum1, int Enum2)
{
 return str2int(int2str(Enum1) + int2str(Enum2));
}

All this function does is to convert two integers to there respective string values then concatenate them and convert the result back to an integer. Remember that the internal representation of enum is integer. Note also that the order of the parameters is relevant. For example, 1 and 2 is different from 2 and 1 which will workfor your case.

You can test this function in a job with the following code:

static void UniqueEnumComboTest(Args _args)
{
 ;

 switch (UniqueEnumCombo(1, 2))
 {
 case UniqueEnumCombo(3, 4):
 info(strfmt('%1',UniqueEnumCombo(3, 4)));
 break;
 case UniqueEnumCombo(1, 2):
 info(strfmt('%1',UniqueEnumCombo(1, 2)));
 break;

 }

}


VardenMorris

J. Wray  Nephew Ltd. - Group I.S.
234 Spanish Town Road
Kingston 11, Jamaica, W.I.

Phone: (876) - 923 - 6141 Ext. 2226Fax: (876) - 923 -5372 
Cell: (876) - 3833566Email: [EMAIL PROTECTED]
 [EMAIL PROTECTED]

daniellim_yh [EMAIL PROTECTED] wrote:
hi all,i have 2 enum type, 4 elements each, i wonder wat is the best way for me to dolike this in axapta.if (enum1::typeA  enum2::typeW) Do something1else if (enum1::typeA  enum2::typeX) Do something 2 else if (enum1::typeA  enum2::typeY)  do something 3 .  . . .  if (enum1::typeD  enum2::Z)  do something 16with 2 combinations of 2 enums i will have 16
 combinations, any better way of it?using enum element position to do looping may be?but asi know i cannot get enum position like container. pls provide any idea. thx in advance.rgds,danielSharing the knowledge on Axapta. 
		Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site! 


Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

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










[Axapta-Knowledge-Village] Purchase Rejections

2005-03-17 Thread deepa_ramarao



Hi,
 How are purchase rejections handled in Axapta

DR








 Yahoo! Groups Sponsor ~-- 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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: [Axapta-Knowledge-Village] Purchase Rejections

2005-03-17 Thread Amit Jain



Hello Deepa

you can post the packing slip of purchase order of type returned item or negative quantity entry in the purchase lines.

cheers

Amitdeepa_ramarao [EMAIL PROTECTED] wrote:
Hi, How are purchase rejections handled in AxaptaDRSharing the knowledge on Axapta. 
		Do you Yahoo!? 
Make Yahoo! your home page 
 
 



Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/Axapta-Knowledge-Village/
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: [Axapta-Knowledge-Village] operation from combination of enum

2005-03-17 Thread John D souza



yes you can use this logic;

counter = 0;
 while (counter  16) {firstEnumValue = counter mod 4;secondEnumValue = counter div 4;
}

in this you way you start from counter = 0, which means enum value 0 for both first and second enum,

when counter = 1 then you use, 
first enum = 1, second enum = 0;

when counter =2 then you use, 
first enum = 2, second enum = 0;

and so on. after counter = 5
you have
first enum = 1, second enum = 1;


like this you can get the minimum count for these. 

Hope it helps...


Regards
Amit 


Varden Morris [EMAIL PROTECTED] wrote:

Hi Daniel


Add this function to the global class so that you will be able to call it anywhere in code in your Axapta application:

static int UniqueEnumCombo(int Enum1, int Enum2)
{
 return str2int(int2str(Enum1) + int2str(Enum2));
}

All this function does is to convert two integers to there respective string values then concatenate them and convert the result back to an integer. Remember that the internal representation of enum is integer. Note also that the order of the parameters is relevant. For example, 1 and 2 is different from 2 and 1 which will workfor your case.

You can test this function in a job with the following code:

static void UniqueEnumComboTest(Args _args)
{
 ;

 switch (UniqueEnumCombo(1, 2))
 {
 case UniqueEnumCombo(3, 4):
 info(strfmt('%1',UniqueEnumCombo(3, 4)));
 break;
 case UniqueEnumCombo(1, 2):
 info(strfmt('%1',UniqueEnumCombo(1, 2)));
 break;

 }

}


VardenMorris

J. Wray  Nephew Ltd. - Group I.S.
234 Spanish Town Road
Kingston 11, Jamaica, W.I.

Phone: (876) - 923 - 6141 Ext. 2226Fax: (876) - 923 -5372 
Cell: (876) - 3833566Email: [EMAIL PROTECTED]
 [EMAIL PROTECTED]

daniellim_yh [EMAIL PROTECTED] wrote:
hi all,i have 2 enum type, 4 elements each, i wonder wat is the best way for me to dolike this in axapta.if (enum1::typeA  enum2::typeW) Do something1else if (enum1::typeA  enum2::typeX) Do something 2 else if (enum1::typeA  enum2::typeY)  do something 3 .  . . .  if (enum1::typeD  enum2::Z)  do something 16with 2 combinations of 2 enums i will have 16
 combinations, any better way of it?using enum element position to do looping may be?but asi know i cannot get enum position like container. pls provide any idea. thx in advance.rgds,danielSharing the knowledge on Axapta. 


Do you Yahoo!?Yahoo! Small Business - Try our new resources site! Sharing the knowledge on Axapta. __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 


Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

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










[Axapta-Knowledge-Village] Sales Agents in Projects/Hours

2005-03-17 Thread Francisco Orozco




Does anybody know how to include a sales agent (comissions) in a project., for example, Projects, create a project, create a sales order and you can assign the sales agent in the sales order tab., what if that project has LABOR income, which is being entered by going to projects, journal Hours., where do I enter the sales agent in the Labor.
Thanks for your help, I would greatfully appreciate.
Kind regards
FRancisco Orozco
- Original Message -From: "Craig Fidler" <[EMAIL PROTECTED]>To: Axapta-Knowledge-Village@yahoogroups.comSubject: RE: [Axapta-Knowledge-Village] Actual versus standard costDate: Mon, 7 Mar 2005 17:04:57 -0800








Hi James,

Would this be used is a commodity based type environment??

Standard cost is best suited to an environment where a trade agreement has been structured for a long term. (6months – 12 months)and where the product either being procured or manufactured is price sensitive and or volatile.


Although it must be said that actual cost has its advantages as you know your true margin at time of sale. 



Regards,

Craig





From: James Flavell [mailto:[EMAIL PROTECTED] Sent: 02 March, 2005 7:38 PMTo: Axapta-Knowledge-Village@yahoogroups.comSubject: [Axapta-Knowledge-Village] Actual versus standard cost


Can anyone provide me the benefits and drawbacks for using actual costing versusstandard costing and in which situations one might be better than the other (i.e. reason to use or not to use).



When is it adviseable to use one and not the other?

Is Axapta's standard cost feature considered goodand if not is it therefore advisable to avoid using it? (I heard a few people mention it is not good)



Thanks

James


Sharing the knowledge on Axapta. 

The views expressed in this email are, unless otherwise stated, those of the author and not those of the BS3 Technologies Group or its management. The information in this e-mail is confidential and is intended solely for the addressee. Access to this e-mail by anyone else is unauthorised. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted in reliance on this, is prohibited and may be unlawful. Whilst all reasonable steps are taken to ensure the accuracy and integrity of information and data transmitted electronically and to preserve the confidentiality thereof, no liability or responsibility whatsoever is accepted if information or data is, for whatever reason corrupted or does not reach its intended destination.Sharing the knowledge on Axapta. 
-- 
___Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup




Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/Axapta-Knowledge-Village/
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: [Axapta-Knowledge-Village] Purchase Rejections

2005-03-17 Thread Girish Bhatkal

you need to create and post the credit note.

--- deepa_ramarao [EMAIL PROTECTED] wrote:

-


Hi,
 How are purchase rejections handled in Axapta

DR








Sharing the knowledge on Axapta.


Yahoo! Groups Sponsor  ADVERTISEMENT
 

-
Yahoo! Groups Links

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


Send instant messages to your online friends http://uk.messenger.yahoo.com 


 Yahoo! Groups Sponsor ~-- 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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: [Axapta-Knowledge-Village] Manufacture

2005-03-17 Thread Harshawardhan Deshpande



hi Craig

Bit confused about what you want to do. Are you saying that you have four finished products coming out of one production order?

regards

harryCraig Fidler [EMAIL PROTECTED] wrote:





Hi,

I have one raw material input with 3 or 4 possible finished goods output. I do not want the user to change the bill of material manually is there any other way of accomplishing this?


Thanks
Sharing the knowledge on Axapta. __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 


Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

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










[Axapta-Knowledge-Village] Product Builder !

2005-03-17 Thread Francisco Orozco




Does anybody know how to KEEP a BOM from an item that has been created with the Product Builder in the sales orders linesafter it has been deleted from the sales order lines. 
Currentlyin axapta you can create an Item with the product builder and you can re-configure, but once you delete the item line from the sales orders axapta keeps the item in the inventory master, but DELETES the BOM from the item.
Anyhelp would beappreciate, thanks




Yahoo! Groups Sponsor





ADVERTISEMENT


-- 
___Sign-up for Ads Free at Mail.com
http://www.mail.com/?sr=signup




Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/Axapta-Knowledge-Village/
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: [Axapta-Knowledge-Village] operation from combination of enum

2005-03-17 Thread daniel lim




hi,
i already found the way to loop thru an enum, i think that way is useful for me.

anyway thx for ur suggestion. :-)

rgds,
danielJohn D souza [EMAIL PROTECTED] wrote:

yes you can use this logic;

counter = 0;
 while (counter  16) {firstEnumValue = counter mod 4;secondEnumValue = counter div 4;
}

in this you way you start from counter = 0, which means enum value 0 for both first and second enum,

when counter = 1 then you use, 
first enum = 1, second enum = 0;

when counter =2 then you use, 
first enum = 2, second enum = 0;

and so on. after counter = 5
you have
first enum = 1, second enum = 1;


like this you can get the minimum count for these. 

Hope it helps...


Regards
Amit 


Varden Morris [EMAIL PROTECTED] wrote:

Hi Daniel


Add this function to the global class so that you will be able to call it anywhere in code in your Axapta application:

static int UniqueEnumCombo(int Enum1, int Enum2)
{
 return str2int(int2str(Enum1) + int2str(Enum2));
}

All this function does is to convert two integers to there respective string values then concatenate them and convert the result back to an integer. Remember that the internal representation of enum is integer. Note also that the order of the parameters is relevant. For example, 1 and 2 is different from 2 and 1 which will workfor your case.

You can test this function in a job with the following code:

static void UniqueEnumComboTest(Args _args)
{
 ;

 switch (UniqueEnumCombo(1, 2))
 {
 case UniqueEnumCombo(3, 4):
 info(strfmt('%1',UniqueEnumCombo(3, 4)));
 break;
 case UniqueEnumCombo(1, 2):
 info(strfmt('%1',UniqueEnumCombo(1, 2)));
 break;

 }

}


VardenMorris

J. Wray  Nephew Ltd. - Group I.S.
234 Spanish Town Road
Kingston 11, Jamaica, W.I.

Phone: (876) - 923 - 6141 Ext. 2226Fax: (876) - 923 -5372 
Cell: (876) - 3833566Email: [EMAIL PROTECTED]
 [EMAIL PROTECTED]

daniellim_yh [EMAIL PROTECTED] wrote:
hi all,i have 2 enum type, 4 elements each, i wonder wat is the best way for me to dolike this in axapta.if (enum1::typeA  enum2::typeW) Do something1else if (enum1::typeA  enum2::typeX) Do something 2 else if (enum1::typeA  enum2::typeY)  do something 3 .  . . .  if (enum1::typeD  enum2::Z)  do something 16with 2 combinations of 2 enums i will have 16
 combinations, any better way of it?using enum element position to do looping may be?but asi know i cannot get enum position like container. pls provide any idea. thx in advance.rgds,danielSharing the knowledge on Axapta. 


Do you Yahoo!?Yahoo! Small Business - Try our new resources site! Sharing the knowledge on Axapta. 
__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com Sharing the knowledge on Axapta. __Do You Yahoo!?Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com 


Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

To visit your group on the web, go to:http://groups.yahoo.com/group/Axapta-Knowledge-Village/
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: [Axapta-Knowledge-Village] operation from combination of enum

2005-03-17 Thread daniel lim




hi,
i already found the way to loop thru an enum, i think that way is useful for me.

anyway thx for ur suggestion. :-)

rgds,
danielVarden Morris [EMAIL PROTECTED] wrote:

Hi Daniel


Add this function to the global class so that you will be able to call it anywhere in code in your Axapta application:

static int UniqueEnumCombo(int Enum1, int Enum2)
{
 return str2int(int2str(Enum1) + int2str(Enum2));
}

All this function does is to convert two integers to there respective string values then concatenate them and convert the result back to an integer. Remember that the internal representation of enum is integer. Note also that the order of the parameters is relevant. For example, 1 and 2 is different from 2 and 1 which will workfor your case.

You can test this function in a job with the following code:

static void UniqueEnumComboTest(Args _args)
{
 ;

 switch (UniqueEnumCombo(1, 2))
 {
 case UniqueEnumCombo(3, 4):
 info(strfmt('%1',UniqueEnumCombo(3, 4)));
 break;
 case UniqueEnumCombo(1, 2):
 info(strfmt('%1',UniqueEnumCombo(1, 2)));
 break;

 }

}


VardenMorris

J. Wray  Nephew Ltd. - Group I.S.
234 Spanish Town Road
Kingston 11, Jamaica, W.I.

Phone: (876) - 923 - 6141 Ext. 2226Fax: (876) - 923 -5372 
Cell: (876) - 3833566Email: [EMAIL PROTECTED]
 [EMAIL PROTECTED]

daniellim_yh [EMAIL PROTECTED] wrote:
hi all,i have 2 enum type, 4 elements each, i wonder wat is the best way for me to dolike this in axapta.if (enum1::typeA  enum2::typeW) Do something1else if (enum1::typeA  enum2::typeX) Do something 2 else if (enum1::typeA  enum2::typeY)  do something 3 .  . . .  if (enum1::typeD  enum2::Z)  do something 16with 2 combinations of 2 enums i will have 16
 combinations, any better way of it?using enum element position to do looping may be?but asi know i cannot get enum position like container. pls provide any idea. thx in advance.rgds,danielSharing the knowledge on Axapta. 


Do you Yahoo!?Yahoo! Small Business - Try our new resources site! Sharing the knowledge on Axapta. 
		Do you Yahoo!? 
Yahoo! Small Business - Try our new resources site! 


Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

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










[Axapta-Knowledge-Village] dynamic operator

2005-03-17 Thread daniellim_yh


hi all,

i need to do somoething like this and wonder it can be done in 
axapta:

void deltbl(anytype parm_operator, str _value)
{
  delete_from TblA where TblA.FieldA parm_operator _value;
  //i need to pass in dynamic operator, for e.g like, ==,
  // != as parm_operator 
}

can it be done in axapta?i dont want to use switch case because my 
actual situation have more combinations, if this can be done it save 
me lot of time and effort.

thx in advance.

daniel





 Yahoo! Groups Sponsor ~-- 
Has someone you know been affected by illness or disease?
Network for Good is THE place to support health awareness efforts!
http://us.click.yahoo.com/Rcy2bD/UOnJAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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/
 





[Axapta-Knowledge-Village] Sample Question papers Needed

2005-03-17 Thread Shanmugavel Prakashkumar



Hi All,

Im preparing for MBS "Installation and Configuration Exam", For preparations im in need of few study materials and sample question papers, so i request you all to pleasehelp me out in this. 


Regards
Shanmugavel

Yahoo! India Matrimony: Find your life partner
online.


Sharing the knowledge on Axapta.








Yahoo! Groups Sponsor


  ADVERTISEMENT 












Yahoo! Groups Links

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










[Axapta-Knowledge-Village] Error when reporting as finished in production.

2005-03-17 Thread slipstream_sa


When reporting as finished on a production order I get the following 
error:

Journal name '' does not exist.

I have checked all the required journals and their related voucher 
number sequences and cannot find anything wrong.

Has anybody else seen this error? Any help will be appreciated!

Many thanks!

Hannes





 Yahoo! Groups Sponsor ~-- 
What would our lives be like without music, dance, and theater?
Donate or volunteer in the arts today at Network for Good!
http://us.click.yahoo.com/Tcy2bD/SOnJAA/cosFAA/kGEolB/TM
~- 

Sharing the knowledge on Axapta. 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/Axapta-Knowledge-Village/

* 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/