1. ------------------------------------
  2. 1. Set Environment
  3.  
  4. ------------------------------------
  5.  
  6. -- 1a. Setup the Org_id
  7. ------------------------------------
  8.  
  9. exec dbms_application_info.set_client_info('204');
  10.  
  11. ------------------------------------
  12. -- 1b. Show the output variables
  13. ------------------------------------
  14. set serveroutput on
  15.  
  16. ------------------------------------
  17. 2. Create a party and an account
  18.  
  19. ------------------------------------
  20.  
  21. DECLARE
  22. p_cust_account_rec HZ_CUST_ACCOUNT_V2PUB.CUST_ACCOUNT_REC_TYPE;
  23. p_organization_rec HZ_PARTY_V2PUB.ORGANIZATION_REC_TYPE;
  24. p_customer_profile_rec
  25. HZ_CUSTOMER_PROFILE_V2PUB.CUSTOMER_PROFILE_REC_TYPE;
  26. x_cust_account_id NUMBER;
  27. x_account_number VARCHAR2(2000);
  28. x_party_id NUMBER;
  29. x_party_number VARCHAR2(2000);
  30. x_profile_id NUMBER;
  31. x_return_status VARCHAR2(2000);
  32. x_msg_count NUMBER;
  33. x_msg_data VARCHAR2(2000);
  34.  
  35. BEGIN
  36. p_cust_account_rec.account_name := 'CUSEXAPIFIG02';
  37. p_cust_account_rec.created_by_module := 'TCAPI_EXAMPLE';
  38.  
  39. p_organization_rec.organization_name := 'CUSEXAPIFIG02';
  40. p_organization_rec.created_by_module := 'TCAPI_EXAMPLE';
  41.  
  42. hz_cust_account_v2pub.create_cust_account(
  43. 'T',
  44. p_cust_account_rec,
  45. p_organization_rec,
  46. p_customer_profile_rec,
  47. 'F',
  48. x_cust_account_id,
  49. x_account_number,
  50. x_party_id,
  51. x_party_number,
  52. x_profile_id,
  53. x_return_status,
  54. x_msg_count,
  55. x_msg_data);
  56.  
  57. dbms_output.put_line('***************************');
  58. dbms_output.put_line('Output information ....');
  59. dbms_output.put_line('***************************');
  60. dbms_output.put_line('x_cust_account_id: '||x_cust_account_id);
  61. dbms_output.put_line('x_account_number: '||x_account_number);
  62. dbms_output.put_line('x_party_id: '||x_party_id);
  63. dbms_output.put_line('x_party_number: '||x_party_number);
  64. dbms_output.put_line('x_profile_id: '||x_profile_id);
  65. dbms_output.put_line('x_return_status: '||x_return_status);
  66. dbms_output.put_line('x_msg_count: '||x_msg_count);
  67. dbms_output.put_line('x_msg_data: '||x_msg_data);
  68. dbms_output.put_line('***************************');
  69.  
  70. IF x_msg_count >1 THEN
  71. FOR I IN 1..x_msg_count
  72. LOOP
  73. dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded => FND_API.G_FALSE ), 1, 255));
  74. END LOOP;
  75. END IF;
  76.  
  77. END;
  78. /
  79.  
  80. ***************************
  81. Output information ....
  82. ***************************
  83. x_cust_account_id: 6075
  84. x_account_number: 3040
  85. x_party_id: 17092
  86. x_party_number: 14444
  87. x_profile_id: 5290
  88. x_return_status: S
  89. x_msg_count: 0
  90. x_msg_data:
  91. ***************************
  92.  
  93. /* BEGIN address */
  94.  
  95. ------------------------------------
  96. 3. Create a physical location
  97.  
  98. ------------------------------------
  99.  
  100. DECLARE
  101. p_location_rec HZ_LOCATION_V2PUB.LOCATION_REC_TYPE;
  102. x_location_id NUMBER;
  103. x_return_status VARCHAR2(2000);
  104. x_msg_count NUMBER;
  105. x_msg_data VARCHAR2(2000);
  106. BEGIN
  107. p_location_rec.country := 'US';
  108. p_location_rec.address1 := 'Address4';
  109. p_location_rec.city := 'San Mateo';
  110. p_location_rec.postal_code := '94401';
  111. p_location_rec.state := 'CA';
  112. p_location_rec.created_by_module := 'TCAPI_EXAMPLE';
  113. hz_location_v2pub.create_location(
  114. 'T',
  115. p_location_rec,
  116. x_location_id,
  117. x_return_status,
  118. x_msg_count,
  119. x_msg_data);
  120.  
  121. dbms_output.put_line('***************************');
  122. dbms_output.put_line('Output information ....');
  123. dbms_output.put_line('***************************');
  124. dbms_output.put_line('x_location_id: '||x_location_id);
  125. dbms_output.put_line('x_return_status: '||x_return_status);
  126. dbms_output.put_line('x_msg_count: '||x_msg_count);
  127. dbms_output.put_line('x_msg_data: '||x_msg_data);
  128. dbms_output.put_line('***************************');
  129.  
  130. IF x_msg_count >1 THEN
  131. FOR I IN 1..x_msg_count
  132. LOOP
  133. dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded => FND_API.G_FALSE ), 1, 255));
  134. END LOOP;
  135. END IF;
  136.  
  137. END;
  138. /
  139.  
  140. ***************************
  141. Output information ....
  142. ***************************
  143. x_location_id: 13326
  144. x_return_status: S
  145. x_msg_count: 0
  146. x_msg_data:
  147. ***************************
  148.  
  149. ------------------------------------
  150. 4. Create a party site using party_id from step 2 and location_id from step 3
  151.  
  152. ------------------------------------
  153.  
  154. DECLARE
  155. p_party_site_rec HZ_PARTY_SITE_V2PUB.PARTY_SITE_REC_TYPE;
  156. x_party_site_id NUMBER;
  157. x_party_site_number VARCHAR2(2000);
  158. x_return_status VARCHAR2(2000);
  159. x_msg_count NUMBER;
  160. x_msg_data VARCHAR2(2000);
  161. BEGIN
  162. p_party_site_rec.party_id := 17092; --value for party_id from step 2>
  163. p_party_site_rec.location_id := 13326; --value for location_id from step 3>
  164. p_party_site_rec.identifying_address_flag := 'Y';
  165. p_party_site_rec.created_by_module := 'TCAPI_EXAMPLE';
  166. hz_party_site_v2pub.create_party_site(
  167. 'T',
  168. p_party_site_rec,
  169. x_party_site_id,
  170. x_party_site_number,
  171. x_return_status,
  172. x_msg_count,
  173. x_msg_data);
  174.  
  175. dbms_output.put_line('***************************');
  176. dbms_output.put_line('Output information ....');
  177. dbms_output.put_line('***************************');
  178. dbms_output.put_line('x_party_site_id: '||x_party_site_id);
  179. dbms_output.put_line('x_party_site_number: '||x_party_site_number);
  180. dbms_output.put_line('x_return_status: '||x_return_status);
  181. dbms_output.put_line('x_msg_count: '||x_msg_count);
  182. dbms_output.put_line('x_msg_data: '||x_msg_data);
  183. dbms_output.put_line('***************************');
  184.  
  185. IF x_msg_count >1 THEN
  186. FOR I IN 1..x_msg_count
  187. LOOP
  188. dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded => FND_API.G_FALSE ), 1, 255));
  189. END LOOP;
  190. END IF;
  191.  
  192. END;
  193. /
  194.  
  195. ***************************
  196. Output information ....
  197. ***************************
  198. x_party_site_id: 8885
  199. x_party_site_number: 6893
  200. x_return_status: S
  201. x_msg_count: 0
  202. x_msg_data:
  203. ***************************
  204.  
  205. ------------------------------------
  206. 5. Create an account site using cust_account_id from step 2 and party_site_id from step 4.
  207.  
  208. ------------------------------------
  209.  
  210. DECLARE
  211. p_cust_acct_site_rec hz_cust_account_site_v2pub.cust_acct_site_rec_type;
  212. x_return_status VARCHAR2(2000);
  213. x_msg_count NUMBER;
  214. x_msg_data VARCHAR2(2000);
  215. x_cust_acct_site_id NUMBER;
  216. BEGIN
  217. p_cust_acct_site_rec.cust_account_id := 6075; --value for cust_account_id you get from step 2>
  218. p_cust_acct_site_rec.party_site_id := 8885; --value for party_site_id from step 4>
  219. p_cust_acct_site_rec.language := 'US';
  220. p_cust_acct_site_rec.created_by_module := 'TCAPI_EXAMPLE';
  221. hz_cust_account_site_v2pub.create_cust_acct_site(
  222. 'T',
  223. p_cust_acct_site_rec,
  224. x_cust_acct_site_id,
  225. x_return_status,
  226. x_msg_count,
  227. x_msg_data);
  228.  
  229. dbms_output.put_line('***************************');
  230. dbms_output.put_line('Output information ....');
  231. dbms_output.put_line('***************************');
  232. dbms_output.put_line('x_cust_acct_site_id: '||x_cust_acct_site_id);
  233. dbms_output.put_line('x_return_status: '||x_return_status);
  234. dbms_output.put_line('x_msg_count: '||x_msg_count);
  235. dbms_output.put_line('x_msg_data: '||x_msg_data);
  236. dbms_output.put_line('***************************');
  237.  
  238. IF x_msg_count >1 THEN
  239. FOR I IN 1..x_msg_count
  240. LOOP
  241. dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded => FND_API.G_FALSE ), 1, 255));
  242. END LOOP;
  243. END IF;
  244.  
  245. END;
  246. /
  247.  
  248. ***************************
  249. Output information ....
  250. ***************************
  251. x_cust_acct_site_id: 6155
  252. x_return_status: S
  253. x_msg_count: 0
  254. x_msg_data:
  255. ***************************
  256.  
  257. ------------------------------------
  258. 6. Create an account site use using cust_acct_site_id from step 5 and site_use_code='BILL_TO'
  259.  
  260. ------------------------------------
  261.  
  262. DECLARE
  263. p_cust_site_use_rec HZ_CUST_ACCOUNT_SITE_V2PUB.CUST_SITE_USE_REC_TYPE;
  264. p_customer_profile_rec HZ_CUSTOMER_PROFILE_V2PUB.CUSTOMER_PROFILE_REC_TYPE;
  265. x_site_use_id NUMBER;
  266. x_return_status VARCHAR2(2000);
  267. x_msg_count NUMBER;
  268. x_msg_data VARCHAR2(2000);
  269. BEGIN
  270. p_cust_site_use_rec.cust_acct_site_id := 6155; --value for cust_acct_site_id from step 5>
  271. p_cust_site_use_rec.site_use_code := 'BILL_TO';
  272. p_cust_site_use_rec.created_by_module := 'TCAPI_EXAMPLE';
  273. hz_cust_account_site_v2pub.create_cust_site_use(
  274. 'T',
  275. p_cust_site_use_rec,
  276. p_customer_profile_rec,
  277. '',
  278. '',
  279. x_site_use_id,
  280. x_return_status,
  281. x_msg_count,
  282. x_msg_data);
  283.  
  284. dbms_output.put_line('***************************');
  285. dbms_output.put_line('Output information ....');
  286. dbms_output.put_line('***************************');
  287. dbms_output.put_line('x_site_use_id: '||x_site_use_id);
  288. dbms_output.put_line('x_return_status: '||x_return_status);
  289. dbms_output.put_line('x_msg_count: '||x_msg_count);
  290. dbms_output.put_line('x_msg_data: '||x_msg_count);
  291. dbms_output.put_line('***************************');
  292.  
  293. IF x_msg_count >1 THEN
  294. FOR I IN 1..x_msg_count
  295. LOOP
  296. dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded => FND_API.G_FALSE ), 1, 255));
  297. END LOOP;
  298. END IF;
  299.  
  300. END;
  301. /
  302.  
  303. ***************************
  304. Output information ....
  305. ***************************
  306. x_site_use_id: 7149
  307. x_return_status: S
  308. x_msg_count: 0
  309. x_msg_data: 0
  310. ***************************
  311.  
  312. /* END address */
  313.  
  314. commit;
  315.  
  316. /* BEGIN contact to an organization */
  317.  
  318. ------------------------------------
  319. 7. Create a definition contact
  320.  
  321. ------------------------------------
  322.  
  323. DECLARE
  324. p_create_person_rec HZ_PARTY_V2PUB.person_rec_type;
  325. x_party_id NUMBER;
  326. x_party_number VARCHAR2(2000);
  327. x_profile_id NUMBER;
  328. x_return_status VARCHAR2(2000);
  329. x_msg_count NUMBER;
  330. x_msg_data VARCHAR2(2000);
  331.  
  332. BEGIN
  333. p_create_person_rec.person_pre_name_adjunct := 'MR.';
  334. p_create_person_rec.person_first_name := 'ExFennerct4';
  335. p_create_person_rec.person_last_name := 'ExGiraldoct4';
  336. p_create_person_rec.created_by_module := 'TCAPI_EXAMPLE';
  337.  
  338. HZ_PARTY_V2PUB.create_person(
  339. 'T',
  340. p_create_person_rec,
  341. x_party_id,
  342. x_party_number,
  343. x_profile_id,
  344. x_return_status,
  345. x_msg_count,
  346. x_msg_data);
  347.  
  348. dbms_output.put_line('***************************');
  349. dbms_output.put_line('Output information ....');
  350. dbms_output.put_line('***************************');
  351. dbms_output.put_line('x_party_id: '||x_party_id);
  352. dbms_output.put_line('x_party_number: '||x_party_number);
  353. dbms_output.put_line('x_profile_id: '||x_profile_id);
  354. dbms_output.put_line('x_return_status: '||x_return_status);
  355. dbms_output.put_line('x_msg_count: '||x_msg_count);
  356. dbms_output.put_line('x_msg_data: '||x_msg_data);
  357. dbms_output.put_line('***************************');
  358.  
  359. IF x_msg_count >1 THEN
  360. FOR I IN 1..x_msg_count
  361. LOOP
  362. dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded => FND_API.G_FALSE ), 1, 255));
  363. END LOOP;
  364. END IF;
  365.  
  366. END;
  367. /
  368.  
  369. ***************************
  370. Output information ....
  371. ***************************
  372. x_party_id: 17093
  373. x_party_number: 14445
  374. x_profile_id: 17187
  375. x_return_status: S
  376. x_msg_count: 0
  377. x_msg_data:
  378. ***************************
  379.  
  380. ------------------------------------
  381. 8. Create a relation cont-org using party_id from step 7 and party_id from step 2
  382.  
  383. ------------------------------------
  384.  
  385. DECLARE
  386. p_org_contact_rec HZ_PARTY_CONTACT_V2PUB.ORG_CONTACT_REC_TYPE;
  387. x_org_contact_id NUMBER;
  388. x_party_rel_id NUMBER;
  389. x_party_id NUMBER;
  390. x_party_number VARCHAR2(2000);
  391. x_return_status VARCHAR2(2000);
  392. x_msg_count NUMBER;
  393. x_msg_data VARCHAR2(2000);
  394. BEGIN
  395. p_org_contact_rec.department_code := 'ACCOUNTING';
  396. -- p_org_contact_rec.job_title := 'ACCOUNTS OFFICER';
  397. -- p_org_contact_rec.decision_maker_flag := 'Y';
  398. -- p_org_contact_rec.job_title_code := 'APC';
  399. p_org_contact_rec.created_by_module := 'TCAPI_EXAMPLE';
  400. p_org_contact_rec.party_rel_rec.subject_id := 17093; --value for party_id from step 7>
  401. p_org_contact_rec.party_rel_rec.subject_type := 'PERSON';
  402. p_org_contact_rec.party_rel_rec.subject_table_name := 'HZ_PARTIES';
  403. p_org_contact_rec.party_rel_rec.object_id := 17092; --Value for party_id from step 2>
  404. p_org_contact_rec.party_rel_rec.object_type := 'ORGANIZATION';
  405. p_org_contact_rec.party_rel_rec.object_table_name := 'HZ_PARTIES';
  406. p_org_contact_rec.party_rel_rec.relationship_code := 'CONTACT_OF';
  407. p_org_contact_rec.party_rel_rec.relationship_type := 'CONTACT';
  408. p_org_contact_rec.party_rel_rec.start_date := SYSDATE;
  409. hz_party_contact_v2pub.create_org_contact(
  410. 'T',
  411. p_org_contact_rec,
  412. x_org_contact_id,
  413. x_party_rel_id,
  414. x_party_id,
  415. x_party_number,
  416. x_return_status,
  417. x_msg_count,
  418. x_msg_data);
  419.  
  420. dbms_output.put_line('***************************');
  421. dbms_output.put_line('Output information ....');
  422. dbms_output.put_line('***************************');
  423. dbms_output.put_line('x_org_contact_id: '||x_org_contact_id);
  424. dbms_output.put_line('x_party_rel_id: '||x_party_rel_id);
  425. dbms_output.put_line('x_party_id: '||x_party_id);
  426. dbms_output.put_line('x_party_number: '||x_party_number);
  427. dbms_output.put_line('x_return_status: '||x_return_status);
  428. dbms_output.put_line('x_msg_count: '||x_msg_count);
  429. dbms_output.put_line('x_msg_data: '||x_msg_data);
  430. dbms_output.put_line('***************************');
  431.  
  432. IF x_msg_count >1 THEN
  433. FOR I IN 1..x_msg_count
  434. LOOP
  435. dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded => FND_API.G_FALSE ), 1, 255));
  436. END LOOP;
  437. END IF;
  438.  
  439. END;
  440. /
  441.  
  442. ***************************
  443. Output information ....
  444. ***************************
  445. x_org_contact_id: 7110
  446. x_party_rel_id: 7788
  447. x_party_id: 17094
  448. x_party_number: 14446
  449. x_return_status: S
  450. x_msg_count: 0
  451. x_msg_data:
  452. ***************************
  453.  
  454. ------------------------------------
  455. 9. Create a contact using party_id you get 8 and cust_account_id from step 2
  456.  
  457. ------------------------------------
  458.  
  459. DECLARE
  460. p_cr_cust_acc_role_rec HZ_CUST_ACCOUNT_ROLE_V2PUB.cust_account_role_rec_type;
  461. x_cust_account_role_id NUMBER;
  462. x_return_status VARCHAR2(2000);
  463. x_msg_count NUMBER;
  464. x_msg_data VARCHAR2(2000);
  465.  
  466. BEGIN
  467.  
  468. -- NOTE:
  469. -- must be unique CUST_ACCOUNT_ID, PARTY_ID,ROLE_TYPE
  470. -- must be unique CUST_ACCT_SITE_ID, PARTY_ID,ROLE_TYPE
  471.  
  472. p_cr_cust_acc_role_rec.party_id := 17094; --value for party_id from step 8>
  473. p_cr_cust_acc_role_rec.cust_account_id := 6075; --value for cust_account_id from step 2>
  474. p_cr_cust_acc_role_rec.primary_flag := 'Y';
  475. p_cr_cust_acc_role_rec.role_type := 'CONTACT';
  476. p_cr_cust_acc_role_rec.created_by_module := 'TCAPI_EXAMPLE';
  477.  
  478. HZ_CUST_ACCOUNT_ROLE_V2PUB.create_cust_account_role(
  479. 'T',
  480. p_cr_cust_acc_role_rec,
  481. x_cust_account_role_id,
  482. x_return_status,
  483. x_msg_count,
  484. x_msg_data);
  485.  
  486. dbms_output.put_line('***************************');
  487. dbms_output.put_line('Output information ....');
  488. dbms_output.put_line('***************************');
  489. dbms_output.put_line('x_cust_account_role_id: '||x_cust_account_role_id);
  490. dbms_output.put_line('x_return_status: '||x_return_status);
  491. dbms_output.put_line('x_msg_count: '||x_msg_count);
  492. dbms_output.put_line('x_msg_data: '||x_msg_data);
  493. dbms_output.put_line('***************************');
  494.  
  495. IF x_msg_count >1 THEN
  496. FOR I IN 1..x_msg_count
  497. LOOP
  498. dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded => FND_API.G_FALSE ), 1, 255));
  499. END LOOP;
  500. END IF;
  501.  
  502. END;
  503. /
  504.  
  505. ***************************
  506. Output information ....
  507. ***************************
  508. x_cust_account_role_id: 5857
  509. x_return_status: S
  510. x_msg_count: 0
  511. x_msg_data:
  512. ***************************
  513.  
  514. /* END contact */
  515.  
  516. /* Create the contact ROLE for the Org Contact - (Contact Roles zone on Customers Form)*/
  517.  
  518. ------------------------------------
  519. 10. Create the org contact role using x_cust_account_role_id from step 9
  520.  
  521. ------------------------------------
  522.  
  523. DECLARE
  524. p_role_responsibility_rec HZ_CUST_ACCOUNT_ROLE_V2PUB.ROLE_RESPONSIBILITY_REC_TYPE;
  525. x_responsibility_id NUMBER;
  526. x_return_status VARCHAR2(2000);
  527. x_msg_count NUMBER;
  528. x_msg_data VARCHAR2(2000);
  529.  
  530. BEGIN
  531.  
  532. p_role_responsibility_rec.cust_account_role_id := 5857; --value for x_cust_account_role_id from step 9>
  533. p_role_responsibility_rec.responsibility_type := 'SOLD_TO';
  534. p_role_responsibility_rec.created_by_module := 'TCAPI_EXAMPLE';
  535.  
  536. HZ_CUST_ACCOUNT_ROLE_V2PUB.create_role_responsibility (
  537. 'T',
  538. p_role_responsibility_rec,
  539. x_responsibility_id,
  540. x_return_status,
  541. x_msg_count,
  542. x_msg_data
  543. );
  544.  
  545. dbms_output.put_line('***************************');
  546. dbms_output.put_line('Output information ....');
  547. dbms_output.put_line('***************************');
  548. dbms_output.put_line('x_responsibility_id: '||x_responsibility_id);
  549. dbms_output.put_line('x_return_status: '||x_return_status);
  550. dbms_output.put_line('x_msg_count: '||x_msg_count);
  551. dbms_output.put_line('x_msg_data: '||x_msg_data);
  552. dbms_output.put_line('***************************');
  553.  
  554. IF x_msg_count >1 THEN
  555. FOR I IN 1..x_msg_count
  556. LOOP
  557. dbms_output.put_line(I||'. '||SubStr(FND_MSG_PUB.Get(p_encoded => FND_API.G_FALSE ), 1, 255));
  558. END LOOP;
  559. END IF;
  560.  
  561. END;
  562. /
  563.  
  564. ***************************
  565. Output information ....
  566. ***************************
  567. x_responsibility_id: 3162
  568. x_return_status: S
  569. x_msg_count: 0
  570. x_msg_data:
  571. ***************************
  572.  
  573. /* End contact ROLE */
  574.  
  575. commit;

  

