function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
ytanakaytanaka 

[perl] Create an object with WWW::Salesforce

Hi, experts

 

As I researched here, there are lots of ways to create custom object.

It is necesesarry that we need to make sure the type by

 

 

WWW::Salesforce::Constants->register_type($obj,$title,'xsd:double');
However, if the object inserted has a relationship with parent object, what type should we make sure the type?
like...
ChildObject has (Name, param1, param2, parentobj)
We should do like
WWW::Salesforce::Constants->register_type('ChildObject','param1','xsd:double');
WWW::Salesforce::Constants->register_type('ChildObject','param2','xsd:double');
and I gave foreign key of Parentobj to the childObject, BUT... the following error still occured that is an illigal type of ID value : 0001
Do you know the solution?
Best regards,
Yuki