I saw two similar transactions go through, one with an error, one with out. This is for a new form that I just put online.
With the error:
transaction id=35724-2103252228407247991
SKU for main item=event|Ronline|CCONNECT|A20|D2021-03-25T12:00:00-08:00
SKU for covering transaction costs=eventRonlineCCONNECTD2021-03-25T12:00:00-08:00
without the error:
transaction id=35724-2103252222274807417
SKU for main item=event|Ronline|CCONNECT|A30|D2021-03-25T12:00:00-08:00
SKU for covering transaction costs=eventRonlineCCONNECTD2021-03-25T12:00:00-08:00
The Custom mapping for the region field says to set the region field to "Online" if the SKU starts with either eventRonline or event|Ronline
The error is:
"Upsert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, npsp.TDTM_Opportunity: execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 1; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Region]: [Region] (npsp): []--null--359--(CnP_PaaS)--System.DmlException"
I interpret that error to mean that it wasn't able to set the region field. However, as near as I can tell, the two transactions should have the same region. The SKUs for the main item differ by 1 character, which should not affect the region field. The SKUs for covering the transaction cost are identical.
I don't see anything to explain the difference between the transactions or determine why the later one failed.. Can you?
Bob
With the error:
transaction id=35724-2103252228407247991
SKU for main item=event|Ronline|CCONNECT|A20|D2021-03-25T12:00:00-08:00
SKU for covering transaction costs=eventRonlineCCONNECTD2021-03-25T12:00:00-08:00
without the error:
transaction id=35724-2103252222274807417
SKU for main item=event|Ronline|CCONNECT|A30|D2021-03-25T12:00:00-08:00
SKU for covering transaction costs=eventRonlineCCONNECTD2021-03-25T12:00:00-08:00
The Custom mapping for the region field says to set the region field to "Online" if the SKU starts with either eventRonline or event|Ronline
The error is:
"Upsert failed. First exception on row 0; first error: CANNOT_INSERT_UPDATE_ACTIVATE_ENTITY, npsp.TDTM_Opportunity: execution of AfterInsert caused by: System.DmlException: Insert failed. First exception on row 1; first error: REQUIRED_FIELD_MISSING, Required fields are missing: [Region]: [Region] (npsp): []--null--359--(CnP_PaaS)--System.DmlException"
I interpret that error to mean that it wasn't able to set the region field. However, as near as I can tell, the two transactions should have the same region. The SKUs for the main item differ by 1 character, which should not affect the region field. The SKUs for covering the transaction cost are identical.
I don't see anything to explain the difference between the transactions or determine why the later one failed.. Can you?
Bob
Comment