Home | Forums | Contact | Search | Syndication  
 
 [login] [create account]   Saturday, May 4, 2024 
 
slxdeveloper.com Community Forums  
   
The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
 Administration Forums - General Administration
Forum to discuss general administration topics for SalesLogix (including LAN & remote topics). View the code of conduct for posting guidelines.
Forums RSS Feed


 Back to Forum List | Back to General Administration | New ThreadView:  Search:  
 Author  Thread: SLX Ticket Source Field
J. Estrella
Posts: 34
 
SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 17 Jul 14 2:23 AM

Hi, 


i'm creating a group report for Tickets so that I can easily pull out the report. However, I cannot locate the Ticket source field. It might e named differently.  Can you help me locate it? Thanks


 


 


 


 

[Reply][Quote]
Jin San Son
Posts: 8
 
Re: SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 14 12:23 AM

The field is Ticket:VIACode.


You have to link to Picklist table to get the text.


 

[Reply][Quote]
J. Estrella
Posts: 34
 
Re: SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 14 12:56 AM
Can you please help me further? I tried creating a local join between ViaCode and Picklist but still the source code doesn't appear when I drag it to the group. Do you know what fields should I link to get the field?



Thanks
[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 14 1:53 AM

Right click the ViaCode and select Global Join to Picklist. Then it will appear underneath (as a linked table) - you then drag the Text field to the group (not ViaCode).


Or, you can just drop the ViaCode directly into the group, double click it and in FormatType select PicklistItem.

[Reply][Quote]
J. Estrella
Posts: 34
 
Re: SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 14 2:08 AM

Thanks that's a great help. One more thing, do you know where can I pull out. The serial No. field from the ticket just like the source I don't know where to get it and include it as a fiedl in the group?

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 14 2:20 AM

SerialNumber is not a field in Ticket. Rather, it's a link to the table accountproduct :


(TICKET:ACCOUNTPRODUCTID>ACCOUNTPRODUCTID.ACCOUNTPRODUCT!SERIALNUMBER)


So, to do this in Query Builder:


1) Right click the Ticket AccountProductID


2) Select Create Local Join, select the child table AccountProduct


3) On the join field select AccountProductID from the drop down


4) Select Left Join


You'll now see a new table appear in the list on the left. Select SerialNumber from AccountProduct into your layout.


 

[Reply][Quote]
J. Estrella
Posts: 34
 
Re: SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 14 2:31 AM

Hi Mike,


I was able to follow your instruction but when I tried dragging the Serial No. into the group layout no data appeared. Is there anything that I have to do in the format type?


 


Thanks


 

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 14 2:33 AM

No, formattype isn't relevant. The data will, of course, only show when there is a matching row within Ticket (Serial Number is filled in) and AccountProduct (where a link exists). You can change the join to Inner to show only those that have this filled in to test.

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 14 2:38 AM

This is the equivalent SQL Syntax - to show only those tickets with linked serial numbers;


 


 


SELECT A1.TICKETID, A2.ACCOUNT A2_ACCOUNT, A1.VIACODE, A3.SERIALNUMBER A3_SERIALNUMBER 
FROM TICKET A1
INNER JOIN ACCOUNTPRODUCT A3 ON (A1.ACCOUNTPRODUCTID=A3.ACCOUNTPRODUCTID)
LEFT OUTER JOIN ACCOUNT A2 ON (A1.ACCOUNTID=A2.ACCOUNTID)
ORDER BY A1.TICKETID ASC

 


 


 

[Reply][Quote]
J. Estrella
Posts: 34
 
Re: SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 14 3:06 AM

Thanks. I'll have this reviewed. Also, when you mean account product are you referring to Account asset because that it where I usually type the serial no. for it to show in the ticket detailed view.


 


Thanks


 


 

[Reply][Quote]
Mike Spragg
Posts: 1226
Top 10 forum poster: 1226 posts
 
Re: SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 14 3:15 AM

Yes, whilst it's true that's what you do in the front end (asset is the new name of product) the actual data is stored in the table ACCOUNTPRODUCT (as there is no table called Asset of course).

[Reply][Quote]
J. Estrella
Posts: 34
 
Re: SLX Ticket Source FieldYour last visit to this thread was on 1/1/1970 12:00:00 AM
Posted: 18 Jul 14 3:19 AM

I think that is now clear. Thanks for the help.

[Reply][Quote]
 Page 1 of 1 
  You can subscribe to receive a daily forum digest in your user profile. View the site code of conduct for posting guidelines.

   Forum RSS Feed - Subscribe to the forum RSS feed to keep on top of the latest forum activity!
 

 
 slxdeveloper.com is brought to you courtesy of Ryan Farley & Customer FX Corporation.
 This site, and all contents herein, are Copyright © 2024 Customer FX Corporation. The information and opinions expressed here are not endorsed by Sage Software.

code of conduct | Subscribe to the slxdeveloper.com Latest Article RSS feed
   
 
page cache (param): 5/4/2024 6:15:27 PM