How to add payment advice for XML file filed in vendor account group
Hi All,
I have a requirment to add Payment advice for XML file field in vendor account group under payment transcation tap,
kindly advice where i can add above mention field in vendor account group.
thanks
khaja
done
Similar Messages
-
How to add URL links in XML file?
Hi,
I'm having problem with adding the URL links to the flash output. I'm using the XML file to call images and then the corrsponding links. Images are called correctly but when I try to add a link I'm not getting the links, but instead getting the HTML anchor tags as texts. I'm using the XML escape characters to escape the HTML tags but the results are not what I need.
I'm using the following code:
<thumbnail preview="large.jpg" thumb="thumb.jpg">
<title><![CDATA[Finance Services]]></title>
<discription><![CDATA[<a href="http://www.google.ca">Google</a>]]></discription>
</thumbnail>
Output:
Images are displayed correctly, but instead of getting the links, I'm getting following text message:
<a href="http://www.google.ca">Google</a>
I need to find out what I'm doing wrong. Am I using the correct way to add the links or not?
Thanks for your time.I'm using following code for the Description part, where I need to place the HTML tags:
var _discription:TextField = previewHolder.discriptionText.discriptionText;
_discription.htmlText = _xml.thumbnails.thumbnail[photoNum].discription.toString()
I'm using the htmlText, I tried replacing htmlText with tf.htmlText, but it didn't work. I'm importing the text field using import flash.text.TextField; do I need to import something for HTML tags to work? -
Can't Figure Out How to Add Nodes to Existing XML File by Attribute
<?xml version="1.0" encoding="UTF-8"?>
-<Project_Data>
-<Project_Info>
<Client>frankLINVILE</Client>
<Name>COOKIE MONSTER INDICTMNET</Name>
<Number>198883cookie</Number>
<Tester>JK</Tester>
<Reviewer>CM</Reviewer>
<Location>Sesame Street, MD</Location>
<SD>03/10/2015</SD>
<Boring_Header>Boring1</Boring_Header>
<Sample_Header>Sample2</Sample_Header>
<Depth_Header>Depth3</Depth_Header>
<Location_Header>Location4</Location_Header>
<SD_Header>Sample Date5</SD_Header>
<Remarks>asdf sdafas</Remarks>
<Is_LOC_Global>True</Is_LOC_Global>
<Is_SD_Global>True</Is_SD_Global>
<Count>12</Count>
<Has_MC_Data>N</Has_MC_Data>
</Project_Info>
-<Samples>
-<Sample ID="@B1 S1 1-2 SESAME STREET, MD 03/10/2015">
<Boring>b1</Boring>
<Sample>s1</Sample>
<Depth>1-2</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>frank1</Remarks>
<Login_Order>1</Login_Order>
<Report_Order>1</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
-<Sample ID="@B2 S2 2-2 SESAME STREET, MD 03/10/2015">
<Boring>b2</Boring>
<Sample>s2</Sample>
<Depth>2-2</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>frakn2</Remarks>
<Login_Order>2</Login_Order>
<Report_Order>2</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
-<Sample ID="@B3 S3 3-3 SESAME STREET, MD 03/10/2015">
<Boring>b3</Boring>
<Sample>s3</Sample>
<Depth>3-3</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>frakn3</Remarks>
<Login_Order>3</Login_Order>
<Report_Order>3</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
-<Sample ID="@B4 S4 4-4 SESAME STREET, MD 03/10/2015">
<Boring>b4</Boring>
<Sample>s4</Sample>
<Depth>4-4</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi4</Remarks>
<Login_Order>4</Login_Order>
<Report_Order>4</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
-<Sample ID="@B5 S5 5-5 SESAME STREET, MD 03/10/2015">
<Boring>b5</Boring>
<Sample>s5</Sample>
<Depth>5-5</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi5</Remarks>
<Login_Order>5</Login_Order>
<Report_Order>5</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
-<Sample ID="@B6 S6 6-6 SESAME STREET, MD 03/10/2015">
<Boring>b6</Boring>
<Sample>s6</Sample>
<Depth>6-6</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi6</Remarks>
<Login_Order>6</Login_Order>
<Report_Order>6</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
-<Sample ID="@B7 S7 7-7 SESAME STREET, MD 03/10/2015">
<Boring>b7</Boring>
<Sample>s7</Sample>
<Depth>7-7</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi7</Remarks>
<Login_Order>9</Login_Order>
<Report_Order>9</Report_Order>
<Has_Data>N</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
-<Sample ID="@B8 S8 8-8 SESAME STREET, MD 03/10/2015">
<Boring>b8</Boring>
<Sample>s8</Sample>
<Depth>8-8</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi8</Remarks>
<Login_Order>10</Login_Order>
<Report_Order>10</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
-<Sample ID="@B9 S9 9-9 SESAME STREET, MD 03/10/2015">
<Boring>b9</Boring>
<Sample>s9</Sample>
<Depth>9-9</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi9</Remarks>
<Login_Order>11</Login_Order>
<Report_Order>11</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
-<Sample ID="@B10 S10 10-10 SESAME STREET, MD 03/10/2015">
<Boring>b10</Boring>
<Sample>s10</Sample>
<Depth>10-10</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi10</Remarks>
<Login_Order>12</Login_Order>
<Report_Order>12</Report_Order>
<Has_Data>N</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
-<Sample ID="@FRANK FARKN2">
<Boring>frank</Boring>
<Sample>farkn2</Sample>
<Depth> </Depth>
<Location> </Location>
<SD> </SD>
<Remarks> </Remarks>
<Login_Order>7</Login_Order>
<Report_Order>7</Report_Order>
<Has_Data>N</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
-<Sample ID="@FRANK FRANK">
<Boring>frank</Boring>
<Sample>frank</Sample>
<Depth> </Depth>
<Location> </Location>
<SD> </SD>
<Remarks> </Remarks>
<Login_Order>8</Login_Order>
<Report_Order>8</Report_Order>
<Has_Data>N</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
</Samples>
</Project_Data
What I need to do is find the sample by its ID attribute...IN THEN add the following
<MC_Data>
<Wet>blah</Wet
<Dry>blah</Dry>
</MC_Data>
Here is the code I have now, which doesn't work...
Public Sub XML_Add_Child_Node_Group(Sample_ID As String, Which_Category As Integer)
If File.Exists(Program_Settings_File.PG_Filepath) = False Then MsgBox("The program settings file for the program has been moved or deleted! Cancelled.") : Exit Sub
Dim XMLFile As New Xml.XmlDocument, NewNode As Xml.XmlElement = Nothing, NewChild As Xml.XmlElement = Nothing
XMLFile.Load(Current_File.Current_File_Path)
Dim Root_Node As XmlNode = XMLFile.SelectSingleNode("/Project_Data/Samples/[@ID='" & Sample_ID & "']")
Dim Root_Element As Xml.XmlElement = CType(XMLFile.SelectSingleNode("/Project_Data/Samples/[@ID='" & Sample_ID & "']"), XmlElement)
'1 = Add MC nodes
Select Which_Category
Case 1
'----Add new node.
NewNode = XMLFile.CreateElement("MC_Data")
'----Add children nodes.
NewChild = XMLFile.CreateElement("MC_Wet") : NewNode.AppendChild(NewChild)
'MsgBox(NewNode.Name)
NewChild = XMLFile.CreateElement("MC_Dry") : NewNode.AppendChild(NewChild)
NewChild = XMLFile.CreateElement("MC_Tare") : NewNode.AppendChild(NewChild)
NewChild = XMLFile.CreateElement("MC_Tare_No") : NewNode.AppendChild(NewChild)
NewChild = XMLFile.CreateElement("MC_Remarks") : NewNode.AppendChild(NewChild)
NewChild = XMLFile.CreateElement("MC_MC") : NewNode.AppendChild(NewChild)
Root_Element.AppendChild(NewNode)
End Select
'----Add entire tree.
XMLFile.Save(Current_File.Current_File_Path)
End Sub
No matter what, it will not add these nodes. Can anyone help me out? Thanks ahead of time...
ShawnHere is the XML
<?xml version="1.0" encoding="UTF-8"?>
<Project_Data>
<Project_Info>
<Client>frankLINVILE</Client>
<Name>COOKIE MONSTER INDICTMNET</Name>
<Number>198883cookie</Number>
<Tester>JK</Tester>
<Reviewer>CM</Reviewer>
<Location>Sesame Street, MD</Location>
<SD>03/10/2015</SD>
<Boring_Header>Boring1</Boring_Header>
<Sample_Header>Sample2</Sample_Header>
<Depth_Header>Depth3</Depth_Header>
<Location_Header>Location4</Location_Header>
<SD_Header>Sample Date5</SD_Header>
<Remarks>asdf sdafas</Remarks>
<Is_LOC_Global>True</Is_LOC_Global>
<Is_SD_Global>True</Is_SD_Global>
<Count>12</Count>
<Has_MC_Data>N</Has_MC_Data>
</Project_Info>
<Samples>
<Sample ID="@B1 S1 1-2 SESAME STREET, MD 03/10/2015">
<Boring>b1</Boring>
<Sample>s1</Sample>
<Depth>1-2</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>frank1</Remarks>
<Login_Order>1</Login_Order>
<Report_Order>1</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
<Sample ID="@B2 S2 2-2 SESAME STREET, MD 03/10/2015">
<Boring>b2</Boring>
<Sample>s2</Sample>
<Depth>2-2</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>frakn2</Remarks>
<Login_Order>2</Login_Order>
<Report_Order>2</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
<Sample ID="@B3 S3 3-3 SESAME STREET, MD 03/10/2015">
<Boring>b3</Boring>
<Sample>s3</Sample>
<Depth>3-3</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>frakn3</Remarks>
<Login_Order>3</Login_Order>
<Report_Order>3</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
<Sample ID="@B4 S4 4-4 SESAME STREET, MD 03/10/2015">
<Boring>b4</Boring>
<Sample>s4</Sample>
<Depth>4-4</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi4</Remarks>
<Login_Order>4</Login_Order>
<Report_Order>4</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
<Sample ID="@B5 S5 5-5 SESAME STREET, MD 03/10/2015">
<Boring>b5</Boring>
<Sample>s5</Sample>
<Depth>5-5</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi5</Remarks>
<Login_Order>5</Login_Order>
<Report_Order>5</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
<Sample ID="@B6 S6 6-6 SESAME STREET, MD 03/10/2015">
<Boring>b6</Boring>
<Sample>s6</Sample>
<Depth>6-6</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi6</Remarks>
<Login_Order>6</Login_Order>
<Report_Order>6</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
<Sample ID="@B7 S7 7-7 SESAME STREET, MD 03/10/2015">
<Boring>b7</Boring>
<Sample>s7</Sample>
<Depth>7-7</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi7</Remarks>
<Login_Order>9</Login_Order>
<Report_Order>9</Report_Order>
<Has_Data>N</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
<Sample ID="@B8 S8 8-8 SESAME STREET, MD 03/10/2015">
<Boring>b8</Boring>
<Sample>s8</Sample>
<Depth>8-8</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi8</Remarks>
<Login_Order>10</Login_Order>
<Report_Order>10</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
<Sample ID="@B9 S9 9-9 SESAME STREET, MD 03/10/2015">
<Boring>b9</Boring>
<Sample>s9</Sample>
<Depth>9-9</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi9</Remarks>
<Login_Order>11</Login_Order>
<Report_Order>11</Report_Order>
<Has_Data>Y</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
<Sample ID="@B10 S10 10-10 SESAME STREET, MD 03/10/2015">
<Boring>b10</Boring>
<Sample>s10</Sample>
<Depth>10-10</Depth>
<Location>SESAME STREET, MD</Location>
<SD>03/10/2015</SD>
<Remarks>hi10</Remarks>
<Login_Order>12</Login_Order>
<Report_Order>12</Report_Order>
<Has_Data>N</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
<Sample ID="@FRANK FARKN2">
<Boring>frank</Boring>
<Sample>farkn2</Sample>
<Depth> </Depth>
<Location> </Location>
<SD> </SD>
<Remarks> </Remarks>
<Login_Order>7</Login_Order>
<Report_Order>7</Report_Order>
<Has_Data>N</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
<Sample ID="@FRANK FRANK">
<Boring>frank</Boring>
<Sample>frank</Sample>
<Depth> </Depth>
<Location> </Location>
<SD> </SD>
<Remarks> </Remarks>
<Login_Order>8</Login_Order>
<Report_Order>8</Report_Order>
<Has_Data>N</Has_Data>
<Has_MC_Data>N</Has_MC_Data>
<Has_GSA_Data>N</Has_GSA_Data>
<Has_P_Data>N</Has_P_Data>
<Has_C_Data>N</Has_C_Data>
<Has_H_Data>N</Has_H_Data>
<Has_USDA_Data>N</Has_USDA_Data>
<Has_CM_Data>N</Has_CM_Data>
<Has_UCS_Data>N</Has_UCS_Data>
<Has_Cons_Data>N</Has_Cons_Data>
<Has_ConsSw_Data>N</Has_ConsSw_Data>
<Has_Pills_Data>N</Has_Pills_Data>
<Has_UCSC_Data>N</Has_UCSC_Data>
</Sample>
</Samples>
</Project_Data>
jdweng -
How to add a field for multiple file upload in WebApps ?
I am creating a WebApp for user to save some information with multiple pitcures. I can only see a single uploader.
How can I add multiple image uploader and How can I create a custom file upload field rather than image upload ?Hi,
There's no other upload field type for web apps. You'll need to use the "image file type" to apply multiple file upload fields within the web app form in this case.
Kind regards,
-Sidney -
How to use download listener for xml files?
Hi all,
In my usecase I should write the xml contents to the file using Output Stream writer.
As of now I am using the below lines of code in the download listener method.
String s = myDoc.getContent().toString();
w.write(s);
myDoc is my xml document. I can see the file but there is no content.
Kindly come out with your help in which I could achieve this.
Thanks,
Phani.Hi john,
What all I am trying to ask is how could I write xml data to external file by clicking a button or a link etc.. which is in the JSF page.
Now for that I created a button and dragged the <af:fileDownloadActionListener> into the button.
I binded the listener with the backing bean method.
public void sayHello(FacesContext context, OutputStream out) throws IOException
OutputStreamWriter w = new OutputStreamWriter(out, "UTF-8");
IDocument myDoc = new Document2004();
myDoc.addEle("sai");
w.write(myDoc.getContent().toString());
w.flush();
in the method you can see IDocument that is an interface which I have in the external JAR files that I am using to write data to MS Word.
The myDoc which I created as an object of IDocument has lot of methods in which I am using addEle(String) which writes a string to word document.
in the writer object writer I am getting the content of the myDoc inorder to convert that to string as it will be in xml format.
When I am writing every thing I can download and save the document but unable to see the data that I have written that is "*sai*" instead a blank page is getting opened.
When I do the same with Creating a file object in the local disc using File f = new File(path) rather than downloading it using the listener I can see the contents what I have written.
This is what all I mean to ask. Kindly come up with your help
Thanks,
Phani. -
How to add namespace prefix to XML file?
I have a file(XML) to proxy scenario. I 've created an asynch Inbound message and a asynch Outbound message.
I have generated the class in Sproxy of my R/3 System.
In the Integration directory I have 2 business system :
-one which sent the file
-my r/3 system
System which send file generate XML like this:
<?xml version="1.0" encoding="UTF-8" ?>
<batch id="20080211001" customer="some customer" user="user" language="EN">
<structure>
<localization>
<string id="customer" text="Customer" />
etc........
As you see, it have not any namespace prefix.
How can I insert namespace prefix in this file with XI tools?Hi Pavel
I am also facing the same issue
my XML structure is quite complex
<ROW EVENT="RE" SEQ="9" MORE="Y" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<FileDate Internal="61409" ROWID="Y">02/17/2009</FileDate>
<FileSeq ROWID="Y">9</FileSeq>
<Event>RE</Event>
<Grp>3</Grp>
<LinkFileTime>42324</LinkFileTime>
<Mrn></Mrn>
<ROW DESCR="RE" TABLE="PAT" EVENT="RE">
<BusTel/>
<BusTelHipaaConsent/>
<Cont1Addr1/>
<ROW DESCR="RE" TABLE="INS" EVENT="RE">
<DictRef1/>
<DictRef10/>
Do i have to create the Message Interface for Outbound Synchronous ..
<DictRef11/> -
How to add chapter markers for each file in a folder?
Hello,
I have several image folders with up to 700 images per. I would like to drag & drop them into the timeline but I want to be able to use the chapter/arrow button on the DVD player remote to scroll through them.....like a videoscrapbook, per se.
Is there a setting that will allow me to drop them into the time line and automatically generate a chapter marker for each image, that will be read on export to DVDSP? Surely, there is something like this built in that I just have not yet found; I cannot believe the only alternative is to manually add 700 chapter markers per folder. And do they always go into the timeline in alphabetical order? Can that be prevented or altered?
Also, doesn't it seem strange there is no single-button option (I'm presuming here, since I have not found one) for adding a chapter marker; the '~' button adds a generic marker but you must 'edit' it and click 'chapter marker' - very time-consuming --- or am I missing something here, too? If so please enlighten me! I've experimented a lot but no luck.
Many thanks!
jfI thought there was a folder size limitation on DVDSP - these folders have digital family photos on them and they are jam-packed; 600, 700, whatever. And there are several of them. I guess I thought putting them in FCP was the only way to avoid the limitation - if there is one.
I'll try putting them straight into DVDSP and see what happens. Thanks!
jf -
How to add three batches for a single material during vendor return through
Dear All,
We have to sent back some stock to vendor through MBRL.This stock consist of two batches.But during MBRL i could able to enter only one batch.How can i give more batches in this screen.
Please give the inputs.
Thanks and regards,
deeptiIf you are doing it with MBRL, then you have to specify a material document number.
So the posting can only have the same info as SAP could adopt from this material document.
You probably have to execute MBRL several times -
How to remove element namespaces in XML file using DOM or SAX?
Hi Guys,
I developed a JAVA mapping in XI to add name spaces for XML file, after mapping,name spaces xmlns="http://www.mro.com/mx/integration" and xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" were added correctly, but for some nodes, such as <Header> and <Content>, a name space xmlns="" was added automatically.Please check below files to compare.
It looks like be added automatically by XI. I didn't process anything for these nodes in JAVA program.
Now the issue is, how can I remove these redundant namespaces? Such as xmlns="".
Can I remove them using DOM or SAX in JAVA Mapping?
Thanks in advance.
====>Original XML file
<?xml version="1.0" encoding="UTF-8"?>
<LLYLPPInterface language="EN">
<Header>
<SenderID>GBIP</SenderID>
<CreationDateTime>2008-02-13T22:49:34-05:00</CreationDateTime>
<RecipientID/>
<MessageID/>
</Header>
<Content>
<LLY-LPP>
<INVOICE>
<INVOICELINE>
<PONUM>4780000008</PONUM>
<POLINENUM>1</POLINENUM>
<INVOICEQTY>1</INVOICEQTY>
<LOADEDCOST>68</LOADEDCOST>
</INVOICELINE>
</INVOICE>
</LLY-LPP>
</Content>
</LLYLPPInterface>
===>Target XML file after JAVA mapping
<?xml version="1.0" encoding="utf-8"?>
<LLYLPPInterface language="EN" xmlns="http://www.mro.com/mx/integration" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Header xmlns="">
<SenderID>GBIP</SenderID>
<CreationDateTime>2008-02-13T23:11:55-05:00</CreationDateTime>
<RecipientID/>
<MessageID/>
</Header>
<Content xmlns="">
<LLY-LPP>
<INVOICE>
<INVOICELINE>
<PONUM>4780000008</PONUM>
<POLINENUM>0</POLINENUM>
<INVOICEQTY>1</INVOICEQTY>
<LOADEDCOST>68</LOADEDCOST>
</INVOICELINE>
</INVOICE>
</LLY-LPP>
</Content>
</LLYLPPInterface>
Edited by: Eddie Zhang on Feb 14, 2008 9:22 AM
Edited by: Eddie Zhang on Feb 14, 2008 9:24 AMHi Milan,
Thanks for your replay.
Actually when I used module XMLAnonymizerBean to convert namespaces, the header of XML, such as <?xml version="1.0" encoding="UTF-8"?> was converted to format <?xml version='1.0' encoding='UTF-8'?>, quote was converted to single quote. Although I set parameter anonymizer.quote = ", it still didn't work, single quote appeared instead of quote.
I'm not sure why this happened. Can anyone help to clarify this?
Thanks
Edited by: Eddie Zhang on Feb 15, 2008 2:11 AM -
The first thing i'm doing is to get from my ftp server all the ftp content information and i tag it so i can identify later if it's a file or a directory:
private int total_dirs;
private int searched_until_now_dirs;
private int max_percentage;
private TreeNode directories_real_time;
private string SummaryText;
private TreeNode CreateDirectoryNode(string path, string name , int recursive_levl )
var directoryNode = new TreeNode(name);
var directoryListing = GetDirectoryListing(path);
var directories = directoryListing.Where(d => d.IsDirectory);
var files = directoryListing.Where(d => !d.IsDirectory);
total_dirs += directories.Count<FTPListDetail>();
searched_until_now_dirs++;
int percentage = 0;
foreach (var dir in directories)
directoryNode.Nodes.Add(CreateDirectoryNode(dir.FullPath, dir.Name, recursive_levl+1));
if (recursive_levl == 1)
TreeNode temp_tn = (TreeNode)directoryNode.Clone();
this.BeginInvoke(new MethodInvoker( delegate
UpdateList(temp_tn);
percentage = (searched_until_now_dirs * 100) / total_dirs;
if (percentage > max_percentage)
SummaryText = String.Format("Searched dirs {0} / Total dirs {1}", searched_until_now_dirs, total_dirs);
max_percentage = percentage;
backgroundWorker1.ReportProgress(percentage, SummaryText);
percentage = (searched_until_now_dirs * 100) / total_dirs;
if (percentage > max_percentage)
SummaryText = String.Format("Searched dirs {0} / Total dirs {1}", searched_until_now_dirs, total_dirs);
max_percentage = percentage;
backgroundWorker1.ReportProgress(percentage, SummaryText);
foreach (var file in files)
TreeNode file_tree_node = new TreeNode(file.Name);
file_tree_node.Tag = "file";
directoryNode.Nodes.Add(file_tree_node);
numberOfFiles.Add(file.FullPath);
return directoryNode;
The line i'm using to Tag is:
file_tree_node.Tag = "file";
So i know what is "file" then i make a simple check if the Tag is not null then i know it's a "file" if it's null then it's directory.
For example this is how i'm checking if it's file or directory after getting all the content from my ftp server:
if (treeViewMS1.SelectedNode.Tag != null)
string s = (string)treeViewMS1.SelectedNode.Tag;
if (s == "file")
file = false;
DeleteFile(treeViewMS1.SelectedNode.FullPath, file);
else
RemoveDirectoriesRecursive(treeViewMS1.SelectedNode, treeViewMS1.SelectedNode.FullPath);
I also update in real time when getting the content of the ftp server xml file on my hard disk with the treeView structure information so when i'm running the program each time it will load the treeView structure with all directories and files.
This is the class of the xml file:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml;
using System.Windows.Forms;
namespace FTP_ProgressBar
class TreeViewXmlPopulation
// Xml tag for node, e.g. 'node' in case of <node></node>
private const string XmlNodeTag = "node";
// Xml attributes for node e.g. <node text="Asia" tag=""
// imageindex="1"></node>
private const string XmlNodeTextAtt = "text";
private const string XmlNodeTagAtt = "tag";
private const string XmlNodeImageIndexAtt = "imageindex";
public static void DeserializeTreeView(TreeView treeView, string fileName)
XmlTextReader reader = null;
try
// disabling re-drawing of treeview till all nodes are added
treeView.BeginUpdate();
reader = new XmlTextReader(fileName);
TreeNode parentNode = null;
while (reader.Read())
if (reader.NodeType == XmlNodeType.Element)
if (reader.Name == XmlNodeTag)
TreeNode newNode = new TreeNode();
bool isEmptyElement = reader.IsEmptyElement;
// loading node attributes
int attributeCount = reader.AttributeCount;
if (attributeCount > 0)
for (int i = 0; i < attributeCount; i++)
reader.MoveToAttribute(i);
SetAttributeValue(newNode,
reader.Name, reader.Value);
// add new node to Parent Node or TreeView
if (parentNode != null)
parentNode.Nodes.Add(newNode);
else
treeView.Nodes.Add(newNode);
// making current node 'ParentNode' if its not empty
if (!isEmptyElement)
parentNode = newNode;
// moving up to in TreeView if end tag is encountered
else if (reader.NodeType == XmlNodeType.EndElement)
if (reader.Name == XmlNodeTag)
parentNode = parentNode.Parent;
else if (reader.NodeType == XmlNodeType.XmlDeclaration)
//Ignore Xml Declaration
else if (reader.NodeType == XmlNodeType.None)
return;
else if (reader.NodeType == XmlNodeType.Text)
parentNode.Nodes.Add(reader.Value);
finally
// enabling redrawing of treeview after all nodes are added
treeView.EndUpdate();
reader.Close();
/// <span class="code-SummaryComment"><summary>
/// Used by Deserialize method for setting properties of
/// TreeNode from xml node attributes
/// <span class="code-SummaryComment"></summary>
private static void SetAttributeValue(TreeNode node,
string propertyName, string value)
if (propertyName == XmlNodeTextAtt)
node.Text = value;
else if (propertyName == XmlNodeImageIndexAtt)
node.ImageIndex = int.Parse(value);
else if (propertyName == XmlNodeTagAtt)
node.Tag = value;
public static void SerializeTreeView(TreeView treeView, string fileName)
XmlTextWriter textWriter = new XmlTextWriter(fileName,
System.Text.Encoding.ASCII);
// writing the xml declaration tag
textWriter.WriteStartDocument();
//textWriter.WriteRaw("\r\n");
// writing the main tag that encloses all node tags
textWriter.WriteStartElement("TreeView");
// save the nodes, recursive method
SaveNodes(treeView.Nodes, textWriter);
textWriter.WriteEndElement();
textWriter.Close();
private static void SaveNodes(TreeNodeCollection nodesCollection,
XmlTextWriter textWriter)
for (int i = 0; i < nodesCollection.Count; i++)
TreeNode node = nodesCollection[i];
textWriter.WriteStartElement(XmlNodeTag);
textWriter.WriteAttributeString(XmlNodeTextAtt,
node.Text);
textWriter.WriteAttributeString(
XmlNodeImageIndexAtt, node.ImageIndex.ToString());
if (node.Tag != null)
textWriter.WriteAttributeString(XmlNodeTagAtt,
node.Tag.ToString());
// add other node properties to serialize here
if (node.Nodes.Count > 0)
SaveNodes(node.Nodes, textWriter);
textWriter.WriteEndElement();
And this is how i'm using the class this method i'm calling it inside the CreateDirectoryNode and i'm updating the treeView in real time when getting the ftp content from the server i build the treeView structure in real time.
DateTime last_update;
private void UpdateList(TreeNode tn_rt)
TimeSpan ts = DateTime.Now - last_update;
if (ts.TotalMilliseconds > 200)
last_update = DateTime.Now;
treeViewMS1.BeginUpdate();
treeViewMS1.Nodes.Clear();
treeViewMS1.Nodes.Add(tn_rt);
TreeViewXmlPopulation.SerializeTreeView(treeViewMS1, @"c:\XmlFile\Original.xml");
ExpandToLevel(treeViewMS1.Nodes, 1);
treeViewMS1.EndUpdate();
And when i'm running the program again in the constructor i'm doing:
if (File.Exists(@"c:\XmlFile\Original.xml"))
TreeViewXmlPopulation.DeserializeTreeView(treeViewMS1, @"c:\XmlFile\Original.xml");
My question is how can i update the xml file in real time like i'm doing now but also with the Tag property so next time i will run the program and will not get the content from the ftp i will know in the treeView what is file and what is directory.
The problem is that now if i will run the program the Tag property is null. I must get the ftp content from the server each time.
But i want that withoutout getting the ftp content from server to Tag each file as file in the treeView structure.
So what i need is somehow where i;m Tagging "file" or maybe when updating the treeView also to add something to the xml file so when i will run the progrma again and read back the xml file it will also Tag the files in the treeView.Hi
Chocolade1972,
Your case related to Winform Data Controls, So i will move your thread to Windows Forms> Windows
Forms Data Controls and Databinding forum for better support.
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
HOW TO: Add /manipulate columns for a GridControl
HOW TO: Add /manipulate columns for a GridControl when the columns (attributes) are from different entity objects.
This HOWTO describes the basic steps of using attributes from different entity objects for a GridControl.
One way you can create a GridControl which contain attributes from different entity objects is to create a view object and base it on the entity objects which contain
the desired attributes.
Here are the basic steps:
1.Create a new view object (or use an existing view object) by selecting File>New from the menu, clicking the Business Components tab and double-clicking
on the View Object icon.
2.In the View Object wizard change the name to something meaningful.
3.Select the entity objects you will base your view object on.
4.Nivigate to the attribute screen and select the attributes you would like to include in your view object from each entity object. At this point you can also create
a new attribute by clicking the "New" button. The new attribute can be a concatenation of other attributes, derived from a calculation etc.
5.In the query panel of the View Object wizard, click "Expert mode" and enter a query statement. You write complex queries such as decoding a set of attribute
values.
6.Add your newly to your newly created view object to the application module by double-clicking on the application module in the navigation pane and selecting
your view object from the list.
7.Create a new row set.
8.Bind row set to a query by editing their queryinfo property and selecting your view object and its attributes from the queryInfo pane.
9.Create a GridControl and bind it to the row set by editing the dataItemName property of the GridControl. Since the GridControl is bound at the row set level
all of the related attributes are automatically added.
nullMichael,
Are you intending this as a commercial solution or a work around?
To take an existing equivalent, one would build a view in the database tailored for each grid in an Oracle Forms application. Or a separate query layered over tables for each form/grid in a Delphi or Access application? Even if it is ninety nine percent the same over half a dozen forms/grids?
And now you've added a whole slew of "slightly different" rowSetInfos to maintain.
So if you wanted to add a column that needs to appear everywhere... you've just increased the workload multi-fold?
That would be a management nightmare, wouldn't it? Not to mention yet more performance cost and a slower system?
Hmmmm..... I'm not sure I like where this is headed... someone needs to do some convincing...
null -
How to get Payment Advice details using REGUH REGUP tables
Hi,
How to fetch payment Advice details in REGUH REGUP tables by passing Header details of Payment document (BEKNR, BUKRS and GJAHR) ?
My observation:
E.g. for Payment document 1500000135 i am getting following records from REGUH table
MANDT LAUFD LAUFI ZBUKR LIFNR VBLNR
300 15.04.2010 00009O 1000 AB6666 1500000135
300 16.04.2010 00002O 1000 AB6666 1500000135
300 17.04.2010 00001O 1000 AB6666 1500000135
While debugging driver program for Check print i have observed that REGUH contain entry as
300 17.04.2010 00001* 1000 AB6666 1500000135
For other document also i have found that its picking up last entry from REGUH (i have relate 00001O with 00001*) and accordingly its displaying records on Check
Correct if my observation is wrong
Whats the meaning of LAUFI 'Additional Identification' ?
While displaying Check is the program always picks last/latest payment run entry from REGUH?
thanks,
Edited by: Amol Deshpande on Apr 19, 2010 9:41 AMHi Suhas,
But if we are making payments through F-58 and FBZ5 transaction then these both tables REGUH REGUP also get updated. in such case how does system determines --> Payment Run id
Payment Run id (REGUH-LAUFI) is crucial for me to fetch Payment details from REGUP table
also tell me when does system generates multiple lines for single payment document in REGUH ?
Please share your views -
Payment advice for down payments
hi ,
anyone know how to generate the payment advice for downpayment made to Vendor..
thanks in advance
regds,
ramanHi,
Go to FBE1 and select account type k and create a payment advice for the down payment.
regards
srikanth
Edited by: boddupalli srikanth on Apr 28, 2009 9:53 AM -
Payment Advice for Payment method T- Transfer
Hi,
When I run F110 (Automatic payment program), I need to provide the payment advice for payment method T (bank transfer)
to the vendor in the format provided by the client.
My question is:
1. Where to assign the payment advice form in customisation for payment method T
2. which program has to be assigned to the payment advice form.
Very Important note: Here we are ALSO using DMEE file to upload- Under payment method country -I have configure the same for use payment medium workbench
Rgds,
VidhyaHi Vidhya,
All this is done in a single screen transaction code FBZP.
Where to assign the payment advice form in customisation for payment method T
This is in Payment methods in Company codeSelect your payment method-Expand form data and assign the paymnet advice form.
which program has to be assigned to the payment advice form.
FPAYM_INT_DMEE(For DMEE)./ in the next form you may have F110_IN_AVIS.
Thanks
Aravind -
How can we get tag of XML file using SAX
Hi ,
I'm parsing one SAX parser , I'have almost done this parsing. i have faced problem for one case, i'e how can we get tag from XML file using SAX parser?
XML file is
<DFProperties>
<AccessType>
<Get/>
</AccessType> <Description>
gdhhd
</Description>
<DFFormat>
<chr/>
</DFFormat>
<Scope>
<Permanent/>
</Scope>
<DFTitle>gsgd</DFTitle>
<DFType>
<MIME>text/plain</MIME>
</DFType>
</DFProperties>
I want out like GET and Permanent... means this one tag which is present inside of another tag.
Handler class like
public void startElement(String namespaceURI, String localName,
String qName, Attributes atts) throws SAXException {
if(_ACCESSTYPE.equals(localName)){
accessTypeElement=ACCESSTYPE;
public void characters(char[] ch, int start, int length)
throws SAXException {
if (_ACCESSTYPE.equals(_accessTypeElement)) {
String strValue = new String(ch, start, length);
System.out.println("Accestype-----------------------------> " + strValue);
//System.out.println(" " + strValue);
public void endElement(String namespaceURI, String localName, String qName)
throws SAXException {
if (_ACCESSTYPE.equals(localName)) {
_accessTypeElement = "";
. please any body help meHi ,
I have one problem,Please help me.
1. How can I'll identify where exactly my Node is ended,means how how can we find corresponding nodename? in partcular place
<Node> .............starttag1
<NodeName>Test</NodeName>
<Node>................starttag2
<nodeName>test1</NodeName>
</Node>..................endtag2
<Node>.....................starttag3
<NodeName><NodeName>
<Node> .........................starttag4
<NodeName>test4</NodeName>
</Node>.......enddtag4
</Node>...........end tag3
</Node>............endtag1
my code is below
private final String _NODENAME = "NodeName";
private final String _NODE = "Node";
private String _nodeElement = "";
private String _NodeNameElement = "";
public void startElement(String namespaceURI, String localName,
String qName, Attributes atts) throws SAXException {
if (_NODENAME.equals(localName)) {
NodeNameElement = NODENAME;
if(_NODE.equals(localName)){
System.out.println("start");
if (_NODENAME.equals(localName)) {
NodeNameElement = NODENAME;
public void characters(char[] ch, int start, int length)
throws SAXException {
if (_NODENAME.equals(_NodeNameElement)) {
String strValue = new String(ch, start, length);
String sttt=strValue;
System.out.println("NODENAME: ************* " + strValue);
if(_NODE.equals(_nodeElement)){
if (_NODENAME.equals(_NodeNameElement)) {
String strValue = new String(ch, start, length);
String sttt=strValue;
System.out.println("nodevalue********** " + strValue);
public void endElement(String namespaceURI, String localName, String qName)
throws SAXException {
if (_NODENAME.equals(localName)) {
_NodeNameElement = "";
if(_NODE.equals(localName)){
System.out.println("NODENAME: %%%%%%%%%");
please help me. How can I figure node ending for particular nodename
Maybe you are looking for
-
How can I upload my photos to a memory stick from my iPad
-
High amount of daily d/c's and line noise regularl...
Afternoon all, heres my problem/gripe: I'm a regular online gamer, and i'm finding that i get anything from 8-15 disconnections from the network daily, which, as you can understand, is a lil bit frustrating. I have tried different modem/routers, and,
-
How to turn off iTunes auto-start when iPhone connected?
The option "Open iTunes when this iPhone is connected" is disabled (grayed out) in iTunes 10. The grayed-out check box is unchecked, yet iTunes starts every time I plug in my iPhone 3G. I would like to be able to plug in my phone without iTunes start
-
Setting up a wireless printer. And I thought it would be easy.
I am trying to set up a new brother MFC-6490cw wirelessly. It recognizes my Airport Extreme as it shows it's name on it's network configuration. (Although under "wireless Link Status" it says "failed to communicate") I seem to have the up-to-date dri
-
How to rebuild index from different schema
Hi All, I want to rebuild an Index of schema A from Schema B. Is there any grant needs to be give to Schema B in order to rebuild index of Schema A? Thanks, Tarak