IN XML for the loop
HelloModel RTF PO, I try to display the short text and long text for each PO. But I'm unable to display multiple short and long texts for each line number. I can view only the first short and long text for each line number. How do I show all the. The seeds IN. model does. Here's my code and XML
for short text (short_text is in the same column that line_num is the rich TEXT table)
<? for each: LINES_ROW? > <? type: LINE_NUM; ' ascending '; type_donnees = "number"? >
<? LINE_NUM? > <? date format: NEED_BY_DATE; "DD-MMM-YYYY'? > <? LINE_AMOUNT? >
<? ITEM_DESCRIPTION? >
<? SHORT_TEXT? >
<? end foreach? >
output is
No. 1 line
short attachment test
Line num 2
short text 1
output must be
No. 1 line
short attachment test
Attachment 4 t
Line num 2
short text 1
short text 2
Long text
<? If: PO_DATA/LINE_ATTACHMENTS/TEXT! ='' ? >
<? for each: LINES_ROW? > <? type: LINE_NUM; ' ascending '; type_donnees = "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 foreach? >
<? end if? >
output is
No. 1 line
attachment of long text which is 2nd ote
Line num 2
long text 1
output must be
No. 1 line
attachment of long text which is 2nd ote
see this 5th long accessory
Line num 2
long text 1
long text 2
Here is an example of XML code
<? XML version = "1.0" encoding = "UTF-8"? >
< PO_DATA >
STANDARD of < TYPE_LOOKUP_CODE > < / TYPE_LOOKUP_CODE >
< > 24687 SEGMENT1 < / SEGMENT1 >
< REVISION_NUM > 0 < / REVISION_NUM >
< PRINT_COUNT > 3 < / PRINT_COUNT >
< CREATION_DATE > 29 April 2009 14:28:52 < / CREATION_DATE >
< NOTE_TO_VENDOR > This is a good test for the conditions window provider command < / NOTE_TO_VENDOR >
Sanjay < DOCUMENT_BUYER_FIRST_NAME > < / DOCUMENT_BUYER_FIRST_NAME >
Kumar < DOCUMENT_BUYER_LAST_NAME > < / 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 >
USD < CURRENCY_CODE > < / CURRENCY_CODE >
< CURRENCY_NAME > United States dollar < / CURRENCY_NAME >
< PAYMENT_TERMS > NET 30 < / PAYMENT_TERMS >
< > 1244 CUSTOMER_NUM < / CUSTOMER_NUM >
RR10 < VENDOR_NUM > < / VENDOR_NUM >
< $vendor_name > OFFICE DEPOT < / $vendor_name >
< VENDOR_ADDRESS_LINE1 > B.P. 31533 < / VENDOR_ADDRESS_LINE1 >
HARTFORD < VENDOR_CITY > < / 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 > JFK 123 RD < / SHIP_TO_ADDRESS_LINE1 >
Broadway, WA 02421 < SHIP_TO_ADDRESS_INFO > < / SHIP_TO_ADDRESS_INFO >
the < 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 > JFK 123 RD < / BILL_TO_ADDRESS_LINE1 >
Broadway, WA 02421 < BILL_TO_ADDRESS_INFO > < / BILL_TO_ADDRESS_INFO >
the United States < BILL_TO_COUNTRY > < / BILL_TO_COUNTRY >
MY < ATTRIBUTE1 > < / ATTRIBUTE1 >
< VENDOR_SITE_ID > 9983 < / VENDOR_SITE_ID >
< PO_HEADER_ID > 27162 < / PO_HEADER_ID >
< APPROVED_FLAG > N < / APPROVED_FLAG >
< > 826 VENDOR_ID < / VENDOR_ID >
< ORG_ID > 29 < / ORG_ID >
< COMMENT > IN. test to test the template < / COMMENT >
< FIRM_STATUS_LOOKUP_CODE > N < / FIRM_STATUS_LOOKUP_CODE >
< FROZEN_FLAG > N < / FROZEN_FLAG >
< > 3349 CREATED_BY < / CREATED_BY >
< TERMS_ID > 10001 < / TERMS_ID >
< RATE_DATE > 29 April 2009 00:00:00 < / RATE_DATE >
< AUTHORIZATION_STATUS > N < / AUTHORIZATION_STATUS >
< NOTE_TO_RECEIVER > This is a purchase order of the receiver of window conditions test < / NOTE_TO_RECEIVER >
< LAST_UPDATE_DATE > 29 April 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 > JFK 123 RD < / OU_ADDR1 >
Broadway < OU_TOWN_CITY > < / OU_TOWN_CITY >
WA < OU_REGION2 > < / OU_REGION2 >
< OU_POSTALCODE > 44421 < / OU_POSTALCODE >
the United States < OU_COUNTRY > < / OU_COUNTRY >
< BUYER_ADDRESS_LINE1 > JFK 123 RD < / BUYER_ADDRESS_LINE1 >
Broadway, WA 44421 < BUYER_CITY_STATE_ZIP > < / BUYER_CITY_STATE_ZIP >
< BUYER_CONTACT_PHONE > 322-445-4533 < / BUYER_CONTACT_PHONE >
< > 6,000.00 TOTAL_AMOUNT < / TOTAL_AMOUNT >
the United States < BUYER_COUNTRY > < / BUYER_COUNTRY >
< DOCUMENT_CREATION_METHOD > ENTER_PO < / DOCUMENT_CREATION_METHOD >
Purchase Standard < DOCUMENT_TYPE > order < / DOCUMENT_TYPE >
< COVER_MESSAGE > This document has important legal consequences. < / COVER_MESSAGE >
< AMMENDMENT_MESSAGE > This document has important legal consequences.
< / AMMENDMENT_MESSAGE >
D < TEST_FLAG > < / TEST_FLAG >
< DIST_SHIPMENT_COUNT > 1 < / DIST_SHIPMENT_COUNT >
Standard purchase order < DocumentName > 24687, 0 < / DocumentName >
F < SIGNED > < / 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 contract CANCELLED on < / TEXT >
< / MESSAGE_ROW >
< MESSAGE_ROW >
< MESSAGE > PO_WF_NOTIF_VENDOR_NO < / MESSAGE >
SupplierID < TEXT > < / TEXT >
< / MESSAGE_ROW >
< / MESSAGE >
< HEADER_SHORT_TEXT >
< / HEADER_SHORT_TEXT >
<>LINES
< LINES_ROW >
< LINE_NUM > 1 < / LINE_NUM >
< ITEM_DESCRIPTION > test in. < / ITEM_DESCRIPTION >
< CANCEL_FLAG > N < / CANCEL_FLAG >
< NOTE_TO_VENDOR > This is a test in. do not ship. < / NOTE_TO_VENDOR >
Unit of < UNIT_MEAS_LOOKUP_CODE > < / UNIT_MEAS_LOOKUP_CODE >
AMOUNT of < ORDER_TYPE_LOOKUP_CODE > < / ORDER_TYPE_LOOKUP_CODE >
N < ATTRIBUTE1 > < / 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 April 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 April 2009 14:28:52 < / CREATION_DATE >
< > 3349 CREATED_BY < / CREATED_BY >
< Stuff > 224 < / stuff >
< ALLOW_PRICE_OVERRIDE_FLAG > N < / ALLOW_PRICE_OVERRIDE_FLAG >
< LIST_PRICE_PER_UNIT > 5000 < / LIST_PRICE_PER_UNIT >
AMOUNT of < LINE_TYPE > < / LINE_TYPE >
GOODS of < PURCHASE_BASIS > < / PURCHASE_BASIS >
< LINE_AMOUNT > 5 000,00 < / LINE_AMOUNT >
< MANUAL_PRICE_CHANGE_FLAG > N < / MANUAL_PRICE_CHANGE_FLAG >
AMOUNT of < MATCHING_BASIS > < / MATCHING_BASIS >
< PRICE_DIFF >
< / PRICE_DIFF >
* < LINE_SHORT_TEXT > *.
* < LINE_SHORT_TEXT_ROW > *.
* < PO_LINE_ID > 53995 < / PO_LINE_ID > *.
* < test SHORT_TEXT > for the short attachment < / 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 >
< end_date > 15 May 2009 00:00:00 < / end_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 >
STANDARD of < SHIPMENT_TYPE > < / 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 >
WARNING < QTY_RCV_EXCEPTION_CODE > < / QTY_RCV_EXCEPTION_CODE >
< ENFORCE_SHIP_TO_LOCATION_CODE > NO < / 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 >
WARNING < RECEIPT_DAYS_EXCEPTION_CODE > < / 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 >
OPEN < CLOSED_CODE > < / CLOSED_CODE >
< LAST_ACCEPT_DATE > 9 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 April 2009 14:31:31 < / LAST_UPDATE_DATE >
< LAST_UPDATED_BY > 3349 < / LAST_UPDATED_BY >
< LAST_UPDATE_LOGIN > 1250381 < / LAST_UPDATE_LOGIN >
< CREATION_DATE > 29 April 2009 14:28:53 < / CREATION_DATE >
< > 3349 CREATED_BY < / CREATED_BY >
< QUANTITY_RECEIVED > 0 < / QUANTITY_RECEIVED >
< QUANTITY_ACCEPTED > 0 < / QUANTITY_ACCEPTED >
< QUANTITY_REJECTED > 0 < / QUANTITY_REJECTED >
< QUANTITY_BILLED > 0 < / QUANTITY_BILLED >
Unit of < UNIT_MEAS_LOOKUP_CODE > < / 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 the receiver shipments < / 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 > JFK 123 RD < / SHIP_TO_ADDRESS_LINE1 >
Broadway, WA 02421 < SHIP_TO_ADDRESS_INFO > < / SHIP_TO_ADDRESS_INFO >
the < SHIP_TO_COUNTRY > United States < / SHIP_TO_COUNTRY >
< NEED_BY_DATE > 15 May 2009 00:00:00 < / NEED_BY_DATE >
< PROMISED_DATE > 4 May 2009 00:00:00 < / PROMISED_DATE >
< LINE_LOC_SHORT_TEXT >
< / LINE_LOC_SHORT_TEXT >
< DISTRIBUTION >
< DISTRIBUTIONS_ROW >
STANDARD < DISTRIBUTION_TYPE > < / DISTRIBUTION_TYPE >
< ACCRUE_ON_RECEIPT_FLAG > N < / ACCRUE_ON_RECEIPT_FLAG >
< ORG_ID > 29 < / ORG_ID >
COSTS of < DESTINATION_TYPE_CODE > < / 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 April 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 April 2009 14:28:54 < / CREATION_DATE >
< > 3349 CREATED_BY < / 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 April 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 >
COSTS of < DESTINATION_CONTEXT > < / DESTINATION_CONTEXT >
< DISTRIBUTION_NUM > 1 < / DISTRIBUTION_NUM >
< CHARGE_ACCOUNT > 05-3002-7050-000-000 < / CHARGE_ACCOUNT >
< FULL_NAME > Devine, Alison < / FULL_NAME >
[email protected] < EMAIL_ADDRESS > < / EMAIL_ADDRESS >
Karen < REQUESTER_DELIVER_FIRST_NAME > < / REQUESTER_DELIVER_FIRST_NAME >
MY < REQUESTER_DELIVER_LAST_NAME > < / REQUESTER_DELIVER_LAST_NAME >
< / DISTRIBUTIONS_ROW >
< / DISTRIBUTION >
< / LINE_LOCATIONS_ROW >
< / LINE_LOCATIONS >
< / LINES_ROW >
< LINES_ROW >
< LINE_NUM > 2 < / LINE_NUM >
< ITEM_DESCRIPTION > TEST IN. < / ITEM_DESCRIPTION >
< CANCEL_FLAG > N < / CANCEL_FLAG >
Unit of < UNIT_MEAS_LOOKUP_CODE > < / UNIT_MEAS_LOOKUP_CODE >
AMOUNT of < ORDER_TYPE_LOOKUP_CODE > < / ORDER_TYPE_LOOKUP_CODE >
N < ATTRIBUTE1 > < / 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 April 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 April 2009 13:52:26 < / CREATION_DATE >
< > 3349 CREATED_BY < / CREATED_BY >
< Stuff > 224 < / stuff >
< ALLOW_PRICE_OVERRIDE_FLAG > N < / ALLOW_PRICE_OVERRIDE_FLAG >
< LIST_PRICE_PER_UNIT > 1000 < / LIST_PRICE_PER_UNIT >
AMOUNT of < LINE_TYPE > < / LINE_TYPE >
GOODS of < PURCHASE_BASIS > < / PURCHASE_BASIS >
< LINE_AMOUNT > 1 000,00 < / LINE_AMOUNT >
< MANUAL_PRICE_CHANGE_FLAG > N < / MANUAL_PRICE_CHANGE_FLAG >
AMOUNT of < MATCHING_BASIS > < / MATCHING_BASIS >
< PRICE_DIFF >
< / PRICE_DIFF >
* < LINE_SHORT_TEXT > *.
* < LINE_SHORT_TEXT_ROW > *.
* < PO_LINE_ID > 54015 < / PO_LINE_ID > *.
* < SHORT_TEXT > 1 short text < / SHORT_TEXT > *.
* < / LINE_SHORT_TEXT_ROW > *.
* < LINE_SHORT_TEXT_ROW > *.
* < PO_LINE_ID > 54015 < / PO_LINE_ID > *.
* < SHORT_TEXT > 2 short text < / SHORT_TEXT > *.
* < / LINE_SHORT_TEXT_ROW > *.
* < / LINE_SHORT_TEXT > *.
< LINE_LOCATIONS >
< LINE_LOCATIONS_ROW >
< SHIPMENT_NUM > 1 < / SHIPMENT_NUM >
< end_date > 7 May 2009 00:00:00 < / end_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 >
STANDARD of < SHIPMENT_TYPE > < / 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 >
WARNING < QTY_RCV_EXCEPTION_CODE > < / QTY_RCV_EXCEPTION_CODE >
< ENFORCE_SHIP_TO_LOCATION_CODE > NO < / 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 >
WARNING < RECEIPT_DAYS_EXCEPTION_CODE > < / 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 >
OPEN < CLOSED_CODE > < / 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 April 2009 13:53:11 < / LAST_UPDATE_DATE >
< LAST_UPDATED_BY > 3349 < / LAST_UPDATED_BY >
< LAST_UPDATE_LOGIN > 1251236 < / LAST_UPDATE_LOGIN >
< CREATION_DATE > 30 April 2009 13:52:27 < / CREATION_DATE >
< > 3349 CREATED_BY < / CREATED_BY >
< QUANTITY_RECEIVED > 0 < / QUANTITY_RECEIVED >
< QUANTITY_ACCEPTED > 0 < / QUANTITY_ACCEPTED >
< QUANTITY_REJECTED > 0 < / QUANTITY_REJECTED >
< QUANTITY_BILLED > 0 < / QUANTITY_BILLED >
Unit of < UNIT_MEAS_LOOKUP_CODE > < / 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 > JFK 123 RD < / SHIP_TO_ADDRESS_LINE1 >
Broadway, WA 53411 < SHIP_TO_ADDRESS_INFO > < / SHIP_TO_ADDRESS_INFO >
the < SHIP_TO_COUNTRY > United States < / SHIP_TO_COUNTRY >
< NEED_BY_DATE > 7 May 2009 00:00:00 < / NEED_BY_DATE >
< PROMISED_DATE > 6 May 2009 00:00:00 < / PROMISED_DATE >
< LINE_LOC_SHORT_TEXT >
< / LINE_LOC_SHORT_TEXT >
< DISTRIBUTION >
< DISTRIBUTIONS_ROW >
STANDARD < DISTRIBUTION_TYPE > < / DISTRIBUTION_TYPE >
< ACCRUE_ON_RECEIPT_FLAG > N < / ACCRUE_ON_RECEIPT_FLAG >
< ORG_ID > 29 < / ORG_ID >
COSTS of < DESTINATION_TYPE_CODE > < / 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 April 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 April 2009 13:53:11 < / CREATION_DATE >
< > 3349 CREATED_BY < / 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 April 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 >
COSTS of < DESTINATION_CONTEXT > < / DESTINATION_CONTEXT >
< DISTRIBUTION_NUM > 1 < / DISTRIBUTION_NUM >
< CHARGE_ACCOUNT > 01-3001-7050-000-000 < / CHARGE_ACCOUNT >
< FULL_NAME > Green, Jan < / FULL_NAME >
[email protected] < EMAIL_ADDRESS > < / EMAIL_ADDRESS >
Jan < REQUESTER_DELIVER_FIRST_NAME > < / REQUESTER_DELIVER_FIRST_NAME >
Green of < REQUESTER_DELIVER_LAST_NAME > < / REQUESTER_DELIVER_LAST_NAME >
< / DISTRIBUTIONS_ROW >
< / DISTRIBUTION >
< / LINE_LOCATIONS_ROW >
< / LINE_LOCATIONS >
< / LINES_ROW >
< / LINES >
* < LINE_ATTACHMENTS > *.
* < long text TEXT input > which is 2nd note. < / TEXT > *.
* < ID > < /ID > 53995 *.
* < TEXT > see this 5th long atta < / TEXT > *.
* < ID > < /ID > 53995 *.
* < TEXT > text 1 < / TEXT > *.
* < ID > < /ID > 54015 *.
* < TEXT > text 2 < / TEXT > *.
* < ID > < /ID > 54015 *.
* < / LINE_ATTACHMENTS > *.
< ADDRESS_DETAILS >
< ADDRESS_DETAILS_ROW >
< > 88 location_id < / location_id >
< ADDRESS_STYLE > US_GLB < / ADDRESS_STYLE >
< ADDR_LABEL_1 > address line 1 < / ADDR_LABEL_1 >
< ADDR_LABEL_2 > address line2 < / ADDR_LABEL_2 >
< ADDR_LABEL_3 > address Line3 < / ADDR_LABEL_3 >
City of < ADDR_LABEL_4 > < / ADDR_LABEL_4 >
County of < ADDR_LABEL_5 > < / ADDR_LABEL_5 >
State of < ADDR_LABEL_6 > < / ADDR_LABEL_6 >
Code postal < ADDR_LABEL_7 > < / ADDR_LABEL_7 >
Country of < ADDR_LABEL_8 > < / ADDR_LABEL_8 >
Phone < ADDR_LABEL_9 > < / ADDR_LABEL_9 >
Fax < ADDR_LABEL_10 > < / ADDR_LABEL_10 >
Replacement of sales tax < ADDR_LABEL_11 > < / ADDR_LABEL_11 >
< ADDR_LABEL_12 > Inside City Limits < / ADDR_LABEL_12 >
< ADDR_DATA_1 > JFK 123 RD < / ADDR_DATA_1 >
Broadway < ADDR_DATA_4 > < / ADDR_DATA_4 >
WA < ADDR_DATA_6 > < / ADDR_DATA_6 >
< ADDR_DATA_7 > 33444 < / ADDR_DATA_7 >
< ADDR_DATA_8 > U.S. < / ADDR_DATA_8 >
< ADDR_DATA_9 > 322-588-4534 < / ADDR_DATA_9 >
< / ADDRESS_DETAILS_ROW >
< / ADDRESS_DETAILS >
< / PO_DATA >
/PO_DATA/LINE_ATTACHMENTS/ID[child::text()=$PoLnID]/preceding-sibling::TEXT[1]?>
.?>=
I get output
1 15-MAY-2009 00:00:00 5,000.00
test po
test for short attachement
4th attachment
2 07-MAY-2009 00:00:00 1,000.00
TEST PO
short text 1
short text 2
Line Number 1
long text attachment which is 2nd note.
53995= long text attachment which is 2nd note.
53995= see this 5th long atta
Line Number 2
long text 1
54015= long text 1
54015= long text 2
Hope this helps
Let me know if it helps ;)
Tags: Business Intelligence
Similar Questions
-
onLoadInit in xml for the loop
Hello
I have a code that loads XML, which works very well (see below)
I have a loop for and based on the content of the XML, swf are loaded move clips.
When each of the sovereign funds have finished loading in I need to change the scale of clips, position etc.
I need indroduce for code below a way to detect when each swf is loaded. I have done some research and I know that I need to integrate a loadInit function in the code. I've tried alsorts and watched a lot of code, but can't seem to get anything working.
If anyone 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() {}
Category: Array, var = this.firstChild.childNodes;
for (i = 0; i < category.length; i ++) {}
page_cat_ids.push (class . 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");Ah yes. Sorted
Thank you
-
Possibility to use the Enum control as an index for the loop entry For
Hello world
I'm curious to know if an ENUM type could be an index entry for a loop For (in fact, I tried in labview but it did NOT work).
I use Enum to my two configurations (only two elements), but sometimes I need to run the two together.
I wonder if it has a good structure to manage it, or simply replace ENUM with table.
Thank you
-Kunsheng
Here is an example of use of the nodes of property:
-
For the loop + shift register + multiply instances
Save the Subvi as model.
Opened using the switch (8 hex) returning so that it opens a new instance of each opening. Move the refs to your loop and use 'Call Server reference VI' to call the right instance for each iteration.
But beeter would be to keep the table of cluster in a SR in the loop For, rather than the sub - VI and just pass in the State of the last time that the sub - VI has been called.
Or another approach...
Do some reading and the stuff of sub - VI in an instance of a model, one for each counter. They can push their updates to the queues so that others can see what they found.
Ben
-
Hello
How can I break the loop if all checkboxes (A, B, C) of all lines (the Row1 [*]) are disabled?
The code below in the click event of a button and it shows the message box for all the number of lines and is not working as I want.
Thank you.
var nods = xfa.resolveNodes("pctA.A.Row1[*].Q"); for (var i = 0; i < nods.length; i++) if (nods.item(i).A.rawValue == "0" && nods.item(i).B.rawValue == "0" && nods.item(i).C.rawValue == "0") { xfa.host.messageBox("Warning1!\n\nWarning2", "WTitle", 0, 0); } else {//continue with code}
Hello
I think that you should use the keyword break after the messageBox, so;
Winks var = xfa.resolveNodes ("pctA.A.Row1 [*]." "") « « Q ») ;
for (var i = 0; i)< nods.length;="" i++) ="" if="" (nods.item(i).a.rawvalue="=" "0"="" &&="" nods.item(i).b.rawvalue="=" "0"="" &&="" nods.item(i).c.rawvalue="=">
{
xfa.host.messageBox ("Warning1! \n\nWarning2 ","WTitle", 0, 0);
break;
}
on the other
{//continue with code}
Concerning
Bruce
-
AS3/AIR - for the loop is ignored but the rest of the function to run
This has left me speechless. It is either something really stupid on my part or part of the Flash. Here goes:
I have a function that accepts all simply a table of movieclip references, executes a loop to add them to a sprite container, then the container gives a background color. It works perfectly the first time. Now, when the program returns to this feature yet it completely ignores the loop but always adds the background color. Here's the function:
public void prepareContainer (sections): Sprite
{
trace ("prepareContainer called.");
trace ("cuts" + sections);
containerClips.splice(0,containerClips.length);
trace ("containerClips.length is" + containerClips.length);
for (var rs: int = 0; rs < sections.length; rs ++)
{
trace ("sections [" + rs + "] is" + [rs] sections);
}
var w: Number = 0;
var l:Number = 0;
for (var sx:int = 0; sx < sections.length; sx ++)
{
trace ("sx is" + sx);
section of the sections [sx] = var;
If (SX > 0)
{
section.y = sections [sx-1] there + .height sections [sx-1];
w = section.width;
l = l + section.height;
}
container.addChild (section);
}
container.graphics.beginFill (0xfafafa); Just for the background color in the container.
container.graphics.drawRect (0,0,w,l);
container.graphics.endFill ();
containerClips = sections;
for (var p:int = 0; p < containerClips.length; p ++)
{
trace ("containerClips [" + p + "] is" + containerClips [p]);
}
return the container;
}
You can also see that I have traces in the service to trace the content and the length of the incoming array.
It's track of the first time through:
called prepareContainer!
sections.length is [object ViewPrevTranClosed_AEM], [medicareHead_AEM object], [object NAMEsubscriberSection_AEM], [object SearchInformationSection_AEM]
containerClips.length is 0
sections [0] is [object ViewPrevTranClosed_AEM]
sections [1] is [object medicareHead_AEM]
sections [2] is [object NAMEsubscriberSection_AEM]
sections [3] is [object SearchInformationSection_AEM]
SX is 0
SX is 1
SX is 2
SX is 3
containerClips [0] is [object ViewPrevTranClosed_AEM]
containerClips [1] is [object medicareHead_AEM]
containerClips [2] is [object NAMEsubscriberSection_AEM]
containerClips [3] is [object SearchInformationSection_AEM]
============================================
As you can see, the traces in the loops went very well and the result is as expected. The container is filled with the movieclips. However, on the next time through the result is that the background color and none of the movieclips are added to the container. The following trace shows also that the loops did not stand even if the table is full and there is no condition that stop the loops. This is the inside track:
called prepareContainer!
sections.length is [object ViewPrevTranClosed_AEM], [medicareHead_AEM object], [object NAMEsubscriberSection_AEM], [object SearchInformationSection_AEM]
containerClips.length is 0
Any ideas on what is the cause?
You can have a circular reference. containerClips is the same table that the sections. Try this simple test:
array1 = [1,2,3,4] var;
var array2 = array1;
array1.splice(0,array1.) Length);
array1 = [];
trace (array2. Length);
I'm sure that you expect to see it trace 4, but it trace 0. Now try to use the line commented out instead. Now you get a record of 4.
If somewhere in your code you establish sections also point to the same table as containerClips, that you really wanted to duplicate a table, you can use the concat:
Var items = containerClips.concat ();
It would be either his own picture double and a pointer to the same table.
-
I'm sorry to disturbed you.
I need a logic for the output below... even with for loop
concerning1 2 2 3 3 3 4 4 4 4 5 5 5 5 5 and 1 1 2 1 2 3 1 2 3 4 1 2 3 4 5
SA
Edited by: 871270 March 28, 2013 10:55Hello
Solomon Yakobson says:
... There is no need for a pipe character in fist postion to make dbms_output output to line up. Just use serveroutput wrapped format: ... SQL> set serveroutput on format wrapped
Thank you!
-
DB version 10.2
When I try to do more high I am hit with ORA-02242 after reconstitution with nologging parallel 4. But when I run manuallyBEGIN FOR vIdxList IN (select INDEX_NAME from user_indexes where table_name in('PORT') and index_type='NORMAL') LOOP EXECUTE IMMEDIATE 'ALTER INDEX ' || vIdxList.INDEX_NAME || ' REBUILD nologging parallel 4 '; 5 dbms_output.put_line('-----------------'); --EXECUTE IMMEDIATE 'ALTER INDEX ' || vIdxList.INDEX_NAME || 'NOPARALLEL'; END LOOP; begin FOR vIdxList IN (select INDEX_NAME from user_indexes where table_name in('PORT') and index_type='NORMAL') LOOP EXECUTE IMMEDIATE 'ALTER INDEX ' || vIdxList.INDEX_NAME || 'NOPARALLEL'; end loop; end; END; /
then ok.ALTER INDEX' <index_name> NOPARALLEL
Some can help me please
ERROR on line 1:
ORA-02242: no option specified for the ALTER INDEX statement
ORA-06512: at line 11 levelBEGIN FOR vIdxList IN (select INDEX_NAME from user_indexes where table_name in('EMPLOYEES') and index_type='NORMAL') LOOP EXECUTE IMMEDIATE 'ALTER INDEX ' || vIdxList.INDEX_NAME || ' REBUILD nologging parallel 4 '; EXECUTE IMMEDIATE 'ALTER INDEX ' || vIdxList.INDEX_NAME || ' NOPARALLEL '; END LOOP; END; /
-
Sample oc4j - ra.xml for the adapter FTP to transfer files remotely
Please provide a sample file and the detailed description of the oc4j - ra.xml for FTP adapter.
< location connector-factory = name of the connector "ist/Ftp/FtpAdapter" = "FTP adapter" >
< config-property name = "host" value="usunnbf29.us.oracle.com"/ >
< name of config-property = 'port' value = "21" / >
< name of config-property = value "username" = "ftp" / >
< config-property name = "password" value = "password" / >
< config-property name = "useFtps" value = "true" / >
< config-property name = "walletLocation" value="D:\wallet\ewallet.p12"/ >
< config-property name = "walletPassword" value = "welcome1" / >
< config-property name = "channelMask" value = "both" / >
< config-property name = "securePort" value = "990" / >
< / connector-factory >
I use windows as the source and target server. Runtime runs on different windows machine. What are the values that are required for the remote server... namely, walletLocation, walletPassword.
I changed the value of the location, host (ipaddress), username (windows login) and password(windows password) only. After restarting the server, files did not move away.
Make the need for the directory to share, files must be given permission. I did all these things, but no avail.
Please help.
Thank youCheck this box:
http://www.Oracle.com/technology/products/integration/adapters/PDF/Adapter_TN_002_FTPAdapter_SecureFTP.PDF
http://download.Oracle.com/docs/CD/B31018_01/Relnotes.1013/Relnotes/adapters.htm
Hope this will guide you.
Marc
http://orasoa.blogspot.com -
Hi there, new ActionScript in general, I have this code snippet I want again and again for always loop:
Quote:
If (controlID.text == "2") {}
trace ("worked");
} else {}
trace ("failed");
} -
Cannot be used for the loop variable 'i' twice?
Something weird is happening with a dialog box that I'm doing that dynamically creates buttons based on the number of objects in a table that I pass in a function. I say weird, but it's obviously me not understanding how the variables in a loop. See below:
mrp = { one: [new File("/Users/constantincerdan/Creative%20Cloud%20Files/Templater/Iconbuttons/bagspouches.png"), "One"], two: [new File("file:///Users/constantincerdan/Creative%20Cloud%20Files/Templater/Iconbuttons/beauty.png"), "Two"], three: [new File("file:///Users/constantincerdan/Creative%20Cloud%20Files/Templater/Iconbuttons/bluepocketsquare.png"), "Three"] } function Dialog(dialogTitle, buttons) { var dlg = new Window("dialog", dialogTitle + " - OU"); dlg.margins = [20, 15, 20, 17]; dlg.buttonsGroup = dlg.add("group"); dlg.buttonsGroup.orientation = "row"; dlg.buttonsGroup.spacing = 15; for(var i = 0; i < buttons.length; i++){ templaterButton = dlg.buttonsGroup.add("iconbutton", undefined, buttons[i][0]) templaterButton.onClick = function(){ open(buttons[i][0]) dlg.close() } dlg.buttonsGroup.add("panel", [undefined, undefined, 0,120]) } dlg.show() } Dialog("Test",[mrp.one, mrp.two, mrp.three])
Execution of this poster dialog very well, and all the icon buttons have their own photos as they should (see photo below).
This is what confuses me: line 16, he is able to use I on the buttons [i] [0] very well get every image and use it, but for some reason any when I also try to use the same thing to line 18 to try to open the real images for each button, I get the error "undefined is not an object" on this line. Change key [i] [0] to line 18 to the key [0] [0] opens the first image very well (on three keys), so I can't understand what I'm doing wrong here?
The problem is that the function that executes the dialog box is not a variable that I exist. It is a function that get-called on the fly. One thing you can do is to use 'this' in the service running, so it will point to the iconbutton that you clicked on, unfortunately there is no default property of this button that can point to the actual file, there is only the property "icon" but that only gives the name of the file and not its full path , but you can create a custom property that can point to the path to the file like this:
MRP = {}
a: [new file ("/Users/constantincerdan/Creative%20Cloud % 20Files/Templater/Iconbuttons/bagspouches program. PNG"),"One"],
two: [new file ("file:///Users/constantincerdan/Creative%20Cloud%20Files/Templater/Iconbuttons/beaut y.png"), "Two"],
three: [new file ("file:///Users/constantincerdan/Creative%20Cloud%20Files/Templater/Iconbuttons/bluep ocketsquare.png"), "Three"]
}
function {Dialog (dialogTitle, buttons)
var DLG = new window ("dialog", dialogTitle + "- OR");
DLG. Margins = [20, 15, 20, 17];
dlg.buttonsGroup = dlg.add ('group');
dlg.buttonsGroup.orientation = "row";
dlg.buttonsGroup.spacing = 15;
for (var i = 0; i)< buttons.length;="">
templaterButton = dlg.buttonsGroup.add ("iconbutton", undefined, buttons [i] [0]);
templaterButton.myFile buttons [i] [0] ;// = my custom property
templaterButton.onClick = function() {}
App.Open (this.) MyFile);
Open (this.) MyFile); / / use the property of the selected object
DLG. Close();
}
dlg.buttonsGroup.add ('panel', [undefined, undefined, 0,120])
}
DLG. Show()
}
Dialog box ("Test" [mrp.one, mrp.two, mrp.three])
-
Cursor implicit FOR THE LOOP and WHERE CURRENT OF
Is it possible to add some updates and WHERE CURRENT OF for an implicit cusror of LOOPS? There seems to be no way to reference the cursor as you can with an explicit cursor.
BEGIN
FOR point IN)
SELECT last_name, job_id
Employees
WHERE job_id LIKE '% % CLERK '.
AND manager_id > 120
ORDER BY name
)
LOOP
...
...
...
END LOOP;
END;
/
Thank you
It must be an explicit cursor.
-
Creation of XML for the E-text report
Please can help me here since the essential need for Iam BI Publisher.
IAM a following sql query via the editor of shooting
Select bac_lgey_cd as the code,
bac_lgey_nm as LEName,
prcs_ef_dt as EffectiveDate,
bac_nac_cd as AccountCode,
bac_cctr_cd as Costcenter,
bac_nac_nm and Descriptions,
glp_ytd_fnc_net_am as CurrentBalance,
glp_ptd_avg_fnc_net_am as AverageMTD,
glp_ytd_avg_fnc_net_am as AverageYTD
of FDR_BAC_RPT_GLR270_SRC
where bac_lgey_cd in ('0365')
XML to set is that i get is as follows
rowset <>
< ROW >
< CODE > 0365 < / CODE >
< LENAME > BACMER-NEWCO < / LENAME >
< EFFECTIVEDATE > 2009-07-30T 00: 00:00.000 - 04:00 < / EFFECTIVEDATE >
< > 101559 ACCOUNTCODE < / ACCOUNTCODE >
< COSTCENTER > 9842414 < / COSTCENTER >
< DESCRIPTIONS > ML-CASH-ALL OTHER < / DESCRIPTION >
< CURRENTBALANCE > 2152.81 < / CURRENTBALANCE >
< AVERAGEMTD > 2152.81 < / AVERAGEMTD >
< AVERAGEYTD > 406116.47 < / AVERAGEYTD >
< / ROW >
< ROW >
< CODE > 0365 < / CODE >
< LENAME > BACMER-NEWCO < / LENAME >
< EFFECTIVEDATE > 2009-07-30T 00: 00:00.000 - 04:00 < / EFFECTIVEDATE >
< ACCOUNTCODE > 131864 < / ACCOUNTCODE >
< COSTCENTER > 9842414 < / COSTCENTER >
LOANS COMMERCIAL-IC-ML < DESCRIPTIONS > < / DESCRIPTION >
< CURRENTBALANCE > - 21.56 < / CURRENTBALANCE >
< AVERAGEMTD > - 21.56 < / AVERAGEMTD >
< AVERAGEYTD > - 15.59 < / AVERAGEYTD >
< / ROW >
< / LINES >
Here's what's fault. I want to manipulate the XML output that is generated in the following format.
I need it in the following format as it would be much easier for me to identify the model of my E-text
< data >
< banner >
< CODE > 0365 < / CODE >
< EffectiveDate > 31/07/2009 < / EffectiveDate >
< AccountName > ML-CASH-ALL OTHER < / AccountName >
< AccountsInformation >
< account > 000102261 < / account >
< CostCenter > 00329200731 < / CostCenter >
< description > ACQ-DUE TO AIB-PAYROLL-IEP < / Description >
< / AccountsInformation >
< AccountsInformation >
< account > 000102262 < / account >
< CostCenter > 00329200732 < / CostCenter >
< description > ACQ-DUE TO AIB-UKS < / Description >
< / AccountsInformation >
< / banner >
< banner >
< CODE > 0366 < / CODE >
< EffectiveDate > 31/08/2009 < / EffectiveDate >
< AccountName > ML-CASH-ALL OTHER < / AccountName >
< AccountsInformation >
< account > 000102263 < / account >
< CostCenter > 00329200733 < / CostCenter >
< description > ACQ-DUE TO AIB-PAYROLL-IEP < / Description >
< / AccountsInformation >
< AccountsInformation >
< account > 000102264 < / account >
< CostCenter > 00329200734 < / CostCenter >
< description > ACQ-DUE TO AIB-UKS < / Description >
< / AccountsInformation >
< / banner >
< / data >
Please can someone help me on this.Great, it worked, but not ;) thread closed
-
How to open a XML for the update.
Hello
I created a form of the ADF, which is made of ADF panels which allow the user to run some simple queries against an Oracle database is way to display links ADF and ADF application module. I would like to add another Panel to the main form that would allow the user to open an existing XML file (.xml) and modify it at will. How can I do this?
Please notify.
Thank you.
Bobby.You can find the code for a simple Java class than reading/writing to a file here:
http://www.javapractices.com/topic/TopicAction.do?ID=42Here's a demo of what you can do once you have the java class that read/write on the file (note that I modified the original class to accept the string rather than as objects of file settings).
http://blogs.Oracle.com/Shay/2009/07/java_class_data_control_and_ad.html
-
++ HOW TO GET THE XML FOR THE PRINTING OF QUOTATION?
Summary: -.
The customer must change a rtf in R12.
To check this, they need generate the XML data file in order to pass through the RTF in order to generate the PDF file.
In other modules (such as check printing), the client can get the XML data file through the output of the simultaneous query. However, quoting is not
provided, they need to know how they can get the XML data file.
I have already posted this in the forum citing and was asked to publish it with the XML editor team.
Please notify.
Best regards
Saket
Published by: sakesing on March 11, 2009 19:10
Published by: sakesing on March 11, 2009 19:11Do the metalink Doc ID: 364547.1
Title: Troubleshooting Oracle XML Publisher for Oracle Applications 11iWorks the same way for R12.xx
go to section 3.3
HTH
Shaun S.
Maybe you are looking for
-
Allergy Apple Watch sport - protective film
My wife Gets a skin irritation while wearing the Apple Watch Sport. So I'm looking for a protective sheet to the back of the Apple Watch. I have haven´t found such a tool. Can anyone give me a tip?
-
Qosmio G50 - 12 q - AC IN LED flashes orange
The PC and ' connected via the power supply current and when I turn the pc off by a button on the LED blinks orange on the PC AC. I declare that the PC and ' off for a week and there is no overheating problems. Although the detachment of the PC Power
-
Computer HP mini 1000: fatal system error
I need help with my laptop please.He repeats to me cchck password failed. Fatal error interrupted SystwmCNU9106ZWN
-
Network blackBerry Smartphones indicator
Does anyone know why it says "1XEV" instead of "3 G" for the coverage of the network if it's 3 G coverage on Verizon's network? Or is it a matter for Verizon?
-
Import Contacts around smart blackBerry phones
Is there a way to take my BlackBerry 8530 contacts and import them into Microsoft Entourage on my computer? Thank you!