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

Received Response
23
Views
1
Comments

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!