If we assume the method signature has (common _buffer), then The easy
was is to just do a
SalesLine salesLine = _buffer;
;
// Here you can do whatever with salesLine.SalesId or any other
field...
Another way to do it (although more complex, takes more processing time,
and is in general not recommended unless you do not know the underlying
table), is a construction like this:
SalesId salesId = _common.(fieldnum(SalesLine,SalesId));
;
// Here you can do whatever with salesId...
But the latter construction will typically only be used when traversing
through fields of unknown tables while building containers or similar
structures for special processing, such as data export/import, inventDim
traversing etc.
/Jesper
________________________________
From: mrommers [mailto:[EMAIL PROTECTED]
Sent: Monday, December 20, 2004 6:01 PM
To: [email protected]
Subject: [development-axapta] accesing information in a buffer
Hello:
I want to know how can to accessing information from a object common
buffer.
for example I need to access the information salesLine.salesId
storage in a buffer calling from updateReserveMore in a Class
InventUpd_reservation.
thanks.
Miguel Rommers
Yahoo! Groups Sponsor
ADVERTISEMENT
click here
<http://us.ard.yahoo.com/SIG=129v7tke5/M=298184.5639630.6699735.3001176/
D=groups/S=1705006764:HM/EXP=1103707873/A=2495208/R=0/SIG=11egg01lg/*htt
p://www.netflix.com/Default?mqso=60188914>
<http://us.adserver.yahoo.com/l?M=298184.5639630.6699735.3001176/D=group
s/S=:HM/A=2495208/rand=791163248>
________________________________
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/> .
[Non-text portions of this message have been removed]
| Yahoo! Groups Sponsor | |
|
|
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.

