It looks like it was designed to work in a similar fashion as the Buffer-Copy in ABL.
I noticed it when we converted some of our ABL code in the code converter.
We used it in a BPM where we are trying to copy quote lines.
After the Preprocessing BPM creates the new line, we have a post processing BPM that copies the values from QuoteQty of the original line to the newly created line.
We used BufferCopy.CopyExceptFor() to copy these values from one row to the other.
BufferCopy.CopyExceptFor(QuoteQty, ttQuoteQtyRow, QuoteQty.ColumnNames.QuoteLine, QuoteQty.ColumnNames.SysRevID, QuoteQty.ColumnNames.SysRowID);
There is also BufferCopy.Copy(), which copies all fields.
I was asking about where to find it because I don’t think it’s documented and I’m curious what other methods are available.
Joe Rojas | Director of Information Technology | Mats Inc.
dir: (781) 573-0291 | cell: (781) 408-9278 | fax: (781) 232-5191
addr: 179 Campanelli Parkway | Stoughton | MA | 2072
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring
[cid:31bf3c.png@9c3541ef.44938488]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, June 02, 2015 5:18 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Re: E10: Which DLL contains BufferCopy?
Anyone have an example of how to use BufferCopy?
________________________________
From: "bwhiteside@... [vantage]" <vantage@yahoogroups.com>
To: vantage@yahoogroups.com
Sent: Tuesday, June 2, 2015 4:41 PM
Subject: [Vantage] Re: E10: Which DLL contains BufferCopy?
Joe,
You need Epicor.ServiceModel.dll from your Client directory. You'll find the BufferCopy class inside the Epicor.Data namespace of that DLL.
Regards,
Bryce Whiteside | IT Programmer | AGM Container Controls, Inc.<http://www.agmcontainer.com/> | bwhiteside@...<mailto:bwhiteside@...> | t: 520.881.2130 ext 2145
[Non-text portions of this message have been removed]
I noticed it when we converted some of our ABL code in the code converter.
We used it in a BPM where we are trying to copy quote lines.
After the Preprocessing BPM creates the new line, we have a post processing BPM that copies the values from QuoteQty of the original line to the newly created line.
We used BufferCopy.CopyExceptFor() to copy these values from one row to the other.
BufferCopy.CopyExceptFor(QuoteQty, ttQuoteQtyRow, QuoteQty.ColumnNames.QuoteLine, QuoteQty.ColumnNames.SysRevID, QuoteQty.ColumnNames.SysRowID);
There is also BufferCopy.Copy(), which copies all fields.
I was asking about where to find it because I don’t think it’s documented and I’m curious what other methods are available.
Joe Rojas | Director of Information Technology | Mats Inc.
dir: (781) 573-0291 | cell: (781) 408-9278 | fax: (781) 232-5191
addr: 179 Campanelli Parkway | Stoughton | MA | 2072
jrojas@... | www.matsinc.com
Ask us about our clean, green and beautiful matting and flooring
[cid:31bf3c.png@9c3541ef.44938488]
This message is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com]
Sent: Tuesday, June 02, 2015 5:18 PM
To: vantage@yahoogroups.com
Subject: Re: [Vantage] Re: E10: Which DLL contains BufferCopy?
Anyone have an example of how to use BufferCopy?
________________________________
From: "bwhiteside@... [vantage]" <vantage@yahoogroups.com>
To: vantage@yahoogroups.com
Sent: Tuesday, June 2, 2015 4:41 PM
Subject: [Vantage] Re: E10: Which DLL contains BufferCopy?
Joe,
You need Epicor.ServiceModel.dll from your Client directory. You'll find the BufferCopy class inside the Epicor.Data namespace of that DLL.
Regards,
Bryce Whiteside | IT Programmer | AGM Container Controls, Inc.<http://www.agmcontainer.com/> | bwhiteside@...<mailto:bwhiteside@...> | t: 520.881.2130 ext 2145
[Non-text portions of this message have been removed]