Zone Rates not working oscommerce - oscommerce

Can someone please help me. Under Modules/Shipping I have set up Zone Rates. I have:
Zone 1 Countries
GB
Zone 1 Shipping Table
2.21:3.20,4.41:5.45,11.1:15.85
Zone 2 Countries
HU
Zone 2 Shipping Table
1.11:5.15,1.66:6.60,2.21:8.05
Zone 3 Countries
TR
Zone 3 Shipping Table
1.11:7.45,1.66:10.15,2.21:12.85
At present I am using Sandbox account. If I set up a fictitious account for United Kingdom sale and associated payment go through. But if I set up a fictitous account for Hungary I get following:
Error Shipping is currently not available for the selected shipping address. Please select or create a new shipping address to use with your purchase.
I am unable to create a new address inside Hungary.
Delivery Information
New Shipping Address
Please select a state from the States pull down menu.
I am asked to select a state from the States pull down menu. It's a small empty drop down list where you can't enter anything, and unless this is filled in a new address cannot be created. I have searched and searched on the internet for a solution but just can't find one. Can anybody please help.

This problem it's caused cos the form is not processed, then the country won't be set, so it won't know what zones to display.
If you don't care about hungarian states, just delete them from admin
admin-->zones/taxes-->states
delete hungarian states
But if you care about, you could use some contribs like http://addons.oscommerce.com/info/2028

Related

Understanding the amount of GCP billing

I work at an advertising agency.
I would like to know the amount of GCP invoiced as accurately as possible before the invoice arrives, and I would like to know where I can check that on the Partner Sales Console.
I know I can check the tabs in the dashboard, but there was a discrepancy with the amount on the invoice, and I would like to know if there is a way to get a more accurate picture.

Row Level Security (RLS) in Power BI with multiple roles does not work anymore - no change made actually

I have a Power BI report that I publish as an app to several people.
Let's assume, the report has a table "Reps" and a table "Customers".
The "rep table" has the following interesting columns:
Rep Name
Rep Nr
Region
The "Customer table" has the following interesting columns:
Rep Nr
Customer Nr
Customer Name
The "Rep Nr" is the join key, while it is a many to many (m:n) relationship, where the direction is "rep" filters "customer".
With RLS, I created different roles. For example:
Region 1: [REGION_CODE] = "1"
Region 2: [REGION_CODE] = "2"
Rep: [Rep User Principal] = userprincipalname()
The setting is, that I advise a complete (email/user) distribution list to the role Rep by default. In this role, everyone is included, and each rep sees only his customers.
In the role region 1 are some people included, that can see not only his customers, but all customers of this region.
This worked perfectly fine for more than a year. It was never a problem to assign a user to several roles. However, since approximately mid of Cecember 2021, it does not work anymore. I did not change anything. People who are assigned to n roles, cannot see any data.
The message I get in Power BI Desktop:
Couldn't load the data for this visual.
The user belongs to multiple roles 'Region 1, Rep' that have security filters, which isn't supported when one of the roles has filters affecting table 'Customers' with SecurityFilteringBehavior=Both relationships.
Does anyone know if Microsoft/Power BI changed anything that explaines this behavior?
Does anyone know if I can easily change it to the old setting?
There was a change that broke this around the December 2021 update.
Source (See response from v-jayw-msf): https://community.powerbi.com/t5/Service/Dashboard-with-multiple-RLS-roles-work-in-My-Workspace-but-fails/m-p/2264783#U2264783
This was not resolved as of 2/7/2022, but two workarounds have been provided in the Microsoft documentation.
Source: https://learn.microsoft.com/en-us/power-bi/admin/service-admin-rls#issue-multiple-roles-and-limited-relationships

Row level security in Power Bi

I am not able to implement row level security to my report. I have tried different methods on google and Microsoft forums but all in vain. Could you please help?
I have a dataset name "Cases" which have details of all cases logged into system with its country.
Then I have dataset name "Escalations" with details of the all the escalations along with its country.
Then there is one more table called "Country Mapping" which contains all the countries mapped with their Regions and Region Manager.
I have already prepared a report showing Global /Regional numbers But now people want to restrict the data according to its own territory.
Example :- Some want to see global data and some are responsible for a particular country. I know RLS can help me with this. I have tried to make two tables one with Username and country responsible and other one with just usernames and names.
I have made a relationship between all these tables. But the problem with the code is, like if I am the admin of the report then I need to manually add myself in the country responsible for every country. Like 146 countries .
Is there any better way to do this?

Partially apply a CreditMemo on NetSuite API

im working on an integration between our company systems and NetSuite using PHP. Before the newest release of the NetSuite platform we were able to partially apply an existing credit memo to an specific pending invoice, but since their last release a couple of weeks ago every time we try to apply the credit to an specific invoice through our middle PHP system, it also applies all the other pending invoices in the account.
Let me specify a little more:
We have customer accounts, every account can have any number of open invoices. Lets say we have 3 invoices in the account 1. The first is for $20, the second for $30 and the last for $25. Then we create a credit memo associated to the account 1 for $75.
Then a week later we want to kill the first invoice of the account 1, the one with the $20 value. Then we command the credit memo to kill that invoice through our system. That would mean the first invoice is cancelled, we used $20 from the $75 we had in the credit and we still have $55 without use. Right?
Well, now for some reason the credit kills all the 3 invoices the account 1 had pending, even though we specify that only the first one should be applied. That consumes all the $75 of the credit memo, which of course messes up our accounting and prevents us from using it later in other invoices as we need it.
Just a few more points:
We are uploading our credit memos with property "autoapply" set on false.
When we want to apply an invoice we set its "apply" property as true and the ones from the other invoices as false, then we make an update request for the credit memo with that info. Thats how we always did it but now for some reason it doesnt works.
Sorry if its a little long, but i wanted to be really specific. If you have had a similar problem or have any insight on the matter i would greatly appreciate any help you can give. Thanks.
One suggestion you can try as I have experienced this as well. I had an issue where the user whose log in I was using for the integration entered a new credit memo, checked the box to auto apply and from then on every CM I imported through web services auto applied and did not respect the Auto Apply setting I submitted.
Log in as the user that you are authenticating with for the integration. Open a new credit memo and see if the Auto Apply check box is checked by default. This is a "sticky" setting in NetSuite. Enter a new CM As the user with the box unchecked and then delete it if you like. When I did this it stopped checking the box automatically and my CM import worked as expected again.

AWS API to get the price displayed on amazon site

On an Amazon site, there is usually a List Price and a Price. I am trying to figure out how to obtain Price programmatically.
For example: This product has List Price $35 and Price $26
Through the ItemLookUp API, the List Price can be obtained easily but is there a way to get the Price from Amazon API?
First I thought that 'price' is the price that amazon sells the item at, but for this previously mentioned product this Price is $26 while the amazon's own lowest price is $28.76
Then I thought Price is the lowest price that is eligible for Prime, but I can't find easy way of getting this information.
If you make sure to include the Offers response group, you can get the lowest new price, lowest used price, etc. And if you need to, you can filter it to only offers from Amazon. That should give you the functionality you're needing. You can also find out if a specific offer is eligible for super saver shipping through that response group - which should be the same ones that are prime eligible.
Here's some more info on response groups and the different ones available - a very useful resource to dig through if you're wondering where to get a specific piece of info from.
I realize it's been a month since you asked this question, but I hope this helps. Let me know if you need any more clarification.