01-20-07 12:27 AM
Well, I found the answer, I am gonna post it here for those who stumble upon
the same problem.
Open your %website_name%_TransactionConfig database, you should find a table
named: StatusManager, open it and you should found several records.
The default used by the website is called: Site (make sure it exists in the
table).
Use that name "Site" as application Id
"Steve H." wrote:
> Hi,
> I am trying to save my basket as Purchase Order. The process completes wit
h
> no errors, however I edited the Purchase order schema to allow for 2 weakl
y
> typed properties (1 integer and the other is a string).
> When I try to save my order after the values are added the following error
> is raised:
>
> System.InvalidOperationException: This overload of PurchaseOrder.Save meth
od
> cannot be used when HonorStatus flag is set to true in the configuration
> file. Please use the other overload which takes applicationId as parameter
.
>
> Here is a code sample:
>
>
> PurchaseOrder PO = Basket.SaveAsOrder();
> PO["CountA"] = 23;
> PO["PID"] = "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx";
> PO.Save(); // The error is raised here , at this line
>
> Any ideas ?
>
[ Post a follow-up to this message ]
|