I used the following statements, but the country was not passed properly. How should I correct them?
“Export Inventory Stock”.SetCountry(Country);
XMLPORT.EXPORT(XMLPORT::“Export Inventory Stock”,OutStream_lOsm);
Here are the statements used inside the XMLPORT.
SetCountry(pCountry)
Country := pCountry;
Items - “Export::OnAfterGetRecord”()
IF Country=‘CANADA’ THEN
Price := SalesPriceCalc.FindWebItemPrice(‘CAN’,Item.“No.”)
ELSE
Price := SalesPriceCalc.FindWebItemPrice(‘WEB’,Item.“No.”);