OnLoadInit within xml for loop
Hi,
I have some code that loads in xml which works fine (see
below)
I have a for loop, and based on the content of the XML, swf's
are loaded in to moving clips.
when each of the swf's have completed loading in I need to
change the clips scale, position etc.
I need to indroduce to the code below some way of detecting
when each swf is loaded. I have been doing research and know I need
to integrate a loadInit function into the code. I have tried
alsorts and looked at alot of code but can't seem to get anything
working.
If any of you can poinbt me in the right direction that would
be great.
stop();
var y:XML = new XML();
y.ignoreWhite = true;
var page_cat_ids:Array = new Array();
var page_cat_names:Array = new Array();
y.onLoad = function() {
var category:Array = this.firstChild.childNodes;
for (i=0; i<category.length; i++) {
page_cat_ids.push(category
.attributes.cat_id);
page_cat_names.push(category.attributes.cat_name);
duplicateMovieClip(_root.characterClipContainer.characterClip,
"characterClip"+i,
_root.characterClipContainer.getNextHighestDepth());
_root.characterClipContainer["characterClip"+i]._x = 100*i;
_root.characterClipContainer["characterClip"+i].characterClipName.text
= page_cat_names
_root.characterClipContainer["characterClip"+i].characterClipImage.loadMovie("../images/f lash/characters/"+page_cat_names+".swf");
y.load("../xml/categories_page_1.xml");
Sorry, I missed something out.
there is however another problem. As the code loops it is
adding the page_cat_names to each other. Because of this the movie
is loading in the first swf but can't find the others becuase they
dont exist.
see the error from my output panel below. the trace is coming
out at the end though.
Similar Messages
-
How do I set a variable within a 'for' loop grid array
I'm afraid I'm stuck again!
The next stage in the animation that I'm working on, is to set up a boolean, 'drilled = false', so that all instances of the attachMovie ('openCircle') have a boolean 'drilled = false' associated with them. Then when someone clicks on one of the instances of the attachMovie ('openCircle'), the boolean becomes 'drilled = true', but only for that instance that has been clicked.
What I've done is to set the variable (boolean)(highlighted in bold below) within both 'for' loops within the grid array, but it just returns an undefined value. Do I need to setup a separate array? (see code below):-
//set up grid for solid array
var spacing:Number = 5.75;
var cols:Number = 20; // number of columns in grid
var rows:Number = 20; // number of rows in grid
var leftMargin:Number = 154;
var topMargin:Number = 169;
var depth:Number = 100; // starting point for depth
var drilled:Boolean;
for (i=1; i<=rows; i++) {
for (j=1; j<=cols; j++) {
drilled[rows,cols]=false;
trace(drilled);
current = attachMovie("openCircle_mc", "openCircle_mc"+i+"_"+j, depth++);
current._x = leftMargin + ((i-1) * (spacing + current._width));
current._y = topMargin + ((j-1) * (spacing + current._height));
current.row=i;
current.col=j;
// current.oil = Math.floor(Math.random()*1.1); // about 1/10 objects have oil=1, 9/10 oil=0
//open circle initially invisible, visible on rollOver
current._alpha = 0;
current.onRelease=function(){
trace(this.row+" "+this.col);
current.drilled = true;
current.onRollOver = function() {
this._alpha = 100;
current.onRollOut = function() {
this._alpha = 0;
I'd be grateful for any help. Thanks.I'm sorry for asking this question again, but I really need to have the 'drilled' variable to be available at all times outside the openCircle_mc, so if I can set up the 'drilled' variable as an array that would be good. Below is the code that isn't working:
/* set all values of 'drilled' to false */
var col:Number = 20; // number of columns in grid
var row:Number = 20; // number of rows in grid
for (g=1; g<=row; g++) {
for (h=1; h<=col; h++){
drilled[g,h] = false;
Very many thanks -
Reading a csv file within a for loop
Hi guys,
Im trying to read a csv file within a for loop and the while loop only seems to be getting executed once rather than the number of times that is specified.
for(int i=0; i<paramValues.length;i++)
String StudentNo = paramValues4;
out.println("StudentNo="+StudentNo);
BufferedReader in = new BufferedReader( new InputStreamReader( conn2.getInputStream()));
String readLine; // stores a line from the file as a string//used to get rid of the first line which has course name
readLine = in.readLine();
int NumberOfElementsInArray=16;
String[] data;
data = new String[NumberOfElementsInArray];
data[0]=> StudentNo
data[1]=> Surname
data[2]=> Firstname
data[3]=> ExamNo
data[4]=> YrOfStdy
data[5]=> ProgOfStdy
data[6]=> Fld1
data[7]=> Fld2
data[8]=> DegType
data[9]=> EnrolStatus
data[10]=> StaffAdvNo
data[11]=> Tutor
data[12]=> Fld3
data[13]=> Fld4
data[14]=> Fld5
data[15]=> Pegged
data[16]
//out.println("<table border=\"1\">");
int datanumber=0;
while( (readLine = in.readLine()) != null )
out.println("ive entered the loop");
StringTokenizer tokens = new StringTokenizer( readLine, ",", true);
boolean prevTokenComma = true;
boolean emptyValue = false;
String aValue = null;
datanumber=0;
while( tokens.hasMoreTokens() )
aValue = null;
String token = tokens.nextToken();
token=token.trim();
//if the token does not equal to a comma
if( !token.equals(",") )
aValue = token;
prevTokenComma = false;
emptyValue = false;
else if( token.equals(",") && prevTokenComma )
prevTokenComma = true;
emptyValue = true;
else //( token.equals(",") && !prevTokenComma )
prevTokenComma = true;
emptyValue = false;
if(emptyValue)
aValue = "";
// Printing values
if( aValue == null)
//do nothing
else if (aValue.equals("") )
aValue=" ";
data[datanumber]=aValue;
//out.println("datanumber="+datanumber);
//out.println("<td> aValue: "+aValue+"</td>");
datanumber++;
else
data[datanumber]=aValue;
//out.println("<td> aValue: "+aValue+"</td>");
//out.println(datanumber);
datanumber++;
out.println("data[0]="+data[0]);
//out.println("data[3]="+data[3]);
//out.println("ExamNo="+ExamNo);
}//end while
in.close();
}//end for loop
When I print the variable student no at the beginning of the for loop it prints the different studentno's so the for loop is fine, but the while loop gets executed once. Does anyone know why????????/
Thanks
TzafPROBLEM SOLVED....
Basically the following declarations have been done within the for loop....
URL url2 = new URL ("http://localhost:8080/FYP/CSVFILES"+Year+"/"+WebCourse2+".csv");
URLConnection conn2 = url2.openConnection();
HttpURLConnection uc = (HttpURLConnection)conn2;
uc.connect();
try
responseCode = uc.getResponseCode();
out.println("Response code1: " + responseCode+"\n");
catch(IOException e)
responseCode = uc.getResponseCode();
//out.println("Response code2: " + responseCode+"\n");
thanks
anyway
tzaf -
Is there any point in having an ORDER BY clause within a FOR LOOPs counter?
DB Version:10.2.0.1.0
I need to loop through empno's using a FOR loop. But is there any point in having an Order by clause within SQL as shown below. This only degrades the performance because of the unnecessary sorting by the ORDER BY clause. Right?
begin
FOR i IN (select empno from emp ORDER BY sal ASC) LOOP
curr_stat_id := i.empno +p_gennum;
.First question you should ask to your self is
"Do i need a FOR LOOP. Cant i do it in a straight SQL"
If the answer is NO (Which is not in several cases) then the next question is.
"What is my requirement"
Having an order by in the Select is totally pertained to your requirement. If your requirement
says you should loop through the employee based on there salary for lowest to highest then yes you
need an order by.
So more than performance point of view its requirement point of you. But if you are more concern about
performance you will first ask to your self
"Do i need a FOR LOOP. Cant i do it in a straight SQL"
Thanks,
Karthick. -
Writting exception within cursor for loop
I have two cursor for loop as
for rec1 in () loop --loop 1
for rec2 in () loop --loop2
<statements>
end loop;
end loop
Now I want to handle exception within my second for loop so that after terminating the loop it will again go to the first loop...
How to do it ? Please help......you may
BEGIN
FOR rec1 IN your_select1
LOOP --loop 1
BEGIN
FOR rec2 IN your_select2
LOOP --loop2
statements;
END LOOP;
EXCEPTION
WHEN OTHERS
THEN
log_error;
END;
END LOOP;
END;or ...depending on your exact needs:
BEGIN
FOR rec1 IN your_select1
LOOP --loop 1
FOR rec2 IN your_select2
LOOP
BEGIN --loop2
statements;
EXCEPTION
WHEN OTHERS
THEN
log_error;
END;
END LOOP;
END LOOP;
END; -
Truncating an array within a for loop
I'm currently working with a program that builds an array of 3000*N real numbers, where N is a control that I specify. I want to pass this array into a for loop that runs N times, each time splitting the first 3000 numbers of the array. So, in other words I want the for loop to execute enough times such that the initial array will be completely divided into groups of 3000 when I'm finished. Later I'll be finding the maximum value of all of these subarrays and taking the average of those. What I tried first is to pass the array into the for loop, then truncate it at index = 3000, but the problem is that I can't hard code the loop to do this N times. Any advice or other methods you'd recommend for doing this?
Thanks.
Message Edited by Robtn on 03-05-2010 03:17 PMMark--I don't think I can use that approach. Let me be more specific on what the problem is:
Our "big program" is a giant while loop that constantly reads in voltage values from a DAQ assistant.
It has two modes, the first of which I'm having a lot of trouble with. This mode uses a for loop (N = 3000) nested within the giant while loop.
When the for loop activates, the DAQ assistant takes reads 300 samples for every iteration and takes the maximum of those 300 values. It then builds an array composed of all the maxima. After the for loop has executed 3000 times, a case structure activates, which then finds the maximum of the array of maxima.
I want this (N=3000) for loop to execute an arbitrary number of times, a number that I will specify. Each of those times it should generate a completely seperate array of maxima. So, if I want the for loop to run 5 times, I want 5 different arrays.
My approach for doing this was to change N=3000 to say N = 15000, then split up the resulting array 5 times. So, I need an entirely separate for loop that reads in this array of 15000 maxima on its own and splits it 5 ways. I think what you're suggesting is to use a for loop outside of the N=3000 loop, which is a good idea in theory, but experience has shown that this will not generate 5 separate arrays. It will actually concatenate each array into one, hence the problem we currently have.
Yik--I won't have access to Labview over the weekend. Is it possible to take a screenshot and post it, or maybe a short description?
Thank you for the responses. -
Hi
In PO RTF Template I am trying to display short text and long text for each PO. But I am unable to display multiple short and long texts for each line number. I can only display the first short and long text for each line number. How to display all. The Seeded PO template does that. here is my code and XML
for short text(short_text is in the same column as line_num is the RTF table)
<?for-each:LINES_ROW?><?sort:LINE_NUM;'ascending';data-type='number'?>
<?LINE_NUM?> <?format-date:NEED_BY_DATE;'DD-MMM-YYYY'?> <?LINE_AMOUNT?>
<?ITEM_DESCRIPTION?>
<?SHORT_TEXT?>
<?end for-each?>
output is
Line num 1
test for short attachment
Line num 2
short text 1
output should be
Line num 1
test for short attachment
4t attachment
Line num 2
short text 1
short text 2
for Long text
<?if: PO_DATA/LINE_ATTACHMENTS/TEXT !=''?>
<?for-each:LINES_ROW?><?sort:LINE_NUM;'ascending';data-type='number'?>
<?if:LINE_NUM!=''?> <?concat('Line Number ',LINE_NUM)?> <?end if?>
<?variable@incontext:PoLnID;'PO_LINE_ID'?>
<?/PO_DATA/LINE_ATTACHMENTS/ID[child::text()=$PoLnID]/preceding-sibling::TEXT[1]?>
<?end for-each?>
<?end if?>
output is
Line num 1
long text attachment which is 2nd ote
Line num 2
long text 1
output should be
Line num 1
long text attachment which is 2nd ote
see this 5th long attachment
Line num 2
long text 1
long text 2
here is the sample XML
<?xml version="1.0" encoding="UTF-8"?>
<PO_DATA>
<TYPE_LOOKUP_CODE>STANDARD</TYPE_LOOKUP_CODE>
<SEGMENT1>24687</SEGMENT1>
<REVISION_NUM>0</REVISION_NUM>
<PRINT_COUNT>3</PRINT_COUNT>
<CREATION_DATE>29-APR-2009 14:28:52</CREATION_DATE>
<NOTE_TO_VENDOR>this is a test po to supplier in terms window</NOTE_TO_VENDOR>
<DOCUMENT_BUYER_FIRST_NAME>Sanjay</DOCUMENT_BUYER_FIRST_NAME>
<DOCUMENT_BUYER_LAST_NAME>Kumar</DOCUMENT_BUYER_LAST_NAME>
<DOCUMENT_BUYER_AGENT_ID>8756</DOCUMENT_BUYER_AGENT_ID>
<CANCEL_FLAG>N</CANCEL_FLAG>
<CONFIRMING_ORDER_FLAG>N</CONFIRMING_ORDER_FLAG>
<ACCEPTANCE_REQUIRED_FLAG>N</ACCEPTANCE_REQUIRED_FLAG>
<CURRENCY_CODE>USD</CURRENCY_CODE>
<CURRENCY_NAME>US dollar</CURRENCY_NAME>
<PAYMENT_TERMS>NET 30</PAYMENT_TERMS>
<CUSTOMER_NUM>1244</CUSTOMER_NUM>
<VENDOR_NUM>RR10</VENDOR_NUM>
<VENDOR_NAME>OFFICE DEPOT</VENDOR_NAME>
<VENDOR_ADDRESS_LINE1>PO BOX 31533</VENDOR_ADDRESS_LINE1>
<VENDOR_CITY>HARTFORD</VENDOR_CITY>
<VENDOR_STATE>CT</VENDOR_STATE>
<VENDOR_POSTAL_CODE>06150-1533</VENDOR_POSTAL_CODE>
<SHIP_TO_LOCATION_ID>88</SHIP_TO_LOCATION_ID>
<SHIP_TO_LOCATION_NAME>US CORPORATE HDQTRS</SHIP_TO_LOCATION_NAME>
<SHIP_TO_ADDRESS_LINE1>123 JFK RD</SHIP_TO_ADDRESS_LINE1>
<SHIP_TO_ADDRESS_INFO>Broadway, WA 02421</SHIP_TO_ADDRESS_INFO>
<SHIP_TO_COUNTRY>United States</SHIP_TO_COUNTRY>
<BILL_TO_LOCATION_ID>88</BILL_TO_LOCATION_ID>
<BILL_TO_LOCATION_NAME>US CORPORATE HDQTRS</BILL_TO_LOCATION_NAME>
<BILL_TO_ADDRESS_LINE1>123 JFK RD</BILL_TO_ADDRESS_LINE1>
<BILL_TO_ADDRESS_INFO>Broadway, WA 02421</BILL_TO_ADDRESS_INFO>
<BILL_TO_COUNTRY>United States</BILL_TO_COUNTRY>
<ATTRIBUTE1>MA</ATTRIBUTE1>
<VENDOR_SITE_ID>9983</VENDOR_SITE_ID>
<PO_HEADER_ID>27162</PO_HEADER_ID>
<APPROVED_FLAG>N</APPROVED_FLAG>
<VENDOR_ID>826</VENDOR_ID>
<ORG_ID>29</ORG_ID>
<COMMENTS>Test PO to test template</COMMENTS>
<FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
<FROZEN_FLAG>N</FROZEN_FLAG>
<CREATED_BY>3349</CREATED_BY>
<TERMS_ID>10001</TERMS_ID>
<RATE_DATE>29-APR-2009 00:00:00</RATE_DATE>
<AUTHORIZATION_STATUS>N</AUTHORIZATION_STATUS>
<NOTE_TO_RECEIVER>this is a test po to receiver in terms window</NOTE_TO_RECEIVER>
<LAST_UPDATE_DATE>29-APR-2009 14:30:52</LAST_UPDATE_DATE>
<LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
<SUMMARY_FLAG>N</SUMMARY_FLAG>
<ENABLED_FLAG>Y</ENABLED_FLAG>
<LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
<SUPPLY_AGREEMENT_FLAG>N</SUPPLY_AGREEMENT_FLAG>
<PENDING_SIGNATURE_FLAG>N</PENDING_SIGNATURE_FLAG>
<OU_NAME>ABC LTD</OU_NAME>
<OU_ADDR1>123 JFK RD</OU_ADDR1>
<OU_TOWN_CITY>Broadway</OU_TOWN_CITY>
<OU_REGION2>WA</OU_REGION2>
<OU_POSTALCODE>44421</OU_POSTALCODE>
<OU_COUNTRY>United States</OU_COUNTRY>
<BUYER_ADDRESS_LINE1>123 JFK RD</BUYER_ADDRESS_LINE1>
<BUYER_CITY_STATE_ZIP>Broadway, WA 44421</BUYER_CITY_STATE_ZIP>
<BUYER_CONTACT_PHONE>322-445-4533</BUYER_CONTACT_PHONE>
<TOTAL_AMOUNT>6,000.00</TOTAL_AMOUNT>
<BUYER_COUNTRY>United States</BUYER_COUNTRY>
<DOCUMENT_CREATION_METHOD>ENTER_PO</DOCUMENT_CREATION_METHOD>
<DOCUMENT_TYPE>Standard Purchase Order</DOCUMENT_TYPE>
<COVER_MESSAGE>This document has important legal consequences. </COVER_MESSAGE>
<AMMENDMENT_MESSAGE>This document has important legal consequences.
</AMMENDMENT_MESSAGE>
<TEST_FLAG>D</TEST_FLAG>
<DIST_SHIPMENT_COUNT>1</DIST_SHIPMENT_COUNT>
<DOCUMENT_NAME>Standard Purchase Order 24687, 0</DOCUMENT_NAME>
<SIGNED>F</SIGNED>
<AMENDMENT_PROFILE>Y</AMENDMENT_PROFILE>
<WITH_TERMS>N</WITH_TERMS>
<IS_ATTACHED_DOC>Y</IS_ATTACHED_DOC>
<MESSAGE>
<MESSAGE_ROW>
<MESSAGE>PO_FO_AGREEMENT_CANCELED</MESSAGE>
<TEXT>This agreement CANCELED on</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_VENDOR_NO</MESSAGE>
<TEXT>Supplier No.</TEXT>
</MESSAGE_ROW>
</MESSAGE>
<HEADER_SHORT_TEXT>
</HEADER_SHORT_TEXT>
<LINES>
<LINES_ROW>
<LINE_NUM>1</LINE_NUM>
<ITEM_DESCRIPTION>test po</ITEM_DESCRIPTION>
<CANCEL_FLAG>N</CANCEL_FLAG>
<NOTE_TO_VENDOR>This is a test PO. do not ship.</NOTE_TO_VENDOR>
<UNIT_MEAS_LOOKUP_CODE>Unit</UNIT_MEAS_LOOKUP_CODE>
<ORDER_TYPE_LOOKUP_CODE>QUANTITY</ORDER_TYPE_LOOKUP_CODE>
<ATTRIBUTE1>N</ATTRIBUTE1>
<UNIT_PRICE>5000</UNIT_PRICE>
<QUANTITY>1</QUANTITY>
<PO_HEADER_ID>27162</PO_HEADER_ID>
<PO_LINE_ID>53995</PO_LINE_ID>
<ORG_ID>29</ORG_ID>
<UNORDERED_FLAG>N</UNORDERED_FLAG>
<CLOSED_FLAG>N</CLOSED_FLAG>
<TAXABLE_FLAG>N</TAXABLE_FLAG>
<CAPITAL_EXPENSE_FLAG>N</CAPITAL_EXPENSE_FLAG>
<NEGOTIATED_BY_PREPARER_FLAG>N</NEGOTIATED_BY_PREPARER_FLAG>
<LAST_UPDATE_DATE>29-APR-2009 14:29:36</LAST_UPDATE_DATE>
<LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
<LINE_TYPE_ID>1000</LINE_TYPE_ID>
<LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
<CREATION_DATE>29-APR-2009 14:28:52</CREATION_DATE>
<CREATED_BY>3349</CREATED_BY>
<CATEGORY_ID>224</CATEGORY_ID>
<ALLOW_PRICE_OVERRIDE_FLAG>N</ALLOW_PRICE_OVERRIDE_FLAG>
<LIST_PRICE_PER_UNIT>5000</LIST_PRICE_PER_UNIT>
<LINE_TYPE>QUANTITY</LINE_TYPE>
<PURCHASE_BASIS>GOODS</PURCHASE_BASIS>
<LINE_AMOUNT>5,000.00</LINE_AMOUNT>
<MANUAL_PRICE_CHANGE_FLAG>N</MANUAL_PRICE_CHANGE_FLAG>
<MATCHING_BASIS>QUANTITY</MATCHING_BASIS>
<PRICE_DIFF>
</PRICE_DIFF>
*<LINE_SHORT_TEXT>*
*<LINE_SHORT_TEXT_ROW>*
*<PO_LINE_ID>53995</PO_LINE_ID>*
*<SHORT_TEXT>test for short attachement</SHORT_TEXT>*
*</LINE_SHORT_TEXT_ROW>*
*<LINE_SHORT_TEXT_ROW>*
*<PO_LINE_ID>53995</PO_LINE_ID>*
*<SHORT_TEXT>4th attachment</SHORT_TEXT>*
*</LINE_SHORT_TEXT_ROW>*
*</LINE_SHORT_TEXT>*
<LINE_LOCATIONS>
<LINE_LOCATIONS_ROW>
<SHIPMENT_NUM>1</SHIPMENT_NUM>
<DUE_DATE>15-MAY-2009 00:00:00</DUE_DATE>
<QUANTITY>1</QUANTITY>
<PRICE_OVERRIDE>5000</PRICE_OVERRIDE>
<QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
<CANCEL_FLAG>N</CANCEL_FLAG>
<TAXABLE_FLAG>N</TAXABLE_FLAG>
<PO_HEADER_ID>27162</PO_HEADER_ID>
<PO_LINE_ID>53995</PO_LINE_ID>
<LINE_LOCATION_ID>53678</LINE_LOCATION_ID>
<SHIPMENT_TYPE>STANDARD</SHIPMENT_TYPE>
<RECEIVING_ROUTING_ID>3</RECEIVING_ROUTING_ID>
<ACCRUE_ON_RECEIPT_FLAG>N</ACCRUE_ON_RECEIPT_FLAG>
<ORG_ID>29</ORG_ID>
<RECEIPT_REQUIRED_FLAG>N</RECEIPT_REQUIRED_FLAG>
<QTY_RCV_TOLERANCE>10</QTY_RCV_TOLERANCE>
<QTY_RCV_EXCEPTION_CODE>WARNING</QTY_RCV_EXCEPTION_CODE>
<ENFORCE_SHIP_TO_LOCATION_CODE>NONE</ENFORCE_SHIP_TO_LOCATION_CODE>
<ALLOW_SUBSTITUTE_RECEIPTS_FLAG>N</ALLOW_SUBSTITUTE_RECEIPTS_FLAG>
<DAYS_EARLY_RECEIPT_ALLOWED>5</DAYS_EARLY_RECEIPT_ALLOWED>
<DAYS_LATE_RECEIPT_ALLOWED>5</DAYS_LATE_RECEIPT_ALLOWED>
<RECEIPT_DAYS_EXCEPTION_CODE>WARNING</RECEIPT_DAYS_EXCEPTION_CODE>
<INVOICE_CLOSE_TOLERANCE>2</INVOICE_CLOSE_TOLERANCE>
<RECEIVE_CLOSE_TOLERANCE>100</RECEIVE_CLOSE_TOLERANCE>
<SHIP_TO_ORGANIZATION_ID>208</SHIP_TO_ORGANIZATION_ID>
<CLOSED_CODE>OPEN</CLOSED_CODE>
<LAST_ACCEPT_DATE>09-MAY-2009 00:00:00</LAST_ACCEPT_DATE>
<ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
<FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
<LAST_UPDATE_DATE>29-APR-2009 14:31:31</LAST_UPDATE_DATE>
<LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
<LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
<CREATION_DATE>29-APR-2009 14:28:53</CREATION_DATE>
<CREATED_BY>3349</CREATED_BY>
<QUANTITY_RECEIVED>0</QUANTITY_RECEIVED>
<QUANTITY_ACCEPTED>0</QUANTITY_ACCEPTED>
<QUANTITY_REJECTED>0</QUANTITY_REJECTED>
<QUANTITY_BILLED>0</QUANTITY_BILLED>
<UNIT_MEAS_LOOKUP_CODE>Unit</UNIT_MEAS_LOOKUP_CODE>
<TAX_USER_OVERRIDE_FLAG>N</TAX_USER_OVERRIDE_FLAG>
<MATCH_OPTION>P</MATCH_OPTION>
<CALCULATE_TAX_FLAG>Y</CALCULATE_TAX_FLAG>
<NOTE_TO_RECEIVER>this is a note in shipments receiver</NOTE_TO_RECEIVER>
<AMOUNT>5,000.00</AMOUNT>
<SHIP_TO_LOCATION_ID>88</SHIP_TO_LOCATION_ID>
<SHIP_TO_LOCATION_NAME>US CORPORATE HDQTRS</SHIP_TO_LOCATION_NAME>
<SHIP_TO_ADDRESS_LINE1>123 JFK RD</SHIP_TO_ADDRESS_LINE1>
<SHIP_TO_ADDRESS_INFO>Broadway, WA 02421</SHIP_TO_ADDRESS_INFO>
<SHIP_TO_COUNTRY>United States</SHIP_TO_COUNTRY>
<NEED_BY_DATE>15-MAY-2009 00:00:00</NEED_BY_DATE>
<PROMISED_DATE>04-MAY-2009 00:00:00</PROMISED_DATE>
<LINE_LOC_SHORT_TEXT>
</LINE_LOC_SHORT_TEXT>
<DISTRIBUTIONS>
<DISTRIBUTIONS_ROW>
<DISTRIBUTION_TYPE>STANDARD</DISTRIBUTION_TYPE>
<ACCRUE_ON_RECEIPT_FLAG>N</ACCRUE_ON_RECEIPT_FLAG>
<ORG_ID>29</ORG_ID>
<DESTINATION_TYPE_CODE>EXPENSE</DESTINATION_TYPE_CODE>
<DESTINATION_ORGANIZATION_ID>208</DESTINATION_ORGANIZATION_ID>
<ACCRUAL_ACCOUNT_ID>1037</ACCRUAL_ACCOUNT_ID>
<VARIANCE_ACCOUNT_ID>22148</VARIANCE_ACCOUNT_ID>
<PREVENT_ENCUMBRANCE_FLAG>N</PREVENT_ENCUMBRANCE_FLAG>
<PO_DISTRIBUTION_ID>55228</PO_DISTRIBUTION_ID>
<LAST_UPDATE_DATE>29-APR-2009 14:32:23</LAST_UPDATE_DATE>
<LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
<PO_HEADER_ID>27162</PO_HEADER_ID>
<PO_LINE_ID>53995</PO_LINE_ID>
<LINE_LOCATION_ID>53678</LINE_LOCATION_ID>
<SET_OF_BOOKS_ID>25</SET_OF_BOOKS_ID>
<CODE_COMBINATION_ID>22148</CODE_COMBINATION_ID>
<QUANTITY_ORDERED>1</QUANTITY_ORDERED>
<LAST_UPDATE_LOGIN>1250381</LAST_UPDATE_LOGIN>
<CREATION_DATE>29-APR-2009 14:28:54</CREATION_DATE>
<CREATED_BY>3349</CREATED_BY>
<QUANTITY_DELIVERED>0</QUANTITY_DELIVERED>
<QUANTITY_BILLED>0</QUANTITY_BILLED>
<QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
<DELIVER_TO_LOCATION_ID>89</DELIVER_TO_LOCATION_ID>
<DELIVER_TO_PERSON_ID>5324</DELIVER_TO_PERSON_ID>
<RATE_DATE>29-APR-2009 00:00:00</RATE_DATE>
<ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
<RECOVERY_RATE>0.00</RECOVERY_RATE>
<TAX_RECOVERY_OVERRIDE_FLAG>N</TAX_RECOVERY_OVERRIDE_FLAG>
<DESTINATION_CONTEXT>EXPENSE</DESTINATION_CONTEXT>
<DISTRIBUTION_NUM>1</DISTRIBUTION_NUM>
<CHARGE_ACCOUNT>05-3002-7050-000-000</CHARGE_ACCOUNT>
<FULL_NAME>Devine, Alison</FULL_NAME>
<EMAIL_ADDRESS>[email protected]</EMAIL_ADDRESS>
<REQUESTER_DELIVER_FIRST_NAME>Karen</REQUESTER_DELIVER_FIRST_NAME>
<REQUESTER_DELIVER_LAST_NAME>MA</REQUESTER_DELIVER_LAST_NAME>
</DISTRIBUTIONS_ROW>
</DISTRIBUTIONS>
</LINE_LOCATIONS_ROW>
</LINE_LOCATIONS>
</LINES_ROW>
<LINES_ROW>
<LINE_NUM>2</LINE_NUM>
<ITEM_DESCRIPTION>TEST PO</ITEM_DESCRIPTION>
<CANCEL_FLAG>N</CANCEL_FLAG>
<UNIT_MEAS_LOOKUP_CODE>Unit</UNIT_MEAS_LOOKUP_CODE>
<ORDER_TYPE_LOOKUP_CODE>QUANTITY</ORDER_TYPE_LOOKUP_CODE>
<ATTRIBUTE1>N</ATTRIBUTE1>
<UNIT_PRICE>1000</UNIT_PRICE>
<QUANTITY>1</QUANTITY>
<PO_HEADER_ID>27162</PO_HEADER_ID>
<PO_LINE_ID>54015</PO_LINE_ID>
<ORG_ID>29</ORG_ID>
<UNORDERED_FLAG>N</UNORDERED_FLAG>
<CLOSED_FLAG>N</CLOSED_FLAG>
<TAXABLE_FLAG>N</TAXABLE_FLAG>
<CAPITAL_EXPENSE_FLAG>N</CAPITAL_EXPENSE_FLAG>
<NEGOTIATED_BY_PREPARER_FLAG>N</NEGOTIATED_BY_PREPARER_FLAG>
<LAST_UPDATE_DATE>30-APR-2009 13:52:26</LAST_UPDATE_DATE>
<LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
<LINE_TYPE_ID>1000</LINE_TYPE_ID>
<LAST_UPDATE_LOGIN>1251236</LAST_UPDATE_LOGIN>
<CREATION_DATE>30-APR-2009 13:52:26</CREATION_DATE>
<CREATED_BY>3349</CREATED_BY>
<CATEGORY_ID>224</CATEGORY_ID>
<ALLOW_PRICE_OVERRIDE_FLAG>N</ALLOW_PRICE_OVERRIDE_FLAG>
<LIST_PRICE_PER_UNIT>1000</LIST_PRICE_PER_UNIT>
<LINE_TYPE>QUANTITY</LINE_TYPE>
<PURCHASE_BASIS>GOODS</PURCHASE_BASIS>
<LINE_AMOUNT>1,000.00</LINE_AMOUNT>
<MANUAL_PRICE_CHANGE_FLAG>N</MANUAL_PRICE_CHANGE_FLAG>
<MATCHING_BASIS>QUANTITY</MATCHING_BASIS>
<PRICE_DIFF>
</PRICE_DIFF>
*<LINE_SHORT_TEXT>*
*<LINE_SHORT_TEXT_ROW>*
*<PO_LINE_ID>54015</PO_LINE_ID>*
*<SHORT_TEXT>short text 1</SHORT_TEXT>*
*</LINE_SHORT_TEXT_ROW>*
*<LINE_SHORT_TEXT_ROW>*
*<PO_LINE_ID>54015</PO_LINE_ID>*
*<SHORT_TEXT>short text 2</SHORT_TEXT>*
*</LINE_SHORT_TEXT_ROW>*
*</LINE_SHORT_TEXT>*
<LINE_LOCATIONS>
<LINE_LOCATIONS_ROW>
<SHIPMENT_NUM>1</SHIPMENT_NUM>
<DUE_DATE>07-MAY-2009 00:00:00</DUE_DATE>
<QUANTITY>1</QUANTITY>
<PRICE_OVERRIDE>1000</PRICE_OVERRIDE>
<QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
<CANCEL_FLAG>N</CANCEL_FLAG>
<TAXABLE_FLAG>N</TAXABLE_FLAG>
<PO_HEADER_ID>27162</PO_HEADER_ID>
<PO_LINE_ID>54015</PO_LINE_ID>
<LINE_LOCATION_ID>53698</LINE_LOCATION_ID>
<SHIPMENT_TYPE>STANDARD</SHIPMENT_TYPE>
<RECEIVING_ROUTING_ID>3</RECEIVING_ROUTING_ID>
<ACCRUE_ON_RECEIPT_FLAG>N</ACCRUE_ON_RECEIPT_FLAG>
<ORG_ID>29</ORG_ID>
<RECEIPT_REQUIRED_FLAG>N</RECEIPT_REQUIRED_FLAG>
<QTY_RCV_TOLERANCE>10</QTY_RCV_TOLERANCE>
<QTY_RCV_EXCEPTION_CODE>WARNING</QTY_RCV_EXCEPTION_CODE>
<ENFORCE_SHIP_TO_LOCATION_CODE>NONE</ENFORCE_SHIP_TO_LOCATION_CODE>
<ALLOW_SUBSTITUTE_RECEIPTS_FLAG>N</ALLOW_SUBSTITUTE_RECEIPTS_FLAG>
<DAYS_EARLY_RECEIPT_ALLOWED>5</DAYS_EARLY_RECEIPT_ALLOWED>
<DAYS_LATE_RECEIPT_ALLOWED>5</DAYS_LATE_RECEIPT_ALLOWED>
<RECEIPT_DAYS_EXCEPTION_CODE>WARNING</RECEIPT_DAYS_EXCEPTION_CODE>
<INVOICE_CLOSE_TOLERANCE>2</INVOICE_CLOSE_TOLERANCE>
<RECEIVE_CLOSE_TOLERANCE>100</RECEIVE_CLOSE_TOLERANCE>
<SHIP_TO_ORGANIZATION_ID>208</SHIP_TO_ORGANIZATION_ID>
<CLOSED_CODE>OPEN</CLOSED_CODE>
<LAST_ACCEPT_DATE>11-MAY-2009 00:00:00</LAST_ACCEPT_DATE>
<ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
<FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
<LAST_UPDATE_DATE>30-APR-2009 13:53:11</LAST_UPDATE_DATE>
<LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
<LAST_UPDATE_LOGIN>1251236</LAST_UPDATE_LOGIN>
<CREATION_DATE>30-APR-2009 13:52:27</CREATION_DATE>
<CREATED_BY>3349</CREATED_BY>
<QUANTITY_RECEIVED>0</QUANTITY_RECEIVED>
<QUANTITY_ACCEPTED>0</QUANTITY_ACCEPTED>
<QUANTITY_REJECTED>0</QUANTITY_REJECTED>
<QUANTITY_BILLED>0</QUANTITY_BILLED>
<UNIT_MEAS_LOOKUP_CODE>Unit</UNIT_MEAS_LOOKUP_CODE>
<TAX_USER_OVERRIDE_FLAG>N</TAX_USER_OVERRIDE_FLAG>
<MATCH_OPTION>P</MATCH_OPTION>
<CALCULATE_TAX_FLAG>Y</CALCULATE_TAX_FLAG>
<NOTE_TO_RECEIVER>NOT FOR RECEIVER IN shipme</NOTE_TO_RECEIVER>
<AMOUNT>1,000.00</AMOUNT>
<SHIP_TO_LOCATION_ID>88</SHIP_TO_LOCATION_ID>
<SHIP_TO_LOCATION_NAME>US HDQTRS</SHIP_TO_LOCATION_NAME>
<SHIP_TO_ADDRESS_LINE1>123 JFK RD</SHIP_TO_ADDRESS_LINE1>
<SHIP_TO_ADDRESS_INFO>Broadway, WA 53411</SHIP_TO_ADDRESS_INFO>
<SHIP_TO_COUNTRY>United States</SHIP_TO_COUNTRY>
<NEED_BY_DATE>07-MAY-2009 00:00:00</NEED_BY_DATE>
<PROMISED_DATE>06-MAY-2009 00:00:00</PROMISED_DATE>
<LINE_LOC_SHORT_TEXT>
</LINE_LOC_SHORT_TEXT>
<DISTRIBUTIONS>
<DISTRIBUTIONS_ROW>
<DISTRIBUTION_TYPE>STANDARD</DISTRIBUTION_TYPE>
<ACCRUE_ON_RECEIPT_FLAG>N</ACCRUE_ON_RECEIPT_FLAG>
<ORG_ID>29</ORG_ID>
<DESTINATION_TYPE_CODE>EXPENSE</DESTINATION_TYPE_CODE>
<DESTINATION_ORGANIZATION_ID>208</DESTINATION_ORGANIZATION_ID>
<ACCRUAL_ACCOUNT_ID>1037</ACCRUAL_ACCOUNT_ID>
<VARIANCE_ACCOUNT_ID>3908</VARIANCE_ACCOUNT_ID>
<PREVENT_ENCUMBRANCE_FLAG>N</PREVENT_ENCUMBRANCE_FLAG>
<PO_DISTRIBUTION_ID>55248</PO_DISTRIBUTION_ID>
<LAST_UPDATE_DATE>30-APR-2009 13:53:11</LAST_UPDATE_DATE>
<LAST_UPDATED_BY>3349</LAST_UPDATED_BY>
<PO_HEADER_ID>27162</PO_HEADER_ID>
<PO_LINE_ID>54015</PO_LINE_ID>
<LINE_LOCATION_ID>53698</LINE_LOCATION_ID>
<SET_OF_BOOKS_ID>25</SET_OF_BOOKS_ID>
<CODE_COMBINATION_ID>3908</CODE_COMBINATION_ID>
<QUANTITY_ORDERED>1</QUANTITY_ORDERED>
<LAST_UPDATE_LOGIN>1251236</LAST_UPDATE_LOGIN>
<CREATION_DATE>30-APR-2009 13:53:11</CREATION_DATE>
<CREATED_BY>3349</CREATED_BY>
<QUANTITY_DELIVERED>0</QUANTITY_DELIVERED>
<QUANTITY_BILLED>0</QUANTITY_BILLED>
<QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
<DELIVER_TO_LOCATION_ID>89</DELIVER_TO_LOCATION_ID>
<DELIVER_TO_PERSON_ID>1308</DELIVER_TO_PERSON_ID>
<RATE_DATE>29-APR-2009 00:00:00</RATE_DATE>
<ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
<RECOVERY_RATE>0.00</RECOVERY_RATE>
<TAX_RECOVERY_OVERRIDE_FLAG>N</TAX_RECOVERY_OVERRIDE_FLAG>
<DESTINATION_CONTEXT>EXPENSE</DESTINATION_CONTEXT>
<DISTRIBUTION_NUM>1</DISTRIBUTION_NUM>
<CHARGE_ACCOUNT>01-3001-7050-000-000</CHARGE_ACCOUNT>
<FULL_NAME>Green, Jan</FULL_NAME>
<EMAIL_ADDRESS>[email protected]</EMAIL_ADDRESS>
<REQUESTER_DELIVER_FIRST_NAME>Jan</REQUESTER_DELIVER_FIRST_NAME>
<REQUESTER_DELIVER_LAST_NAME>Green</REQUESTER_DELIVER_LAST_NAME>
</DISTRIBUTIONS_ROW>
</DISTRIBUTIONS>
</LINE_LOCATIONS_ROW>
</LINE_LOCATIONS>
</LINES_ROW>
</LINES>
*<LINE_ATTACHMENTS>*
*<TEXT>long text attachment which is 2nd note.</TEXT>*
*<ID>53995</ID>*
*<TEXT>see this 5th long atta</TEXT>*
*<ID>53995</ID>*
*<TEXT>long text 1</TEXT>*
*<ID>54015</ID>*
*<TEXT>long text 2</TEXT>*
*<ID>54015</ID>*
*</LINE_ATTACHMENTS>*
<ADDRESS_DETAILS>
<ADDRESS_DETAILS_ROW>
<LOCATION_ID>88</LOCATION_ID>
<ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
<ADDR_LABEL_1>Address Line1</ADDR_LABEL_1>
<ADDR_LABEL_2>Address Line2</ADDR_LABEL_2>
<ADDR_LABEL_3>Address Line3</ADDR_LABEL_3>
<ADDR_LABEL_4>City</ADDR_LABEL_4>
<ADDR_LABEL_5>County</ADDR_LABEL_5>
<ADDR_LABEL_6>State</ADDR_LABEL_6>
<ADDR_LABEL_7>Zip Code</ADDR_LABEL_7>
<ADDR_LABEL_8>Country</ADDR_LABEL_8>
<ADDR_LABEL_9>Telephone</ADDR_LABEL_9>
<ADDR_LABEL_10>Fax</ADDR_LABEL_10>
<ADDR_LABEL_11>Sales Tax Override</ADDR_LABEL_11>
<ADDR_LABEL_12>Inside City Limits</ADDR_LABEL_12>
<ADDR_DATA_1>123 JFK RD</ADDR_DATA_1>
<ADDR_DATA_4>Broadway</ADDR_DATA_4>
<ADDR_DATA_6>WA</ADDR_DATA_6>
<ADDR_DATA_7>33444</ADDR_DATA_7>
<ADDR_DATA_8>US</ADDR_DATA_8>
<ADDR_DATA_9>322-588-4534</ADDR_DATA_9>
</ADDRESS_DETAILS_ROW>
</ADDRESS_DETAILS>
</PO_DATA>Hi,
I have used PO_COMMUNICATION_PVT.POXMLGEN procedure and got the CLOB as output. When i am reading and printing in FND_FILE.OUTPUT. Tags are getting shifted to next line. How to print the this XML output as concurrent programs ouput in Oracle apps 11.5.10. It would be really great if anybody can share his experience.
See the sample file:
<?xml version="1.0" encoding="UTF-16"?>
<PO_DATA>
<TYPE_LOOKUP_CODE>STANDARD</TYPE_LOOKUP_CODE>
<SEGMENT1>87710004999</SEGMENT1>
<REVISION_NUM>0</REVISION_NUM>
<PRINT_COUNT>1</PRINT_COUNT>
<CREATION_DATE>28-OCT-2008 21:53:15</CREATION_DATE>
<PRINTED
DATE>28-OCT-08</PRINTEDDATE>
<DOCUMENT_BUYER_FIRST_NAME>Annapoorani</DOCUMENT_BUYER_FIRST_NAME>
<DOCUMENT_BUYER_LAST_NAME>Krishnan</DOCUMENT_BUYER_LAST_NAME>
<DOCUMENT_BUYER_AGENT_ID>251578</DOCUMENT_BUYER_AGENT_ID>
<CONFIRMING_ORDER_FLAG>N</CONFIRM
ING_ORDER_FLAG>
<ACCEPTANCE_REQUIRED_FLAG>N</ACCEPTANCE_REQUIRED_FLAG>
<CURRENCY_CODE>USD</CURRENCY_CODE>
<CURRENCY_NAME>US Dollar</CURRENCY_NAME>
<PAYMENT_TERMS>42 Net</PAYMENT_TERMS>
<VENDOR_NUM>AMER-30954</VENDOR_NUM>
<VENDOR_NAME>CISCO SYSTEMS -
RESALE</VENDOR_NAME>
<VENDOR_ADDRESS_LINE1>PO BOX 91232</VENDOR_ADDRESS_LINE1>
<VENDOR_CITY>CHICAGO</VENDOR_CITY>
<VENDOR_STATE>IL</VENDOR_STATE>
<VENDOR_POSTAL_CODE>60693-1232</VENDOR_POSTAL_CODE>
<VENDOR_COUNTRY>United States</VENDOR_COUNTRY>
<VE
NDOR_PHONE>661-7606</VENDOR_PHONE>
<SHIP_TO_LOCATION_ID>67670</SHIP_TO_LOCATION_ID>
<SHIP_TO_LOCATION_NAME>GFP_877_LOC</SHIP_TO_LOCATION_NAME>
<SHIP_TO_ADDRESS_LINE1>BT Americas Inc.|11440 Commerce Park Drive|Reston, VA 20191</SHIP_TO_ADDRESS_LINE1>
<
SHIP_TO_ADDRESS_INFO> </SHIP_TO_ADDRESS_INFO>
<BILL_TO_LOCATION_ID>67644</BILL_TO_LOCATION_ID>
<BILL_TO_LOCATION_NAME>GFP_877_BILL_TO_LOC</BILL_TO_LOCATION_NAME>
<BILL_TO_ADDRESS_LINE1>Invoice To:</BILL_TO_ADDRESS_LINE1>
<BILL_TO_ADDRESS_LINE2>BT AME
RICAS ACCOUNTS PAYABLE</BILL_TO_ADDRESS_LINE2>
<BILL_TO_ADDRESS_LINE3>PO Box 696025</BILL_TO_ADDRESS_LINE3>
<BILL_TO_ADDRESS_INFO>SAN ANTONIO, TX 78269</BILL_TO_ADDRESS_INFO>
<BILL_TO_COUNTRY>United States</BILL_TO_COUNTRY>
<VENDOR_SITE_ID>27591</VEN
DOR_SITE_ID>
<PO_HEADER_ID>103843</PO_HEADER_ID>
<APPROVED_FLAG>Y</APPROVED_FLAG>
<VENDOR_ID>97015</VENDOR_ID>
<CLOSED_CODE>CLOSED</CLOSED_CODE>
<ORG_ID>52605</ORG_ID>
<CLOSED_DATE>18-NOV-2008 22:25:27</CLOSED_DATE>
<FIRM_STATUS_LOOKUP_CODE>N</FIRM
STATUSLOOKUP_CODE>
<FROZEN_FLAG>N</FROZEN_FLAG>
<CREATED_BY>64914</CREATED_BY>
<TERMS_ID>10084</TERMS_ID>
<RATE_DATE>28-OCT-2008 00:00:00</RATE_DATE>
<AUTHORIZATION_STATUS>APPROVED</AUTHORIZATION_STATUS>
<APPROVED_DATE>28-OCT-2008 21:53:35</APPROV
ED_DATE>
<LAST_UPDATE_DATE>18-NOV-2008 22:25:27</LAST_UPDATE_DATE>
<LAST_UPDATED_BY>73951</LAST_UPDATED_BY>
<SUMMARY_FLAG>N</SUMMARY_FLAG>
<ENABLED_FLAG>Y</ENABLED_FLAG>
<LAST_UPDATE_LOGIN>-1</LAST_UPDATE_LOGIN>
<WF_ITEM_TYPE>POAPPRV</WF_ITEM_TYPE>
<WF_ITEM_KEY>103843-491416</WF_ITEM_KEY>
<XML_FLAG>N</XML_FLAG>
<CONTERMS_EXIST_FLAG>Y</CONTERMS_EXIST_FLAG>
<CONTERMS_ARTICLES_UPD_DATE>28-OCT-2008 21:53:16</CONTERMS_ARTICLES_UPD_DATE>
<PENDING_SIGNATURE_FLAG>N</PENDING_SIGNATURE_FLAG>
<OU_NAME>US
_877_OU</OU_NAME>
<OU_ADDR1>BT Americas Inc.|11440 Commerce Park Drive|Reston, VA 20191</OU_ADDR1>
<BUYER_ADDRESS_LINE1>Invoice To:</BUYER_ADDRESS_LINE1>
<BUYER_ADDRESS_LINE2>BT AMERICAS ACCOUNTS PAYABLE</BUYER_ADDRESS_LINE2>
<BUYER_ADDRESS_LINE3>PO B
ox 696025</BUYER_ADDRESS_LINE3>
<BUYER_CITY_STATE_ZIP>SAN ANTONIO, TX 78269</BUYER_CITY_STATE_ZIP>
<BUYER_CONTACT_PHONE>+914442674662</BUYER_CONTACT_PHONE>
<BUYER_CONTACT_EMAIL>[email protected]</BUYER_CONTACT_EMAIL>
<VENDOR_FAX>216-5724</V
ENDOR_FAX>
<TOTAL_AMOUNT>1,326.00</TOTAL_AMOUNT>
<BUYER_COUNTRY>United States</BUYER_COUNTRY>
<VENDOR_AREA_CODE>309</VENDOR_AREA_CODE>
<DOCUMENT_CREATION_METHOD>AUTOCREATE</DOCUMENT_CREATION_METHOD>
<DOCUMENT_TYPE>Standard Purchase Order</DOCUMENT_TY
PE>
<COVER_MESSAGE>This document has important legal consequences. The information contained in this document is proprietary of US_877_LE. It shall not be used, reproduced, or disclosed to others without the express and written consent of US_877_LE.
Thi
s agreement between US_877_LE and CISCO SYSTEMS - RESALE is authorized for binding commitment. The parties hereto have read and executed this agreement as of the
_______________ day of ______________, ___________.</COVER_MESSAGE>
<AMMENDMENT_MESSAGE>Thi
s Amendment supersedes the Agreement 87710004999 and all its prior modifications. This agreement can only be changed by a signed agreement between the affected parties.
The parties hereto have read and executed this contract modification as of the
___________ day of ______________, _________.
</AMMENDMENT_MESSAGE>
<TEST_FLAG>N</TEST_FLAG>
<DIST_SHIPMENT_COUNT>1</DIST_SHIPMENT_COUNT>
<DOCUMENT_NAME>Standard Purchase Order 87710004999, 0</DOCUMENT_NAME>
<SIGNED>F</SIGNED>
<AMENDMENT_PROFILE>Y</A
MENDMENT_PROFILE>
<WITH_TERMS>Y</WITH_TERMS>
<IS_ATTACHED_DOC>N</IS_ATTACHED_DOC>
<MESSAGE>
<MESSAGE_ROW>
<MESSAGE>PO_FO_AGREEMENT_CANCELED</MESSAGE>
<TEXT>This agreement CANCELED on</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_AMO
UNT_AGREED</MESSAGE>
<TEXT>Amount Agreed</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_AMOUNT_CANCELED</MESSAGE>
<TEXT>Amount CANCELED:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_BILL_TO</MESSAGE>
<TEXT>Bill To:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_CHARGE_ACCOUNT</MESSAGE>
<TEXT>Charge Account:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_COMPANY</MESSAGE>
<TEXT>Company</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_CON
FIRM_NOT_DUPLICATE</MESSAGE>
<TEXT>CONFIRMATION - DO NOT DUPLICATE</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_CONTACT_NAME</MESSAGE>
<TEXT>Contact</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_CONTRACTOR</MESSAGE>
<TEXT
Contractor Details:</TEXT></MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_CONTRACTOR_NAME</MESSAGE>
<TEXT>Contractor Name:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_CUSTOMER_ACCOUNT_NO</MESSAGE>
<TEXT>Customer Account No.</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_CUST_ITEM_DESC</MESSAGE>
<TEXT>Customer Item Description:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_CUST_PO_NUMBER</MESSAGE>
<TEXT>Customer PO Number:</TEXT>
</MESSAGE_ROW>
<MES
SAGE_ROW>
<MESSAGE>PO_FO_DATE</MESSAGE>
<TEXT>Date:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_DELIVER_DATE_TIME</MESSAGE>
<TEXT>Delivery Date/Time</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_DELIVER_TO_LOCATION</MESS
AGE>
<TEXT>Deliver To:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_DRAFT</MESSAGE>
<TEXT>DRAFT</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_EFFECTIVE_END_DATE</MESSAGE>
<TEXT>Effective End Date</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_EFFECTIVE_START_DATE</MESSAGE>
<TEXT>Effective Start Date</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_EMAIL</MESSAGE>
<TEXT>Email</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_END_DATE</MESS
AGE>
<TEXT>End Date:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_FAX</MESSAGE>
<TEXT>Fax</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_FORMAL_ACCEPT</MESSAGE>
<TEXT>Please formally accept this order by</TEXT>
</MESSAGE
_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_HAZARD_CLASS</MESSAGE>
<TEXT>Hazard Class:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_LINE_CANCELED</MESSAGE>
<TEXT>This line CANCELED on</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_F
O_LINE_NUMBER</MESSAGE>
<TEXT>Line number:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_LINE_REF_BPA</MESSAGE>
<TEXT>This line references Blanket Agreement</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_LINE_REF_CONTRACT</MES
SAGE>
<TEXT>This line references Contract Agreement</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_LINE_SUPPLIER_QUOTATION</MESSAGE>
<TEXT>This line references Supplier Quotation</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_N
AME</MESSAGE>
<TEXT>Name:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_NO</MESSAGE>
<TEXT>No:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_NOTES</MESSAGE>
<TEXT>Notes:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>
PO_FO_ORG_AGR_ASS</MESSAGE>
<TEXT>Organization Agreement Assignments</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_ORIGINAL_AMOUNT_ORDERED</MESSAGE>
<TEXT>Original amount ordered:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO
ORIGINALQTY_ORDERED</MESSAGE>
<TEXT>Original quantity ordered:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_ORIGINAL_SHIPMENT_QTY</MESSAGE>
<TEXT>Original shipment quantity:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_PA
CKING_INSTRUCTION</MESSAGE>
<TEXT>Packing Instructions:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_PAGE</MESSAGE>
<TEXT>Page &PAGE_NUM of &END_PAGE</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_PO_CANCELED</MESSAGE
>
<TEXT>This purchase order CANCELED on</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_PRICES_EXPRESSED</MESSAGE>
<TEXT>All prices and amounts on this order are expressed in</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_PRICE_
BREAK</MESSAGE>
<TEXT>Price Break:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_PRICE_DIFFERENTIALS</MESSAGE>
<TEXT>Price Differentials:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_PROPRIETARY_INFORMATION</MESSAGE>
<TEX
T>Proprietary and Confidential</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_PURCHASING_ORGANIZATION</MESSAGE>
<TEXT>Purchasing Organization</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_PURCHASING_SUPPLIER_SITE</MESSAGE>
<TE
XT>Purchasing Supplier Site</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_QUANTITY_CANCELED</MESSAGE>
<TEXT>Quantity CANCELED:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_RELEASE_CANCELED</MESSAGE>
<TEXT>This release CANCEL
ED on</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_REVISED_BY</MESSAGE>
<TEXT>Revised By</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_REVISION</MESSAGE>
<TEXT>Revision</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_
FO_REVISION_DATE</MESSAGE>
<TEXT>Revision Date</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_SHIFT_PATTERN</MESSAGE>
<TEXT>Shift Pattern:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_SHIPMENT_CANCELED</MESSAGE>
<TEXT>This
shipment CANCELED on</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_SHIPPING_INSTRUCTION</MESSAGE>
<TEXT>Shipping Instructions:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_SHIP_METHOD</MESSAGE>
<TEXT>Ship Method:</TEXT>
<
/MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_SHIP_NUMBER</MESSAGE>
<TEXT>Shipment number:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_SHIP_TO</MESSAGE>
<TEXT>Ship To:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_START_D
ATE</MESSAGE>
<TEXT>Start Date:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_SUBMIT_RESPONSE</MESSAGE>
<TEXT>Please submit your response to:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_SUPPLIER_CONFIGURATION</MESSAGE>
<
TEXT>Supplier Configuration ID:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_SUPPLIER_ITEM</MESSAGE>
<TEXT>Supplier Item:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_TELEPHONE</MESSAGE>
<TEXT>Telephone</TEXT>
</MESSAGE_R
OW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_TEST</MESSAGE>
<TEXT>Test Purchase Order</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_TITLE</MESSAGE>
<TEXT>Title:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_TOTAL</MESSAGE>
<TEXT>
Total:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_TRANSPORTATION_ARRANGED</MESSAGE>
<TEXT>Transportation</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_TYPE</MESSAGE>
<TEXT>Type</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<M
ESSAGE>PO_FO_UN_NUMBER</MESSAGE>
<TEXT>UN Number:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_USE_SHIP_ADDRESS_TOP</MESSAGE>
<TEXT>Use the ship-to address at the top of page</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_VEN
DOR</MESSAGE>
<TEXT>Supplier:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_FO_WORK_SCHEDULE</MESSAGE>
<TEXT>Work Schedule:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_ADDRESS</MESSAGE>
<TEXT>Address</TEXT>
</MESSAG
E_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_AMOUNT</MESSAGE>
<TEXT>Amount</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_BUYER</MESSAGE>
<TEXT>Buyer</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_CONFIRM_TO_TELE<
/MESSAGE>
<TEXT>Confirm To/Telephone</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_DESCRIPTION</MESSAGE>
<TEXT>Description</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_EFFECTIVE_DATE</MESSAGE>
<TEXT>Effective
Date</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_EXPIRES_ON</MESSAGE>
<TEXT>Expires On</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_FOB</MESSAGE>
<TEXT>FOB</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO
WFNOTIF_FREIGHT_TERMS</MESSAGE>
<TEXT>Freight Terms</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_HEADER_NOTE</MESSAGE>
<TEXT>Note To Supplier</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_LINE_NUMBER</MESSAGE>
<TEXT>Line</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_MULTIPLE</MESSAGE>
<TEXT>Multiple</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_NEEDBY_DATE</MESSAGE>
<TEXT>Needed:</TEXT>
</MESSAGE_ROW>
<MESSAGE_RO
W>
<MESSAGE>PO_WF_NOTIF_NOTE</MESSAGE>
<TEXT>Justification</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_ORDER</MESSAGE>
<TEXT>Order</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_ORDER_DATE</MESSAGE>
<TEXT>O
rder Date</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_PART_NO_DESC</MESSAGE>
<TEXT>Part Number / Description</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_PAYMENT_TERMS</MESSAGE>
<TEXT>Payment Terms</TEXT>
</M
ESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_PREPARER</MESSAGE>
<TEXT>Created By</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_PROMISED_DATE</MESSAGE>
<TEXT>Promised:</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF
NOTIFPURCHASE_ORDER</MESSAGE>
<TEXT>Purchase Order</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_QUANTITY</MESSAGE>
<TEXT>Quantity</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_REQUESTER_DELIVER</MESSAGE>
<TE
XT>Requester/Deliver To</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_REVISION</MESSAGE>
<TEXT>Revision</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_SHIP_VIA</MESSAGE>
<TEXT>Ship Via</TEXT>
</MESSAGE_ROW>
<ME
SSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_SUPPLIER_ITEM</MESSAGE>
<TEXT>Your # :</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_TAX</MESSAGE>
<TEXT>Tax</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_TOTAL</MESSAGE>
<TEX
T>Total</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_UNIT_PRICE</MESSAGE>
<TEXT>Unit Price</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE>PO_WF_NOTIF_UOM</MESSAGE>
<TEXT>UOM</TEXT>
</MESSAGE_ROW>
<MESSAGE_ROW>
<MESSAGE
PO_WF_NOTIF_VENDOR_NO</MESSAGE><TEXT>Supplier No.</TEXT>
</MESSAGE_ROW>
</MESSAGE>
<HEADER_SHORT_TEXT>
</HEADER_SHORT_TEXT>
<LINES>
<LINES_ROW>
<LINE_NUM>1</LINE_NUM>
<ITEM_DESCRIPTION>HWIC-1CE1T1-PRI
</ITEM_DESCRIPTION>
<CANCEL_FLAG
N</CANCEL_FLAG><VENDOR_PRODUCT_NUM>HWIC-1CE1T1-PRI</VENDOR_PRODUCT_NUM>
<UNIT_MEAS_LOOKUP_CODE>EA</UNIT_MEAS_LOOKUP_CODE>
<ORDER_TYPE_LOOKUP_CODE>QUANTITY</ORDER_TYPE_LOOKUP_CODE>
<UNIT_PRICE>1326</UNIT_PRICE>
<QUANTITY>1</QUANTITY>
<P
O_HEADER_ID>103843</PO_HEADER_ID>
<PO_LINE_ID>170164</PO_LINE_ID>
<PRICE_TYPE_LOOKUP_CODE>VARIABLE</PRICE_TYPE_LOOKUP_CODE>
<CLOSED_CODE>CLOSED</CLOSED_CODE>
<CLOSED_DATE>18-NOV-2008 22:25:27</CLOSED_DATE>
<CLOSED_REASON>Close status rolled
up</CLOSED_REASON>
<CLOSED_BY>271332</CLOSED_BY>
<ORG_ID>52605</ORG_ID>
<QTY_RCV_TOLERANCE>10</QTY_RCV_TOLERANCE>
<OVER_TOLERANCE_ERROR_FLAG>WARNING</OVER_TOLERANCE_ERROR_FLAG>
<FIRM_STATUS_LOOKUP_CODE>N</FIRM_STATUS_LOOKUP_CODE>
<LAST_
UPDATE_DATE>18-NOV-2008 22:25:27</LAST_UPDATE_DATE>
<LAST_UPDATED_BY>73951</LAST_UPDATED_BY>
<LINE_TYPE_ID>1</LINE_TYPE_ID>
<LAST_UPDATE_LOGIN>-1</LAST_UPDATE_LOGIN>
<CREATION_DATE>28-OCT-2008 21:53:15</CREATION_DATE>
<CREATED_BY>64914</CRE
ATED_BY>
<CATEGORY_ID>1813</CATEGORY_ID>
<LIST_PRICE_PER_UNIT>1326</LIST_PRICE_PER_UNIT>
<TAX_NAME>ExmptResale</TAX_NAME>
<LINE_TYPE>QUANTITY</LINE_TYPE>
<PURCHASE_BASIS>GOODS</PURCHASE_BASIS>
<LINE_AMOUNT>1,326.00</LINE_AMOUNT>
<BASE
UNITPRICE>1326</BASE_UNIT_PRICE>
<MATCHING_BASIS>QUANTITY</MATCHING_BASIS>
<PRICE_DIFF>
</PRICE_DIFF>
<LINE_SHORT_TEXT>
</LINE_SHORT_TEXT>
<LINE_LOCATIONS>
<LINE_LOCATIONS_ROW>
<SHIPMENT_NUM>1</SHIPMENT_NUM>
<DUE_DATE>03-
NOV-2008 00:00:00</DUE_DATE>
<QUANTITY>1</QUANTITY>
<PRICE_OVERRIDE>1326</PRICE_OVERRIDE>
<QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
<TAXABLE_FLAG>Y</TAXABLE_FLAG>
<PO_HEADER_ID>103843</PO_HEADER_ID>
<PO_LINE_ID>170164</PO_LI
NE_ID>
<LINE_LOCATION_ID>184959</LINE_LOCATION_ID>
<SHIPMENT_TYPE>STANDARD</SHIPMENT_TYPE>
<CONSIGNED_FLAG>N</CONSIGNED_FLAG>
<RECEIVING_ROUTING_ID>3</RECEIVING_ROUTING_ID>
<ACCRUE_ON_RECEIPT_FLAG>N</ACCRUE_ON_RECEIPT_FLAG>
<
CLOSED_REASON>Update Closure Status Rolled Up</CLOSED_REASON>
<CLOSED_DATE>19-NOV-2008 01:02:29</CLOSED_DATE>
<CLOSED_BY>219351</CLOSED_BY>
<ORG_ID>52605</ORG_ID>
<INSPECTION_REQUIRED_FLAG>N</INSPECTION_REQUIRED_FLAG>
<RECEIPT_REQ
UIRED_FLAG>Y</RECEIPT_REQUIRED_FLAG>
<QTY_RCV_TOLERANCE>10</QTY_RCV_TOLERANCE>
<QTY_RCV_EXCEPTION_CODE>WARNING</QTY_RCV_EXCEPTION_CODE>
<ENFORCE_SHIP_TO_LOCATION_CODE>WARNING</ENFORCE_SHIP_TO_LOCATION_CODE>
<ALLOW_SUBSTITUTE_RECEIPTS_F
LAG>N</ALLOW_SUBSTITUTE_RECEIPTS_FLAG>
<DAYS_EARLY_RECEIPT_ALLOWED>10</DAYS_EARLY_RECEIPT_ALLOWED>
<DAYS_LATE_RECEIPT_ALLOWED>10</DAYS_LATE_RECEIPT_ALLOWED>
<RECEIPT_DAYS_EXCEPTION_CODE>WARNING</RECEIPT_DAYS_EXCEPTION_CODE>
<INVOICE_CL
OSE_TOLERANCE>10</INVOICE_CLOSE_TOLERANCE>
<RECEIVE_CLOSE_TOLERANCE>1</RECEIVE_CLOSE_TOLERANCE>
<SHIP_TO_ORGANIZATION_ID>52438</SHIP_TO_ORGANIZATION_ID>
<CLOSED_CODE>CLOSED</CLOSED_CODE>
<REQUEST_ID>0</REQUEST_ID>
<PROGRAM_APPLICA
TION_ID>0</PROGRAM_APPLICATION_ID>
<PROGRAM_ID>0</PROGRAM_ID>
<PROGRAM_UPDATE_DATE>18-NOV-08</PROGRAM_UPDATE_DATE>
<LAST_ACCEPT_DATE>13-NOV-2008 00:00:00</LAST_ACCEPT_DATE>
<ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
<APPROVED_FLAG>Y</AP
PROVED_FLAG>
<APPROVED_DATE>28-OCT-2008 21:53:35</APPROVED_DATE>
<LAST_UPDATE_DATE>19-NOV-2008 01:02:29</LAST_UPDATE_DATE>
<LAST_UPDATED_BY>64839</LAST_UPDATED_BY>
<LAST_UPDATE_LOGIN>8132313</LAST_UPDATE_LOGIN>
<CREATION_DATE>28-O
CT-2008 21:53:15</CREATION_DATE>
<CREATED_BY>64914</CREATED_BY>
<QUANTITY_RECEIVED>1</QUANTITY_RECEIVED>
<QUANTITY_ACCEPTED>0</QUANTITY_ACCEPTED>
<QUANTITY_REJECTED>0</QUANTITY_REJECTED>
<QUANTITY_BILLED>1</QUANTITY_BILLED>
<
UNIT_MEAS_LOOKUP_CODE>EA</UNIT_MEAS_LOOKUP_CODE>
<QUANTITY_SHIPPED>0</QUANTITY_SHIPPED>
<TAX_USER_OVERRIDE_FLAG>N</TAX_USER_OVERRIDE_FLAG>
<MATCH_OPTION>P</MATCH_OPTION>
<TAX_CODE_ID>10718</TAX_CODE_ID>
<CALCULATE_TAX_FLAG>N</CALC
ULATE_TAX_FLAG>
<SECONDARY_QUANTITY_RECEIVED>0</SECONDARY_QUANTITY_RECEIVED>
<AMOUNT>1,326.00</AMOUNT>
<AMOUNT_RECEIVED>0.00</AMOUNT_RECEIVED>
<AMOUNT_BILLED>0.00</AMOUNT_BILLED>
<AMOUNT_CANCELLED>0.00</AMOUNT_CANCELLED>
<AMO
UNT_ACCEPTED>0.00</AMOUNT_ACCEPTED>
<AMOUNT_REJECTED>0.00</AMOUNT_REJECTED>
<SHIP_TO_LOCATION_ID>179305</SHIP_TO_LOCATION_ID>
<SHIP_TO_LOCATION_NAME>USMABILL179305</SHIP_TO_LOCATION_NAME>
<SHIP_TO_ADDRESS_LINE1>Lantheus Medical Imaging
</SHIP_TO_ADDRESS_LINE1>
<SHIP_TO_ADDRESS_LINE2>Building 250 ground floor</SHIP_TO_ADDRESS_LINE2>
<SHIP_TO_ADDRESS_LINE3>331 Treble Cove Rd</SHIP_TO_ADDRESS_LINE3>
<SHIP_TO_ADDRESS_INFO>BILLERICA, MA 01862</SHIP_TO_ADDRESS_INFO>
<SHIP
TOCOUNTRY>United States</SHIP_TO_COUNTRY>
<NEED_BY_DATE>03-NOV-2008 00:00:00</NEED_BY_DATE>
<PROMISED_DATE>03-NOV-2008 00:00:00</PROMISED_DATE>
<LINE_LOC_SHORT_TEXT>
</LINE_LOC_SHORT_TEXT>
<DISTRIBUTIONS>
<DISTRIBUTIONS_RO
W>
<AMOUNT_DELIVERED>0.00</AMOUNT_DELIVERED>
<AMOUNT_CANCELLED>0.00</AMOUNT_CANCELLED>
<DISTRIBUTION_TYPE>STANDARD</DISTRIBUTION_TYPE>
<PROGRAM_UPDATE_DATE>18-NOV-2008 22:25:27</PROGRAM_UPDATE_DATE>
<PROJECT_ID>56342</PR
OJECT_ID>
<TASK_ID>650410</TASK_ID>
<EXPENDITURE_TYPE>PC06.S0604 - GTM Cust CAPEX</EXPENDITURE_TYPE>
<EXPENDITURE_ORGANIZATION_ID>46494</EXPENDITURE_ORGANIZATION_ID>
<ACCRUE_ON_RECEIPT_FLAG>N</ACCRUE_ON_RECEIPT_FLAG>
<EX
PENDITURE_ITEM_DATE>27-OCT-2008 00:00:00</EXPENDITURE_ITEM_DATE>
<ORG_ID>52605</ORG_ID>
<DESTINATION_TYPE_CODE>EXPENSE</DESTINATION_TYPE_CODE>
<DESTINATION_ORGANIZATION_ID>52438</DESTINATION_ORGANIZATION_ID>
<ACCRUAL_ACCOUNT_ID
308864</ACCRUAL_ACCOUNT_ID><VARIANCE_ACCOUNT_ID>1335462</VARIANCE_ACCOUNT_ID>
<PREVENT_ENCUMBRANCE_FLAG>N</PREVENT_ENCUMBRANCE_FLAG>
<PO_DISTRIBUTION_ID>170738</PO_DISTRIBUTION_ID>
<LAST_UPDATE_DATE>18-NOV-2008 22:19:12</LAST
UPDATEDATE>
<LAST_UPDATED_BY>64671</LAST_UPDATED_BY>
<PO_HEADER_ID>103843</PO_HEADER_ID>
<PO_LINE_ID>170164</PO_LINE_ID>
<LINE_LOCATION_ID>184959</LINE_LOCATION_ID>
<SET_OF_BOOKS_ID>4155</SET_OF_BOOKS_ID>
<CODE_
COMBINATION_ID>1335462</CODE_COMBINATION_ID>
<QUANTITY_ORDERED>1</QUANTITY_ORDERED>
<LAST_UPDATE_LOGIN>8137792</LAST_UPDATE_LOGIN>
<CREATION_DATE>28-OCT-2008 21:53:15</CREATION_DATE>
<CREATED_BY>64914</CREATED_BY>
<QUANT
ITY_DELIVERED>1</QUANTITY_DELIVERED>
<QUANTITY_BILLED>1</QUANTITY_BILLED>
<QUANTITY_CANCELLED>0</QUANTITY_CANCELLED>
<REQ_DISTRIBUTION_ID>241920</REQ_DISTRIBUTION_ID>
<DELIVER_TO_LOCATION_ID>179305</DELIVER_TO_LOCATION_ID>
<DELIVER_TO_PERSON_ID>271332</DELIVER_TO_PERSON_ID>
<RATE_DATE>28-OCT-2008 00:00:00</RATE_DATE>
<AMOUNT_BILLED>1,326.00</AMOUNT_BILLED>
<ACCRUED_FLAG>N</ACCRUED_FLAG>
<ENCUMBERED_FLAG>N</ENCUMBERED_FLAG>
<RECOVERY_RAT
E>0.00</RECOVERY_RATE>
<DESTINATION_CONTEXT>EXPENSE</DESTINATION_CONTEXT>
<DISTRIBUTION_NUM>1</DISTRIBUTION_NUM>
<REQUEST_ID>0</REQUEST_ID>
<PROGRAM_APPLICATION_ID>0</PROGRAM_APPLICATION_ID>
<PROGRAM_ID>0</PROGRAM_ID>
<CHARGE_ACCOUNT>877.JGK5.XX539100.ZZZZZZZ.ZZZZZ.ZZZZZZ.ZZZZZZZZ.JA078253ZZ.J.ZZZZZZZZZZ</CHARGE_ACCOUNT>
<FULL_NAME>Ansari, Shaheen</FULL_NAME>
<EMAIL_ADDRESS>[email protected]</EMAIL_ADDRESS>
<REQUESTER_DELIVER_FIRST_NAME>Sh
aheen</REQUESTER_DELIVER_FIRST_NAME>
<REQUESTER_DELIVER_LAST_NAME>Ansari</REQUESTER_DELIVER_LAST_NAME>
</DISTRIBUTIONS_ROW>
</DISTRIBUTIONS>
</LINE_LOCATIONS_ROW>
</LINE_LOCATIONS>
</LINES_ROW>
</LINES>
<LINE_ATTACHMENTS>
<TEX
T>CCO Configuration Reference=N/A
Bid/Deal ID=N/A
CCO Key if applicable=N/A</TEXT>
<ID>170164</ID>
</LINE_ATTACHMENTS>
<ADDRESS_DETAILS>
<ADDRESS_DETAILS_ROW>
<LOCATION_ID>67670</LOCATION_ID>
<ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
<ADDR_LABEL_1>Cou
ntry</ADDR_LABEL_1>
<ADDR_LABEL_2>Address Line1</ADDR_LABEL_2>
<ADDR_LABEL_3>Address Line2</ADDR_LABEL_3>
<ADDR_LABEL_4>Address Line3</ADDR_LABEL_4>
<ADDR_LABEL_5>Zip Code</ADDR_LABEL_5>
<ADDR_LABEL_6>City</ADDR_LABEL_6>
<ADDR_LABEL_7>State</A
DDR_LABEL_7>
<ADDR_LABEL_8>County</ADDR_LABEL_8>
<ADDR_LABEL_9>Fax</ADDR_LABEL_9>
<ADDR_LABEL_10>Sales Tax Override</ADDR_LABEL_10>
<ADDR_LABEL_11>Inside City Limits</ADDR_LABEL_11>
<ADDR_LABEL_12>Telephone</ADDR_LABEL_12>
<ADDR_DATA_2>BT Amer
icas Inc.|11440 Commerce Park Drive|Reston, VA 20191</ADDR_DATA_2>
</ADDRESS_DETAILS_ROW>
<ADDRESS_DETAILS_ROW>
<LOCATION_ID>67644</LOCATION_ID>
<ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
<ADDR_LABEL_1>Country</ADDR_LABEL_1>
<ADDR_LABEL_2>Address Lin
e1</ADDR_LABEL_2>
<ADDR_LABEL_3>Address Line2</ADDR_LABEL_3>
<ADDR_LABEL_4>Address Line3</ADDR_LABEL_4>
<ADDR_LABEL_5>Zip Code</ADDR_LABEL_5>
<ADDR_LABEL_6>City</ADDR_LABEL_6>
<ADDR_LABEL_7>State</ADDR_LABEL_7>
<ADDR_LABEL_8>County</ADDR_LABEL
_8>
<ADDR_LABEL_9>Fax</ADDR_LABEL_9>
<ADDR_LABEL_10>Sales Tax Override</ADDR_LABEL_10>
<ADDR_LABEL_11>Inside City Limits</ADDR_LABEL_11>
<ADDR_LABEL_12>Telephone</ADDR_LABEL_12>
<ADDR_DATA_1>US</ADDR_DATA_1>
<ADDR_DATA_2>Invoice To:</ADDR_DATA
_2>
<ADDR_DATA_3>BT AMERICAS ACCOUNTS PAYABLE</ADDR_DATA_3>
<ADDR_DATA_4>PO Box 696025</ADDR_DATA_4>
<ADDR_DATA_5>78269</ADDR_DATA_5>
<ADDR_DATA_6>SAN ANTONIO</ADDR_DATA_6>
<ADDR_DATA_7>TX</ADDR_DATA_7>
<ADDR_DATA_8>USA</ADDR_DATA_8>
</ADDRES
S_DETAILS_ROW>
<ADDRESS_DETAILS_ROW>
<LOCATION_ID>179305</LOCATION_ID>
<ADDRESS_STYLE>US_GLB</ADDRESS_STYLE>
<ADDR_LABEL_1>Country</ADDR_LABEL_1>
<ADDR_LABEL_2>Address Line1</ADDR_LABEL_2>
<ADDR_LABEL_3>Address Line2</ADDR_LABEL_3>
<ADDR_LABE
L_4>Address Line3</ADDR_LABEL_4>
<ADDR_LABEL_5>Zip Code</ADDR_LABEL_5>
<ADDR_LABEL_6>City</ADDR_LABEL_6>
<ADDR_LABEL_7>State</ADDR_LABEL_7>
<ADDR_LABEL_8>County</ADDR_LABEL_8>
<ADDR_LABEL_9>Fax</ADDR_LABEL_9>
<ADDR_LABEL_10>Sales Tax Override<
/ADDR_LABEL_10>
<ADDR_LABEL_11>Inside City Limits</ADDR_LABEL_11>
<ADDR_LABEL_12>Telephone</ADDR_LABEL_12>
<ADDR_DATA_1>US</ADDR_DATA_1>
<ADDR_DATA_2>Lantheus Medical Imaging</ADDR_DATA_2>
<ADDR_DATA_3>Building 250 ground floor</ADDR_DATA_3>
<
ADDR_DATA_4>331 Treble Cove Rd</ADDR_DATA_4>
<ADDR_DATA_5>01862</ADDR_DATA_5>
<ADDR_DATA_6>BILLERICA</ADDR_DATA_6>
<ADDR_DATA_7>MA</ADDR_DATA_7>
<ADDR_DATA_8>Middlesex</ADDR_DATA_8>
</ADDRESS_DETAILS_ROW>
</ADDRESS_DETAILS></PO_DATA> -
Set file position within a for loop, error 1
Hi, I'm reading from a .sxm file consisting of a large chunk of text followed by binary data for 512x512 images with 4 bytes per pixel
I’ve managed to successfully identify the start of the binary and read the first image from the file and view it using "flatten pixmap.vi", so I’m doing something right, however when i try to read the next chunk of image data in the .sxm file using a for loop, set file position keeps churning out ERR (1).
im at a loss as to whats causing this
Solved!
Go to Solution.
Attachments:
binaryread3d trouble.vi 22 KB
back panel screenshot.png 27 KBI closed the file in the loop, doh! ... another morning well spent
-
Hi,
I'm using labVIEW V5.1
I'm trying to generate 10 1D arrays, the first array is initialized to all zeroes, then I have set up a for loop which shifts the first element by 1, then a random number is placed into the first element position. I am using a shift register to feed back in the newly generated array into the start of the loop.
By the end of the each loop I want to be able to use the array generated in an algorithm outside the loop. However I only want the Nx1 array that has just been generated.
Unfortunately, I cannot figure out how to resize, reshape or index the output array to do this.
I would like the loop to
give me out a 1D array after each iteration.
Any help would be greatly appreciated.I hope I've understood your problem.
First your vi was lacking of the sub-vi working as shift register, I've replaced it with the rotate function.
The indexing of your arrays create a 2D array whose rows are your 1D array.To pick only one of them you have to use the index array function and select which one you want.
To use your temporary data in another part of your application you should use a local variable of array2.
I did it in a separated while loop That I syncronized with the for loop using occurrence, in this way the while loop runs each time a new value is inserted in array2 (each loop of the for loop structure).
If you don't need this syncronization just get rid of occurrence functions.
I place a delay in the for loop to show what happens when running.
Hope it was helpful.
Alberto Locatelli
Attachments:
array_test_v3.vi 35 KB -
A 'For' loop within another 'For' loop
This is the loop:
for (int i = 1; i<=5; i++) {
for (int k = 1; k<=3; k++) {
System.out.println("i is " + i + ", k is " + k);
How does it execute? After it goes through the loop i = 1, and k = 1, apparently it then doesn't go to i = 2, but instead it increments k to 2, and i remains as 1 until k is greater than 3. I'm confused how this works. Does the first loop execute first, and then the second loop executes, but then the program exits out of the second loop only when k is greater than 3?
Much appreciate your help.
YashTry to imagine expanding the loops. In the example you provided, the loops aren't that big, so it's pretty easy.
for (int i = 1; i<=5; i++) {
for (int k = 1; k<=3; k++) {
System.out.println("i is " + i + ", k is " + k);
}becomes
int i = 1;
for (int k = 1; k<=3; k++) {
System.out.println("i is " + i + ", k is " + k);
i = 2;
for (int k = 1; k <= 3; k++) {
System.out.println("i is " + i + ", k is " + k);
i = 3;
for (int k = 1; k <= 3; k++) {
System.out.println("i is " + i + ", k is " + k);
i = 4;
for (int k = 1; k <= 3; k++) {
System.out.println("i is " + i + ", k is " + k);
i = 5;
for (int k = 1; k <= 3; k++) {
System.out.println("i is " + i + ", k is " + k);
}which becomes
int i = 1;
int k = 1;
System.out.println("i is " + i + ", k is " + k);
k = 2;
System.out.println("i is " + i + ", k is " + k);
k = 3;
System.out.println("i is " + i + ", k is " + k);
i = 2;
k = 1;
System.out.println("i is " + i + ", k is " + k);
k = 2;
System.out.println("i is " + i + ", k is " + k);
k = 3;
System.out.println("i is " + i + ", k is " + k);
i = 3;
k = 1;
System.out.println("i is " + i + ", k is " + k);
k = 2;
System.out.println("i is " + i + ", k is " + k);
k = 3;
System.out.println("i is " + i + ", k is " + k);
i = 4;
k = 1;
System.out.println("i is " + i + ", k is " + k);
k = 2;
System.out.println("i is " + i + ", k is " + k);
k = 3;
System.out.println("i is " + i + ", k is " + k);
i = 5;
k = 1;
System.out.println("i is " + i + ", k is " + k);
k = 2;
System.out.println("i is " + i + ", k is " + k);
k = 3;
System.out.println("i is " + i + ", k is " + k); -
How to handle error within a FOR loop
Hi all,
For the code:
begin
for vc1 in (select *
from xx_primavera_invoices_detail
where transfered_to_ar = 0
and cust_trx_type_id not in (1000, 1003, 1016, 1023, 1040)
and act_end_date is not null) loop
insert_into_ar_interface(vc1.amount, vc1.uom_code, vc1.quantity, vc1.unit_standard_price, vc1.cust_trx_type_id
,vc1.description, vc1.interface_line_attribute1, vc1.interface_line_attribute2, vc1.interface_line_attribute3, vc1.service_code
,vc1.gl_date, vc1.orig_system_bill_address_id, vc1.orig_system_bill_customer_id, vc1.segment2, vc1.segment3,vc1.customer_name,vc1.payment_type,vc1.currency_code)
end loop;
update xx_primavera_invoices_detail
set transfered_to_ar = 1
where transfered_to_ar = 0
and cust_trx_type_id not in (1000, 1003, 1016, 1023, 1040)
end;I want to add an exception statement if there is no value returned in VC1. I guess i'll never go into the loop statement because no data found in VC1 but the UPDATE will be executed...
Any ideas?
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - Production
PL/SQL Release 11.1.0.7.0 - Production
"CORE 11.1.0.7.0 Production"
TNS for Linux: Version 11.1.0.7.0 - Production
NLSRTL Version 11.1.0.7.0 - ProductionThanks in advance,
Bahchevanov.Hi,
declare
v_i_was_in_loop boolean;
begin
v_i_was_in_loop ;= false;
for cur in (select ..)
loop
null;
v_i_was_in_loop := true;
end loop;
if v_i_was_in_loop = true
then
update...
end if;
end; -
How to execute an SP within a for loop?
hi,
i have the following sp.
PROCEDURE insert_and_update (
book_name IN table01.book_name%TYPE,
description1 IN table01.description1%TYPE
status IN OUT number
i need to call this sp in the following loop.
for i in (select book_name, book_descfrom new_books) loop ..... end loop;
i did the following but it didnt work. what am i missing ?
declare
nn number(10):=0;
begin
for i in (select book_name, description from new_books) loop
exec insert_and_update (i.book_name,i.book_desc, :nn);
end loop;
end;
please advise.
thanks in advanced
novideDBAEXEC is a SQL*Plus command, not PL/SQL. You don't need EXEC in PL/SQL, just call the procedure
for i in (select book_name, description from new_books) loop
insert_and_update (i.book_name,i.book_desc, :nn);
end loop;Justin -
Why is the outcome of the envelope detection vi different when run within a for loop
Given that signal 1 and signal 2 are identical what could cause the outputs at appended array and appended array 2 to be different. The output at appended array 2 comes out incorrectly. Given only one band specification the subvi works in the loop. With more than 1 band specification the output from the loop is not correct.
Jeff·Þ·Bohrer wrote:
From where I seen simmilar issues: (And these get to be head scratchers)
Appended Array 1 is the output of two seperate dataspaces (prealocated clones)
Appended array 2 is two output from the same dataspace called twice.
I bet dollars to doughtnuts there is an IIR filter in that vi that assumes (correctly, because we know nothing about the signal) a zero magnitude initial value (which is almost never the actual case) and has a reset implied. this introduces an initial transient in the filtered signal that is different in the two loop iterations since the filter has been "Pre-settled" in the second iteration.
[I has a nightmare of a time finding that when using the Mod Toolkit to generate bursts of pi/4-QPSK until I took I/Q to polar and saw the transient on Rho - the work around was to just generate the burst twice once, to settle the filter and once to get a useful signal throwing out the first burst]
Wow, that hurt my brain. But I do understand what you were talking about.
Bill
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all. -
How to define function within for loop pls help?????
Hi this is the problem i have a class, and within that class there is an actionPerformed function, in this class i also create an instance of another class, this other class also contains an actionPerformed function, which wis executed if a jButton has been pressed, when I try to place this actionPerfromed function within a for loop of a function i get an error saying illegal start of experssion, and that the class should be defined abstract as it does not define actionPerformed, when i take it out of the for loop it compliles fine, i need the function to be placed within the for loop because it needs to know the variable of the for loop, is there anyway around this? Thanks, below is the code:
public class DisplayTransitions extends JFrame implements ActionListener
public void add()
for(int i = 0; i < char2.size(); i ++)
mPanel.add(tim[i] = new JButton("Time"));
tim.addActionListener(this);
public void actionPerformed(ActionEvent ae)
if (ae.getSource() == tim[i])
timeIncr();This is your for loop using an anonymous inner class for the listener:
for (int i = 0; i < char2.size(); i++) {
mPanel.add(tim[i] = new JButton("Time"));
tim.addActionListener(new ActionListener() {
public void actionPerformed(ActionEvent ae) {
if (ae.getSource() == tim[i]) {
timeIncr();
Learn more about anonymous inner classes from a good Java book or the Java tutorial (try http://java.sun.com/docs/books/tutorial/java/javaOO/QandE/nested-answers.html). -
? on How to Load Variable Within For Loop
Hello,
I'm a PL/SQL newbee so I apologize up front if this is a basic question. In summary, I'm trying to build a field name within a FOR LOOP and also load this field with it's associated data from an input record and finally load the data to the output record and pipe the row. I can successfully build the field name but don't know how to load it with data from the input record.
Here is a sample from the code.
The input table is shown with the 6 different Fnma codes. Instead of checking each code for data, I want to build the field name, load this field name with data from the input record and move the data to the output record.
CURSOR cur_loan(prod_date_in IN DATE) IS
Select
Ln.Ln_No,
Ln.Prod_Date,
Ln.Ln_Fnma_Ftr1_Cd,
Ln.Ln_Fnma_Ftr2_Cd,
Ln.Ln_Fnma_Ftr3_Cd,
Ln.Ln_Fnma_Ftr4_Cd,
Ln.Ln_Fnma_Ftr5_Cd,
Ln.Ln_Fnma_Ftr6_Cd,
from LOAN Ln
where PROD_DATE = '16-FEB-11';
Here is the FOR LOOP that successfully builds the field name in l_feat_code_name. Then I "assume" by moving this field to l_output that l_output will contain the actual data, not the field name. However, it appears to contain the field name instead of the data.
FOR l_To IN 1 .. 6
LOOP
l_feat_code_name := ('l_loan_rec.ln_fnma_ftr'||l_to||'_cd');
l_output := l_feat_code_name;
IF (l_output is not null or
l_output <> ' ') THEN
l_out_rec.Inv_Type := l_Fnma_Cd;
l_out_rec.feat_code := l_output;
l_out_rec.Src_Delete_Flag := l_src_delete_flag_n;
PIPE ROW(l_svc_ln_rec);
END IF;
END LOOP;
How can I move the data itself into the l_out_rec.feat_code output record? Thanks in advance.Hi,
l_output is defined as follows:
l_output varchar2(20) ;
I appreciate your example.
Again, after I build l_feat_code_name it contains the column name from the input record, Ln_Fnma_Ftr1_Cd, ....Ftr2...., .....Ftr3..... and so on up to Ftr6. However, I also need the **data value** of Ln_Fnma_Ftr1_Cd, ....Ftr2...., .....Ftr3..... and so on up to Ftr6. My question is how to get the data value. You see below when I move l_feat_code_name to l_output I'm expecting l_output to contain the **data value**. Instead, when I display it in DBMS_output, it shows the column name.
CURSOR cur_loan(prod_date_in IN DATE) IS
Select
Ln.Ln_No,
Ln.Prod_Date,
Ln.Ln_Fnma_Ftr1_Cd,
Ln.Ln_Fnma_Ftr2_Cd,
Ln.Ln_Fnma_Ftr3_Cd,
Ln.Ln_Fnma_Ftr4_Cd,
Ln.Ln_Fnma_Ftr5_Cd,
Ln.Ln_Fnma_Ftr6_Cd,
from LOAN Ln
where PROD_DATE = '16-FEB-11';
Here is the FOR LOOP that successfully builds the field name in l_feat_code_name. Then I "assume" by moving this field to l_output that l_output will contain the actual data, not the field name. However, it appears to contain the field name instead of the data.
FOR l_To IN 1 .. 6
LOOP
l_feat_code_name := ('l_loan_rec.ln_fnma_ftr'||l_to||'_cd');
l_output := l_feat_code_name;
IF (l_output is not null or
l_output ' ') THEN
l_out_rec.Inv_Type := l_Fnma_Cd;
l_out_rec.feat_code := l_output;
l_out_rec.Src_Delete_Flag := l_src_delete_flag_n;
PIPE ROW(l_svc_ln_rec);
END IF;
END LOOP;
Maybe you are looking for
-
InDesign CS5 is not opening after deactivation/activation. How can I fix this? Illustrator and Photoshop open and are working fine. Please help!
-
Problem in html:link tag in struts
hi every body i have a problem i have to pass two dynamic variable to next page using html:link tag how can i send it for example <a href = "editEmp.jsp?id=<%= empSno %>&&delete=no"> Edit </a> should be coverted into <html:link >and i want to pass 2
-
hi all, i am using OOPS ALV to display the report. requirment is that i need to dispaly * when the value of the amount coloumn is 0. i changed that coloumn to character and displayed as "*", but now i am not able to used the summing option given by A
-
Lightroom 5 suddenly not showing the what to edit pop-up window when I chose edit in photoshop cs6. What can I do to have the pop-up window to show?
-
When I eject a CD-RW with PhotoShop (CS2) info. I get a Blue Screen and the following string: STOP: 0x0000007E (0x0000005, 0x8070194F, 0xF78E2C30, 0xF78E292C) Any ideas what the problem is? Thanks for your help. OMAX