Rating:
1
Joined: Oct 9, 2018
Company: Ötüken Teknoloji Araştırma Geliştirme Eğitim Hizmetleri Ticaret Limited Şirketi
Hello
There are two catalogs. Catolog1: CustomerName, CustomerCountry Catolog2: RefCatolog1, CustomerEmail
I want to add a record to the second table with the web service.
The application steps are as follows: 1- User logs in to the application. 2- The customer reference area is searched from the catalog. (Ref) 3- The UUID value is transferred to a variable.
The steps I want: 1- Sending records with web service. 2- Find the customer from UUID. 3- Adding records to catalog 2.
kayitref = catalogs.catolog1.findbyattribut to (xxxx
GetObject() return Undefined if GetRef(UID) didn't find object in db. Another word, GetRef() by UID, that don't yet in db, gives you a new kind of Ref. That why, you need to check searching result by condition:
Code
Catalog1Ref = Catalogs.Catalog1.GetRef(New UUID(Catalog1UUID));
If Catalog1Ref.GetObject() = Undefined Then
//Can't find the reference with UUID...
EndIf;
P.S. By the way, the condition "ValueIsFilled(Catalog1Ref)" will always be true.
Edited: - Jan 06, 2019 07:27 PM(add P.S.)
Pages:1
Users browsing this topic (guests: 1, registered: 0, hidden: 0)