ディスカッション

NetSuiteの保存検索やレポートをマスターするための究極のガイドである分析センターを使用して、データの力を最大限に活用しましょう。複雑さを単純化し、組織の真の可能性を解き放ちます。今すぐ分析センターに参加して、新たな高みを目指しましょう!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.

SuiteTalkで従業員を検索するリクエストのサンプル

編集済:Jun 2, 2025 2:48PM SuiteCloud / カスタマイズ

適用

製品:  NetSuite 2024.2

シナリオ

この記事では、NetSuiteで従業員レコードを検索するサンプルXMLリクエストを提供します。

解決策

2018.1 WSDLバージョンを使用したサンプルXMLリクエストを次に示しま:

<soapenv:Envelope
		xmlns:xsd='http://www.w3.org/2001/XMLSchema'
		xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
		xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/'
		xmlns:platformCore='urn:core_2018_1.platform.webservices.netsuite.com'
		xmlns:listEmp='urn:employees_2018_1.lists.webservices.netsuite.com'
		xmlns:platformCommon='urn:common_2018_1.platform.webservices.netsuite.com'
		xmlns:platformMsgs='urn:messages_2018_1.platform.webservices.netsuite.com'>
		<soapenv:Header>
			<passport xsi:type='platformCore:Passport'>
				<email xsi:type='xsd:string'>sample@email.com</email>
				<password xsi:type='xsd:string'>**********</password>
				<account xsi:type='xsd:string'>123456</account>
			</passport>
		<applicationInfo xsi:type='platformMsgs:ApplicationInfo'>
				<applicationId xsi:type='xsd:string'>***************</applicationId>
			</applicationInfo>
		</soapenv:Header>
		<soapenv:Body>
			<search xsi:type='platformMsgs:SearchRequest'>
				<searchRecord xsi:type='listEmp:EmployeeSearchAdvanced'>
					<criteria xsi:type='listEmp:EmployeeSearch'>
						<basic xsi:type='platformCommon:EmployeeSearchBasic'>
							<firstName operator='contains' xsi:type='platformCore:SearchStringField'>
								<searchValue xsi:type='xsd:string'>Sam</searchValue>
							</firstName>
						</basic>
					</criteria>
					<columns xsi:type='listEmp:EmployeeSearchRow'>
						<basic xsi:type='platformCommon:EmployeeSearchRowBasic'>
							<class xsi:type='platformCore:SearchColumnSelectField'>
								<customLabel xsi:type='xsd:string'/>
								<searchValue xsi:type='platformCore:RecordRef'>
									<name xsi:type='xsd:string'/>
								</searchValue>
							</class>
							<accountNumber xsi:type='platformCore:SearchColumnStringField'>
								<customLabel xsi:type='xsd:string'/>
								<searchValue xsi:type='xsd:string'/>
							</accountNumber>
							<isSalesRep xsi:type='platformCore:SearchColumnBooleanField'>
								<customLabel xsi:type='xsd:string'/>
								<searchValue xsi:type='xsd:boolean'/>
							</isSalesRep>
						</basic>
					</columns>
				</searchRecord>
			</search>
		</soapenv:Body>
	</soapenv:Envelope>
タグ付けされた:

ようこそ!

サインイン

完全な詳細を表示するには、サインインしてください。

登録

アカウントがありませんか?ここをクリックして始めましょう!

リーダーボード

コミュニティの達人

第2四半期 (4月~6月 2026)

今週のリーダー

今月のリーダー

歴代リーダー