Oracle EBS AR 客户API的更多相关文章

  1. Oracle EBS AR 其他API

    DECLARE L_CR_ID NUMBER; L_ATTRIBUTE_REC AR_RECEIPT_API_PUB.ATTRIBUTE_REC_TYPE; L_GLOBAL_ATT_REC AR_R ...

  2. Oracle EBS AR 收款API收款方法标识无效

    1.确认是不是没有收款方法 methods那个表的问题2.查看收款方法那个LOV的问题3.界面录入 是否会有问题  碰到的问题是 收款日期比较早时 找不到对应的收款方法 银行账户需要重新设置

  3. Oracle EBS AR 客户取数SQL

    SELECT acct.cust_account_id, acct.party_id, acct.account_number, party.party_name, lkp1.meaning part ...

  4. Oracle EBS R12 客户表结构

    参考链接: Oracle EBS R12 客户表结构 Oracle EBS中的“客户”."客户地点".‘订单’之间的关系 Oracle EBS中的“客户”."客户地点&q ...

  5. Oracle EBS AR 更新客户配置文件

    DECLARE l_rec_profile_t hz_customer_profile_v2pub.customer_profile_rec_type; l_rec_profile hz_custom ...

  6. Oracle EBS AR 事务处理到期余额总计API

    declare    -- Local variables here   i integer;   x_line_original NUMBER;   x_line_remaining NUMBER; ...

  7. Oracle EBS AR 更新客户组织层

    declare -- Local variables here i integer; g_module ) := 'TCA_V2_API'; lrec_org hz_party_v2pub.organ ...

  8. Oracle EBS AR 更新客户账户层

    declare x_return_status ); x_msg_count NUMBER; x_msg_data ); x_profile_id NUMBER; l_location_id NUMB ...

  9. Oracle EBS AR 更新客户

    DECLARE    l_return_status );    l_msg_count     NUMBER;    l_msg_data      );    l_rec_type      hz ...

