CustomPosts_RU::existForSinglePartner Method
Determines whether a customs post exists for a single customs partner.
Syntax
server public static boolean existForSinglePartner(CustomPostId_RU _postId)
Run On
Server
Parameters
- _postId
Type: CustomPostId_RU Extended Data Type
The code that identifies the customs post.
Return Value
Type: boolean
true if the given customs post exists for a single customs counteragent; otherwise, false.
Remarks
Counts the number of customs counteragents that this customs post is related to and compares the value to one.