Troubleshooting
Problem
How to restrict orders being placed for certain countries
Symptom
As per business requirement orders should not be shipped to certain
countries (examples below).
Iraq
Iran
Cuba
North
Korea
Sudan
Syria
Zimbabwe
All Countries details are stored in YFS_COMMON_CODE table with CodeType='COUNTRY'.
getCommonCodeList API is called every time when list of country needs to be populated.
Resolving The Problem
To avoid orders being placed for banned countries, we can massage the output of getCommonCodeList API to exclude banned countries. For this write a service which calls getCommonCodeList API and removes banned countries from output of getCommonCodeList API.
Historical Number
NFX4698
Was this topic helpful?
Document Information
Modified date:
16 June 2018
UID
swg21553428