Sanam Khan,
If I understand your requirement, you do NOT need to write custom
code; there IS a way in standard AX to use a custom number sequence
for sales orders by customer.
You can create a Number Sequence Group for each customer that needs a
custom number sequence. Assign that Number Sequence group on the
setup tab of the Customer - see if that works for you.
Launch the help. Type in Number Sequence Group, sort, and look for
the Number Sequence Group (form). You will see a full explanation
there for how to set it up.
On Wed, Feb 18, 2009 at 10:58 PM, Faisal Hussain
faisalmhuss...@yahoo.com wrote:
No this is not possible through AX configuration. You have to custom code to
make it work.
Faisal Hussain
Calgary AB, Canada
Cell: +1 403 796 8097
Email: faisalmhuss...@yahoo.com
From: Sanam Khan sa...@m-consultants.com
To: Axapta-Knowledge-Village@yahoogroups.com
Sent: Wednesday, February 18, 2009 10:18:52 PM
Subject: RE: [Axapta-Knowledge-Village] Need Help
Thanks a lot for your help. Let me clear my point. I know that system
generates a number sequence for each transaction. My requirement is that is
it possible functionality wise in AX that when I create a sales order by
selecting company A in department dimension then Sales order number A001
should be generated and when I create a sales order by selecting company B
in dimension then sales order number B001 should be generated. I know it is
possible by writing the code but I want to know that can I do it from AX by
using any functionality.
Waiting for your response
Regards,
Sanam Khan
From: Axapta-Knowledge- vill...@yahoogro ups.com [mailto:Axapta- Knowledge-
vill...@yahoogro ups.com] On Behalf Of Sumit Loya
Sent: Wednesday, February 18, 2009 4:59 PM
To: Axapta-Knowledge- vill...@yahoogro ups.com
Subject: Re: [Axapta-Knowledge- Village] Need Help
Hi there,
If you want to attach a number sequence to anyfield look at the link below.
This should help you..
http://sumit- theaxfactor. spaces.live. com/blog/ cns!596957786228 C73F!124.
entry
Regards,
Sumit
On Wed, Feb 18, 2009 at 4:52 PM, MaryAnn Hand maryann.hand@ gmail.com
wrote:
I am not sure what you mean by attach so I will respond with my
interpretation of your words. Please recognize that I may not
understand your requirement.
Dimensions need to be pre-defined and then they are attached to
transaction records. If you want to programmatically create new
dimensions, you can create a number sequence and get numbers from that
sequence programmatically to insert a new dimension into the
dimensions list. Is that what you want to do? This is all developer
work to do but you have emailed the knowledge village group, rather
than the developer group. Perhaps you can get a developer to help you
to implement your solution.
On Wed, Feb 18, 2009 at 3:22 AM, Sanam Khan sa...@m-consultants .com
wrote:
Hi all
I need help that in AX is it possible that I should attach number sequence
with the dimension??? ?
Any help would be highly appreciated
Regards,
Sanam khan