Panatrack ParseData Function
This is the source for the [Panatrack_ParseData].
/****** Object: UserDefinedFunction [dbo].[Panatrack_ParseData] Script Date: 8/8/2022 1:51:50 PM ******/SET ANSI_NULLS ONGO
SET QUOTED_IDENTIFIER ONGO
CREATE FUNCTION [dbo].[Panatrack_ParseData] ( @Input VARCHAR(8000), @TagName VARCHAR(30) )RETURNS VARCHAR(8000)AS BEGIN
DECLARE @dataStartPos INT DECLARE @dataEndPos INT DECLARE @dataLength INT DECLARE @result VARCHAR(1000)
DECLARE @startTag VARCHAR(30) DECLARE @endTag VARCHAR(30)
SET @startTag = '[' + @TagName + ']' SET @endTag = '[/' + @TagName + ']'
SET @dataStartPos = CHARINDEX(@startTag, @Input) SET @dataLength = CHARINDEX(@endTag, @Input) - (@dataStartPos + LEN(@startTag)) IF @dataStartPos = 0 SET @result = '' ELSE BEGIN SET @result = SUBSTRING(@Input, (@dataStartPos + LEN(@startTag)), @dataLength) END
RETURN @result END GO
Related Articles
Using Panatrack Flex Fields within eConnect
When PanatrackerGP submits eConnect transactions, we pass along our flex fields in the event they can be used to update custom data within your GP system. This stored procedure provides a function that can be used to easily pull out a named flex ...
Implementing Panatrack - Overview
This guide outlines the PanatrackerGP implementation process from planning through go-live. Planning Successful implementation starts with thorough planning: Project Setup — Panatrack creates a project and assigns a project lead, importing standard ...
Panatrack Support Policy
Support Hours Panatrack offers phone and email support during regular business hours: Days — Monday through Friday Hours — 8:00 AM to 5:00 PM Central Time Holidays — Closed on United States holidays After-Hours — Planned installations, upgrades, or ...
Panatrack Ship Pack tables
The Panatracker solution includes tables that integrate with Starship to provide information about sales order shipments. Information for shipping containers is captured in one of two Panatracker transactions: Fulfill Order and Verify Order. Either ...
Implementing Panatrack - The Kick Off
Every PanatrackerGP implementation begins with a kick-off meeting after Panatrack receives the down payment. Meeting Agenda The kick-off meeting covers: Introduction to Panatrack team members Implementation process overview Go-live date expectations ...