CustomPosts_RU::getSinglePost Method
Returns the given partner's customs post if the partner has only one post.
Syntax
server public static CustomPostId_RU getSinglePost(VendAccount _partnerCode)
Run On
Server
Parameters
- _partnerCode
Type: VendAccount Extended Data Type
The code that identifies the customs partner.
Return Value
Type: CustomPostId_RU Extended Data Type
The ID of the partner's customs post if the partner has only one post; otherwise, a blank value.
Remarks
This method checks whether the given customs partner has only one customs post and returns it.