Table of Contents | ||
---|---|---|
|
...
PartSmart Picklist Field | GoldFinch API Field Name | Field Help |
---|---|---|
Id | GFCON__Sales_Order_No__c | What if an Id isn’t available? Does Yakta want to use this as the Order ID or as a Reference Number? |
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. |
...
Develop API endpoint for the GFCON__Import_Sales_Order__c object
for Import Sales Order records with Order Source = PartSmart, and processed = false
write code that looks at PartSmart_Picklist_JSON__c file and does the following
Does the related GFCON__Import_Sales_Line__c object need to be populated first?
create sales orders
create sales lines
Table | Field Name | Field Help |
---|---|---|
GFCON__Import_Sales_Line__c | GFCON__Item_No__c | populated from the API? |
GFCON__Quantity__c | populated from the API? | |
GFCON__Id_Item_Unit_of_Measure__c | populated from the API? | |
Order | OrderNumber | Auto Number |
AccountId | map from Object: GFCON__Import_Sales_Order__c Field: GFCON__Id_Customer_No__c | |
Shipping Information | Can this be looked up based on the Account Id? | |
Order Date | today | |
Shipment Date | today + 7 days | |
Pricebook2Id | should this be “Standard Price Book” ? | |
OrderReferenceNumber | map from Object: GFCON__Import_Sales_Line__c Field: GFCON__Sales_Order_No__c | |
GFERP__Sales_Line__c | GFERP__Item__c | map from Object: GFCON__Import_Sales_Line__c Field: GFCON__Item_No__c |
GFCON__Quantity__c | map from Object: GFCON__Import_Sales_Line__c Field: GFCON__Quantity__c | |
GFCON__Id_Item_Unit_of_Measure__c | map from Object: GFCON__Import_Sales_Line__c Field: GFCON__Id_Item_Unit_of_Measure__c |
...