随机推荐

  1. PHP多进程系列笔记(一)

    本系列文章将向大家讲解pcntl_*系列函数,从而更深入的理解进程相关知识. PCNTL在PHP中进程控制支持默认是关闭的.您需要使用 --enable-pcntl 配置选项重新编译PHP的 CGI或 ...

  2. ThreadPoolExecutor参数讲解

    1. 线程池可以节省创建多个线程带来的开销问题. 2. 线程池的参数如下: public ThreadPoolExecutor(int corePoolSize, int maximumPoolSiz ...

  3. 安装Windows 8.1过程中出现的各种问题(无损从MBR转GPT磁盘、不能定位已有分区)

    这个周末就安装了个系统,本以为一个小时就能搞定,没想到花费了将近一天. 我的机子是6G内存.500G硬盘,原装系统是Windows 7,现在想换成Windows 8.1,于是下载了64位的Window ...

  4. 32-hadoop-hbase调优

    1, 数据膨胀后, 才对region进行分区, 效率比较低, 所以需要预创建region, 进行负载均衡写入 package com.wenbronk.hbase; import org.apache ...

  5. php的 $_REQUEST取值为空

    默认的 $_REQUEST 会获取 $_POST, $_GET, $_COOKIE的数据,这些可以通过查看 php.ini来确认: 由上图可以看出,获取的内容是通过 variables_order 和 ...

  6. 强势解析eBay BASE模式、去哪儿及蘑菇街分布式架构

    互联网行业是大势所趋,从招聘工资水平即可看出,那么如何提升自我技能,满足互联网行业技能要求?需要以目标为导向,进行技能提升,本文主要针对高并发分布式系统设计.架构(数据一致性)做了分析,祝各位早日走上 ...

  7. git命令小记

    1.git之tag git标签分为轻量级(lightweight)标签和含标注(annotated)标签.轻量级标签一般用于不会改变的分支,含标注的标签包含详细的信息. 轻量级标签: git tag ...

  8. Java源码阅读(不断补充)

    java.util.LinkedList LinkedList是实现了List接口的双链表实现,拥有list的所有方法并且允许所有元素(包括null). 双向链表也叫双链表,是链表的一种,它的每个数据 ...

  9. [转]EasyUI 日期格式

    本文转自:http://www.jeasyui.net/demo/512.html Different date formats are applied to different DateBox co ...

  10. oracle上机实验内容

    这是oracle实验的部分代码,我花了一中午做的. 第一次上机内容 实验目的:熟悉ORACLE11G的环境 实验内容: 第二次上机内容 实验目标:掌握oracle体系结构,掌握sqlplus的运行环境 ...