Description
A user needs the ability to automatically send the PartSmart Picklist (Sales Order) to GoldFinch so they do not need to manually enter a sales order into GoldFinch.
Technical Requirements
For PartSmart
Develop a API that will POST to the Object: GFCON__Import_Sales_Order__c
With these fields:
Populate GFCON__Order_Source__c with “PartSmart”
Picklist JSON file should go to PartSmart_Picklist_JSON__c
The Picklist JSON File should include these values:
Id
PartSmart User Name / Dealer
Product Id
Quantity
Unit of Measure
PartSmart Picklist Field | GoldFinch API Field Name | Field Help |
---|---|---|
Id | GFCON__Sales_Order_No__c | What if an Id isn’t available? |
PartSmart User Name / Dealer | GFCON__Id_Customer_No__c | dealer’s Account Id |
Product Id | GFCON__Item_No__c | look up GF Item table |
Quantity | GFCON__Quantity__c | quantity ordered for a specific item |
Unit of Measure (UOM) | GFCON__Id_Item_Unit_of_Measure__c | specify UOM such as each, case, etc. |
For GoldFinch Developer
for Import Sales Order records with Order Source = PartSmart, and processed = false
write code to look at PartSmart_Picklist_JSON__c file and create respective Sales Order and Order Lines.
Table | Field Name | Field Help |
---|---|---|
Sales Order | Sell-to Customer | |
Order Date | today | |
Shipment Date | today + 7 days | |
….. | ||
External Customer No. | GFCON__Sales_Order_No__c???? | |
Sales Line | Item | GFCON__Item_No__c |
Unit of Measure | EA | |
Quantity | ||
Unit Price | Sales Price???? |