• admin Affinity
  • NEWBIE
  • 10 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 4
    Questions
  • 2
    Replies
Hello all,
I'm trying to use the WSDL2Apex standard function with a WSDL from BusinessObjects.
When in the last step, it raises me an error saying:
 
Apex Generation Failed
Unsupported WSDL. Found more than one part for message GetReportBlock_tarariSoapIn

I looked at the WSDL and there's only one portType, one binding and one service (as SF requires), and this is the part where the mentioned error occurs:
   
<message name="GetReportBlock_tarariSoapIn">
      <part name="parameters" element="s0:GetReportBlock_tarari" />
      <part name="request_header" element="s0:QaaWSHeader" />
</message>

Anyone can please help me out with this? Thanks a lot in advance!
Hello,
this afternoon some users are facing some problems when loading the Dialoga (CTI) script.
When they enter to SF and try to use any function, it raises an error saying the main script variable (Hydra for this purpose) is not defined. When opening the browser console, it says:
"Failed to load https://acdrt001.dialoga.io/ws3039/lib/hydra.min.js: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://affinity-petcare--c.eu4.visual.force.com' is therefore not allowed access"

I have already add https://acdrt001.dialoga.io as:
 * CORS
 * Remote site settings
 * CSP Secure Site
but nothing seems to fix it. Can anyone give me a hand on that?


Thanks in  advance!

 
Account Hierarchy columns not saving
I am adding Account Hierarchy columns in setup (in lightning) and saving. But as soon as I refresh the setup page, it didn't save apparently.
Am I missing another save button somewhere...?

In my sandbox environment all it's ok, save ok and view new fields it's ok. But in my productión environment the changes are't saved and when I reload the page or exit and enter again in the "Hierarchy Columns" secction the configuration is lost.
Hi I'm trying to create a client list with, the most recent order, associated but I don't know do the condition between those entities. I need to reference in the second query the first table.
 
SELECT 	...,
		tb01.Account.Id,
		...,
		(
			SELECT tb02.DAT_Real_Delivery_Date__c 
			  FROM Order tb02
			 WHERE tb02.AccountId 					= tb01.Account.Id
			   AND tb02.CHK_Collection__c			= false 
			   AND tb02.Status 						= 'Sent' 
			   AND tb02.DAT_Real_Delivery_Date__c	> TODAY
		  ORDER BY tb02.DAT_Real_Delivery_Date__c DESC NULLS LAST 
			 LIMIT 1
		) DAT_Real_Delivery_Date
FROM 	Event tb01
WHERE 	Type IN ('Off Route','Call') 
AND 	tb01.ActivityDate <= today 
AND    (tb01.Activity_Status__c != 'Completed' AND tb01.Activity_Status__c != 'Cancelled') 
AND    (tb01.OwnerId =: userId OR tb01.OwnerId =: otherUserId) 
AND 	tb01.IsRecurrence = false 
AND 	tb01.AccountId != null 
ORDER BY tb01.Account.PCK_Customer_Status__c ASC, tb01.ActivityDateTime ASC 
LIMIT 200
How can I do this assignment?
tb02.AccountId = tb01.Account.Id

thanks all
regards
 
Hello all,
I'm trying to use the WSDL2Apex standard function with a WSDL from BusinessObjects.
When in the last step, it raises me an error saying:
 
Apex Generation Failed
Unsupported WSDL. Found more than one part for message GetReportBlock_tarariSoapIn

I looked at the WSDL and there's only one portType, one binding and one service (as SF requires), and this is the part where the mentioned error occurs:
   
<message name="GetReportBlock_tarariSoapIn">
      <part name="parameters" element="s0:GetReportBlock_tarari" />
      <part name="request_header" element="s0:QaaWSHeader" />
</message>

Anyone can please help me out with this? Thanks a lot in advance!
Hi I'm trying to create a client list with, the most recent order, associated but I don't know do the condition between those entities. I need to reference in the second query the first table.
 
SELECT 	...,
		tb01.Account.Id,
		...,
		(
			SELECT tb02.DAT_Real_Delivery_Date__c 
			  FROM Order tb02
			 WHERE tb02.AccountId 					= tb01.Account.Id
			   AND tb02.CHK_Collection__c			= false 
			   AND tb02.Status 						= 'Sent' 
			   AND tb02.DAT_Real_Delivery_Date__c	> TODAY
		  ORDER BY tb02.DAT_Real_Delivery_Date__c DESC NULLS LAST 
			 LIMIT 1
		) DAT_Real_Delivery_Date
FROM 	Event tb01
WHERE 	Type IN ('Off Route','Call') 
AND 	tb01.ActivityDate <= today 
AND    (tb01.Activity_Status__c != 'Completed' AND tb01.Activity_Status__c != 'Cancelled') 
AND    (tb01.OwnerId =: userId OR tb01.OwnerId =: otherUserId) 
AND 	tb01.IsRecurrence = false 
AND 	tb01.AccountId != null 
ORDER BY tb01.Account.PCK_Customer_Status__c ASC, tb01.ActivityDateTime ASC 
LIMIT 200
How can I do this assignment?
tb02.AccountId = tb01.Account.Id

thanks all
regards