CustomPosts_RU::postPartnerCode Method
Looks up customs partner code by the given customs post if the post relates to a single partner.
Syntax
client server public static VendAccount postPartnerCode(CustomPostId_RU _postId)
Run On
Called
Parameters
- _postId
Type: CustomPostId_RU Extended Data Type
The code of the customs post.
Return Value
Type: VendAccount Extended Data Type
Customs partner code if it is uniquely identified by customs post, blank value otherwise.
Remarks
Checks whether the post is related to a single partner and returns partner's code then.
Returns blank value otherwise.