on 04-19-2015 9:53 AM
If a Sales Blanket Agreement get copied to a document, I cant find a way to get the AgrLnNum when the document is not added to the databse.
The ArgNo I get with this simple line of code:
string AgrNo = ((EditText)oMatrix.Columns.Item("1980002193").Cells.Item(i).Specific).Value;
But there is no ArgLnNum in the Matrix and I can only read it from the database, when the documend is added to the databse.
If the document is "copyed from" the Line order can change therefor I need the correct Linenumber to copy UDFs from the Sales Blanket Agreement to UDFs in the document.
Is there any way to get the AgrLnNum or a better way to Link the Lines between them?
Hi,
Try to get it using the DBDataSource instead of the Matrix object.
for example:
string AgrNo = oForm.DataSources.DBDataSources.Item("POR1").GetValue("ArgLnNum", 0);
Beni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.