Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Dff value not being sent to Credit Memo

Summary:

we have requirement for sending value of Dffs to credit memo for which I have published the below algorithm


if(BillLines.TrxClass_Custom=='INV')

{

ARInterface.insert([

AttributeContext: 'TransactionInterfaceHeaderDff',

AttributeName: 'ATTRIBUTE5',

AttributeValue: Products?.AmendReason_Custom,

FlexContext: 'OSS SUBSCRIPTION',

TransactionType:'INV'

])

}

else if(BillLines.TrxClass_Custom=='CM')

{

ARInterface.insert([

AttributeContext: 'TransactionInterfaceHeaderDff',

AttributeName: 'ATTRIBUTE5',

AttributeValue: Products?.AmendReason_Custom,

FlexContext: 'OSS SUBSCRIPTION',

TransactionType:'CM'

])

}

But this doesn't seem to work.


Content (required):


Version (include the version you are using, if applicable):


Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!