cancel
Showing results for 
Search instead for 
Did you mean: 

Copy From One form matrix to another form matrix

CRVMANISH
Contributor
0 Kudos

Hello Kings

I have made a userdefined form called as InPatient , i have design separate Invoice form for it now i want to do "copy from" on Button like it is done in Sales A/R and draw form document wizard so that my Invoice form Matrix is populated with data from Inpatient form

SAme as Sales A/R "copy from " sales Order for User defined form

Plz suggest

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

HI,

Write a Cycle (for) to fill the Matrix,

If you are using dbdatasources to bind the matrix or UDO in this case:

1. Bind your columns of the target matrix to userdatasoureces

2. Use GetLineData / SetLineData to set the line data,

3. Bind the Matrix to the DbDataSource (UDO),

4. And us eOmatrix.FlushToDataSource function to fill the UDO before you save your data.

Regards,

J.

CRVMANISH
Contributor
0 Kudos

Thanks for Reply

CRVMANISH
Contributor
0 Kudos

I am not getting what to do, please forward me code for it

Former Member
0 Kudos

Hi I am looking to do something similar and am very new to c# programming can you send an example code. Please

CRVMANISH
Contributor
0 Kudos

Hey Michael Open in new thread this is already closed.

Former Member
0 Kudos

Hi Manish, please see this link of my new thread.

all i want to do is to copy a live matrix information from quotation to my new matrix i.e item name and item description but the information in sales quotation should not have already been added to the system i.e the new form should have a copy of the quotaion but the quotation shouldnt have been commited to the database. can you help? i am new to programming c#

Answers (0)