송장 수량 확인 확장점 구성

  • 릴리스 버전: Australia
  • 업데이트 날짜 2026년 02월 27일
  • 소요 시간: 3분
  • 송장 수량 확인 확장점을 구현하여 송장 분쟁 접수 도우미 AI 에이전트가 전사적 자원 관리(ERP) 또는 인벤토리 시스템의 배송된 수량 데이터와 조정하여 고객의 수량 분쟁 클레임을 확인할 수 있도록 합니다.

    시작하기 전에

    애플리케이션 범위를 송장 운영 관리로 설정해야 합니다. 통합 탐색 모음의 애플리케이션 선택기를 사용하여 애플리케이션 범위를 변경할 수 있습니다.

    필요한 역할: 관리자

    이 태스크 정보

    송장 운영 관리 애플리케이션의 데모 데이터에는 sn_inv_ops_aias.invoiceQuantityCheckEP 확장점의 일부로 invoiceQuantityCheckDemo라는 샘플 구현이 포함되어 있습니다. 외부 ERP 시스템 또는 인벤토리 배송 기록에 대한 수량 분쟁의 실제 확인을 활성화하려면 데모 구현을 고유한 사용자 지정 논리로 바꾸십시오.

    프로시저

    1. 인스턴스에 로그인합니다 ServiceNow .
    2. 다음으로 이동 모두 > 시스템 확장점 > 스크립팅된 확장점.
    3. API 이름 필드에서 sn_inv_ops_aias.invoiceQuantityCheckEP 스크립트로 작성된 확장점을 검색합니다.
    4. sn_inv_ops_aias.invoiceQuantityCheckEP를 선택하여 데모 데이터에 포함된 샘플 스크립트를 봅니다.
    5. 구현 관련 생성 링크를 선택하여 확장점의 고유한 구현을 생성합니다.
    6. 스크립트 포함 양식의 필드에 내용을 입력합니다.
      스크립트 포함 양식 필드에 대한 설명은 다음 문서를 참조하십시오 Script includes.
    7. 스크립트의 함수를 재정의하여 고객의 수량 분쟁 클레임의 유효성을 검사하는 논리를 구현합니다.
      함수 이름 설명 입력 및 출력
      checkInvoiceQuantityWithInvoiceCase

      재정의할 자리 표시자 함수입니다. 이 자리표시자를 사용하여 송장 케이스와 연결된 여러 송장 라인에서 수량 분쟁을 확인하는 논리를 구현합니다.

      입력:
      {
          "invoiceNumber": <Invoice number of the customer invoice record>,
          "verifiedInvoiceLineDetails": <Array of invoice line details>
      출력:
      {
      “invoiceLineNumber”: <Invoice line number against which the dispute was raised>,
      “disputedQuantity”: <Disputed quantity claimed by the customer, as available in the invoice case line>
      }
      checkInvoiceQuantity

      재정의할 자리 표시자 함수입니다. 이 자리 표시자를 사용하면 고객이 청구한 수량을 ERP 또는 인벤토리 배송 기록과 일치시켜 수량 분쟁을 확인하는 논리를 구현할 수 있습니다.

      입력:
      {
          "invoiceNumber": <Invoice number of the customer invoice record>,
          "invoiceLineNumber": <Invoice line number of the customer invoice line record against which the dispute was raised>,
          "userEnteredQty": <Disputed quantity claimed by the customer>
      }
      출력:
      {
          "invoiceLineNumber": <Invoice line number against which the dispute was raised>,
          "invoiceQty": <Actual quantity on the invoice line record>,
          "deliveredQty": <Integer representing the disputed quantity claimed
                            by the customer>,
          "qtyMatch": <Boolean; true if the customer's dispute claim is valid, false if the invoiced and claimed quantities match>,
          "isError": <Boolean; true if the API call failed, false if the API call was successful>,
          "errorMessage": <Error message string to handle failure scenarios>
      }
    8. 업데이트를 선택합니다.
    9. 옵션: 가상 도우미를 사용하여 Now Assist 비즈니스 포털에서 송장 분쟁을 제출하여 구현을 확인합니다.