Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Determines whether a customs partner has a single customs post.
Syntax
server public static boolean existSinglePost(VendAccount _partnerCode)
Run On
Server
Parameters
- _partnerCode
Type: VendAccount Extended Data Type
The code that identifies the customs partner.
Return Value
Type: boolean
true if the customs partner has a single customs post; otherwise, false.
Remarks
This method counts the number of customs posts that the given customs partner has and compares the value to 1.