RE: [development-axapta] Adding new field to inventrans and getting it populated

2005-03-11 Thread Harry Deshpande





Hi James

 

Its very simple, there are multiple ways to do this. One way can be...

 

Say you have created a field called InternalReferenceMMS (or
InternalReferenceESG in your case *s*) on InventTrans

 

Now create a new method on class InventMovement say

 

Str 20 internalReferenceMMS()

{

 ;

 return ;

}

 

Now override this method on InventMov_Sales

 

Str 20 internalReferenceMMS()

{

 ;

 return salesOrderLine.salesTable().PurchOrderFormNum;

}

 

Now .. go back to Class InventMovement method initInventTransFromBuffer
add a line

 

 inventTrans.InternalReferenceMMS = this.internalReferenceMMS();

 

 

regards

 

harry

 

ps1: another (quick and a bit dirty) way would be to extend the
initInventTransFromBuffer on inventmov_sales and add the following line
before super()

 

 inventTrans.InternalReferenceMMS =
salesOrderLine.salesTable().PurchOrderFormNum;

 

ps2: I am planning to upload some modifications (my personal ones) on
this forum. These modifications cover extending inventmovement and
inventupdate classes. However, I am not sure as to how is the
administrator of this forum, any idea as to the identity of this person?

 

Ps3: I have not tried the above code but there is no reason why it
should not work. Do let me know if you have any problems.

 

 

 _ 

From: James Flavell [mailto:[EMAIL PROTECTED] 
Sent: Thursday, 10 March 2005 5:24 p.m.
To: development-axapta@yahoogroups.com
Subject: [development-axapta] Adding new field to inventrans and getting
it populated

 


Hi 

I would like to know what I need to do to add a new field to the
inventrans
and to get this field populated.

I have a customer PO number that ends up being many Axapta sales orders
and
this PO number is very importnat for the my client to review inventory
movements.

I could use the batch number inventory dimension to record this PO
number
but dont think this is the best approach so I want to mkae a new field
on
the inventtrans and get this field copied from the sales order down to
the
inventtrans. Is this the best/correct way? If so can I just add the
field
(same name as sales order) and put it in one of the field groups and the
system will take care of the rest (me dreaming?) or do I have to change
a
lot of code to get inventrans correctly populated?

Is my appraoch advised/difficult?

Thanks
James



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








Yahoo! Groups Sponsor

ADVERTISEMENT
click here
http://us.ard.yahoo.com/SIG=129lk8d4d/M=298184.6018725.7038619.3001176/
D=groups/S=1705006764:HM/EXP=1110527575/A=2593423/R=0/SIG=11el9gslf/*htt
p:/www.netflix.com/Default?mqso=60190075 

 
http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=group
s/S=:HM/A=2593423/rand=780807499 

 

 _ 

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]
mailto:[EMAIL PROTECTED]
be 
  
* Your use of Yahoo! Groups is subject to the Yahoo! Terms of
Service http://docs.yahoo.com/info/terms/ .
 
 
 
Harry Deshpande
Senior Consultant
CGNZ Middle Market Solutions
Website: www.cgnz.com/middlemarketsolutions
Ph +64 29 289 9031
Fax +64 9 358 1018
 
CGNZ Limited and its predecessor organisations (Cap Gemini Ernst  Young, and Ernst  Young Consulting) have a proud track record of market leadership and excellent service delivery in all areas of systems delivery both for New Zealand clients and in supporting regional and global projects. CGNZ is a licensed affiliate of Cap Gemini S.A. (one of the world's leading management consulting and IT services companies), wholly owned by NZ employee-shareholders, with over 150 IT professionals in our Auckland and Wellington offices. Middle Market Solutions specialises in the implementation of business solutions for small corporate and middle market companies. The core activity of our team is the implementation and support of Enterprise Resource Planning (ERP), Customer Relationship Management (CRM), E-Business solutions and related technologies from Microsoft Business Solutions. Find out more about what we do at http://www.cgnz.com/middlemarketsolutions
 
CGNZ DISCLAIMER: This email and any attachments are confidential and intended exclusively for the person to whom the email is addressed. If you are not the intended recipient, do not read, copy, disclose or use the contents in any way. Please notify us immediately by return email and destroy the email and attachments. CGNZ does not accept any liability for any changes made to this email or attachments after sending by CGNZ. You must scan this email and attachments for viruses. The opinions expressed are not necessarily those of CGNZ. 
 
CGNZ accepts no liability for any loss, damage or consequence, whether caused by our own negligence or not, resulting directly or indirectly from the use of this email and attachments.
 




RE: [development-axapta] Adding new field to inventrans and getting it populated

2005-03-10 Thread Karina Normann Jakobsen





you could also use of of the financial dimensions, if they are not used already.
 

Med venlig hilsen/Best regards/Mit freundlichen Grüßen 
Karina Normann Jakobsen
Program Manager, Supply Chain Management 

 



From: James Flavell [mailto:[EMAIL PROTECTED] 
Sent: 10. marts 2005 05:24
To: development-axapta@yahoogroups.com
Subject: [development-axapta] Adding new field to inventrans and getting it populated



Hi 

I would like to know what I need to do to add a new field to the inventrans
and to get this field populated.

I have a customer PO number that ends up being many Axapta sales orders and
this PO number is very importnat for the my client to review inventory
movements.

I could use the batch number inventory dimension to record this PO number
but dont think this is the best approach so I want to mkae a new field on
the inventtrans and get this field copied from the sales order down to the
inventtrans. Is this the best/correct way? If so can I just add the field
(same name as sales order) and put it in one of the field groups and the
system will take care of the rest (me dreaming?) or do I have to change a
lot of code to get inventrans correctly populated?

Is my appraoch advised/difficult?

Thanks
James



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






Yahoo! Groups Sponsor 
ADVERTISEMENT
click here http://us.ard.yahoo.com/SIG=129lk8d4d/M=298184.6018725.7038619.3001176/D=groups/S=1705006764:HM/EXP=1110527575/A=2593423/R=0/SIG=11el9gslf/*http://www.netflix.com/Default?mqso=60190075  
 http://us.adserver.yahoo.com/l?M=298184.6018725.7038619.3001176/D=groups/S=:HM/A=2593423/rand=780807499  



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] mailto:[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 Sponsor


  ADVERTISEMENT 












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.










[development-axapta] Adding new field to inventrans and getting it populated

2005-03-09 Thread James Flavell





Hi 
 
I would like to know what I need to do to add a new field to the inventrans
and to get this field populated.
 
I have a customer PO number that ends up being many Axapta sales orders and
this PO number is very importnat for the my client to review inventory
movements.
 
I could use the batch number inventory dimension to record this PO number
but dont think this is the best approach so I want to mkae a new field on
the inventtrans and get this field copied from the sales order down to the
inventtrans. Is this the best/correct way? If so can I just add the field
(same name as sales order) and put it in one of the field groups and the
system will take care of the rest (me dreaming?) or do I have to change a
lot of code to get inventrans correctly populated?
 
Is my appraoch advised/difficult?
 
Thanks
James
 


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













Yahoo! Groups Sponsor


  ADVERTISEMENT 












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.