Skip to content

Instantly share code, notes, and snippets.

@stdray
Created July 28, 2015 20:17
Show Gist options
  • Select an option

  • Save stdray/e560248771c01f62264b to your computer and use it in GitHub Desktop.

Select an option

Save stdray/e560248771c01f62264b to your computer and use it in GitHub Desktop.
[Overloads(src, Actual.zfcs_contractCancelType, Actual.zfcs_contractCancel2015Type
, Version_5_0.zfcs_contractCancelType, Version_5_0.zfcs_contractCancel2015Type
, Version_4_6.zfcs_contractCancelType
, Version_4_3_1211.zfcs_contractCancelType)]
public ContractCancel(contract : ContractType, src : Actual.zfcs_contractCancel2015Type) : ContractType
{
contract <<-
{
CancelInfo <-
{
CancelledDate = date(src.cancelDate);
CancelledReason <-
{
ReasonInfo = src.documentBase
}
IsCancelled = true;
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment