Skip to content

Instantly share code, notes, and snippets.

Avatar

Kulvir Kaila kulvirTAC

View GitHub Profile
View TaxDetails.json
"TaxDetails": [
{
"id": "bc0fc7b0-ce58-47eb-a1cf-dba9eee671aa",
"rowNumber": 1,
"note": null,
"TaxableAmount": {
"value": 0.0000
},
"TaxAmount": {
"value": 0.0000
@kulvirTAC
kulvirTAC / CreateSO.cs
Created Oct 18, 2020
Amazon Integration Change
View CreateSO.cs
private void SetSOHeaderObjectsData(PrepareAndImportOrdersParams orderParams)
{
SOOrder newOrder = new SOOrder();
if (orderParams.objSOOrderEntry.sosetup.Current != null)
{
if (orderParams.objSOAmazonSetup.GuestCustID.HasValue)
{
newOrder.OrderType = orderParams.objSOAmazonSetup.OrderType;
newOrder = (SOOrder)orderParams.objSOOrderEntry.Document.Cache.Insert(newOrder);
newOrder.CustomerID = orderParams.objSOAmazonSetup.GuestCustID;