Adaptions in LN Studio
In the LN Studio modeling environment it should be possible to model the Show event without a Get. The current constraint checks should be removed. Also, the ShowAndPublishShowBOD method should be generated in case "can be published" is enabled for the Show event.
The specification of the ShowAndPublishShowBOD is:
function extern long ppmmmstccc00.COMPONENT.ShowAndPublishShowBOD(
... (identifiers)
const string i.actionCode, | action code, normally 'Add' for Show BODs
const string i.documentId, | the document ID
const string i.revisionId, | the revision ID
const string i.variationId, | the variation ID
const string i.tenantId, | the tenant ID
const string i.accountingEntityId, | the accounting entity ID
const string i.locationId, | the location ID
[ long i.settings ] ) | the settings (see below)
Returns 0 (OK) or DALHOOKERROR (Error).
i.settings contains an XML with all To Logical IDs, in this format:
<Settings>
<ToLogicalId>...</ToLogicalId> (one or more instances)
...
... (may include other settings as well)
</Settings>